You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a way to backup/restore keys using a seed phrase (BIP39).
BIP39 covers more than seed phrases, it also covers HD wallets (BIP32), which enables generating multiple keys using the same seed-phrase. The same seed-phrase can be used to recover all the keys that were generated with it.
We could do something similar to Cosmos gaiacli:
# produce a seed phrase, generate the fist key following BIP39(index 0),
# prompt password to encrypt key, save encrypted keyfile.
monetd keys add [name]
# prompt seed phrase, and recover the i'th key
# prompt password to encrypt key, save encrypted keyfile
monetd keys add [name] --recover --index [i]
Produces two identical keys key0 and key0-recovered provided that the seed-phrase given to the second command is the same as the seed-phrase produced by the first command.
Then, create a second key using the same seed-phrase:
Implement a way to backup/restore keys using a seed phrase (BIP39).
BIP39 covers more than seed phrases, it also covers HD wallets (BIP32), which enables generating multiple keys using the same seed-phrase. The same seed-phrase can be used to recover all the keys that were generated with it.
We could do something similar to Cosmos
gaiacli
:So for example:
Produces two identical keys
key0
andkey0-recovered
provided that the seed-phrase given to the second command is the same as the seed-phrase produced by the first command.Then, create a second key using the same seed-phrase:
And recover it:
key1-recovered
equalskey1
.The text was updated successfully, but these errors were encountered: