Skip to content
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

Support UR types and arbitrary wallet vendors #14

Merged
4 commits merged into from
Aug 16, 2021
Merged

Support UR types and arbitrary wallet vendors #14

4 commits merged into from
Aug 16, 2021

Conversation

ghost
Copy link

@ghost ghost commented Aug 16, 2021

This PR adds the https://github.com/jreesun/urtypes library I just released which is essentially a Python port of the KeystoneHQ ur-registry with some tweaks to support parsing Blockchain Commons UR types.

It also refactors some of the QR parsing logic and now encodes the multisig wallet and PSBT QRs in the format they were read in, so that, in theory, Krux should support arbitrary wallet vendors by mirroring back to them data in a format they understand.

Tested with Specter Desktop (for regressions), Blue Wallet, and Sparrow Wallet, and all three vendors' QR codes are able to be received/sent, with the exception of Sparrow which seems to be ignoring Krux's signed PSBT despite (seemingly) parsing it correctly per debug logs. I am investigating this further and will add a separate PR to fix any issues there.

Jeff S added 4 commits August 16, 2021 17:15
- Add support for reading Blockchain Commons UR types
- Add support for reading in Blue Wallet’s multsig file format
- Display and print multisig and PSBT QRs using the same encoding they were received in
- Add QRPartParser for handling parsing arbitrary QR encodings
- Rename MultisigPolicy to MultisigWallet
- Print out UR-BIP39 passphrases by default and add support for reading them in
- Show xpubs as a single QR with no encoding to support the widest range of wallets
- Always animate UR QR codes since they are fountain encoded
@ghost ghost merged commit 97f046b into main Aug 16, 2021
@ghost ghost deleted the ur_wallets branch August 16, 2021 17:59
@ghost ghost mentioned this pull request Aug 16, 2021
3 tasks
odudex referenced this pull request in odudex/krux Apr 5, 2023
odudex added a commit that referenced this pull request Aug 27, 2023
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants