The simplest way to charge for your API in Bitcoin sats. 3 lines of code. TypeScript + Python. Lightning Network L402 protocol.
Latest release v1.8.6 — v1.8.6 - Hotfix P0: macaroon exp (ms vs s) · 8 May 2026
2 files for Codex, OpenCode and Claude Code: l402-kit AGENTS.md, l402-kit CLAUDE.md — 3,297 tokens loaded in every session.
AGENTS.md A 1,570 tok CLAUDE.md A 1,727 tok These files are ShinyDapps/l402-kit's own configuration — they tell Codex, OpenCode and Claude Code how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.