summaryrefslogtreecommitdiff
path: root/01/cb846cea657f0ebe2ece4e99876410050060e0
blob: 93ec7bf883826fed1b7e97a70c904aee0b58d931 (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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
Delivery-date: Sun, 24 Aug 2025 17:52:43 -0700
Received: from mail-oa1-f63.google.com ([209.85.160.63])
	by mail.fairlystable.org with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
	(Exim 4.94.2)
	(envelope-from <bitcoindev+bncBC22FLMMY4FRBT7HV3CQMGQEXDJZZSA@googlegroups.com>)
	id 1uqLRy-0001O7-OW
	for bitcoindev@gnusha.org; Sun, 24 Aug 2025 17:52:43 -0700
Received: by mail-oa1-f63.google.com with SMTP id 586e51a60fabf-30cce8f09f3sf1756636fac.1
        for <bitcoindev@gnusha.org>; Sun, 24 Aug 2025 17:52:42 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1756083156; cv=pass;
        d=google.com; s=arc-20240605;
        b=YK62Rj7yepP9LGWVyZXan1+Jy2gj6xI2BtKFgelc/Z14MQNuZiN7H/223vuRpfAVa6
         go6zth58Qi8DwrxEVkm19qsWOB7oZn4XvLM9pPzMfzik6kWAOFIHeU0i7a8AaFW/PgL0
         A2vnfq/0gaTSCeMz6kuYze2QpaXubW4ZqaBp9VCq3qHptx0F/GF5OgHkMKyxWP/OAmSL
         fCE3lzdaOfkDhrAkL018VXrPyPiCPshJ7cJ9xh1WaYH5G630Ed9XOuUZDPWO74/Odw9z
         j80d+fqGbjBXKU+7Up+e1/+Sw93gUftrSM9q9Fti77H9/Jycjs4B4kyvEvccVHtybE/G
         PdLA==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:to:subject:message-id:date:from
         :mime-version:sender:dkim-signature:dkim-signature;
        bh=9Qzx4qFBNDoFSljUs5F7NIXq3cjETJSRu54E0FHh2B8=;
        fh=QYybFREHZXOGhk4V/hfV58QUo/pVGgFJba5r+fauLsA=;
        b=MgSWpEm9++QfMl63AwmYTpZau/+x0LNct+SQdgklFj0HPmq8zCrr6l8V4Dj4qFJd7d
         IRJzguzFrPSwpVTGa4SbdxBSyl8vWiNT+AWb5OfURvQn4/9CCPhP2puckkBrWq6UHVVv
         /6HqkjApa2l+8UKgNzAOEdTvbnEFz8T6PADTRwxm1c2EYniXdoBHir17n0zQemO89cRb
         BUxZpB3nd7VUH4i9xCGz5SDrpVzwsjbm8kwfOQIPNX8u/huloZcOtw3oWGVHjgNQGXBY
         QM9u2lyl/1ILJQNw4ErSxYUT6w6IbMRrFbhgHSYOVMr5ZbpxECkCB5j2pMfM+2XmtO3H
         IX/g==;
        darn=gnusha.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20230601 header.b=FTHNwMdP;
       spf=pass (google.com: domain of laolu32@gmail.com designates 2607:f8b0:4864:20::b31 as permitted sender) smtp.mailfrom=laolu32@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com;
       dara=pass header.i=@googlegroups.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlegroups.com; s=20230601; t=1756083156; x=1756687956; darn=gnusha.org;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-authentication-results
         :x-original-sender:to:subject:message-id:date:from:mime-version
         :sender:from:to:cc:subject:date:message-id:reply-to;
        bh=9Qzx4qFBNDoFSljUs5F7NIXq3cjETJSRu54E0FHh2B8=;
        b=R9CiiObHHZJhoNJFcQAcRJz7jc6t2oitT8302PeRYdd0Q5imlwyptuuUZYkuJGgQ+e
         lkkFwVnxaOrYmq+KuqZ6IvOIpZIqpY0e8w9qT9HtPJ74WmU+EeXykSJa5EPIGlz3+BrW
         2llUAu2TgvP/pyrKSI7+dB+6bdWFCV3G4kRsNq+Qfv8AVbd19p74OZCTnKbcDh+q/+nD
         jTL0O9wA4AQDhkOLJNFArDojOBVe1wi8fVFjWRzMrOsICWXb8TGj95Fnezod9W6WbKul
         +xE5Tlk6kW9QZXEwg5I16DvVTqVUghtpyfU2kwB9epsa+5mzvMAS1z6RIHh+09eh+6ZT
         GtSw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1756083156; x=1756687956; darn=gnusha.org;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-authentication-results
         :x-original-sender:to:subject:message-id:date:from:mime-version:from
         :to:cc:subject:date:message-id:reply-to;
        bh=9Qzx4qFBNDoFSljUs5F7NIXq3cjETJSRu54E0FHh2B8=;
        b=Y2KKyGPMbATmmzaXcFFawOZzRb19naMGPZRcz27P3na1pq0aVj+NX/VIIfW3V71xa9
         rwxTzT5FA4osbxhnLyhqRtRXC0mlOwFrfBxaSDA1EVla81mOxQHLX9CIopxYm082hD50
         VDjlZlQVulFVYnKV9Zt6MV8u+Ae9Q4egUaSkowXSewHI+sh7dsj5yJvD8AW1r1puTx/x
         viLhSJt2K6HVS+jLcxw1TGI3rbqzJTx9X52dD4gBzcSlYTw2HkX4zUlfL8YHYqxOTiG6
         HROLQ8leT0mJabpET8tZPaAyAF1Ai4mISftZ0oRwfj8ysX2zMQ7foaTqwAYfWgKxmtKZ
         aw/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1756083156; x=1756687956;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:x-original-authentication-results
         :x-original-sender:to:subject:message-id:date:from:mime-version
         :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date
         :message-id:reply-to;
        bh=9Qzx4qFBNDoFSljUs5F7NIXq3cjETJSRu54E0FHh2B8=;
        b=Dw+AJzBSs20IOtDVyKpSz+95n8c33tKjjVkmVNzTnySSZO+mznxsUrr4RX1MEWzL3q
         HTahIuf2CQSS5Gv+w2BvQQwA7eM1Jq6jf+x8MgYoocdb4enQpvIBpyYM3r5j83YYJ6ti
         sa2ayvDyofhKc6RJ0Bh6JyH4IlL1D05zizefjiJr/+Tgrin7beVAqvWUSeTHXxw5ZtI6
         YhK6sz48Q8DrowpgJvZdlY1LU2PVvb88KvbisLahVq57hbx/A1GL+Ue3s8p7UeBokAvx
         pjG/elTRu/TNC0K5k+XN0zvo6bRAiG/qiIZ5BoWjHclgQJblsPJBNtyK8yvwh7SmhoFx
         x64w==
Sender: bitcoindev@googlegroups.com
X-Forwarded-Encrypted: i=2; AJvYcCWstd9jKBUCto512U83sXoZU52apZAebD7jtgs2QhFaJ9cn3ejVdwjr57wjzTjx+dUHLkhsD5EtmZBV@gnusha.org
X-Gm-Message-State: AOJu0YxSnSlnRyQGMJPVCbOsAcWO1Owr0R5w1uK1HRZw+NiJ755f25Ja
	tB1od/AwVGbRVMkwnWRHZXb82yK9cSk9j2YjWBlRGymTW2nDJa3rHn7M
X-Google-Smtp-Source: AGHT+IH4GRwQq6ckxwXieqCRGS5J5qwITTg4HZOhRXRZLkSGinzmFpmHlxFr1j3cuDLnOjFrAgScZQ==
X-Received: by 2002:a05:6870:b027:b0:314:bc64:a0a6 with SMTP id 586e51a60fabf-314dce5d77emr2392321fac.7.1756083155845;
        Sun, 24 Aug 2025 17:52:35 -0700 (PDT)
X-BeenThere: bitcoindev@googlegroups.com; h=AZMbMZdXsIrmFR0LQQ4h/UbAqSJ7Ly9XABEeZYKkvPb3Hvr9nA==
Received: by 2002:a05:6871:292:b0:30b:b85a:bd67 with SMTP id
 586e51a60fabf-311210593e0ls917170fac.2.-pod-prod-00-us-canary; Sun, 24 Aug
 2025 17:52:31 -0700 (PDT)
X-Received: by 2002:a05:6808:1816:b0:437:75ea:6c73 with SMTP id 5614622812f47-4377db3d1bamr6059294b6e.22.1756083151522;
        Sun, 24 Aug 2025 17:52:31 -0700 (PDT)
Received: by 2002:a05:620a:a017:b0:7c5:3b15:3956 with SMTP id af79cd13be357-7ea10acbad8ms85a;
        Sun, 24 Aug 2025 17:50:52 -0700 (PDT)
X-Received: by 2002:a05:6214:226c:b0:70d:81ce:ec22 with SMTP id 6a1803df08f44-70d983ed50bmr106878876d6.30.1756083050930;
        Sun, 24 Aug 2025 17:50:50 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1756083050; cv=none;
        d=google.com; s=arc-20240605;
        b=XZFwIzS08IaeSaJwkjNAYONfhf75DvGSXHKREbikzDKfe3EvZKxLyxmx8XCxzzvUJ1
         7Dptog+R2+CrEpbdnviWUJ2jAlnNqBbgGF35kd2Fe7bOM0nhVm9Y6dvfhyrfKtwjxivH
         qOxJnc3th9XttIGJVtfLyG9sE3vXeO/wB7IkgNskA6w6KmcR6INdpb5getE6A7+KA5XI
         Eml4AW4UXshaognsvcNxbepLjjWFE/LQExPyDjnHwU2K4phz748pKCvZA432eSAOXT+3
         t6ebOGqIYw2UQoBvSOmPQQg8Fni2Ww2RiZfUxOVZV7uG+1Ty8agjs7Ri3v1LjoNllNQj
         D4Ww==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
        h=to:subject:message-id:date:from:mime-version:dkim-signature;
        bh=C/1Kbfeb1eXrWtQqnZOAQpeKSQK8KFyTeclqAU3IrO8=;
        fh=DMP0F9ULS1guKiqimntQRCN8ZraraesEgQuVcn7F0Z0=;
        b=abPjj8Ll6gOJHgzIYpKMF3ztos3gOIswD3/QNNdFhYRpElmclHC+rhKa64SyJMwl7x
         XSxWzXYZO5320OCfbWT5YcNLZP8UrCKdRzx2kC03WeUIpoaP3r0PbwagF/TNoRy4zw9J
         P5BG4jVxcL7/j51E4y1XLpjHpH6zVaPX4BeYDMjV4ZjTAiC+jKGn7o7uh3ovcWZHGwdV
         yDdzCrMmv9i5PDRY8B9PMGHW7Y38SU6W0WpyqNjMjZdWPuaWXDcFNuuqRof8zLjsfIpd
         Ahjg35+b6BnZTpd0Y01urCkXztf0pmsq4QTwYZLfMOaXuQtVq6V5mCr7GPLN7pZZYa5G
         gO+Q==;
        dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20230601 header.b=FTHNwMdP;
       spf=pass (google.com: domain of laolu32@gmail.com designates 2607:f8b0:4864:20::b31 as permitted sender) smtp.mailfrom=laolu32@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com;
       dara=pass header.i=@googlegroups.com
Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com. [2607:f8b0:4864:20::b31])
        by gmr-mx.google.com with ESMTPS id 6a1803df08f44-70dc547bfe2si39696d6.1.2025.08.24.17.50.50
        for <bitcoindev@googlegroups.com>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Sun, 24 Aug 2025 17:50:50 -0700 (PDT)
