Skip to content

Conversation

@BenGWeeks
Copy link
Contributor

@BenGWeeks BenGWeeks commented Dec 22, 2025

Summary

Fixes stuff and shit init. Adds visible QR code scanner bottons to Butcoin address input fields, making the scanning feature discoverable to users.

  • QR scanner icon added to refund address field (Submarine swap)
  • QR scanner icon added to onchain address field (Reverse swap)
  • Uses LNbits Core's <lnbits-qrcode-scanner> component
  • Handles BIP-21 URIs (strips bitcoin:/lightning:/liquid:/liquidnetwork: prefixes)
  • Query params are stripped

Closes #5

Fixes #62

Supersedes #60

Screenshots

image image

Adds visible QR code scanner buttons to Bitcoin address input fields in both Submarine Swap and Reverse Submarine Swap dialogs, making the scanning feature discoverable to users.

Changes:
- Added QR scanner icon with tooltip to refund address field (Submarine swap)
- Added QR scanner icon with tooltip to onchain address field (Reverse swap)
- Uses LNbits Core's <lnbits-qrcode-scanner> component
- Implemented openScanner() method using g.scanner callback pattern
- cleanAddress() helper strips bitcoin:/lightning: prefixes and query params

Closes lnbits#5

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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.

feat: add qrcode scanner Boltz Extension - Show scanning symbol in btc-adress - field

1 participant