Small proof of work blockchain made by tutorial
crystal
installed
crystal run src/server.cr
GET /chain
- get current state of chain
GET /mine
- mine block
GET /pending
- get pending transactions
POST /transactions/new
- create new transaction
POST /nodes/register
- register node
GET /nodes/resolve
- sync nodes
- Fork it (https://github.com/your-github-user/crystal_blockchain/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Ivan Vasylyshyn - creator and maintainer