Bitcoin Forum
May 11, 2024, 08:07:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Requesting address  (Read 1642 times)
mav (OP)
Full Member
***
Offline Offline

Activity: 169
Merit: 107


View Profile
January 30, 2015, 06:44:31 AM
 #1

Currently BIP0021 - URI Scheme allows a merchant to request payment from a customer.

However, I'm looking for the opposite - a merchant to request an address from a customer, eg an exchange requesting a withdrawal address. As far as I understand, the only way for the customer to supply a withdrawal address is to copy and paste into a form supplied by the merchant.

I'm interested in the customer being able to click a button and being asked by their wallet to confirm 'do you want to receive X bitcoins into this wallet' and when they press 'yes' an address from that wallet is automatically supplied to the vendor (eliminating the need for the customer to copy/paste their address).

- Is there an existing scheme to request bitcoin addresses from wallets?

- If not, are there any existing documents exploring how such a scheme may work?
1715414854
Hero Member
*
Offline Offline

Posts: 1715414854

View Profile Personal Message (Offline)

Ignore
1715414854
Reply with quote  #2

1715414854
Report to moderator
1715414854
Hero Member
*
Offline Offline

Posts: 1715414854

View Profile Personal Message (Offline)

Ignore
1715414854
Reply with quote  #2

1715414854
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715414854
Hero Member
*
Offline Offline

Posts: 1715414854

View Profile Personal Message (Offline)

Ignore
1715414854
Reply with quote  #2

1715414854
Report to moderator
1715414854
Hero Member
*
Offline Offline

Posts: 1715414854

View Profile Personal Message (Offline)

Ignore
1715414854
Reply with quote  #2

1715414854
Report to moderator
1715414854
Hero Member
*
Offline Offline

Posts: 1715414854

View Profile Personal Message (Offline)

Ignore
1715414854
Reply with quote  #2

1715414854
Report to moderator
dabura667
Sr. Member
****
Offline Offline

Activity: 475
Merit: 252


View Profile
January 31, 2015, 02:14:06 AM
 #2

Currently BIP0021 - URI Scheme allows a merchant to request payment from a customer.

However, I'm looking for the opposite - a merchant to request an address from a customer, eg an exchange requesting a withdrawal address. As far as I understand, the only way for the customer to supply a withdrawal address is to copy and paste into a form supplied by the merchant.

I'm interested in the customer being able to click a button and being asked by their wallet to confirm 'do you want to receive X bitcoins into this wallet' and when they press 'yes' an address from that wallet is automatically supplied to the vendor (eliminating the need for the customer to copy/paste their address).

- Is there an existing scheme to request bitcoin addresses from wallets?

- If not, are there any existing documents exploring how such a scheme may work?

BIP70 supports the wallet returning a "refund address" along with the signed transaction to the vendor.

I would assume it would be possible for the flow to work like this:

1. User clicks BIP70 enabled link.
2. Site sends signed request to a null output. "00" or something arbitrary.
3. This value should indicate that the wallet client just return an empty reply (no transaction) with just a return address.

It's primitive, but rather than try to create a new BIP, using existing BIPs that can provide the functionality would be easier.

My Tip Address:
1DXcHTJS2DJ3xDoxw22wCt11FeAsgfzdBU
mav (OP)
Full Member
***
Offline Offline

Activity: 169
Merit: 107


View Profile
January 31, 2015, 05:34:04 AM
 #3


BIP70 supports the wallet returning a "refund address" along with the signed transaction to the vendor.

I would assume it would be possible for the flow to work like this:

1. User clicks BIP70 enabled link.
2. Site sends signed request to a null output. "00" or something arbitrary.
3. This value should indicate that the wallet client just return an empty reply (no transaction) with just a return address.

It's primitive, but rather than try to create a new BIP, using existing BIPs that can provide the functionality would be easier.

I had considered 'hacking' BIP70 as you describe to specify a return address. And it does conceptually fit with the abstract of BIP70: "a protocol for communication between a merchant and their customer".

The main barrier is wallets that implement BIP70 as currently specified will not work with this new scheme. Should BIP70 be revised/extended to include this new functionality the way BIP71-73 do?

edit: The extensibility section of BIP70 looks like it could be utilized for this purpose, but it really depends on whether wallet developers are willing to implement proposed changes.
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!