Bitcoin Forum
October 30, 2024, 03:49:46 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin URI  (Read 961 times)
Steve (OP)
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1008



View Profile WWW
July 28, 2012, 02:07:55 AM
 #1

The bitcoin URI specifies the following query parameters:

  label: Label for that address (e.g. name of receiver)
  address: bitcoin address
  message: message that shown to the user after scanning the QR code
  size: amount of base bitcoin units (see below)
  send: used to send bitcoin, rather than to request them

It would be nice to add another parameter called singleUse (or something shorter) to indicate to the wallet that the bitcoin address should not be retained for future use.  At bitpay we see a few cases where people accidentally send coins to an old address…it would be nice if the addresses we present aren't retained in the senders wallet to prevent this from occurring.  It would also be nice if wallets didn't automatically remember any address unless explicitly requested.

(gasteve on IRC) Does your website accept cash? https://bitpay.com
dree12
Legendary
*
Offline Offline

Activity: 1246
Merit: 1077



View Profile
July 28, 2012, 02:22:23 AM
 #2

The bitcoin URI specifies the following query parameters:

  label: Label for that address (e.g. name of receiver)
  address: bitcoin address
  message: message that shown to the user after scanning the QR code
  size: amount of base bitcoin units (see below)
  send: used to send bitcoin, rather than to request them

It would be nice to add another parameter called singleUse (or something shorter) to indicate to the wallet that the bitcoin address should not be retained for future use.  At bitpay we see a few cases where people accidentally send coins to an old address…it would be nice if the addresses we present aren't retained in the senders wallet to prevent this from occurring.  It would also be nice if wallets didn't automatically remember any address unless explicitly requested.
Bitcoin supports a req- prefix for important fields. Simply add req-singleuse=1 to the URI, and non-conforming clients will ignore the URI. Conforming clients will not retain the address for future use.

The problem will not be solved until the Satoshi client implements singleuse, but this will completely remove the possibility of error.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!