Commit graph

50 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
v1.1.1-aio.1
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
Tiago Vasconcelos
407506ad9f
fix: models for deeplink (#63)
* fix models for deeplink

on wipe data is empty

* fix optional str
2025-12-16 10:57:11 +00: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 ⚡
7bdf7db2c4
feat: use uv (#59)
* feat: use uv
* fix make
2025-09-04 07:57:33 +02:00
dni ⚡
c060f10e65
chore: bump lnbits version 2025-07-22 10:26:31 +02:00
Tiago Vasconcelos
b86263cefa
feat: deeplinks support (#58)
* feat: deeplinks support

* fix: move href logic into compute

* chore: fix linting
2025-06-16 14:17:08 +01:00
iwarp
74e746c9e9
Fix boolean parsing in enable_card endpoint (#54) 2025-05-05 08:27:51 +02:00
Tiago Vasconcelos
79c74708e1
fix: wrong typing in DB columns (#51)
* fix: wrong typing in DB columns
* fix: update
* fix: migrations
* chore: lint
2025-04-15 12:29:34 +01:00
Tiago Vasconcelos
3edd81d85e
fix: only show stats if authenticated user (#50)
* fix: only show stats if authenticated user
* chore: lint
2025-04-15 12:28:58 +01:00
arcbtc
8da3127e29 Tweak for fakewallet compatibility 2025-02-21 16:40:31 +00:00
dni ⚡
8fe5bebfad
fix: delete wallet (#45) 2024-12-16 10:14:39 +01:00
Tiago Vasconcelos
173776d48e
add card balance on public page (#43)
* add card balance on public page
* lint
2024-11-25 12:20:11 +01: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
Pavol Rusnak
239bfb65ab
fix prettier 2024-09-07 16:51:04 +02:00
dni ⚡
7213d5ca93
feat: code quality (#39) 2024-08-29 12:24:15 +02:00
Aaron Dewes
c10bb032fd
fix(security): Use crypto.getRandomValues instead of Math.random (#40)
`Math.random` should not be used for cryptographic purposes.
2024-08-22 16:57:46 +02:00
Arc
409d4d24cf
Merge pull request #37 from lnbits/videolinkfix
Added tut video
2024-05-17 14:10:33 +01:00
benarc
ddab64f0ae Added tut video 2024-05-17 14:10:11 +01:00
Arc
4e9933f26c
Merge pull request #36 from lnbits/videolinkfix
Fixes video and moves to front of order
2024-05-17 14:07:16 +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
Arc
c4ea272995
Merge pull request #35 from lnbits/extendeddescription
hotfix: extended description
2024-05-08 23:40:03 +01:00
benarc
330262ea22 hotfix: extended description 2024-05-08 23:39:12 +01:00
Arc
73f07e8f9f
Merge pull request #34 from lnbits/extendeddescription
Added extended description
2024-05-08 23:36:08 +01:00
benarc
52796a8d46 updated video link 2024-05-08 23:35:02 +01:00
benarc
541833084e Added extended description 2024-05-08 23:32:04 +01:00
dni ⚡
b8e67ad60a
fix: properly start and stop tasks (#32)
fix the fix
2024-04-15 11:29:12 +02:00
dni ⚡
825e603a11
fix: properly start and stop tasks (#31) 2024-04-15 10:32:47 +02:00
dni ⚡
631624c54f
hotfix: missing url_for string conversions (#28) 2023-12-21 13:52:56 +01:00
arbadacarba
407c515b11
Update README.md (#10)
Writing-App now also available for iOS
2023-09-28 09:18:10 +02:00
Gene Takavic
231ac14732
remove uid field tooltip (#25) 2023-09-28 09:17:43 +02: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
dni ⚡
b6380dfa02
[FEAT] add better release workflow (#23) 2023-09-23 22:31:18 +02:00
Jan Dvořák
76fcd30ac0
add support for LUD-19 for boltcards extension (#19)
* fix broken link for tag, boltcard -> boltcards (name of the extension)
* add support for LUD-19 in bolt cards extension
* Apply suggestions from code review

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>

* Apply suggestions from code review

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>

---------

Co-authored-by: Jan Dvorak <jan.dvorak@xorux.com>
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2023-09-21 08:37:58 +02:00
dni ⚡
21d826c2a4
[BUG] typo in views_api (#16) 2023-08-22 18:43:27 +02:00
Tiago Vasconcelos
a823cf3e5d
Boltcard view page (#12) 2023-08-22 18:41:38 +02:00
dni ⚡
f153c26517
[FIX] split up api endpoints (#15) 2023-08-22 18:17:49 +02:00
dni ⚡
85a7819f93
[TEST] github release workflow with change notes 2023-08-16 08:32:19 +02:00
Jan Dvořák
a5b7236117
fix broken link for tag, boltcard -> boltcards (name of the extension) (#9)
Co-authored-by: Jan Dvorak <jan.dvorak@xorux.com>
2023-07-17 16:09:48 +02:00
dni ⚡
5316b04687
fix for openapi client creating 2023-06-30 15:50:57 +02:00
dni ⚡
f41c3f4044
fix for latest fastapi 2023-06-21 11:08:07 +02:00
dni ⚡
422cb2f658
add release workflow 2023-06-21 11:07:35 +02:00
dni ⚡
81d1e4cfc2
add gitignore 2023-06-21 11:07:18 +02:00
Tiago Vasconcelos
da460915c2
Update README.md 2023-04-24 10:45:12 +01:00
Pavol Rusnak
177e4c4d27
small updates to readme 2023-03-15 23:36:23 +01:00
arbadacarba
cb4075e373 Update README.md
Added Android as a requirement and Chrome as a recommendation
2023-03-15 22:41:34 +01:00
BilligsterUser
910eefcd6f
Update repo url (#1) 2023-03-05 00:09:52 +00:00
Pavol Rusnak
eec4390e60
add license 2023-02-24 18:13:38 +01:00
Arc
e41a1690e5
Create manifest.json 2023-02-14 11:08:40 +00:00
Arc
aa13533791
Add files via upload 2023-02-14 11:07:51 +00:00