6 ms·
FYI: I've put together a collection of blockchains (in JavaScript, Python, Ruby) and articles at Awesome Blockchains - https://github.com/openblockchains/awesom
by geraldbauer 9y ago
FYI: I've put together a collection of blockchains (in JavaScript, Python, Ruby) and articles at Awesome Blockchains - https://github.com/openblockchains/awesome-blockchains https://github.com/openblockchains/awesome-blockchains . The idea is that to learn about blockchains build one (or two) from scratch. Not a crypto god? Or a JavaScript ninja/rockstar. No worries. Yes, you can. Happy blockchaining.
- mmcnl 9y agoThis 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.