All Projects → mit-dci → Cryptokernel

mit-dci / Cryptokernel

Licence: gpl-3.0
A SDK for implementing blockchain-based digital currencies

Programming Languages

lua
6591 projects

Projects that are alternatives of or similar to Cryptokernel

Lnd
Lightning Network Daemon ⚡️
Stars: ✭ 5,623 (+3751.37%)
Mutual labels:  blockchain, cryptocurrency, peer-to-peer, cryptography
Aeternity
æternity: solving scalability problems by making sense of state-channels
Stars: ✭ 923 (+532.19%)
Mutual labels:  blockchain, cryptocurrency, smart-contracts, cryptography
Waves
⛓️ Reference Waves Blockchain Node (client) implementation on Scala
Stars: ✭ 1,077 (+637.67%)
Mutual labels:  blockchain, smart-contracts, cryptography
Lightning Rfc
Lightning Network Specifications
Stars: ✭ 1,224 (+738.36%)
Mutual labels:  blockchain, cryptocurrency, cryptography
Status Network Token
Smart Contracts for the Status Contribution Period, along with Genesis and Network Tokens
Stars: ✭ 138 (-5.48%)
Mutual labels:  blockchain, cryptocurrency, smart-contracts
Blockchain Papers
区块链相关的有价值的文献
Stars: ✭ 20 (-86.3%)
Mutual labels:  blockchain, cryptocurrency, cryptography
Aquachain
MOVED
Stars: ✭ 20 (-86.3%)
Mutual labels:  cryptocurrency, smart-contracts, peer-to-peer
Consensys Academy Notes
A series of notes that were taken during the ConsenSys Academy program.
Stars: ✭ 138 (-5.48%)
Mutual labels:  blockchain, cryptocurrency, smart-contracts
Monero
Monero: the secure, private, untraceable cryptocurrency
Stars: ✭ 6,503 (+4354.11%)
Mutual labels:  blockchain, cryptocurrency, cryptography
Coco
The fastest crypto online
Stars: ✭ 103 (-29.45%)
Mutual labels:  blockchain, cryptocurrency, smart-contracts
Brightid
Reference mobile app for BrightID
Stars: ✭ 101 (-30.82%)
Mutual labels:  blockchain, peer-to-peer, cryptography
Blockchainbooks.github.io
Blockchain Books
Stars: ✭ 139 (-4.79%)
Mutual labels:  blockchain, cryptocurrency, smart-contracts
Snax
Decentralized Social Media Overlay
Stars: ✭ 18 (-87.67%)
Mutual labels:  blockchain, cryptocurrency, smart-contracts
Lethean Vpn
Lethean Virtual Private Network (VPN)
Stars: ✭ 29 (-80.14%)
Mutual labels:  blockchain, cryptocurrency, cryptography
Maskbook
The portal to the new, open internet. ([I:b])
Stars: ✭ 691 (+373.29%)
Mutual labels:  blockchain, peer-to-peer, cryptography
Purple
Official Rust implementation of the Purple Protocol
Stars: ✭ 85 (-41.78%)
Mutual labels:  blockchain, smart-contracts, peer-to-peer
Cryptocurrencyawesome
Cryptocurrency study materials resources
Stars: ✭ 118 (-19.18%)
Mutual labels:  blockchain, cryptocurrency, smart-contracts
Skycoin
Skycoin Core and Wallet
Stars: ✭ 549 (+276.03%)
Mutual labels:  blockchain, cryptocurrency, smart-contracts
Library
Collection of papers in the field of distributed systems, game theory, cryptography, cryptoeconomics, zero knowledge
Stars: ✭ 100 (-31.51%)
Mutual labels:  blockchain, smart-contracts, cryptography
Multi Party Schnorr
Rust implementation of multi-party Schnorr signatures over elliptic curves.
Stars: ✭ 115 (-21.23%)
Mutual labels:  blockchain, cryptocurrency, cryptography

CryptoKernel

CryptoKernel is a C++ library intended to help create blockchain-based digital currencies. It contains modules for key-value storage with JSON, peer-to-peer networking, ECDSA & Schnorr key generation, signing and verifying, big number operations, logging and a blockchain class for handling a Bitcoin-style write-only log. Designed to be object-oriented and easy to use, it provides transaction scripting with Lua 5.3, custom consensus algorithms (e.g Proof of Work, Authorised Verifier Round-Robin) and custom transaction types.

K320

We have used Cryptokernel to implement an experimental digital currency called K320. Its name derives from its monetary policy – Milton Friedman’s K% rule at a rate of 320 basis points or 3.2% growth per year (https://en.wikipedia.org/wiki/Friedman%27s_k-percent_rule). This known rate removes the need for trust in the decisions of a central authority, making monetary supply policy completely transparent. K320 is designed to build up the initial money supply relatively quickly then switch to the K% rule for monetary growth.

In K320, blocks are produced every 2.5 minutes. The block reward starts at 100 coins per block, diminishing for 8 years until the year 2025 at block 1,741,620 and a supply of 68,720,300 coins. At this point the block reward switches to a constant 3.2% per year. At 210,240 blocks per year, that is .0000152% of total supply per block as reward. For example, the first block reward after the switch to the constant reward rate will be ~10.45; (0.000000152*68,720,300). For a more detailed description of this see: https://github.com/mit-dci/CryptoKernel/blob/master/src/client/multicoin.cpp#L80

K320 is currently implemented by default when you run the CryptoKernel software.

Building on Ubuntu 16.04

./installdeps.sh
premake5 gmake2
make

The resulting binary will be in the bin/Static/Debug directory.

It is also possible to compile with other options. See make help and premake5 --help for a list.

Usage

See the source files in src/client/ for example usage. CryptoKernel ships with a Proof of Work coin built-in called K320 that works out of the box. For more information about the API check the documentation.

To launch CryptoKernel as K320 with its default setup, simply write:

./ckd

To get a list of command line RPC commands use:

./ckd help

To make ckd run in daemon mode use:

./ckd -daemon

API Reference

Build the documentation with doxyblocks.

premake5 gmake2 --with-docs
make

Roadmap

(in no particular order)

  • Load external contract code to avoid duplication when propagating contracts
  • Standardised address format (not just public keys)
  • BFT consensus module
  • Raft consensus module
  • Proof of Stake consensus module
  • HD key generation
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].