Difference between revisions of "Geth account"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
[[geth account new]] | [[geth account new]] | ||
[[geth account list]] | [[geth account list]] | ||
+ | [[geth account import]] | ||
+ | [[geth account update]] | ||
+ | |||
+ | |||
+ | |||
+ | <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> | ||
− | * [[ethkey generate]] | + | == Related == |
+ | *<code>[[clef newaccount]]</code> | ||
+ | *<code>[[solana account]]</code> | ||
+ | *<code>[[ethkey generate]]</code> | ||
+ | * [[Ethereum accounts]] | ||
== See also == | == See also == |
Latest revision as of 04:52, 9 June 2024
geth account geth account new geth account list geth account import geth account update
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[edit]
See also[edit]
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: