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

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.

主站蜘蛛池模板: 石楼县| 贞丰县| 浮山县| 姚安县| 新乐市| 柘荣县| 邓州市| 凤庆县| 南丹县| 关岭| 平乐县| 鄂托克前旗| 新昌县| 南开区| 新竹县| 临江市| 新竹县| 青冈县| 凭祥市| 隆子县| 洪洞县| 杭州市| 临邑县| 军事| 台山市| 环江| 永和县| 上思县| 泰州市| 晋州市| 揭西县| 灯塔市| 义乌市| 河源市| 屏东市| 广德县| 墨江| 高平市| 福清市| 白山市| 阿合奇县|