Skip to content

Instantly share code, notes, and snippets.

@mcveat mcveat/tutorial.sh
Created Aug 2, 2017

Embed
What would you like to do?
#!/bin/bash
brew update
brew upgrade
brew tap ethereum/ethereum
brew install ethereum
brew install ethereum/ethereum/solidity
wget https://gist.githubusercontent.com/mcveat/6ddbc73d1dde311c3ff46e7ec9bcf456/raw/48dc522a571642a4d42f6eb31424b1bcd482197c/genesis.json
mkdir scripts
wget https://gist.githubusercontent.com/mcveat/583a5296d6f69a1838571f47ab2b99f2/raw/abf419908f582d57542dba357dcdaa6c156ebd36/all.js -O scripts/all.js
geth --datadir data --networkid 15 init genesis.json
geth --datadir data --networkid 15 --preload "scripts/all.js" console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.