Difference between revisions of "Geth account"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
[[geth account import]] | [[geth account import]] | ||
+ | |||
+ | <pre> | ||
+ | geth account --help | ||
+ | NAME: | ||
+ | geth account - Manage accounts | ||
+ | |||
+ | USAGE: | ||
+ | geth account command [command options] [arguments...] | ||
+ | |||
+ | DESCRIPTION: | ||
+ | |||
+ | |||
+ | Manage accounts, list all existing accounts, import a private key into a new | ||
+ | account, create a new account or update an existing account. | ||
+ | |||
+ | It supports interactive mode, when you are prompted for password as well as | ||
+ | non-interactive mode where passwords are supplied via a given password file. | ||
+ | Non-interactive mode is only meant for scripted use on test networks or known | ||
+ | safe environments. | ||
+ | |||
+ | Make sure you remember the password you gave when creating a new account (with | ||
+ | either new or import). Without it you are not able to unlock your account. | ||
+ | |||
+ | Note that exporting your key in unencrypted format is NOT supported. | ||
+ | |||
+ | Keys are stored under <DATADIR>/keystore. | ||
+ | It is safe to transfer the entire directory or the individual keys therein | ||
+ | between ethereum nodes by simply copying. | ||
+ | |||
+ | Make sure you backup your keys regularly. | ||
+ | |||
+ | COMMANDS: | ||
+ | list Print summary of existing accounts | ||
+ | new Create a new account | ||
+ | update Update an existing account | ||
+ | import Import a private key into a new account | ||
+ | help, h Shows a list of commands or help for one command | ||
+ | |||
+ | OPTIONS: | ||
+ | |||
+ | --help, -h (default: false) | ||
+ | show help | ||
+ | </pre> | ||
== Related == | == Related == |
Revision as of 04:51, 9 June 2024
geth account geth account new geth account list
geth account import
geth account --help NAME: geth account - Manage accounts USAGE: geth account command [command options] [arguments...] DESCRIPTION: Manage accounts, list all existing accounts, import a private key into a new account, create a new account or update an existing account. It supports interactive mode, when you are prompted for password as well as non-interactive mode where passwords are supplied via a given password file. Non-interactive mode is only meant for scripted use on test networks or known safe environments. Make sure you remember the password you gave when creating a new account (with either new or import). Without it you are not able to unlock your account. Note that exporting your key in unencrypted format is NOT supported. Keys are stored under <DATADIR>/keystore. It is safe to transfer the entire directory or the individual keys therein between ethereum nodes by simply copying. Make sure you backup your keys regularly. COMMANDS: list Print summary of existing accounts new Create a new account update Update an existing account import Import a private key into a new account help, h Shows a list of commands or help for one command OPTIONS: --help, -h (default: false) show help
Related
See also
geth account [ new | import ]
geth [ account | console | snapshot | --authrpc.addr | version | --sepolia | --goerli | --pprof | --http | --syncmode | --mine ] --rpc.evmtimeout | --ethstats | --help
, Geth logs, geth logs WARN,Log.Error
, ports:8551, 30303, 8547, ~/.ethereum/geth/,
,--verbosity, --config
,geth init
devp2p, p2psim, devp2p
, geth dumpconfig
Advertising: