Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id BC114E1A for ; Tue, 15 Sep 2015 12:48:55 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-ig0-f177.google.com (mail-ig0-f177.google.com [209.85.213.177]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 4F9D21D7 for ; Tue, 15 Sep 2015 12:48:55 +0000 (UTC) Received: by igcpb10 with SMTP id pb10so13670962igc.1 for ; Tue, 15 Sep 2015 05:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6znYtbPROlGx9fnLggn9YHYL9KYw7LkesxFOvctdtCE=; b=YBcvNoferyHf0nm+7Q/qrvZgW75mVmwOz5KI5fcefmV4SeQHCJOxRiGo9N3HLzjbQV XOfIBgWu0BfBoKrJTf9nVEjMTFne1+HtRfFSpJz6KCGz/8ws5rfjzK95Xd3gfKVotBmc UI9hNw6G4SquVFVb7a4lg4/mSFfjBHiT+YrEBmKkq8hmjIlyn56L/Gqkh7hrhK+xkgQU lbrN2mswutRtkZ2xmRL9N+/pcJliq2Vr2/mZfk0G6Nrvq4QCxf9dV3LFk+7wlw06UI+V D4imucLt/mv2tUkslZbBM1vpHf39PdtA3t4BbA2/7wXp5imOgIsyHh8hAbEaoQvKRd6F GMhQ== X-Received: by 10.50.56.84 with SMTP id y20mr5510458igp.89.1442321334730; Tue, 15 Sep 2015 05:48:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.14.85 with HTTP; Tue, 15 Sep 2015 05:48:35 -0700 (PDT) In-Reply-To: References: From: Angel Leon Date: Tue, 15 Sep 2015 08:48:35 -0400 Message-ID: To: John Bailon Content-Type: multipart/alternative; boundary=089e0158aa18cf0896051fc89a3e 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 Cc: Bitcoin Dev Subject: Re: [bitcoin-dev] Instant exchange rates URI scheme X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Development Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2015 12:48:55 -0000 --089e0158aa18cf0896051fc89a3e Content-Type: text/plain; charset=UTF-8 might want to specify there that the rate being sent is out of USD. http://twitter.com/gubatron On Tue, Sep 15, 2015 at 7:10 AM, John Bailon via bitcoin-dev < bitcoin-dev@lists.linuxfoundation.org> wrote: > Hello, > > I'd like to propose a BIP for a standard URI scheme to allow wallet > operators that implement instant exchange or pegging to other currencies, > cryptocurrencies or asset classes to allow for interoperable communications > of rates and other pertinent information. > > The idea is to include in the wallet address as parameters information > that supplements the presentation of a proposed transaction. > > For example, a wallet operator that instantly exchanges bitcoin to gold > would present a wallet address as follows: > > bitcoin:1JohnxNT6jRzhu3H1wgVFbSGKmHP4EUjUV?currency=xau&rate=0.2084&expires=1458432000 > > Wherein: > : the currency, cryptocurrency or asset that the transaction > will end up as encoded in ISO 4217 if applicable. > : the bitcoin to rate as dictated by receiving wallet > : unix timestamp of when the rate loses validity > > This would allow the sending wallet the ability to present up-to-date > exchange rates. When, for example, a wallet operator that pegs to the USD > scans the address above, it would be able to present to the user the > following information: > > 1. USD to XAU rate > 2. How much XAU will be received by the address > 3. How long before the rates expires > > > Thoughts? > > > Regards, > John > > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev > > --089e0158aa18cf0896051fc89a3e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
might want to specify there that the rate being sent is ou= t of USD.


On Tue, Sep 15, 2015 at 7:10 AM, John Bailon= via bitcoin-dev <bitcoin-dev@lists.linuxfoundation.or= g> wrote:
Hello,

I'd like to propose a BIP for a standard URI scheme to a= llow wallet operators that implement instant exchange or pegging to other c= urrencies, cryptocurrencies or asset classes to allow for interoperable com= munications of rates and other pertinent information.

The idea is to= include in the wallet address as parameters information that supplements t= he presentation of a proposed transaction.

For example, a wallet ope= rator that instantly exchanges bitcoin to gold would present a wallet addre= ss as follows:
bitcoin:1JohnxNT6jRzhu3H1wgVFbSGKmHP4EUjUV?currency=3Dxa= u&rate=3D0.2084&expires=3D1458432000

Wherein:
<currenc= y> : =C2=A0the currency, cryptocurrency or asset that the transaction wi= ll end up as encoded in ISO 4217 if applicable.
<rate> : the bitco= in to <currency> rate as dictated by receiving wallet
<expires&= gt; : unix timestamp of when the rate loses validity

This would allo= w the sending wallet the ability to present up-to-date exchange rates. When= , for example, a wallet operator that pegs to the USD scans the address abo= ve, it would be able to present to the user the following information:
<= br>1. USD to XAU rate
2. How much XAU will be received by the address3. How long before the rates expires


Thou= ghts?


Regards,
John

_______________________________________________
bitcoin-dev mailing list
bitcoin-dev@lists.= linuxfoundation.org
https://lists.linuxfoundation.org/mail= man/listinfo/bitcoin-dev


--089e0158aa18cf0896051fc89a3e--