Return-Path: Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists.linuxfoundation.org (Postfix) with ESMTP id A1CF6C000D for ; Fri, 15 Oct 2021 14:12:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 85EB160726 for ; Fri, 15 Oct 2021 14:12:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -0.2 X-Spam-Level: X-Spam-Status: No, score=-0.2 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=tutanota.de Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jYIUEK7beCbZ for ; Fri, 15 Oct 2021 14:12:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from w1.tutanota.de (w1.tutanota.de [81.3.6.162]) by smtp3.osuosl.org (Postfix) with ESMTPS id 822D260719 for ; Fri, 15 Oct 2021 14:12:25 +0000 (UTC) Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id 392AAFA0365; Fri, 15 Oct 2021 14:12:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1634307143; s=s1; d=tutanota.de; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=NWzWOK5hm0qhQ1czhrN9tui9eXjdYivfnz05h/323mc=; b=mjnOKAWDNyEqIfmmE0Rgt/kKLdTt9+ltsYIk1qIorxRF5keDMlVJX8ABnwhHeAjq v9pGdgyGsEf8iMSK9vrMkJ1KId4T4Z545444gBWSOAT1PPMjoLK62Jj01UtGekdv+RT 2ojEU+022e4O70Y/1bO6kNKb5IPRBv7iUy0lmrD3BGFSyD9eOOeMA7/nrYNtkkt+R5C LQNaSkdR076BWmijDtbChc/5UYMtIC6PS6ANSrEJFpXptOpf3yGEZPloBZLwsUKl3BK Ar83ymI/IQeG9QXCuKErRcitqp3/uspXvOCKy6pruHWr2BBkpNOCJkpDYw0rGtgk0zZ 5nar5XXtpA== Date: Fri, 15 Oct 2021 16:12:23 +0200 (CEST) From: Prayank To: andreas@schildbach.de Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14339_1850057256.1634307143217" X-Mailman-Approved-At: Fri, 15 Oct 2021 22:48:22 +0000 Cc: Bitcoin Dev Subject: Re: [bitcoin-dev] Taproot testnet wallet X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2021 14:12:26 -0000 ------=_Part_14339_1850057256.1634307143217 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 ------=_Part_14339_1850057256.1634307143217 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 transac= tion few days back which creates a P2TR output while answering a question o= n Bitcoin Stackexchange: https://blockstream.info/testnet/tx/2035ead4a9d0c8= e2da1184924abc9034d26f2a7093371183ef12891623b235d1

=
Pieter Wuille and Anthony Towns already shared things tha= t would be helpful. Still wanted to share the steps I did for above transac= tion:

https://b= itcoin.stackexchange.com/a/108013/

TL;DR -

1.Create a blank descriptor wallet with private = keys disabled

2.Impo= rt 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 Anthon= y Towns in last email.

-- <= br>
Prayank

A3B1 E430 2= 298 178F
------=_Part_14339_1850057256.1634307143217--