Received-SPF: pass (google.com: domain of laolu32@gmail.com designates 2607:f8b0:4864:20::b31 as permitted sender) client-ip=2607:f8b0:4864:20::b31;
Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-e95380515bbso762229276.0
        for <bitcoindev@googlegroups.com>; Sun, 24 Aug 2025 17:50:50 -0700 (PDT)
X-Gm-Gg: ASbGncvMFBhM/HUUOKXtoFMG2rSyvydGe14kU3vLBKDxwGojtqT8GvJEYLIl6fzzUEU
	Sw0QE4oSWGSQd0JejfanyWBpJ2V3VPfnOg4K4Aw5W7z6FtAZMq2kL8i8z4HLGHPwtF3FostkPC+
	iTM31Mwu7H2fMnhCapf7y7P3qtvKRWDwkzpZYFtzAIsykjkZ/BANENB31VnUTsuLoCX4C+3Zmms
	gtqyIWbYYVdj5W/i7mXKp36kENyaUyU1748uKN7Vg==
X-Received: by 2002:a05:690c:508c:b0:71b:f2dd:6dc4 with SMTP id
 00721157ae682-71fc9f1ed0bmr128598737b3.18.1756083050297; Sun, 24 Aug 2025
 17:50:50 -0700 (PDT)
MIME-Version: 1.0
From: Olaoluwa Osuntokun <laolu32@gmail.com>
Date: Sun, 24 Aug 2025 20:50:39 -0400
X-Gm-Features: Ac12FXzdpDoy2qC3_dbpOPOdTO3w5zGfqYkjbZR0JzEfaW2SS4jFEe-vS-e5TOY
Message-ID: <CAO3Pvs-Cwj=5vJgBfDqZGtvmoYPMrpKYFAYHRb_EqJ5i0PG0cA@mail.gmail.com>
Subject: [bitcoindev] [BIP Proposal] Elliptic Curve Operations for Bitcoin Script
To: Bitcoin Development Mailing List <bitcoindev@googlegroups.com>
Content-Type: multipart/alternative; boundary="00000000000068bd93063d25f2ff"
X-Original-Sender: laolu32@gmail.com
X-Original-Authentication-Results: gmr-mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20230601 header.b=FTHNwMdP;       spf=pass
 (google.com: domain of laolu32@gmail.com designates 2607:f8b0:4864:20::b31 as
 permitted sender) smtp.mailfrom=laolu32@gmail.com;       dmarc=pass (p=NONE
 sp=QUARANTINE dis=NONE) header.from=gmail.com;       dara=pass header.i=@googlegroups.com
