You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.
The solution is opensource and can be self-hosted by any vendor / merchant.
Use cases
Point-of-sale / Kiosk: generate QRcode with all relevant data - user scans with wallet and approves payment substrate://<address>:<genesisHash>:amount=1&reference=ref123
The POS module can watch the address for any payment with reference, and mark the payment as complete.
Webshop: Send a link to user to request payment https://pay.metaspan.io/paymentRequest/<address>:<genesisHash>?amount=1&reference=ref123 (to be implemented shortly ;)
The browser will display a QRcode for wallet to scan
Also, if available, will connect to polkadot.js (in the browser)
An optional callback will notify the webshop that payment is done / error.
Hey! Thank you for the suggestion. Looks like we need not only support proper QR encoding/decoding, but also pass additional data to the extrinsic from the URL encoded fields. We can't promise to support this feature in the near future due to other priorities on our roadmap. But could you share a more formal protocol description from the Polkadot point of view (not Solana).
Alternatively, you can open a pull request to the library implementing the encoder/decoder for the QR. This for sure will speed up the process of integration.
I am engaging with various people to gather support.
We will apply for a Polkadot Grant to do main portion of the work.
I will submit a standard / protocol enhancement - and for this I would prefer to get consensus from the community before I submit.
Please see the ref SPEC.md here. (Yes it's originally from Solana as I think they did a great job). I just realised I have not published this yet. I'll share this shortly for your review.
Any comments or suggestions are most welcome!
In the meantime I'll have a look at the library for a PR.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Feature request
We are implementing "Pay with Polkadot" Point-of-Sale feature here:
https://github.com/metaspan/metapay
The solution is opensource and can be self-hosted by any vendor / merchant.
Use cases
Point-of-sale / Kiosk: generate QRcode with all relevant data - user scans with wallet and approves payment
substrate://<address>:<genesisHash>:amount=1&reference=ref123
The POS module can watch the
address
for any payment withreference
, and mark the payment as complete.Webshop: Send a link to user to request payment
https://pay.metaspan.io/paymentRequest/<address>:<genesisHash>?amount=1&reference=ref123
(to be implemented shortly ;)The browser will display a QRcode for wallet to scan
Also, if available, will connect to
polkadot.js
(in the browser)An optional callback will notify the webshop that payment is done / error.
Broadly, it will embrace similar work already done at Solana Pay
https://github.com/solana-labs/solana-pay/blob/master/SPEC.md
Nova Wallet should support additional fields via URL encoding in the comment
Current support - a QR code with:
substrate:<walletid>:<genesisHash>[:<comment>]
- is supportedWe need support for:
substrate:[//]<walletid>:<genesisHash>:[?]<url-encoded-fields>
Options for detecting additional fields
Example handler:
The text was updated successfully, but these errors were encountered: