Bitcoin Forum
May 25, 2024, 11:26:35 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mobile wallets with BIP70 extended public keys  (Read 1742 times)
giszmo (OP)
Legendary
*
Offline Offline

Activity: 1862
Merit: 1105


WalletScrutiny.com


View Profile WWW
November 26, 2014, 07:43:55 PM
 #1

I'm implementing a (most likely soon to be open source) product that already kind of works with normal addresses but I would really want it to interact with BIP32 extended public keys coming from users' phones, most likely via a BIP70 payment request.

Is there any mobile or web wallet that does generate these requests or do they all merely understand and react to them?

In the absence of NFC (yeah, most phones don't have NFC still) a QR-Code representation would be cool but BIP72 talks about a link that's being communicated. In a server-less scenario that is kind of a problem and QR-codes (yeah, they must die but for now lets assume they will be around and dominant for another 5 years) can store by far more information than is necessary for an extended public key. Is there a standard and how would data for such a QR look like? Is BIP70 as maybe BASE64-encoded QR anywhere close to being a standard?

Thank you in advance for any hints.

ɃɃWalletScrutiny.comIs your wallet secure?(Methodology)
WalletScrutiny checks if wallet builds are reproducible, a precondition for code audits to be of value.
ɃɃ
giszmo (OP)
Legendary
*
Offline Offline

Activity: 1862
Merit: 1105


WalletScrutiny.com


View Profile WWW
November 27, 2014, 07:46:26 AM
 #2

So over the day I came to the assumption that BIP70 does allow to send a payment request with actual addresses but not with extended public keys, so I will have to go with many simple addresses rather than with a generator?

ɃɃWalletScrutiny.comIs your wallet secure?(Methodology)
WalletScrutiny checks if wallet builds are reproducible, a precondition for code audits to be of value.
ɃɃ
fbueller
Sr. Member
****
Offline Offline

Activity: 412
Merit: 275


View Profile
November 30, 2014, 12:49:12 PM
 #3

It depends on your use case. BIP70 challenges the user to sign a transaction paying the outputs you define. If you already know the extended public key, you're can derive the address yourself.

Bitwasp Developer.
giszmo (OP)
Legendary
*
Offline Offline

Activity: 1862
Merit: 1105


WalletScrutiny.com


View Profile WWW
December 01, 2014, 10:30:38 PM
 #4

It depends on your use case. BIP70 challenges the user to sign a transaction paying the outputs you define. If you already know the extended public key, you're can derive the address yourself.

As far as I understand BIP70, it does not contain a full transaction ready to be signed as it only provides the addresses to send to and not where it will come from. I had asked if these addresses could also be provided in the form of a generator (extended public key) instead of just a limited amount of addresses.

I want to request a million payments over the next years, so I don't want to upload a million addresses (derived from my extended public key) but rather a generator.

ɃɃWalletScrutiny.comIs your wallet secure?(Methodology)
WalletScrutiny checks if wallet builds are reproducible, a precondition for code audits to be of value.
ɃɃ
Mike Hearn
Legendary
*
expert
Offline Offline

Activity: 1526
Merit: 1129


View Profile
December 03, 2014, 12:34:28 PM
 #5

Yes for now the wallet has to specify outputs explicitly. BIP70 doesn't have any kind of generation support in it at the moment. Besides, they are supposed to expire after a while to let wallets forget keys.

WRT NFC - you can also use Bluetooth to transfer the payment request. Andreas Schildbach's wallet and derivatives support this.
giszmo (OP)
Legendary
*
Offline Offline

Activity: 1862
Merit: 1105


WalletScrutiny.com


View Profile WWW
December 05, 2014, 02:30:48 AM
 #6

Yes for now the wallet has to specify outputs explicitly. BIP70 doesn't have any kind of generation support in it at the moment. Besides, they are supposed to expire after a while to let wallets forget keys.
Well, the idea is out there. Judge for yourself:
http://thisapp.io/ connects bitcoiners with merchants in a way that clients pay the merchant that in turn deducts it from money that was handed to him by a promoter. Imagine the promoter fronting $1000 to a café. It might take 100 transactions until the debt is settled. It might take less. Sure it would be possible to work with a static address or a hand full of addresses but what would really make sense would be to use a generator that the promoter transfers to the merchant who in turn presents addresses to his clients.

WRT NFC - you can also use Bluetooth to transfer the payment request. Andreas Schildbach's wallet and derivatives support this.
Ah, true, haven't thought of that. Wonder how commonly they are used, though.

ɃɃWalletScrutiny.comIs your wallet secure?(Methodology)
WalletScrutiny checks if wallet builds are reproducible, a precondition for code audits to be of value.
ɃɃ
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!