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
Currently, users cannot initialize a node from a previously saved seed phrase.
When a user runs pactus-daemon init, it creates a new wallet using a new seed phrase.
Describe the ideal solution
We should add a new string option to the init command, for example: pactus-daemon init --seed "<12-words-seed>.
The bip39.IsMnemonicValid API can be used to confirm the seed phrase is valid.
If the --seed option isn't used, a new seed phrase can be generated.
Alternatives and current work-around
Currently, there is no easy work-around for this problem. The only alternative is for users to manually use pactus-wallet to recover their wallet, and then replace it with the default_wallet.
Describe the problem you'd like to have solved
Currently, users cannot initialize a node from a previously saved seed phrase.
When a user runs
pactus-daemon init
, it creates a new wallet using a new seed phrase.Describe the ideal solution
We should add a new string option to the
init
command, for example:pactus-daemon init --seed "<12-words-seed>
.The
bip39.IsMnemonicValid
API can be used to confirm the seed phrase is valid.If the
--seed
option isn't used, a new seed phrase can be generated.Alternatives and current work-around
Currently, there is no easy work-around for this problem. The only alternative is for users to manually use
pactus-wallet
to recover their wallet, and then replace it with the default_wallet.Related to #522
The text was updated successfully, but these errors were encountered: