Clojure implementation of blockchain inspired by this article
Run locally
$ lein ring server-headlessTesting
$ lein testAdd a new transaction to a block.
POST /transactions/newParameters
| Name | Type | Description |
|---|---|---|
| sender | string | Who is sending the coins |
| recipient | string | Who to send the coins to |
| amount | int | Number of coins |
Mine a new block.
POST /mineGet the full Blockchain.
GET /chainAdd a new node.
POST /nodes/newParameters
| Name | Type | Description |
|---|---|---|
| address | url | URL of node |
Get all nodes.
GET /nodesResolve node conflicts.
POST /nodes/resolveWant to become a Blockchain contributor?
Then checkout our code of conduct and contributing guidelines.
Copyright (c) 2017 Conor Hughes - Released under the MIT license.