openethereum / parity-ethereum

The fast, light, and robust client for Ethereum-like networks.
Other
6.81k stars 1.68k forks source link

Create/Unlock Accounts from Mnemonic #11813

Closed fredfortier closed 4 years ago

fredfortier commented 4 years ago

In the context of deploying a dApp testnet using Docker, I'm trying to run an openethereum container that unlocks specific accounts. I could not find much documentation about this, but I basically following this process: https://ico.readthedocs.io/en/latest/chain.html#parity-with-kovan-testnet. This means that I created accounts a priori using the openethereum cli, then I backed up their keys into a volume that mounts into: io.parity.ethereum/keys/kovan. Then, I use the unlock argument to give the account addresses and paths to password files. This works but it strikes me as too complicated to be right. Is there a way to just give openethereum a menmonic and account derivation paths to unlock accounts that weren't created in advance?

vorot93 commented 4 years ago

Account management is deprecated for all use cases except block authoring in PoA networks.

Please use a proper wallet like MetaMask or MyEtherWallet for restoring account from your mnemonic.