lightning-agent-commerce
End-to-end agentic commerce workflow using Lightning Network.
Setup & Installation
Install command
clawhub install roasbeef/lightning-agent-commerceIf the CLI is not installed:
Install command
npx clawhub@latest install roasbeef/lightning-agent-commerceOr install with OpenClaw CLI:
Install command
openclaw skills install roasbeef/lightning-agent-commerceor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/roasbeef/lightning-agent-commerceWhat This Skill Does
Sets up a full Lightning Network payment stack for autonomous agent commerce using three components: lnd (Lightning Terminal), lnget (L402 HTTP client), and aperture (L402 reverse proxy). Agents can buy L402-protected data by paying invoices automatically, or sell data behind a paywall that other agents pay per request.
L402 lets agents pay per request rather than sharing API keys or managing subscriptions, enabling fully autonomous commerce between agents without human intervention.
When to Use It
- Fetching real-time market data from a paid API with automatic invoice settlement
- Running a per-request paywall in front of an existing backend service
- Enabling two agents to exchange data and payment without human involvement
- Capping micropayment spend per API call to stay within a budget
- Prototyping agent payment workflows on a testnet Lightning node
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Fetching real-time market data from a paid API with automatic invoice settlement
- 1Fetching real-time market data from a paid API with automatic invoice settlement
- 2Running a per-request paywall in front of an existing backend service
- 3Enabling two agents to exchange data and payment without human involvement
- 4Capping micropayment spend per API call to stay within a budget
- 5Prototyping agent payment workflows on a testnet Lightning node
End-to-end agentic commerce workflow using Lightning Network.
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.