summaryrefslogtreecommitdiff
path: root/6b/615d4f2d345d7c4eeb3694d48d9420cc65e876
blob: 1f9a515d12eed1cd8da4582c7f569b21066dcbcc (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
Return-Path: <mruddybtc@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 27B11B68
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun,  5 Jul 2015 02:30:42 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-ig0-f173.google.com (mail-ig0-f173.google.com
	[209.85.213.173])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id C635314A
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sun,  5 Jul 2015 02:30:41 +0000 (UTC)
Received: by igblr2 with SMTP id lr2so95556911igb.0
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 04 Jul 2015 19:30:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=jm8Cyk+PfbVSLdA9NU9UH7c0l4mGOfyGI3oZo9RSL2E=;
	b=u3mFFt/LB5llhHPazHy5nIihspGDcKOCz9T9mSV0BVGUHX2X0JIVuZHsMwCVITWnLl
	RYIeI+O41VGRsCAJ3Fjh/ked6ifxmlicMD3NgNUn44dvYgC2c5PyPXq2qEZQD/BaQQZ5
	MlfQXfoeNviRzIr8LKG8ypLURky9/PAljDqe/YbOxBftEu6MSMNZwDDRBo26nBqoRRYB
	UOIfHd//PAoQ4zGazaW92JkW4/4EDTRIZ/5jl6+E0mGEorkzRb2JK/MdMZKWCOtVhcQZ
	pOGWVuYBxpKGwRXZGxi6ry9ku3kbH8CZ5nc4FFsBcYMgwd1V/uxHpi0YdLkvh0dxmqi1
	IVTQ==
MIME-Version: 1.0
X-Received: by 10.50.73.225 with SMTP id o1mr1580304igv.18.1436063441299; Sat,
	04 Jul 2015 19:30:41 -0700 (PDT)
Received: by 10.107.142.212 with HTTP; Sat, 4 Jul 2015 19:30:41 -0700 (PDT)
Date: Sat, 4 Jul 2015 22:30:41 -0400
Message-ID: <CABFP+yP8dNtW_msv+k2ZogHgBwm2WH1MYW5-JTDoMPMGLFyxaQ@mail.gmail.com>
From: Michael Ruddy <mruddybtc@gmail.com>
To: bitcoin-dev@lists.linuxfoundation.org
Content-Type: multipart/alternative; boundary=089e0112cf1e4b3145051a179392
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW
	autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	smtp1.linux-foundation.org
Subject: [bitcoin-dev] [BIP draft] Flexible Offer and Acceptance Smart
	Contract
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Bitcoin Development 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, 05 Jul 2015 02:30:42 -0000

--089e0112cf1e4b3145051a179392
Content-Type: text/plain; charset=UTF-8

I first submitted this idea as an example usage for BIP65.
The feedback was that this might be large enough to be a BIP on its own.
So, I'm submitting here for review and feedback.

In short, this informational BIP describes two Bitcoin script constructs
that utilize the CHECKLOCKTIMEVERIFY opcode to create a smart contract that
allows a specific offer, with flexible expiration time, to be presented and
either accepted (optionally into escrow), or withdrawn/rejected.

The BIP draft can be found at:


https://github.com/mruddy/bips/blob/bip-xx-offer-accept-escrow/bip-offer-accept-escrow.mediawiki

An small example usage implementation can be found at:

  https://github.com/mruddy/flexpiration


- Michael Ruddy

--089e0112cf1e4b3145051a179392
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I first submitted this idea as an example usage for B=
IP65.</div><div>The feedback was that this might be large enough to be a BI=
P on its own.</div><div>So, I&#39;m submitting here for review and feedback=
.</div><div><br></div><div>In short, this informational BIP describes two B=
itcoin script constructs that utilize the CHECKLOCKTIMEVERIFY opcode to cre=
ate a smart contract that allows a specific offer, with flexible expiration=
 time, to be presented and either accepted (optionally into escrow), or wit=
hdrawn/rejected.</div><div><br></div><div>The BIP draft can be found at:</d=
iv><div><br></div><div>=C2=A0 <a href=3D"https://github.com/mruddy/bips/blo=
b/bip-xx-offer-accept-escrow/bip-offer-accept-escrow.mediawiki" target=3D"_=
blank">https://github.com/mruddy/bips/blob/bip-xx-offer-accept-escrow/bip-o=
ffer-accept-escrow.mediawiki</a></div><div><br></div><div>An small example =
usage implementation can be found at:</div><div><br></div><div>=C2=A0 <a hr=
ef=3D"https://github.com/mruddy/flexpiration" target=3D"_blank">https://git=
hub.com/mruddy/flexpiration</a></div><div><br></div><div><br></div><div>- M=
ichael Ruddy</div></div>

--089e0112cf1e4b3145051a179392--