Skip to content

A modular kernel designed for implementing blockchain-based digital currencies

License

Notifications You must be signed in to change notification settings

RafaelMri/CryptoKernel

 
 

Repository files navigation

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 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 Raft, Proof of Work, Authorised Verifier Round-Robin) and custom transaction types.

Building on Ubuntu 16.04

./installdeps.sh
make

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

There is also a GUI for CryptoKernel that runs client-side in a web browser available here: https://github.com/metalicjames/ckui

API Reference

Build the documentation with doxyblocks.

make doc

Roadmap

Legend

  • H -- Hard Fork
  • S -- Soft Fork
  • L -- Local (No Fork Required)

Versions

alpha v0.0.1 -- H

  • H -- Transaction Merkle root in block header
  • H -- Rule change signalling in block
  • H -- Friedman rule emission schedule
  • H -- Lyra2REv2 as PoW function
  • L -- Wallet schema version detection
  • L -- RPC Server requires password

alpha v0.1.0 -- S

  • S -- Expand Lua contract standard library with more digital currency specific functions
  • S -- Load external contract code to avoid duplication for propagating contracts
  • S -- Schnorr signatures
  • L -- Seed addresses
  • L -- Standardised address format (not just public keys)
  • L -- Wallet tracks unconfirmed transactions

alpha v0.2.0

  • L -- HD key generation and recovery with seed
  • L -- LN integrated with wallet

About

A modular kernel designed for implementing blockchain-based digital currencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 47.0%
  • C++ 43.6%
  • Lua 8.7%
  • Other 0.7%