Skip to content

LUD-XX: Ark address in payRequest response - #300

Closed
Codepocketdev wants to merge 1 commit into
lnurl:ludsfrom
Codepocketdev:lud-xx-ark-address
Closed

LUD-XX: Ark address in payRequest response#300
Codepocketdev wants to merge 1 commit into
lnurl:ludsfrom
Codepocketdev:lud-xx-ark-address

Conversation

@Codepocketdev

Copy link
Copy Markdown

Adds an optional ark field to the LUD-06 payRequest response, enabling wallets to route payments via arkoor (zero-fee, instant) when sender and recipient are on the same Ark server, falling back to Lightning otherwise.

Summary

  • Adds optional ark field (bech32 Ark address) to payRequest response
  • Adds optional ark_server_pubkey field for explicit server verification
  • Fully backwards compatible — wallets that don't implement this ignore the fields
  • Live demo: martin@pay.satoshipay.me returns both fields
  • Noah wallet already reads the ark field and routes via arkoor (confirmed mainnet test, 0 fee)

Live test

curl https://pay.satoshipay.me/.well-known/lnurlp/martin

Returns ark and ark_server_pubkey fields. Noah wallet paid 5 sat to this address at 0 fee via arkoor on Bitcoin mainnet.

Reference implementation

Arkoor routing is implemented in cashubtc/cdk-payment-processors (bark crate).

Discussion

Developed in collaboration with engineers from Second (the Ark protocol team).

@hsjoberg

hsjoberg commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

I think we should not short-circuit the LNURL-pay protocol by providing the ark address in the first SERVICE response.
Rather, I propose that we add it in the second response, so that protocols such as LUD-12 comments, LUD-18 payerid and other protocol extensions work. This is getting implemented in Noah in smolcars/noah#309.

https://github.com/hsjoberg/lads/blob/master/01.md

@Codepocketdev

Copy link
Copy Markdown
Author

Closing in favor of LADS-01 (https://github.com/hsjoberg/lads/blob/master/01.md) which handles this more correctly with a two-step negotiation. Will implement LADS-01 instead.

@hsjoberg

hsjoberg commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Hi @Codepocketdev, there's ongoing work to make a protocol extension that isn't Ark-specific. #303

So I think we shouldn't pursue neither my proposal nor yours. Instead let's see when the dust settles on #303 and we can make sure Noah, Satoshipay and others supporting Second's bark ASP stay compatible with each other.

@Codepocketdev

Codepocketdev commented Aug 7, 2026 via email

Copy link
Copy Markdown
Author

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.

2 participants