Skip to content

Instantly share code, notes, and snippets.

@obscuren
Last active April 19, 2017 13:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save obscuren/e3f482d39ae4e9fbc3ec to your computer and use it in GitHub Desktop.
Save obscuren/e3f482d39ae4e9fbc3ec to your computer and use it in GitHub Desktop.

Frontier technical checklist: (FORK ME)

  • Build Geth release 1.0.0
    • git clone https://github.com/ethereum/go-ethereum.git; cd go-ethereum
    • git checkout release/1.0.0
    • make geth
  • Clean out old test net relics (export ETH=<data dir> default data dir on OS X ~/Library/Ethereum, Linux ~/.ethereum)
    • rm -rf $ETH/{blockchain,state,extra}
    • Make a backup of your old keys cp -r $ETH/keystore /path/to/backup/keystore.backup
  • Craft the genesis block
    • Get the genesis generator: curl -O https://raw.githubusercontent.com/ethereum/genesis_block_generator/master/mk_genesis_block.py
    • Make sure you've got pybitcoin installed (sudo) pip install bitcoin (or supply --upgrade if one is installed)
    • Conjure the genesis block python mk_genesis_block.py --extradata <Not Yet Known> > genesis_block.json
  • Connect to the network
    • Import the genesis block geth --genesis genesis_block.json
    • Restore keys (exit geth with ctrl-C)
      • mv /path/to/backup/keystore.backup/key_you_d_like_to_keep $ETH/keystore and;
      • import pre-sale key geth wallet import /path/to/pre_sale_wallet.json
    • Start geth geth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment