- Start the Ethereum console with the console or attach subcommand. The console command starts the geth node and opens the JavaScript console along with it. The attach command is used to connect to an existing node. Here, we will connect to an already running node that you started earlier:
$ geth attach http://localhost:8545
- If you are starting a new node and would like to see the log information, start the node with this:
$ geth --verbosity 5 console 2>> /tmp/eth-node.log
Too many logs can pollute your console. To avoid this, start the node with a specific verbosity value:
$ geth --verbosity 0 console
- Take a look at the web3 object, which is available for you to interact with:
> web3
- For managing the node, you can make ...