Skip to content

feat(lnurl): username@nuriwallet.com Lightning addresses for PRF wallets - #24

Merged
eminogrande merged 2 commits into
mainfrom
feat/agent-lnurl-nuriwallet
Nov 20, 2026
Merged

eminogrande merged 2 commits into
mainfrom
feat/agent-lnurl-nuriwallet

Conversation

@eminogrande

Copy link
Copy Markdown
Contributor
  • `nuri_prf_lnurl_handles\` registry: username -> wallet, with a server-sealable receive root (HKDF of `AGENT_KERNEL_ENCRYPTION_KEY\`, no PRF wallet_key needed to serve)
  • public `wallet lnurl\` action: payRequest serve + BOLT11 callback via the Arkade RFQ solver (lightning in, settlement as Arkade VTXO — same rail as the wallet's other receives)
  • `wallet receive lnurl_username=...\` registers/rebinds a handle in-session
  • unattended claim sweeper: pending `lnurlp:\` receives claimed into the 2-of-2 VTXO without a Passkey session (60s interval)
  • routes on every wallet origin: `/.well-known/lnurlp/:u\ + \/lnurl/callback/:u\ (callback always \https://nuriwallet.com/...\\`)
  • offline: register/serve/callback invoice/404/bad-amount proven in check-prf-arkade-v2
  • stacked on feat(mpp): pay Tempo-chain MPP offers from the PRF Safe #23 (Tempo MPP)

- agent-safe-v2: chain-aware Safe ops (execSafeTokenCall/transferToken,
  clientForChain for Tempo 4217/42431), same Safe address on Tempo
  (singleton+factory verified deployed there), relayer pays Tempo fees in
  the token itself via sendTransactionSync
- agent-lightning-pay: selectMppOffer no longer filters to Base; tempo hop
  carries amount+feeReserve (2 units) for the Agent EOA's TIP-20 fee
- offline proof: tempo challenge parses, selects, dual evm+tempo prefers charge+index
- store: nuri_prf_lnurl_handles registry + server-sealable receive root
  (HKDF of AGENT_KERNEL_ENCRYPTION_KEY; no PRF wallet_key needed to serve)
- prf v2: public handleLnurl serve/callback (BOLT11 via Arkade RFQ solver,
  claim keys derived from the handle root), receive lnurl_username
  registration, unattended lnurlp: claim sweeper
- wallet tool: action lnurl (no wallet_key); wallet-server routes
  /.well-known/lnurlp/:u and /lnurl/callback/:u on every wallet origin
- offline proof: register, serve, callback invoice, unknown 404, bad amount
@eminogrande
eminogrande merged commit 8f85713 into main Nov 20, 2026
1 check passed
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.

1 participant