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
|
Return-Path: <email@yancy.lol>
Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])
by lists.linuxfoundation.org (Postfix) with ESMTP id 42610C0012
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 26 Dec 2021 21:03:52 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by smtp3.osuosl.org (Postfix) with ESMTP id 17ABF60E18
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 26 Dec 2021 21:03:52 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, 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 psaQFleR--ED
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 26 Dec 2021 21:03:51 +0000 (UTC)
X-Greylist: delayed 00:12:39 by SQLgrey-1.8.0
Received: from mslow1.mail.gandi.net (mslow1.mail.gandi.net [217.70.178.240])
by smtp3.osuosl.org (Postfix) with ESMTPS id C991B60E14
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 26 Dec 2021 21:03:50 +0000 (UTC)
Received: from relay7-d.mail.gandi.net (unknown [217.70.183.200])
by mslow1.mail.gandi.net (Postfix) with ESMTP id 3B328C22EA
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 26 Dec 2021 20:49:36 +0000 (UTC)
Received: (Authenticated sender: email@yancy.lol)
by relay7-d.mail.gandi.net (Postfix) with ESMTPA id 6F14320004;
Sun, 26 Dec 2021 20:49:30 +0000 (UTC)
MIME-Version: 1.0
Date: Sun, 26 Dec 2021 21:49:30 +0100
From: email@yancy.lol
To: Prayank <prayank@tutanota.de>, Bitcoin Protocol Discussion
<bitcoin-dev@lists.linuxfoundation.org>
In-Reply-To: <MrhJf_p--3-2@tutanota.de>
References: <MrhJf_p--3-2@tutanota.de>
Message-ID: <86b6f138a9dbd2cd1dc4c9166199b319@yancy.lol>
X-Sender: email@yancy.lol
Content-Type: text/plain; charset=UTF-8;
format=flowed
Content-Transfer-Encoding: 8bit
X-Mailman-Approved-At: Sun, 26 Dec 2021 22:39:29 +0000
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: Sun, 26 Dec 2021 21:03:52 -0000
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’s define a threshold oracle – we wouldn’t want to
> trust just one lousy oracle, so let’s 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
|