Bitcoin Forum
December 09, 2016, 03:43:23 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin URIs  (Read 1315 times)
Simon Barber
Jr. Member
*
Offline Offline

Activity: 56


View Profile
September 24, 2011, 03:36:38 PM
 #1

I have 2 enhancement proposals.

1) Add an optional expires field to the URI - this indicates 'don't send to this address after this date'. This is to alleviate the problem of needing to keep a private key around forever. In many applications clicking on a URI to send bitcoins will result in only 1 tx immediately, but there may be applications that remember the address - this would indicate an expiry date to those applications.

2) Add a facility to receive money via a URI
i.e. clicking on a webpage to receive money from the website, or receiving money by email or SMS.
Here's how the scheme would work. The sender generates a new keypair, and publishes a transaction sending the amount to that keypair using the 'send to IP address' script form:

scriptPubKey: <pubKey> OP_CHECKSIG
scriptSig: <sig>

The sender then generates a bitcoin URI - and includes in the URI the hash of the public key, and the private key. (both are short).

Now the recipient receives the URI (i.e. user click on it in a webpage/email/sms) - the recipient's wallet can find the transaction (it has the hash of the public key, so can find the tx), and the recipient can 'claim' the money - by generating another keypair, and doing another 'send to IP address' tx sending the money to themselves.

If the recipient does not claim the money the sender can get it back - perhaps the URI can also include the optional 'expires' field, to indicate the sender will reclaim the money if not claimed within this time period.
1481298203
Hero Member
*
Offline Offline

Posts: 1481298203

View Profile Personal Message (Offline)

Ignore
1481298203
Reply with quote  #2

1481298203
Report to moderator
1481298203
Hero Member
*
Offline Offline

Posts: 1481298203

View Profile Personal Message (Offline)

Ignore
1481298203
Reply with quote  #2

1481298203
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481298203
Hero Member
*
Offline Offline

Posts: 1481298203

View Profile Personal Message (Offline)

Ignore
1481298203
Reply with quote  #2

1481298203
Report to moderator
melvster
Sr. Member
****
Offline Offline

Activity: 341


View Profile
September 25, 2011, 02:18:46 PM
 #2

That's interesting.  I've been looking lately through forum posts about URIs and in the wiki.

I'd like to try and help get the bitcoin: URI scheme written up and approved by IANA.

The format should be something similar to the mailto: URI scheme:

http://tools.ietf.org/html/rfc6068

The W3C have kindly offered some assistance, so hopefully there's a reasonable chance that that it will get the thumbs up.

Simon Barber
Jr. Member
*
Offline Offline

Activity: 56


View Profile
September 26, 2011, 10:57:49 PM
 #3

For sending money the scheme I described above requires the client to search for the incoming tx by address (public key hash). This might be difficult, in particular for simplified clients (not downloading all tx / whole blocks). Here's a modified scheme that would help this problem. Instead of the send URI containing the address (public key hash) it could contain the transaction identifier and output offset. This would be larger than the address (256+a few bits vs 160 bits) but would allow the URI recipient to directly request the required tx, without any search.
phelix
Legendary
*
Offline Offline

Activity: 1680


nmc:id/phelix


View Profile
January 14, 2012, 11:13:06 AM
 #4

could not find a better thread to resurrect...

does anyone have an idea what is the status of the whole URI thing?

blockchained.com ■ bitcointalk top posts
HostFat
Staff
Legendary
*
Offline Offline

Activity: 2296


I support freedom of choice


View Profile WWW
January 14, 2012, 11:18:26 AM
 #5

Here the status:
https://github.com/bitcoin/bitcoin/pull/593

Eternity Wall: Messages lasting forever - The Rock Trading (ref): A good exchange / gateway Ripple, with support for multisig, since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it
phelix
Legendary
*
Offline Offline

Activity: 1680


nmc:id/phelix


View Profile
January 14, 2012, 04:25:57 PM
 #6


thanks. looks good to me  Smiley

blockchained.com ■ bitcointalk top posts
HostFat
Staff
Legendary
*
Offline Offline

Activity: 2296


I support freedom of choice


View Profile WWW
January 17, 2012, 11:31:02 AM
 #7

I think that bitcoin devs should give a look here:

[PROPOSAL] Give proof of identity to your customers
https://bitcointalk.org/index.php?topic=58534.0

It's a possible update on the URIs scheme.

Eternity Wall: Messages lasting forever - The Rock Trading (ref): A good exchange / gateway Ripple, with support for multisig, since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!