Commit graph

10 commits

Author SHA1 Message Date
Patrick Mulligan
6d240eaa7b feat(lnurl): tap-to-receive (top-up) endpoint
Some checks failed
lint.yml / feat(lnurl): tap-to-receive (top-up) endpoint (push) Failing after 0s
Add a deposit counterpart to /scan so a Bolt Card can be tapped to
RECEIVE sats, not only spend. The card only emits its lnurlw (a spend
voucher), so the tap is used as an authenticated identity: the same SUN
p/c that /scan verifies proves possession, and we return an lnurl-PAY
(LUD-06) response for the card's own wallet.

- GET /api/v1/pay/{external_id}?p=&c= — SUN-verified, returns a
  payRequest; the single-use hit is the callback bearer (like k1 for
  withdraw). No daily-limit check (that gates spending); per-deposit max
  is tx_limit.
- GET /api/v1/pay/cb/{hit_id}?amount= — invoices the card wallet.
- Static pay metadata so the LUD-06 description_hash matches.
- Distinct from the LUD-19 refund lnurlp (keyed by a prior scan's hit);
  this is reachable directly by a tap via external_id.
- config.json → 1.1.1-aio.1 (fork of upstream v1.1.1; upstream left its
  config.json at 1.1.0, but the released tag is v1.1.1). README documents
  the endpoint.

Consumed by aiolabs/bitspire #84 (Bolt Card tap-to-receive on cash-in).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-06 00:52:46 +02:00
dni ⚡
f08060d0f4
feat: use lnurl lib (#60)
* feat: use lnurl lib
use new lnurl lib from v1.3.0
* mobile display page fix
---------

Co-authored-by: Tiago Vasconcelos <talvasconcelos@gmail.com>
2025-09-09 10:53:56 +02:00
dni ⚡
7f8b269ecd
feat: update to lnbits 1.0.0 (#41)
---------

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2024-10-23 15:45:23 +02:00
benarc
ddab64f0ae Added tut video 2024-05-17 14:10:11 +01:00
benarc
69f91f447a Fixes video and moves to front of order 2024-05-17 14:06:57 +01:00
Vlad Stan
6e5654c55c chore: bump min_lnbits_version 2024-05-14 11:29:36 +03:00
benarc
330262ea22 hotfix: extended description 2024-05-08 23:39:12 +01:00
benarc
541833084e Added extended description 2024-05-08 23:32:04 +01:00
Tiago Vasconcelos
0901e5eb15
allow custom path (#20)
* allow custom path

* minversion 0.11.0

---------

Co-authored-by: dni  <office@dnilabs.com>
2023-09-25 12:03:13 +01:00
Arc
aa13533791
Add files via upload 2023-02-14 11:07:51 +00:00