summaryrefslogtreecommitdiff
path: root/78/67ee2c733a3246f47fefb2c61dd045be5e61ae
blob: 8b9220632a50d3f9599d90388d6056fa51051162 (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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
Return-Path: <thibaut-leguilly@garage.co.jp>
Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])
 by lists.linuxfoundation.org (Postfix) with ESMTP id C997EC0012
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 27 Dec 2021 12:12:21 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp3.osuosl.org (Postfix) with ESMTP id B754960E43
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 27 Dec 2021 12:12:21 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 uFoKegHvHxpi
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 27 Dec 2021 12:12:20 +0000 (UTC)
X-Greylist: delayed 00:06:24 by SQLgrey-1.8.0
Received: from mta31.mta.hdems.com (mta31.mta.hdems.com [52.198.247.254])
 by smtp3.osuosl.org (Postfix) with ESMTPS id 48A80600CA
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 27 Dec 2021 12:12:20 +0000 (UTC)
Received: from mo.hdems.com (unknown [10.5.20.241])
 by mta31.mta.hdems.com ('HDEMS') with ESMTPSA id 4JMxFs5ghJz1XNwF9
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 27 Dec 2021 12:05:53 +0000 (UTC)
X-HDEMS-MO-TENANT: garage.co.jp
Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com.
 [209.85.208.71]) by gwsmtp.prod.mo.hdems.com with ESMTPS id
 gwsmtpd-trans-0a788ce5-bede-4f60-a3c3-83beded5ad63
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 27 Dec 2021 12:05:48 +0000
Received: by mail-ed1-f71.google.com with SMTP id
 dz8-20020a0564021d4800b003f897935eb3so10912647edb.12
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon, 27 Dec 2021 04:05:47 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=NesGtm97+m50SB5HOYDABMDMGZ3kz8D+TjIIXE7PK+w=;
 b=qpsBheFaVaoJSWHf8cWeClY4hSSKBhqJrEotCXExk3jCRZpnvOeDS5OwrzBjfSOLsz
 f2VvSBX8M2qKlqMIHaY7THKml15m0fH+C/cLwty8aqBXhOGWWV3SswA+vAcCkMDDqolq
 8zzmctb8mmcL/9i1ixYRHdDlkkkqBhX18CMI8730mcZYE1aUIha0QGBavG3HhHbt+ZQ0
 1/fb7+UFtRnJMQruEC7E8RiRU2YjJO87OCNjY6pxgrKEpznKDoJlpq2Pc+GQHgEGsDGB
 4LssPn3UHJvuH7PexMWXN4XUV4i1K+8UntLzISHxxCiyJoS9k30r+mugGodAj9xiz4nx
 2W4g==
X-Gm-Message-State: AOAM53285k2/uc4Xnjk0esm/Pn9PrwZbcCJR6032AuKxe6a8AoGqb//X
 PMQt7Ygdl2H4t6+ke5FmXgoJTYtuHva+hcfbKaDdoTj2cFEt48lkz052YAJkTuU3o1X3TWSqBBl
 e+pOUwHq9/qxKav9INfJUfeHIxC88CXks6F3EPnZWQNSbSSDoxbqB2I4I/obA7Kk+yJqPuP1QVA
 fUVz07DRbIM5ZfdDO8ajgDTYj4hcupFegeNcL0bXvvHvTO4zF8dyDcihQjOZyAwqJjneF61qZqG
 1aMU5XNrANPagMAYmYsYJaL4IKzPtMqlgdWTLh7APe805Rc7Lepz9vumuejVYfEp7bnHiKvbXFG
 U3v3H/7IMLwZzW1e7+f5IFc7egE=
X-Received: by 2002:a17:907:3d88:: with SMTP id
 he8mr14032277ejc.707.1640606747225; 
 Mon, 27 Dec 2021 04:05:47 -0800 (PST)
X-Google-Smtp-Source: ABdhPJx4wFl1bClTErUa0aKF+zztmyXo1DMPXNTf6E/5MlsklQ+WlUxPipehnm2yJpAYmsWrR9/BQ1ls22HDW5TcRqo=
X-Received: by 2002:a17:907:3d88:: with SMTP id
 he8mr14032250ejc.707.1640606746927; 
 Mon, 27 Dec 2021 04:05:46 -0800 (PST)
MIME-Version: 1.0
References: <MrhJf_p--3-2@tutanota.de>
 <86b6f138a9dbd2cd1dc4c9166199b319@yancy.lol>
