This is the blockchain server for 6.857Coin, a simple digital coin I made to teach the 6.857 security class about blockchains.
The server is (was) running at: http://6857coin.csail.mit.edu
-
Install (assuming
GOPATH=~/go):$ go get github.com/davidlazar/6.857coin/... -
Create required directories:
$ mkdir logs blocks -
Create the genesis block:
$ cat blocks/genesis.block { "Contents": "Genesis", "Nonce": 0, "Length": 0 } -
Run the blockchain server:
$ ~/go/bin/coin-server -
Build a miner using the API described at http://localhost:8080