This is the prototype repository of the DéMars blockchain - essentially a proof of concept. The full technical whitepaper will be published in early Nov. For early access, please mail us at dmc@demars.io noting your full name and address. On receipt of the e-mail we'll send you a non disclosure agreement.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DOCKER
abci Fixed bugs and uploaded whitepaper Oct 22, 2018
benchmarks Fixed file paths and documentation Oct 5, 2018
blockchain Fixed file paths and documentation Oct 5, 2018
cmd Fixed file paths and documentation Oct 5, 2018
config Fixed file paths and documentation Oct 5, 2018
consensus Fixed bugs and uploaded whitepaper Oct 22, 2018
crypto Fixed file paths and documentation Oct 5, 2018
docs Update install.md Nov 8, 2018
libs Fixed file paths and documentation Oct 5, 2018
lite Fixed file paths and documentation Oct 5, 2018
mempool Fixed file paths and documentation Oct 5, 2018
networks Fixed file paths and documentation Oct 5, 2018
node Fixed file paths and documentation Oct 5, 2018
p2p
privval Fixed file paths and documentation Oct 5, 2018
proxy Fixed file paths and documentation Oct 5, 2018
rpc Fixed file paths and documentation Oct 5, 2018
scripts Fixed file paths and documentation Oct 5, 2018
state Fixed file paths and documentation Oct 5, 2018
test Fixed file paths and documentation Oct 5, 2018
types Fixed bugs and uploaded whitepaper Oct 22, 2018
version Fixed file paths and documentation Oct 5, 2018
whitepaper Fixed bugs and uploaded whitepaper Oct 22, 2018
.editorconfig Tendermint fork Jul 11, 2018
.gitignore Updated dependencies Oct 8, 2018
Gopkg.lock Updated dependencies Oct 8, 2018
Gopkg.toml
LICENSE
Makefile Fixed file paths and documentation Oct 5, 2018
PLACEHOLDER
README.md
ROADMAP.md Updated documentation and uploaded whitepaper draft. Fixed license ap… Sep 12, 2018
SECURITY.md
docker-compose.yml Documentation clean up Sep 12, 2018

README.md

DéMars-DMC

Hypercube-based Byzantine-Fault Tolerant Blockchain

DéMars is Byzantine Fault Tolerant (BFT) blockchain which uses network segments to reduce the storage and network transfer costs, thereby enabling it to execute on mobile nodes.

This is only a minimal prototype which has been forked from Tendermint (https://github.com/tendermint/tendermint) and modified to use Kademlia XOR metric. The proof of concept is under development.

Simplifications (w.r.t. the Whitepaper)

  • The prototype uses a Kademlia XOR P2P network similar to Ethereum (https://github.com/ethereum/wiki/wiki/Kademlia-Peer-Selection).
  • The validators and proposer are chosen naively (the top 100 nodes in a zone based on account balances). The final version will be based on cryptographic sortition like Algorand.

Minimum requirements

Requirement Notes
Go version Go1.9 or higher

Install

See the install instructions

Resources

DéMars

For details about the blockchain data structures and the p2p protocols, see the the DMC specification.

More