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.

Revisions

  1. shrujandev revised this gist Feb 14, 2023. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion blockchain commands.txt
    Original file line number Diff line number Diff line change
    @@ -7,4 +7,6 @@ after getting terminal
    > eth.accounts
    > eth.blockNumber
    > miner.start()
    > miner.stop()
    > miner.stop()
    > eth.getBalance(" ")
    > exit
  2. shrujandev created this gist Feb 14, 2023.
    10 changes: 10 additions & 0 deletions blockchain commands.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    /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()