• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

archetech / archon / 22530149682 / 1
93%
main: 93%

Build:
DEFAULT BRANCH: main
Ran 28 Feb 2026 10:16PM UTC
Files 42
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Feb 2026 10:13PM UTC coverage: 93.8% (-0.4%) from 94.2%
22530149682.1

push

github

web-flow
feat: Add Lightning wallet support via LNbits integration (#136) (#140)

* feat: Add Lightning wallet support via LNbits integration (#136)

Per-DID Lightning wallets through Drawbridge gateway:
- LNbits HTTP client for account/wallet/invoice/payment operations
- Drawbridge Lightning routes (wallet, balance, invoice, pay, check)
- DrawbridgeClient extending GatekeeperClient with Lightning methods
- DrawbridgeInterface extending GatekeeperInterface in gatekeeper types
- Keymaster Lightning methods with credential storage in wallet IDInfo
- Keymaster client, API routes, and CLI commands for all Lightning ops
- 23 unit tests covering wallet lifecycle, payments, and error cases

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: CLI uses DrawbridgeClient, add LNbits URL to config

- CLI was using GatekeeperClient which lacks Lightning methods
- Add ARCHON_DRAWBRIDGE_LNBITS_URL to sample.env and docker-compose

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: Handle LNbits balance field name variation

LNbits returns balance in msats under "balance" (older) or
"balance_msat" (newer). Try both fields.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor: Rename gateway to drawbridge in Lightning methods, add 404 handling

Rename the local variable from `gateway` to `drawbridge` in all Keymaster
Lightning methods for clarity. Add 404 response handling in DrawbridgeClient
so pointing the CLI at a plain Gatekeeper gives a clean "Server does not
support Lightning" error instead of "Endpoint not found".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

1738 of 1918 branches covered (90.62%)

Branch coverage included in aggregate %.

7128 of 7534 relevant lines covered (94.61%)

600.81 hits per line

Source Files on job 22530149682.1
  • Tree
  • List 42
  • Changed 19
  • Source Changed 4
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 22530149682
  • 4d99d5ab on github
  • Prev Job for on main (#22509166673.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc