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

Support for Pay to Taproot outputs and Bech32m addresses #567

Open
murchandamus opened this issue Jul 28, 2021 · 7 comments
Open

Support for Pay to Taproot outputs and Bech32m addresses #567

murchandamus opened this issue Jul 28, 2021 · 7 comments

Comments

@murchandamus
Copy link

murchandamus commented Jul 28, 2021

I'm reaching out to ask about Blockchair's plans to prepare for the upcoming Taproot softfork in November.

As you probably know, the BIP341/BIP342 "Taproot" proposal is going to activate on Bitcoin mainnet on block 709632 (expected around November 20th, 2021). This will introduce the "Pay to Taproot" output type using the new "bech32m" address format specified in BIP350. I was wondering whether Blockchair is preparing to index and display bech32m addresses by the time that Taproot activates.

@murchandamus
Copy link
Author

To give a concrete example, in transaction b10c007c60e14f9d087e0291d4d0c7869697c6681d979c6639dbd960792b4d41, the input addresses should be bc1pqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqsyjer9e instead of bc1pqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqs3wf0qm
and bc1pmfr3p9j00pfxjh0zmgp99y8zftmd3s5pmedqhyptwy6lm87hf5sspknck9 instead of bc1pmfr3p9j00pfxjh0zmgp99y8zftmd3s5pmedqhyptwy6lm87hf5ss52r5n8.

@Har01d
Copy link
Member

Har01d commented Jul 30, 2021

Yes, we plan to support Taproot in both the interface and the API. Not sure though if we’ll be converting existing witness_unknown bech32 addresses, but this shouldn’t be a big issue as there are only ~10 of them.

@murchandamus
Copy link
Author

Great, thanks for the update.

@murchandamus
Copy link
Author

Hi @Har01d. I just wanted to bump this issue since Taproot will be activated in a few days.

@Har01d
Copy link
Member

Har01d commented Nov 10, 2021

Hi @xekyo, yes, we'll be rolling out Taproot for Bitcoin, Groestlcoin, and Bitcoin Testnet in a day or two.

@Har01d
Copy link
Member

Har01d commented Nov 11, 2021

Here's the official announcement: https://twitter.com/Blockchair/status/1458817396433731585

We'll be reindexing Bitcoin to include some of the witness_unknown outputs which were Taproot outputs a bit later, but this shouldn't be an issue as there's not a lot of them (see https://blockchair.com/bitcoin/outputs?q=type(witness_unknown)#)

Bitcoin Testnet is fully reindexed and is ready for testing.

@mahnunchik
Copy link

Please add xpub variant for Pay to Taproot for https://api.blockchair.com/{:btc_chain}/dashboards/xpub/{:extended_key} api endpoint.

Currently only xpub, ypub, and zpub are supported.

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