-
Notifications
You must be signed in to change notification settings - Fork 80
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 helpers for BIP21/Unified QR Support #182
Comments
What is the best way to go about this? Should this be a trait for onchain addresses and lightning invoice structs to implement? As well as an impl function in |
I'm not quite sure why you think this would require an extra trait?
Yes I think it would mainly be a util method (probably not even on We might want to use https://github.com/Kixunil/bip21 for this. However, I'm just now seeing that they upgraded to |
I understand the reasoning behind not adding a new dep for this, but it would be nice to actually have some standard around different projects. at payjoin we are using https://github.com/Kixunil/bip21 and planning to maintain it |
No, I wasn't saying we don't want to add the dependency. Rather, we can't currently as we still run an incompatible version of |
Seems like this has been unblocked |
I can see support has been merged in Rust, but can't seem to find it in Swift, 0.3.0. |
As explained elsewhere, this was indeed addressed in #302 and will be part of the next release. |
While we probably shouldn't add dependencies for generating the actual QR codes, we should add helper methods that make it trivial to generate and parse the raw BIP21 data so that integration with any (native) QR code scanning/generation logic can easily be integrated.
Also see:
https://bitcoinqr.dev/
https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki
The text was updated successfully, but these errors were encountered: