下面是两种创建账户方式
命令行使用
geth account new
geth console里使用
personal.newAccount()
但是第一种方法有默认目录,本人试验为///root/.ethereum/keystore
- 如果需要geth console找到geth account new的账户:
需要将账户从默认目录移动至console对应的keystore文件夹 如果想要geth account new直接到对应的geth console目录
使用geth --datadir "**path to your data dir**" account new
如geth --datadir ///dapp/test account new
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。