Skip to content

cfromknecht/857coin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

6.857Coin

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

Usage

  1. Install (assuming GOPATH=~/go):

     $ go get github.com/davidlazar/6.857coin/...
    
  2. Create required directories:

     $ mkdir logs blocks
    
  3. Create the genesis block:

     $ cat blocks/genesis.block
     {
       "Contents": "Genesis",
       "Nonce": 0,
       "Length": 0
     }
    
  4. Run the blockchain server:

     $ ~/go/bin/coin-server
    
  5. Build a miner using the API described at http://localhost:8080

About

Educational cryptocurrency

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 83.3%
  • HTML 16.7%