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

createWallet: error on bitcoin as network. #20

Open
rsbkmr opened this issue Aug 5, 2022 · 2 comments
Open

createWallet: error on bitcoin as network. #20

rsbkmr opened this issue Aug 5, 2022 · 2 comments

Comments

@rsbkmr
Copy link

rsbkmr commented Aug 5, 2022

Error on iOS: "Code: Init Wallet Error Message: The operation couldn’t be completed. (bdk_rn.BdkError error 26.)"
Error on Android: "Code: Init Wallet Error Message: Descriptor(Key(InvalidNetwork))"

@BitcoinZavior
Copy link
Contributor

This worked fine for me:

const wallet = await BdkRn.createWallet({ mnemonic: data, password: "", network: "bitcoin" });

Can you provide more details please?

@BitcoinZavior
Copy link
Contributor

@rsbkme please try latest main branch now. using bitcoin as network should now create wallet and sync as well. You will need to use a mainnet url for blockchainConfigUrl
You can use ssl://electrum.blockstream.info:50002

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

2 participants