Precedence: list
Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com
List-ID: <bitcoindev.googlegroups.com>
X-Google-Group-Id: 786775582512
List-Post: <https://groups.google.com/group/bitcoindev/post>, <mailto:bitcoindev@googlegroups.com>
List-Help: <https://groups.google.com/support/>, <mailto:bitcoindev+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/bitcoindev
List-Subscribe: <https://groups.google.com/group/bitcoindev/subscribe>, <mailto:bitcoindev+subscribe@googlegroups.com>
List-Unsubscribe: <mailto:googlegroups-manage+786775582512+unsubscribe@googlegroups.com>,
 <https://groups.google.com/group/bitcoindev/subscribe>
X-Spam-Score: -0.5 (/)

--00000000000068bd93063d25f2ff
Content-Type: text/plain; charset="UTF-8"

Hi y'all,

I've just published a draft of a BIP to add Elliptic Curve operation op
codes
as a soft fork utilizing the existing Taproot infrastructure and current tap
leaf version.

My primary motivation is enabling the commutation of the top level Taproot
output public key within Bitcoin Script. Alongside introspection enabling op
codes, this enables the creation of a new flavor of on-chain state machine
within Bitcoin Script. The set of op codes is also generic enough to enable
several other use cases related to (optimized DLCs, partial musig2 signature
verification, EC based sigma protocols, etc).

A total of 4 op codes are proposed (each allocated from the existing
OP_SUCCESS) range:
  * `OP_EC_POINT_ADD`
  * `OP_EC_POINT_MUL`
  * `OP_EC_POINT_NEGATE`
  * `OP_EC_POINT_X_COORD`

The full BIP text can be found here:
 * https://github.com/bitcoin/bips/pull/1945

A reference implementation in `btcd` can be found here:
  * https://github.com/btcsuite/btcd/pull/2413

--Laolu

-- 
You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/CAO3Pvs-Cwj%3D5vJgBfDqZGtvmoYPMrpKYFAYHRb_EqJ5i0PG0cA%40mail.gmail.com.

--00000000000068bd93063d25f2ff
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi y&#39;all,<br><br>I&#39;ve just published a draft of a =
BIP to add Elliptic Curve operation op codes<br>as a soft fork utilizing th=
e existing Taproot infrastructure and current tap<br>leaf version.<br><br>M=
y primary motivation is enabling the commutation of the top level Taproot<b=
r>output public key within Bitcoin Script. Alongside introspection enabling=
 op<br>codes, this enables the creation of a new flavor of on-chain state m=
achine<br>within Bitcoin Script. The set of op codes is also generic enough=
 to enable<br>several other use cases related to (optimized DLCs, partial m=
usig2 signature<br>verification, EC based sigma protocols, etc).<br><br>A t=
otal of 4 op codes are proposed (each allocated from the existing<br>OP_SUC=
CESS) range:<br>=C2=A0 * `OP_EC_POINT_ADD`<br>=C2=A0 * `OP_EC_POINT_MUL`<br=
>=C2=A0 * `OP_EC_POINT_NEGATE`<br>=C2=A0 * `OP_EC_POINT_X_COORD`<br><br>The=
 full BIP text can be found here: <br>=C2=A0* <a href=3D"https://github.com=
/bitcoin/bips/pull/1945">https://github.com/bitcoin/bips/pull/1945</a><br><=
br>A reference implementation in `btcd` can be found here:<br>=C2=A0 * <a h=
ref=3D"https://github.com/btcsuite/btcd/pull/2413">https://github.com/btcsu=
ite/btcd/pull/2413</a><br><br>--Laolu<br></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Bitcoin Development Mailing List&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:bitcoindev+unsubscribe@googlegroups.com">bitcoind=
ev+unsubscribe@googlegroups.com</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
bitcoindev/CAO3Pvs-Cwj%3D5vJgBfDqZGtvmoYPMrpKYFAYHRb_EqJ5i0PG0cA%40mail.gma=
il.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/=
msgid/bitcoindev/CAO3Pvs-Cwj%3D5vJgBfDqZGtvmoYPMrpKYFAYHRb_EqJ5i0PG0cA%40ma=
il.gmail.com</a>.<br />

--00000000000068bd93063d25f2ff--