mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
457 B
Plaintext
26 lines
457 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|