Open lusharenck opened 1 year ago
Lets have more detail about this. I am trying to generate an Taproot address with this package. As we know that the taproot address has a specific format starting with bc1q... with another library that does the work like this..
from bitcoinlib.wallets import Wallet
passphrase = 'input display smile visa surround learn solar hero vacuum parrot cigar devote'
w = Wallet.create("Wallet11", witness_type='segwit', keys=passphrase, network='bitcoin')
WalletKeys = (w.get_keys(number_of_keys=10))
# bech32 address (p2wpkh)
for k in WalletKeys:
print(k.address)
it is a part of bech32 address (p2wpkh)
The above is not correct. I will need some more assistance.
How do I generate a Taproot Bech32m address