Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 359 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 359 Bytes

blockchain-rs

Rust implementation of naivechain.

Run

docker-compose up

Add block

curl --data "data=testdata" localhost:8000/mine-block

Show blocks

curl localhost:8000/blocks

Add peer

curl --data "peer=ws://node2:3012" localhost:8000/add-peer

Show peers

curl localhost:8000/peers