public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
From: Michael Ruddy <mruddybtc@gmail.com>
To: bitcoin-dev@lists.linuxfoundation.org
Subject: [bitcoin-dev] [BIP draft] Flexible Offer and Acceptance Smart Contract
Date: Sat, 4 Jul 2015 22:30:41 -0400	[thread overview]
Message-ID: <CABFP+yP8dNtW_msv+k2ZogHgBwm2WH1MYW5-JTDoMPMGLFyxaQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1133 bytes --]

                 reply	other threads:[~2015-07-05  2:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABFP+yP8dNtW_msv+k2ZogHgBwm2WH1MYW5-JTDoMPMGLFyxaQ@mail.gmail.com \
    --to=mruddybtc@gmail.com \
    --cc=bitcoin-dev@lists.linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox