mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 00:41:42 +00:00
26 lines
418 B
Plaintext
26 lines
418 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>.
|
|
|
|
- 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`
|