Scan Sparrow QR PSBTs

Open
#202 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c

Research direction

Start by tracing Jade's PSBT QR scanning path and compare it with Sparrow's multi-QR sequence behavior. Confirm how repeated cycles are handled and verify that a complete PSBT can be assembled and passed for signing after intermittent scan failures.

Written by the indexing model from the issue text.

Description

Issue:

  • It is extraordinarily difficult to add Jade to an existing quorum of multisig devices.

Description:

When adding a Jade to a multisig quorum managed by Sparrow, it is impossible to transmit a PSBT for signing using QR codes.

Sparrow has a protocol for doing multiple-QR codes to transmit the PSBT.

Every time the Jade scans the PSBT QR code sequence, it scans some of the QR codes then fails with an error saying "invalid psbt".

Current Behavior

  • The Jade attempts to read the sequential QR codes one time, failing if one or more QR scans fail

Desired Behavior

  • The Jade should continually scan the QR codes as the sequence repeats and attempt to stitch together the pieces it scans into a valid PSBT -- trying at least 3 cycles but ideally a dozen or even continually.
Dominant language
C
Stars
516
Forks
136
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Blockstream/Jade

All issues in Blockstream/Jade

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.