Last active
February 14, 2023 06:55
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /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