gethprovides account management via the
<DATADIR>/keystore. Make sure you backup your keys regularly! See DATADIR backup & restore for more information. If custom datadir and keystore options are given, then the keystore option takes preference over the datadir option.
UTC--<created_at UTC ISO8601>-<address hex>. The order of accounts when listing is lexicographic, but as a consequence of the timespamp format, it is actually order of creation
geth account <command> --help.
--passwordflag. The data in the file consists of the raw characters of the password, followed by a single newline.
<keyfile>and creates a new account and prints the address.
updatesubcommand with the account address or index as parameter. You can specify multiple accounts at once.
--unlockoption which takes a comma separated list of accounts (in hex or index) as argument so you can unlock the accounts programmatically for one session. This is useful if you want to use your account from dApps via RPC.
--unlockwill unlock the first account. This is useful when you created your account programmatically; you don't need to know the actual account to unlock it.
checkAllBalances()function definition to a file on your computer. For example,
/Users/username/gethload.js. Then load the file from the interactive console: