-
Notifications
You must be signed in to change notification settings - Fork 952
Closed
Feature
Copy link
Labels
BOUNTY! 🫰A bounty is available for this PRA bounty is available for this PRStatus::AssignedThe issue has been given to a team member for resolution.The issue has been given to a team member for resolution.pluginrustIssue related to rustIssue related to rust
Milestone
Description
Implement a Core Lightning plugin in Rust which should have a BIP-353 lookup command and returns the results and the proof. It can utilise already existing crate bitcoin_payment_instructions. In future, xpay
and other payment methods can use this feature to resolve BIP-353 addresses.
Acceptance Criteria:
- BIP353 lookup RPC implemented.
- RPC returns results and the proof.
- RPC return appropriate message in case of failure.
- Automated tests covering most possible scenarios.
- Detailed documentation of the RPC.
References:
Metadata
Metadata
Assignees
Labels
BOUNTY! 🫰A bounty is available for this PRA bounty is available for this PRStatus::AssignedThe issue has been given to a team member for resolution.The issue has been given to a team member for resolution.pluginrustIssue related to rustIssue related to rust
Activity
daywalker90 commentedon Jun 18, 2025
I made a PR for this: #8362.
It currently only supports bolt12 offers from bip353 addresses.
The crate you linked and i used would make it quite easy to also lookup lnurlp addresses. Is this wanted?
Are onchain addresses from bip-353 wanted?
I also wasn't sure if a lowercase hex encoding for the proof is the right fit. Any feedback is welcome.
The PR as is would make request over clearnet trying 3 different hard coded DNS servers (cloudflare, google, quad9). Is tor proxying wanted? Should these be configurable?
To write meaningful tests i would assume i have to use a real life bip-353 address, correct? Should i use mine or do you want to provide one?
What do you want me to document for the RPC? Is the output in
lightning-cli help
enough? A .md file? json schema?Currently it's just
fetchbip353 [address]