6

I'm trying to test P2TR with Bitcoin Core, and I don't know how to get taproot addresses.
How should I create them using 22.0?

3
  • 1
    If you want to experiment with taproot on testnet until it's available in a release: bitcoin.stackexchange.com/questions/108006/…
    – user103136
    Commented Nov 11, 2021 at 16:46
  • 1
    You can experiment on testnet with existing releases e.g. Core 22.0. It just requires importing a descriptor rather than address generation from within the Core wallet. Commented Nov 11, 2021 at 16:54
  • Right, the steps also were tried on Bitcoin Core. I can't edit the comment but until everything is available and easy to do, those steps can be used to experiment with taproot.
    – user103136
    Commented Nov 12, 2021 at 7:54

1 Answer 1

9

This functionality in the Bitcoin Core wallet has deliberately not been merged pre activation to prevent users from easily generating and giving out Taproot addresses prior to the Taproot rules being enforced.

You can get around this by importing a Taproot descriptor into the wallet prior to this PR being merged as described here, here, here or here but that does require you to generate a private, public key pair outside of the Core wallet (or use an existing test vector but don't send to this on mainnet). Unless you know what you are doing I would wait until the Core wallet supports easy generation of Taproot addresses with e.g. the getnewaddress RPC for mainnet Taproot address generation.

1
  • Thanks! That makes sense! Commented Nov 11, 2021 at 18:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.