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

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.

主站蜘蛛池模板: 贡嘎县| 沈阳市| 德兴市| 隆安县| 金华市| 镇安县| 博罗县| 吉首市| 麻阳| 平山县| 潮安县| 阳曲县| 深圳市| 巩留县| 京山县| 肇源县| 喀什市| 蓝田县| 乐业县| 深泽县| 正阳县| 乌恰县| 金平| 宜丰县| 和田市| 浦东新区| 浪卡子县| 娄烦县| 昆山市| 嘉祥县| 伊宁县| 平罗县| 开封市| 万宁市| 上林县| 获嘉县| 雷波县| 棋牌| 张北县| 罗城| 赫章县|