lightning-agent-commerce

Productivity & Tasks
v1.0.0
Benign

End-to-end agentic commerce workflow using Lightning Network.

794 downloads794 installsby @roasbeef

Setup & Installation

Install command

clawhub install roasbeef/lightning-agent-commerce

If the CLI is not installed:

Install command

npx clawhub@latest install roasbeef/lightning-agent-commerce

Or install with OpenClaw CLI:

Install command

openclaw skills install roasbeef/lightning-agent-commerce

or paste the repo link into your assistant's chat

Install command

https://github.com/openclaw/skills/tree/main/skills/roasbeef/lightning-agent-commerce

What 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.

INPUT

User asks: Fetching real-time market data from a paid API with automatic invoice settlement

AGENT
  1. 1Fetching real-time market data from a paid API with automatic invoice settlement
  2. 2Running a per-request paywall in front of an existing backend service
  3. 3Enabling two agents to exchange data and payment without human involvement
  4. 4Capping micropayment spend per API call to stay within a budget
  5. 5Prototyping agent payment workflows on a testnet Lightning node
OUTPUT
End-to-end agentic commerce workflow using Lightning Network.

Share this skill

Security Audits

VirusTotalBenign
OpenClawBenign
View full report

These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.

Details

LanguageMarkdown
Last updatedMar 1, 2026