public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [bitcoin-dev] Taproot testnet wallet
@ 2021-10-09 15:36 Andreas Schildbach
  2021-10-09 16:49 ` Pieter Wuille
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Schildbach @ 2021-10-09 15:36 UTC (permalink / raw)
  To: bitcoin-dev

I'm trying to finish off bitcoinj's implementation for sending to 
taproot addresses. For this, I'd like to test against a wallet that can 
receive to P2TR and spend back.

I've been trying to get a taproot address from Bitcoin Core 22.0 and 
spent many hours, but in vain. Can someone please simply send my a 
testnet wallet that has at least one taproot address? (I don't care 
about anyone stealing my testnet coins, so don't worry about the 
compromised private key.)

Thanks!


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [bitcoin-dev] Taproot testnet wallet
@ 2021-10-15 14:12 Prayank
  0 siblings, 0 replies; 5+ messages in thread
From: Prayank @ 2021-10-15 14:12 UTC (permalink / raw)
  To: andreas; +Cc: Bitcoin Dev

[-- Attachment #1: Type: text/plain, Size: 939 bytes --]

Hi Andreas,

> I'm trying to finish off bitcoinj's implementation for sending to 
taproot addresses. For this, I'd like to test against a wallet that can
receive to P2TR and spend back.

I did this transaction few days back which creates a P2TR output while answering a question on Bitcoin Stackexchange: https://blockstream.info/testnet/tx/2035ead4a9d0c8e2da1184924abc9034d26f2a7093371183ef12891623b235d1

Pieter Wuille and Anthony Towns already shared things that would be helpful. Still wanted to share the steps I did for above transaction:

https://bitcoin.stackexchange.com/a/108013/

TL;DR - 

1.Create a blank descriptor wallet with private keys disabled

2.Import TPUB descriptor in wallet

3.Create new bech32m address

4.Send some bitcoin from another wallet

The answer could be improved if test vectors are added in BIP 86 for TPRV for follow things suggested by Anthony Towns in last email.

-- 
Prayank

A3B1 E430 2298 178F

[-- Attachment #2: Type: text/html, Size: 1686 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-15 14:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-09 15:36 [bitcoin-dev] Taproot testnet wallet Andreas Schildbach
2021-10-09 16:49 ` Pieter Wuille
2021-10-15  1:05   ` Anthony Towns
2021-10-15 11:51     ` vjudeu
2021-10-15 14:12 Prayank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox