-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ZIP 321] Specify payment request URIs #347
Comments
One possible way to encode a payment request, {z-addr, memo}, is to extend BIP21 to include a "memo" parameter, i.e. Note that BIP21-style Zcash addresses (both t- and z-addrs) are already in use "in the wild", e.g. the Wikileaks donation links (both the hyperlinks and the QR codes), but of course without use of a "memo" parameter (I haven't seen this used anywhere yet). |
I've renamed this to "Specify payment request URIs" and assigned a ZIP number derived from BIP 21. Note that:
If there is an objection to either of these effects, speak up! |
The payment request encoding may need to contain different information if the payment will be done using a secure channel instead of a recipient z-address (discussed in zcash/zcash#2432). It would be nice to have a single encoding that supports both use cases. |
Re https://github.com/zcash/zcash/issues/2319#issuecomment-321063481: |
Do we want support for these URIs in zcashd RPC? Perhaps: Or should the parsing be left to higher-level software? What do other coins do (e.g., Bitcoin for BIP21)? |
The just-funded Zcash Foundation grant for Zcash Point-Of-Sale will also use the |
I'd like to agitate for calling it anything other than |
The precise intent of this is exactly that the contents of the "memo" parameter be inserted into the "memo" field of the shielded output in the generated transaction. This is so that the vendor can ensure that the purchaser includes an order ID in the memo field, for example. So it's not overloaded at all. |
The ZIP doesn't include any sample use of the |
@AArnott At present, there are no required parameters specified. You'll notice that the As an example of a potential future change that might necessitate the introduction of a |
Thanks. I think there is an opportunity for using it more. For example |
The ZIP 321 specification is a living document, so changes and additions to it can be proposed via the ordinary pull-request process; zips PRs are reviewed and eventually approved or rejected by the ZIP editors. |
Oh! I thought once ZIPs were ratified they couldn't be substantially changed. I do have an active PR that changes this ZIP and a few others, but it's just typo fixes. |
It varies a bit by ZIP, based upon the character of the ZIP itself, but updating ZIPs is pretty common; for example, if you look at the "NU5 ZIPs" section at https://zips.z.cash/ you'll see a number of ZIPs were updated in order to facilitate NU5 deployment. |
Speaking of which, @daira I think that ZIP 321 should probably be transitioned from |
Issue by nathan-at-least
Monday Nov 21, 2016 at 21:18 UTC
Originally opened as #94
A payment request is an opaque string which specifies details of a requested payment, such as recipient, amount, perhaps some details of the memo field contents, perhaps some UX prescriptions.
Originally posted as zcash/zcash#1877, here's that description quoted:
Note, this is distinct from [#2310] although they interact.
The text was updated successfully, but these errors were encountered: