summaryrefslogtreecommitdiff
path: root/58/2deb6efe6cb386b6f6a849872623d021bfab8f
blob: 712518d4919dbc7fdb6c209f66962ebc2876dc00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
Return-Path: <prayank@tutanota.de>
Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])
 by lists.linuxfoundation.org (Postfix) with ESMTP id A1CF6C000D
 for <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <bitcoin-dev@lists.linuxfoundation.org>;
 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 <prayank@tutanota.de>
To: andreas@schildbach.de
Message-ID: <Mm3HyxT--3-2@tutanota.de>
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 <bitcoin-dev@lists.linuxfoundation.org>
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 <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, 
 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=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

<html>
  <head>
    <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-8=
">
  </head>
  <body>
<div>Hi Andreas,<br></div><div dir=3D"auto"><br></div><div dir=3D"auto">&gt=
; I'm trying to finish off bitcoinj's implementation for sending to <br></d=
iv><div dir=3D"auto">taproot addresses. For this, I'd like to test against =
a wallet that can<br></div><div dir=3D"auto">receive to P2TR and spend back=
.<br></div><div dir=3D"auto"><br></div><div dir=3D"auto">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<br></div><div><br></div>=
<div dir=3D"auto">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:<br></div><div dir=3D"auto"><br></div><div dir=3D"auto"><div>https://b=
itcoin.stackexchange.com/a/108013/<br></div><div><br></div><div>TL;DR - <br=
></div><div><br></div><div>1.Create a blank descriptor wallet with private =
keys disabled<br></div><div dir=3D"auto"><br></div><div dir=3D"auto">2.Impo=
rt TPUB descriptor in wallet<br></div><div dir=3D"auto"><br></div><div dir=
=3D"auto">3.Create new bech32m address<br></div><div dir=3D"auto"><br></div=
><div dir=3D"auto">4.Send some bitcoin from another wallet<br></div><div di=
r=3D"auto"><br></div><div dir=3D"auto">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></div><div dir=3D"auto"><br></div></div><div>-- <=
br></div><div>Prayank<br></div><div><br></div><div dir=3D"auto">A3B1 E430 2=
298 178F<br></div>  </body>
</html>

------=_Part_14339_1850057256.1634307143217--