<p>This functionality in the Bitcoin Core wallet has deliberately <a href="https://github.com/bitcoin/bitcoin/pull/22364" rel="noreferrer">not been merged</a> pre activation to prevent users from easily generating and giving out Taproot addresses prior to the Taproot rules being enforced.</p>
<p>You can get around this by importing a Taproot descriptor into the wallet prior to this PR being merged as described <a href="https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-October/019543.html" rel="noreferrer">here</a>, <a href="https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-October/019533.html" rel="noreferrer">here</a>, <a href="https://bitcoin.stackexchange.com/questions/107452/how-can-i-spend-from-a-p2tr-address-on-signet-with-the-bitcoin-core-wallet-in-22">here</a> or <a href="https://bitcoin.stackexchange.com/questions/108006/how-to-make-a-taproot-transaction-with-bitcoin-cli/">here</a> but that does require you to generate a private, public key pair outside of the Core wallet (or use an existing <a href="https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-November/019587.html" rel="noreferrer">test vector</a> 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 <code>getnewaddress</code> RPC for mainnet Taproot address generation.</p>

CC BY-SA 4.0
2021-11-11T18:13:57.103Z
Thanks! That makes sense!
Gustavo Chaín
CC BY-SA 4.0
2021-11-11T16:16:35.377Z
2021-11-11T16:52:53.600Z
2021-11-11T16:52:53.600Z
Michael Folkson
<p>I'm trying to test P2TR with Bitcoin Core, and I don't know how to get taproot addresses.<br />
How should I create them using 22.0?</p>

CC BY-SA 4.0
2021-11-11T16:54:07.100Z
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.
Michael Folkson
<bitcoin-core><wallet><output-script-descriptors><p2tr><bip350-bech32m>
How can I create P2TR addresses with Bitcoin Core 22.0?
Gustavo Chaín
# How can I create P2TR addresses with Bitcoin Core 22.0?

(Asked by: username_0 on 2021-11-11)

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?

**Tags:** bitcoin-core, wallet, output-script-descriptors, p2tr, bip350-bech32m

> **Comments:**
> **username_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.  

---

## 1 answers

### Answer by username_1 on 2021-11-11. Score: 9 | Accepted answer

This functionality in the Bitcoin Core wallet has deliberately [not been merged](https://github.com/bitcoin/bitcoin/pull/22364) 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](https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-October/019543.html), [here](https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-October/019533.html), [here](https://bitcoin.stackexchange.com/questions/107452/how-can-i-spend-from-a-p2tr-address-on-signet-with-the-bitcoin-core-wallet-in-22) or [here](https://bitcoin.stackexchange.com/questions/108006/how-to-make-a-taproot-transaction-with-bitcoin-cli/) but that does require you to generate a private, public key pair outside of the Core wallet (or use an existing [test vector](https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-November/019587.html) 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.

> **Comments:**
> **username_0**: Thanks! That makes sense!  

---

