aperture
Install and run Aperture, the L402 Lightning reverse proxy from Lightning Labs.
Setup & Installation
Install command
clawhub install roasbeef/apertureIf the CLI is not installed:
Install command
npx clawhub@latest install roasbeef/apertureOr install with OpenClaw CLI:
Install command
openclaw skills install roasbeef/apertureor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/roasbeef/apertureWhat This Skill Does
Aperture is a reverse proxy implementing the L402 protocol, which gates HTTP access to backend services behind Lightning Network micropayments. It handles the full challenge-response flow: issuing macaroons and invoices on first request, then validating payment proofs before proxying to your backend.
Aperture is the reference L402 implementation from Lightning Labs, so it handles the full macaroon-and-invoice challenge flow without requiring custom auth logic in each backend service.
When to Use It
- Protecting a REST API so callers pay per request in satoshis
- Hosting paid data endpoints that other agents fetch using lnget
- Testing L402 authentication flows against a local backend
- Setting per-path prices and rate limits on an existing HTTP service
- Running a payment-gated proxy on testnet before mainnet deployment
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Protecting a REST API so callers pay per request in satoshis
- 1Protecting a REST API so callers pay per request in satoshis
- 2Hosting paid data endpoints that other agents fetch using lnget
- 3Testing L402 authentication flows against a local backend
- 4Setting per-path prices and rate limits on an existing HTTP service
- 5Running a payment-gated proxy on testnet before mainnet deployment
Install and run Aperture, the L402 Lightning reverse proxy from Lightning Labs.
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.
Similar Skills
VIEW ALLintervals-icu
Complete guide for accessing and managing training data.
huckleberry
Track baby sleep, feeding, diapers, and growth via the Huckleberry.
muscle-gain
Track muscle building with weight progression, protein tracking.
fasting-tracker
Track intermittent fasting windows, extended fasts.