feat(cdk): add Lightning address support with BIP353 fallback #1295

Merged
thesimplekid merged 4 commits from melt_human_readable into main 2025-11-18 12:27:00 +00:00
thesimplekid commented 2025-11-17 16:50:51 +00:00 (Migrated from github.com)

Implements Lightning address (user@domain.com) resolution for melt operations with automatic fallback mechanism. When BIP353 DNS resolution fails, the wallet now falls back to LNURL-pay Lightning address resolution.

Key additions:

  • New lightning_address module with LNURL-pay protocol implementation
  • melt_lightning_address and melt_human_readable_address methods
  • MintConnector trait methods for LNURL HTTP requests
  • BIP353 error variant for DNS resolution failures
  • Integration tests and FFI bindings

Description


Notes to the reviewers


Suggested CHANGELOG Updates

CHANGED

ADDED

REMOVED

FIXED


Checklist

Implements Lightning address (user@domain.com) resolution for melt operations with automatic fallback mechanism. When BIP353 DNS resolution fails, the wallet now falls back to LNURL-pay Lightning address resolution. Key additions: - New lightning_address module with LNURL-pay protocol implementation - melt_lightning_address and melt_human_readable_address methods - MintConnector trait methods for LNURL HTTP requests - BIP353 error variant for DNS resolution failures - Integration tests and FFI bindings ### Description <!-- Describe the purpose of this PR, what's being adding and/or fixed --> ----- ### Notes to the reviewers <!-- In this section you can include notes directed to the reviewers, like explaining why some parts of the PR were done in a specific way --> ----- ### Suggested [CHANGELOG](https://github.com/cashubtc/cdk/blob/main/CHANGELOG.md) Updates <!-- Please do not edit the actual changelog but note what you changed here. --> #### CHANGED #### ADDED #### REMOVED #### FIXED ---- ### Checklist * [ ] I followed the [code style guidelines](https://github.com/cashubtc/cdk/blob/main/CODE_STYLE.md) * [ ] I ran `just final-check` before committing
davidcaseria (Migrated from github.com) approved these changes 2025-11-17 21:07:49 +00:00
thesimplekid commented 2025-11-17 22:02:42 +00:00 (Migrated from github.com)

closes #1286

closes #1286
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cashubtc/cdk!1295
No description provided.