In-Reply-To: <86b6f138a9dbd2cd1dc4c9166199b319@yancy.lol>
From: Thibaut Le Guilly <thibaut@cryptogarage.co.jp>
Date: Mon, 27 Dec 2021 21:05:36 +0900
Message-ID: <CABPZDUxkjSRzCSh1ueq_ONAyc010QsxAshei4gQNpHO10Y31Lg@mail.gmail.com>
To: email@yancy.lol, 
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Content-Type: multipart/alternative; boundary="0000000000005e004405d41f86ae"
X-Mailman-Approved-At: Mon, 27 Dec 2021 12:18:10 +0000
Cc: Prayank <prayank@tutanota.de>
Subject: Re: [bitcoin-dev] [Bitcoin Advent Calendar] Derivatives and Options
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: Mon, 27 Dec 2021 12:12:21 -0000

--0000000000005e004405d41f86ae
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi all,

Did someone say rust-dlc? Just kidding, but wanted to mention that indeed
it's under active development, supports multi oracle contracts and many
other cool things (pretty much everything you can find in the dlc specs)!

Otherwise nice article Jeremy. Maybe you should drop by our monthly DLC
spec meeting one of these days. I'm sure everybody would be happy to hear
how we could improve the Bitcoin derivatives ecosystem with CTV and what
infrastructures or code could be reused from DLCs.

Cheers,

Thibaut

On Mon, Dec 27, 2021 at 7:39 AM yancy via bitcoin-dev <
bitcoin-dev@lists.linuxfoundation.org> wrote:

> Prayank,
>
> I believe the p2pderivatives DLC application is still under active
> development here (single oracle):
> https://github.com/p2pderivatives/rust-dlc
>
> I was once involved in the project in a galaxy far far away but haven't
> kept up with the project.  Also, I'm a few days behind in the Bitcoin
> Advent Calendar :)
>
> Cheers,
> -Yancy
>
>
> On 2021-12-24 17:42, Prayank via bitcoin-dev wrote:
> > Hi Jeremy,
> >
> >> Wheres the info come from? Well, multiple places. We could get it
> > from a third party (maybe using an attestation chain of some sort?),
> > or there are certain ways it could be self-referential (like for
> > powswap [1]).
> >
> >> Now let=E2=80=99s define a threshold oracle =E2=80=93 we wouldn=E2=80=
=99t want to
> > trust just one lousy oracle, so let=E2=80=99s trust M out of N of them!
> >
> > Similar approach is used in discreet log contracts for multi oracles.
> > There is even a project for P2P derivatives but it was not used for
> > any real trades on mainnet or further developed. What difference would
> > OP_CTV make in this project if its implemented in Bitcoin?
> >
> > https://github.com/p2pderivatives/p2pderivatives-client
> >
> > https://github.com/p2pderivatives/p2pderivatives-server
> >
> > https://github.com/p2pderivatives/p2pderivatives-oracle
> >
> >> Does this NEED CTV?
> >
> > No, not in particular. Most of this stuff could be done with online
> > signer server federation between you and counterparty. CTV makes some
> > stuff nicer though, and opens up new possibilities for opening these
> > contracts unilaterally.
> >
> > Nicer? How would unilateral derivatives work because my understanding
> > was that you always need a peer to take the other side of the trade. I
> > wish we could discuss this topic in a trading community with some
> > Bitcoiners that even had some programming knowledge.
> >
> > Derivatives are interesting and less explored or used in Bitcoin
> > projects. They could be useful in solving lot of problems.
> >
> > --
> >
> > Prayank
> >
> > A3B1 E430 2298 178F
> >
> >
> > Links:
> > ------
> > [1] https://powswap.com
> > _______________________________________________
> > bitcoin-dev mailing list
> > bitcoin-dev@lists.linuxfoundation.org
> > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>

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

<div dir=3D"ltr">Hi all,<div><br></div><div>Did someone say rust-dlc? Just =
kidding, but wanted to mention that indeed it&#39;s under active developmen=
t, supports multi oracle contracts and many other=C2=A0cool things (pretty =
much everything you can find in the dlc specs)!</div><div><br></div><div>Ot=
herwise nice article Jeremy. Maybe you should drop by our monthly DLC spec =
meeting one of these days. I&#39;m sure everybody would be happy to hear ho=
w we could improve the Bitcoin derivatives ecosystem with CTV and what infr=
astructures or code could be reused from DLCs.</div><div><br></div><div>Che=
ers,</div><div><br></div><div>Thibaut</div></div><br><div class=3D"gmail_qu=
ote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Dec 27, 2021 at 7:39 AM =
yancy via bitcoin-dev &lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfoundati=
on.org" target=3D"_blank">bitcoin-dev@lists.linuxfoundation.org</a>&gt; wro=
te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Prayank,<br>
<br>
I believe the p2pderivatives DLC application is still under active <br>
development here (single oracle):<br>
<a href=3D"https://github.com/p2pderivatives/rust-dlc" rel=3D"noreferrer" t=
arget=3D"_blank">https://github.com/p2pderivatives/rust-dlc</a><br>
<br>
I was once involved in the project in a galaxy far far away but haven&#39;t=
 <br>
kept up with the project.=C2=A0 Also, I&#39;m a few days behind in the Bitc=
oin <br>
Advent Calendar :)<br>
<br>
Cheers,<br>
-Yancy<br>
<br>
<br>
On 2021-12-24 17:42, Prayank via bitcoin-dev wrote:<br>
&gt; Hi Jeremy,<br>
&gt; <br>
&gt;&gt; Wheres the info come from? Well, multiple places. We could get it<=
br>
&gt; from a third party (maybe using an attestation chain of some sort?),<b=
r>
&gt; or there are certain ways it could be self-referential (like for<br>
&gt; powswap [1]).<br>
&gt; <br>
&gt;&gt; Now let=E2=80=99s define a threshold oracle =E2=80=93 we wouldn=E2=
=80=99t want to<br>
&gt; trust just one lousy oracle, so let=E2=80=99s trust M out of N of them=
!<br>
&gt; <br>
&gt; Similar approach is used in discreet log contracts for multi oracles.<=
br>
&gt; There is even a project for P2P derivatives but it was not used for<br=
>
&gt; any real trades on mainnet or further developed. What difference would=
<br>
&gt; OP_CTV make in this project if its implemented in Bitcoin?<br>
&gt; <br>
&gt; <a href=3D"https://github.com/p2pderivatives/p2pderivatives-client" re=
l=3D"noreferrer" target=3D"_blank">https://github.com/p2pderivatives/p2pder=
ivatives-client</a><br>
&gt; <br>
&gt; <a href=3D"https://github.com/p2pderivatives/p2pderivatives-server" re=
l=3D"noreferrer" target=3D"_blank">https://github.com/p2pderivatives/p2pder=
ivatives-server</a><br>
&gt; <br>
&gt; <a href=3D"https://github.com/p2pderivatives/p2pderivatives-oracle" re=
l=3D"noreferrer" target=3D"_blank">https://github.com/p2pderivatives/p2pder=
ivatives-oracle</a><br>
&gt; <br>
&gt;&gt; Does this NEED CTV?<br>
&gt; <br>
&gt; No, not in particular. Most of this stuff could be done with online<br=
>
&gt; signer server federation between you and counterparty. CTV makes some<=
br>
&gt; stuff nicer though, and opens up new possibilities for opening these<b=
r>
&gt; contracts unilaterally.<br>
&gt; <br>
&gt; Nicer? How would unilateral derivatives work because my understanding<=
br>
&gt; was that you always need a peer to take the other side of the trade. I=
<br>
&gt; wish we could discuss this topic in a trading community with some<br>
&gt; Bitcoiners that even had some programming knowledge.<br>
&gt; <br>
&gt; Derivatives are interesting and less explored or used in Bitcoin<br>
&gt; projects. They could be useful in solving lot of problems.<br>
&gt; <br>
&gt; --<br>
&gt; <br>
&gt; Prayank<br>
&gt; <br>
&gt; A3B1 E430 2298 178F<br>
&gt; <br>
&gt; <br>
&gt; Links:<br>
&gt; ------<br>
&gt; [1] <a href=3D"https://powswap.com" rel=3D"noreferrer" target=3D"_blan=
k">https://powswap.com</a><br>
&gt; _______________________________________________<br>
&gt; bitcoin-dev mailing list<br>
&gt; <a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_bl=
ank">bitcoin-dev@lists.linuxfoundation.org</a><br>
&gt; <a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-=
dev" rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org=
/mailman/listinfo/bitcoin-dev</a><br>
_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">=
bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
</blockquote></div>

--0000000000005e004405d41f86ae--