Coder Social home page Coder Social logo

rafaelmri / cryptokernel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mit-dci/cryptokernel

0.0 1.0 0.0 9.76 MB

A modular kernel designed for implementing blockchain-based digital currencies

License: GNU General Public License v3.0

Makefile 0.58% Lua 8.70% Shell 0.12% C++ 43.62% C 46.98%

cryptokernel's Introduction

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

cryptokernel's People

Contributors

metalicjames avatar 0xb100d avatar anders94 avatar narula avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.