官术网_书友最值得收藏!

Creating accounts

Geth also lets us create accounts, that is, generate keys and addresses associated with them. To create an account, use the following command:

    geth account new

When you run this command, you will be asked to enter a password to encrypt your account. If you forget your password, there is no way to access your account.

To get a list of all accounts in your local Wallet, use the following command:

    geth account list

The preceding command will print a list of all the addresses of the accounts. Keys are, by default, stored in the --datadir path, but you can use the --keystore option to specify a different directory.

主站蜘蛛池模板: 襄城县| 恩平市| 东光县| 和顺县| 霍山县| 石嘴山市| 锦州市| 石狮市| 龙海市| 遵化市| 漾濞| 土默特左旗| 翁源县| 当涂县| 乐清市| 静海县| 楚雄市| 通许县| 垣曲县| 洪江市| 三都| 会理县| 宜君县| 宜兰市| 如东县| 高阳县| 澄江县| 蒙阴县| 子长县| 永济市| 庆城县| 化隆| 庆元县| 根河市| 沧州市| 罗田县| 武清区| 栖霞市| 镇宁| 鹤岗市| 从江县|