How to start local ethereum node with coinbase and attach to mainnode?

Start the local ethereum node
geth --etherbase '0xaaCC95676c5A8EFa514889bEB8b32eff2124603e' --mine

Connect to local ethereum node
geth attach

To view the miner details use the following command
> eth.coinbase


Comments

Popular posts from this blog

How to import an account to geth?

Why to create a full node?