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

I want to generate a taproot wallet, how do I do it? #358

Open
chung1912 opened this issue Dec 30, 2023 · 2 comments
Open

I want to generate a taproot wallet, how do I do it? #358

chung1912 opened this issue Dec 30, 2023 · 2 comments

Comments

@chung1912
Copy link

w = Wallet.create("Wallet_taproot", keys=mnemonic, network='bitcoin',witness_type='taproot',db_uri='taproot.db')
This will cause an error

@xll970211
Copy link

xll970211 commented Jan 5, 2024

#348
you can try like this

wallet = Wallet.create("Wallet_taproot", network='bitcoin')
taproot = Address(wallet.get_key().address, script_type="p2tr", encoding='bech32').address

@mccwdev
Copy link
Member

mccwdev commented Jan 8, 2024

Taproot wallets are not supported at the moment. But it is currently under development.

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

No branches or pull requests

3 participants