4 ms·
This is great, however the real strength of blockchain lies in it being a distributed database. These are all single node examples. Would love to see some examp
by mmcnl 9y ago
This is great, however the real strength of blockchain lies in it being a distributed database. These are all single node examples. Would love to see some examples of a simple network based blockchain
- geraldbauer 9y agoAdd your single node example onto git than it's distributed :-). For rolling your own peer-to-peer network and nodes see the starter articles linked in the Awesome Blockchains page that include examples in JavaScript, Go, etc. Happy blockchaining.
- mmcnl 9y agoI did in fact roll my own network. You can view it here: https://github.com/mcrapts/simple-blockchain-network https://github.com/mcrapts/simple-blockchain-network It is spiritually based on your single node examples which I encountered earlier last week, so big thanks for that (was just enough to get me started). Most of the logic resides in models/blockchain.js. You can interact with the node using the HTTP endpoints in routes.js. Disclaimer: I have no idea what I'm doing, but it seems to work. Would love some feedback.