I am in the middle of writing some Taproot libraries and would like some testnet/signet p2tr spends. Is there an easy way to find them? Most explorers don't have any filters like that. Even a list of 10 different p2tr's with various key-spends and tap-spends would be very helpful.
-
2Not on chain, but have you seen github.com/bitcoin/bips/pull/1225 ?– Pieter WuilleNov 12, 2021 at 23:56
-
I swear, I had the BIP0341 specification open and this PR wasn't included. Yes, this is exactly what I need because what was there before, I couldn't really understand. Thank you.– Jimmy SongNov 13, 2021 at 0:42
-
1It was also only just merged.– Pieter WuilleNov 13, 2021 at 1:34
1 Answer
As Pieter said in the comments there are Taproot test vectors that have recently been merged into BIP 341.
You can also find additional P2TR spends on signet, testnet on block explorers e.g. mempool.space. Any transaction that is spending from a tb1p
address is a Taproot spend (tb1q
is SegWit version 0 and tb1p
is SegWit version 1 as discussed here).
Alternatively any output that starts with OP_1
(01
) and is spent in a transaction is a Taproot spend.
There are a number of Taproot spends in recent signet/testnet blocks at the time of writing (less than a day before Taproot activates on mainnet).