mirror of
https://github.com/number571/blockchain.git
synced 2026-09-12 19:50:00 +05:00
| _example | ||
| blockchain | ||
| network | ||
| static/css | ||
| templates | ||
| templates_eth | ||
| .gitignore | ||
| addr.json | ||
| client_eth.go | ||
| client.go | ||
| contract.sol | ||
| deploy.go | ||
| gclient_eth.go | ||
| gclient.go | ||
| LICENSE | ||
| Makefile | ||
| node.go | ||
| README.md | ||
| serve.go | ||
| values_eth.go | ||
| values.go | ||
Blockchain
Cryptocurrency from scratch. Supplemented by training manuals
More information about blockchain in the youtube.com/watch?v=mp3I1HtEKfU
Important
The current implementation in the master branch is irrelevant for the modern version of the Go language. To compile programs successfully, use the goup branch.
Compile:
$ make
Run nodes and client:
$ ./node -serve::8080 -newuser:node1.key -newchain:chain1.db -loadaddr:addr.json
$ ./node -serve::9090 -newuser:node2.key -newchain:chain2.db -loadaddr:addr.json
$ ./client -loaduser:node1.key -loadaddr:addr.json