Add LUD-22: Lightning address request specification#283
Add LUD-22: Lightning address request specification#283mandelmonkey wants to merge 2 commits intolnurl:ludsfrom
Conversation
Introduces a new protocol for services to request a user's Lightning address without manual input. Particularly useful for games, kiosks, and interactive experiences where typing creates friction. Example use case: A kart racing game at a conference that streams sats to players as they collect coins - users simply scan a QR code instead of typing their Lightning address. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Thanks for writing this up — the use case is solid and something the ecosystem genuinely needs. Before this can merge there are a few things worth addressing: 1. Numbering: this should be LUD-23, not LUD-22PR #251 ( 2. Callback method: POST → GET (or explicitly justify POST)Every existing LUD callback uses GET with query parameters:
This PR is the only one in the ecosystem that uses
Recommendation: Change the callback to a GET: This is consistent with how LUD-18 handles sending PII (name, email, identifier) — it uses If you have a strong reason to keep POST (e.g. logging/privacy concerns), please add an explicit rationale section in the spec explaining the deviation from convention. 3.
|
| # | Change |
|---|---|
| 1 | Rename 22.md → 23.md, update README [22] → [23], update all "LUD-22" refs in doc |
| 2 | Change callback from POST JSON body to GET query params: ?k1=<hex>&address=<user@domain> |
| 3 | Rename metadata → description throughout |
| 4 | Replace address validation regex with LUD-16-compliant pattern; add normative reference to LUD-16 |
Happy to help iterate on the revised draft if useful.
- Renumber spec from LUD-22 to LUD-23 (LUD-22 reserved for currency denomination PR lnurl#251) - Switch wallet callback from POST+JSON to GET with query params to match existing LUD conventions - Rename `metadata` field to `description` to avoid collision with LUD-06 - Update address validation regex to LUD-16 compliant character set ([a-z0-9\-_.+]) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
@andrerfneves Thank you for the feedback, I have implemeted your requested changes, let me know if they need further attention |
Introduces a new protocol for services to request a user's Lightning address without manual input. Particularly useful for games, kiosks, and interactive experiences where typing creates friction.
Example use case: A kart racing game at a conference that streams sats to players as they collect coins - users simply scan a QR code instead of typing their Lightning address.