Skip to content

Instantly share code, notes, and snippets.

@shrujandev
Last active February 14, 2023 06:55
Show Gist options
  • Save shrujandev/43e4bf59c10042e491975ca94d1697c4 to your computer and use it in GitHub Desktop.
Save shrujandev/43e4bf59c10042e491975ca94d1697c4 to your computer and use it in GitHub Desktop.
These are the commands that are used in blockchain handson on go-eth
/home/seed/shrujandev/bc/go-ethereum/build/bin/geth --datadir ~/ethereum/net3/ init genisis3.json
/home/seed/shrujandev/bc/go-ethereum/build/bin/geth --datadir ~/ethereum/net3/ --networkid 3 console #this opens a console
after getting terminal
> personal.newAccount()
> eth.accounts
> eth.blockNumber
> miner.start()
> miner.stop()
> eth.getBalance(" ")
> exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment