Andreas Schildbach [ARCHIVE] on Nostr: 📅 Original date posted:2015-02-22 📝 Original message:On 02/22/2015 11:37 PM, ...
📅 Original date posted:2015-02-22
📝 Original message:On 02/22/2015 11:37 PM, Andy Schroder wrote:
> Andreas and I had a number of private discussions regarding the
> payment_url parameter. I had suggested a "additional_payment_urls"
> repeated parameter, but he didn't seem to like that idea and I
> personally am indifferent, so that is why we decided to just change
> payment_url to a repeated field. The spec is simpler without the
> "additional_payment_urls", but the wallets have to be a little bit
> smarter finding the right url they want to use in the list. It's maybe
> not a bad idea for the wallet to try all payment_url mechanisms in
> parallel. Should we add this as a recommendation to wallets in TBIP75?
I think it will cause too much chaos. My recommendation for the
payment_url field is prefer the same mechanism that was used for
fetching the payment request. Only if the recommendation fails use the
alternatives in order (or in reverse order, I'm not sure at the moment).
> Regarding the NFC data formats. I would like to clarify that the wallets
> are having those events dispatched by the android OS. The "URI" and
> "mime type" events are sent to the application in the same way as from
> other sources such as a web browser, e-mail, stand alone QR code scanner
> app, etc.. So, I don't think the wallet actually knows it is receiving
> the event from NFC.
I think it can know. The method for catching these intents is very
similar and you can reuse almost all code, but in fact you need to add
an additional line to your AndroidManifest.xml.
> That is one reason why so many existing wallets
> happen to support BIP21 payment request via NFC.
Many? Bitcoin Wallet and its forks were the only ones for about a year.
Only recently Mycelium caught up and the others still do not care I guess.
> I'm a little weary sending the "mime
> type" based format over NFC because of backwards compatibility and
> because of the long certificate chain that needs to be transferred. You
> want that tap to be as robust and fast as possible. A bluetooth
> connection can have a retry without any user interaction.
I agree whatever we do must be robust. However I see no reason why NFC
can't be robust, see my previous post.
> I don't really like the Airbitz proposal. Figuring out if your selecting
> is the right one is a real nuisance. The idea is neat in a few
> applications, but I just don't think it is going to work for people as
> the most efficient and trouble free option day to day. I realize they
> are probably doing it to work with Apple's limited functionality phones
> (and BLE is a new buzz word). However, I don't think we should base
> bitcoin around what Apple wants us to do. They've already had their war
> on bitcoin. They are going to do whatever they can to protect their NFC
> based payment system. We need to make their platform the the less
> desirable one if they are going to play the game that way. If that means
> an Airbitz like proposal is implemented as a fallback, maybe that is
> fine and POS systems need to support both, but I just don't think we
> should limit what we can do because of Apple's products capabilities.
Ack on Airbitz, and ack on our relationship to Apple (-:
> There is also the "ack" memo that I mentioned in reference [2]. I think
> we can improve upon this really. Can we make a new status field or
> different bluetooth message header? I know Andreas didn't want to change
> it because that is how his app already works, but I don't think the way
> it is is ideal.
I'm not against improving this point, but I felt the BT enhancements and
the r,r1,r2 proposals are already getting complex enough. I would like
to simplify the proposal by moving unrelated things to somewhere else.
Published at
2023-06-07 15:31:07Event JSON
{
"id": "44fb5e5c269d8c78b038b1d2a88ce7a3f7297c89358ce480c73fbfe751809c48",
"pubkey": "3215b3d77dff1f84eeb5ad46fb1206a8d1657b3ea765a80b5489ece3a702d2bc",
"created_at": 1686151867,
"kind": 1,
"tags": [
[
"e",
"dfefe04b212481eb3fe073238ab7d32774988526d8b8bf7f8fff0d7249ebe09f",
"",
"root"
],
[
"e",
"dc31c36586800a7484c2f7efc462da262e1c7c366fbeecb7c46efdd2936051a1",
"",
"reply"
],
[
"p",
"3215b3d77dff1f84eeb5ad46fb1206a8d1657b3ea765a80b5489ece3a702d2bc"
]
],
"content": "📅 Original date posted:2015-02-22\n📝 Original message:On 02/22/2015 11:37 PM, Andy Schroder wrote:\n\n\u003e Andreas and I had a number of private discussions regarding the\n\u003e payment_url parameter. I had suggested a \"additional_payment_urls\"\n\u003e repeated parameter, but he didn't seem to like that idea and I\n\u003e personally am indifferent, so that is why we decided to just change\n\u003e payment_url to a repeated field. The spec is simpler without the\n\u003e \"additional_payment_urls\", but the wallets have to be a little bit\n\u003e smarter finding the right url they want to use in the list. It's maybe\n\u003e not a bad idea for the wallet to try all payment_url mechanisms in\n\u003e parallel. Should we add this as a recommendation to wallets in TBIP75?\n\nI think it will cause too much chaos. My recommendation for the\npayment_url field is prefer the same mechanism that was used for\nfetching the payment request. Only if the recommendation fails use the\nalternatives in order (or in reverse order, I'm not sure at the moment).\n\n\u003e Regarding the NFC data formats. I would like to clarify that the wallets\n\u003e are having those events dispatched by the android OS. The \"URI\" and\n\u003e \"mime type\" events are sent to the application in the same way as from\n\u003e other sources such as a web browser, e-mail, stand alone QR code scanner\n\u003e app, etc.. So, I don't think the wallet actually knows it is receiving\n\u003e the event from NFC.\n\nI think it can know. The method for catching these intents is very\nsimilar and you can reuse almost all code, but in fact you need to add\nan additional line to your AndroidManifest.xml.\n\n\u003e That is one reason why so many existing wallets\n\u003e happen to support BIP21 payment request via NFC.\n\nMany? Bitcoin Wallet and its forks were the only ones for about a year.\nOnly recently Mycelium caught up and the others still do not care I guess.\n\n\u003e I'm a little weary sending the \"mime\n\u003e type\" based format over NFC because of backwards compatibility and\n\u003e because of the long certificate chain that needs to be transferred. You\n\u003e want that tap to be as robust and fast as possible. A bluetooth\n\u003e connection can have a retry without any user interaction.\n\nI agree whatever we do must be robust. However I see no reason why NFC\ncan't be robust, see my previous post.\n\n\u003e I don't really like the Airbitz proposal. Figuring out if your selecting\n\u003e is the right one is a real nuisance. The idea is neat in a few\n\u003e applications, but I just don't think it is going to work for people as\n\u003e the most efficient and trouble free option day to day. I realize they\n\u003e are probably doing it to work with Apple's limited functionality phones\n\u003e (and BLE is a new buzz word). However, I don't think we should base\n\u003e bitcoin around what Apple wants us to do. They've already had their war\n\u003e on bitcoin. They are going to do whatever they can to protect their NFC\n\u003e based payment system. We need to make their platform the the less\n\u003e desirable one if they are going to play the game that way. If that means\n\u003e an Airbitz like proposal is implemented as a fallback, maybe that is\n\u003e fine and POS systems need to support both, but I just don't think we\n\u003e should limit what we can do because of Apple's products capabilities.\n\nAck on Airbitz, and ack on our relationship to Apple (-:\n\n\u003e There is also the \"ack\" memo that I mentioned in reference [2]. I think\n\u003e we can improve upon this really. Can we make a new status field or\n\u003e different bluetooth message header? I know Andreas didn't want to change\n\u003e it because that is how his app already works, but I don't think the way\n\u003e it is is ideal.\n\nI'm not against improving this point, but I felt the BT enhancements and\nthe r,r1,r2 proposals are already getting complex enough. I would like\nto simplify the proposal by moving unrelated things to somewhere else.",
"sig": "a1ad2cf2f3ba3e30db9c2d1b92f2b4a48fa39baebad920bac8bb885c0cd6035bb91aab0ba31333b37935316092aed37876ce98aebabab9191a809cf5ce22e88a"
}