-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add support for currencies other than NIM in payment links #49
Comments
We now plan to add support to the Wallet to enter an amount in a fiat currency while creating a request link, but the link will still be denominated in crypto. The request links follow the BIP-21 specification which does not allow specifying a different currency than the protocol determines (https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki). We want the links be able to be read by any other BTC and NIM wallets (such as TrustWallet), which means we need to adhere to the standard. |
Thanks for the the info @sisou. That would be awesome. What follows is just me thinking out loud... after reading the specification, particularly in the section forward compatibility, where it says:
It occurred to me that perhaps some optional parameters would do the trick, for instance Although with such implementation, most people might end up receiving a different amount that the specified when creating the link, and they wouldn't know for sure what the payment was for or the exchange rate that was used, assuming it was the actual rate and not someone trying to use a fake one. |
You are right, we can use custom variables. |
This could come in handy for website owners with no knowledge of HTML and Javascript that want to add a payment or donation button in a currency other than NIM.
There is a discussion thread on the forum addressing this issue.
The text was updated successfully, but these errors were encountered: