[以太坊] geth两种创建账户方式
文章目录
下面是两种创建账户方式
命令行使用
geth account newgeth 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

评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论