2025-03-14 21:59:59 -06:00
|
|
|
# geth
|
|
|
|
|
|
|
|
|
|
> The go-ethereum command-line interface.
|
2025-05-08 12:26:01 -06:00
|
|
|
> More information: <https://geth.ethereum.org/docs/fundamentals/command-line-options>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Connect to the main Ethereum network and automatically download the full node:
|
|
|
|
|
|
|
|
|
|
`geth`
|
|
|
|
|
|
|
|
|
|
- Connect to the Ropsten test network:
|
|
|
|
|
|
|
|
|
|
`geth --testnet`
|
|
|
|
|
|
|
|
|
|
- Create a new account:
|
|
|
|
|
|
|
|
|
|
`geth account new`
|
|
|
|
|
|
|
|
|
|
- Enable mining:
|
|
|
|
|
|
|
|
|
|
`geth --mine`
|