diff options
| author | Adam Soltys <[email protected]> | 2026-06-25 16:50:21 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-25 16:50:21 -0700 |
| commit | dae260d1a2cfb866d7b0f5c5620d5e0392bd4723 (patch) | |
| tree | 064babaaff99e0e4249bfece63814b97e2b4c641 /src/style.css | |
| parent | 654d029fba939027d9decec852ebb3efe6037c95 (diff) | |
| download | coinosv3-dae260d1a2cfb866d7b0f5c5620d5e0392bd4723.tar.gz coinosv3-dae260d1a2cfb866d7b0f5c5620d5e0392bd4723.zip | |
Compact gift links: base32 codec + uppercase /g/ path for a smaller QR
Gift links now carry a compact binary encoding of just the claim-essential data
(presigned inputs + the committed change output) instead of a full PSBT (~25%
fewer bytes), base32-encoded and served at an uppercase /g/<code> path. The QR
renders the uppercase URL in the QR alphanumeric mode (5.5 bits/char vs byte
mode's 8), so the grid drops from ~73 to ~53 modules — much easier to scan.
- wallet: _encodeCompactGift/_decodeCompactGift + _giftTx dispatcher; legacy
base64url-PSBT links still claim (auto-detected by a magic byte). Verified
round-trip + claim-byte-identical across 1/2/3-input and whole-balance gifts,
against the real exported preview/claim/outpoint functions.
- app: giftUrl uses /g/<code>; opener parses /g/ (and legacy #gift=); QR uses
uppercase + Alphanumeric mode (qrSvg gains a mode option w/ byte fallback).
- nginx already SPA-routes /g/*; the SW serves the shell for the new path.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/style.css')
0 files changed, 0 insertions, 0 deletions
