Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wallet Recovery #39

Open
rachna-khatnawlia opened this issue Feb 14, 2023 · 2 comments
Open

Wallet Recovery #39

rachna-khatnawlia opened this issue Feb 14, 2023 · 2 comments

Comments

@rachna-khatnawlia
Copy link

How can we achieve Wallet Recovery using this Package?

@Czino
Copy link
Contributor

Czino commented Feb 14, 2023

Hi @rachna-khatnawlia, you can use the mnemonic parameter to instantiate the wallet

const result = await BdkRn.createWallet({
  mnemonic: 'mom mom mom mom mom mom mom mom mom mom mom mom',
  password: '',
})

@BitcoinZavior
Copy link
Contributor

Yes, create wallet with a known mnemonic is equivalent to wallet recovery.
Please note, the next version of the package will only allow wallet creation with descriptors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants