上面是两种创立账户形式
命令行应用
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