The instructions for creating a new account on the Geth console state:
Tip: If you are using Geth then you can just use eth instead of web3.eth command.
Meaning accounts can be referenced by just using eth.accounts
rather than having to use web3.eth.accounts
.
Are these two commands doing anything different under the covers, or are they the same thing? Why can we leave out the web3
part of the command if we're using Geth?