HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

geth — The go-ethereum command-line interface. More information: <https://geth.ethereum.org/docs/fundamenta

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thegethcommandinterfacecliethereumline

Problem

How to use the geth command: The go-ethereum command-line interface. More information: <https://geth.ethereum.org/docs/fundamentals/command-line-options>.

Solution

geth — The go-ethereum command-line interface. More information: <https://geth.ethereum.org/docs/fundamentals/command-line-options>.

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

Code Snippets

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

Context

tldr-pages: common/geth

Revisions (0)

No revisions yet.