public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [bitcoin-dev] Instant exchange rates URI scheme
@ 2015-09-15 11:10 John Bailon
  2015-09-15 12:48 ` Angel Leon
  2015-09-15 14:40 ` Thomas Kerin
  0 siblings, 2 replies; 5+ messages in thread
From: John Bailon @ 2015-09-15 11:10 UTC (permalink / raw)
  To: bitcoin-dev

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

 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:
<currency> :  the currency, cryptocurrency or asset that the transaction
will end up as encoded in ISO 4217 if applicable.
<rate> : the bitcoin to <currency> rate as dictated by receiving wallet
<expires> : 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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-09-15 15:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-15 11:10 [bitcoin-dev] Instant exchange rates URI scheme John Bailon
2015-09-15 12:48 ` Angel Leon
2015-09-15 12:56   ` John Bailon
2015-09-15 14:40 ` Thomas Kerin
2015-09-15 15:02   ` John Bailon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox