question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add QR support for Blockstream Jade

See original GitHub issue

Blockstream Jade will support QR communications in the next firmware release.

In order for this to work with Specter successfully:

  1. The “Scan QR Code” option will need to be added for Jade in the “Add new device” flow. Jade will display a ur:crypto-account for the user’s selected path (m/84’, m/49’, m/48h/0h/0h/1h, m/48h/0h/0h/2h). This is already working with Specter fine when scanning Jade as an ‘Other’ device - just need the option added to Jade.

  2. When displaying a PSBT for Jade to scan, Specter will need to show a ur:crypto-psbt. This appears to be similar to how Keystone is treated, as Specter will display that format when Keystone is a device linked to the wallet

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
stepansnigirevcommented, Oct 27, 2022

@moneymanolis you are correct, QR protocol is the same as in keystone, so we only need to enable QR codes for jade.

I think having QR format as an attribute makes more sense, would be nice to refactor qrcode component using that instead of the prefix

1reaction
moneymanoliscommented, Oct 25, 2022

I think we’ll need to add this method to jade.py, similar to keystone.py, to prepend “crypto-psbt:” for the qr-code web component.


    def create_psbts(self, base64_psbt, wallet):
        psbts = super().create_psbts(base64_psbt, wallet)
        # make sure nonwitness and xpubs are not there
        qr_psbt = wallet.fill_psbt(base64_psbt, non_witness=False, xpubs=False)
        # add a hint to <qr-code> tag that this should be encoded as crypto-psbt
        psbts["qrcode"] = f"crypto-psbt:{qr_psbt}"
        return psbts

@stepansnigirev wouldn’t be easier to add an attribute regarding the qr code format to the devices (which format they can read) and then also add an attribute to the qr-code web component? So, similar to animate="{{device.qr_code_animate}}".

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jade QR Scan Quickstart Guide - Blockstream Help Center
QR Scan allows Blockstream Jade to communicate with a compatible companion app solely using QR codes, instead of using USB or Bluetooth -......
Read more >
Blockstream Jade Reviews and Pricing 2022 - SourceForge
Manage your assets from mobile or desktop. Blockstream Jade is currently supported on Blockstream Green for Android, Windows, macOS, and Linux. Blockstream Jade...
Read more >
Blockstream Jade - Bitcoin and Liquid Hardware Wallet ...
Blockstream Jade Hardware Wallet · Advanced Bitcoin and Liquid asset support · Full-color screen with QR code support · Rate-limited, server-enforced PIN ...
Read more >
Rich on Twitter: "One @Blockstream Jade + 3 SeedQRs = 2-of ...
@bitcoin__help. One. @Blockstream. Jade + 3 SeedQRs = 2-of-3 multisig with just one hardware wallet A SeedQR you scan with Recovery Phrase ...
Read more >
Blockstream Jade Reviews - 2022 - Slashdot
You can manage your assets from either your mobile device or your desktop computer. Blockstream Jade is supported on Blockstream Green for Android...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found