The Lightning Enable Ecosystem
Lightning Enable — infrastructure for agent commerce over Lightning.
Lightning Enable is a suite of open-source tools and a commerce orchestration layer that gives platforms, developers, and AI agents everything they need to transact over the Lightning Network using the L402 protocol.
Architecture
┌─────────────────────────────────────┐
│ Payment Providers │
│ Strike · OpenNode │
│ (custody, settlement, compliance) │
└──────────────┬──────────────────────┘
│
┌──────────────┴──────────────────────┐
│ Lightning Enable API │
│ api.lightningenable.com │
│ (orchestration · L402 proxy · webhooks)│
└──┬──────────┬──────────┬────────────┘
│ │ │
┌────────────┘ │ └────────────┐
│ │ │
┌─────────┴─────────┐ ┌─────────┴─────────┐ ┌─────────┴──── ─────┐
│ MCP Server │ │ L402 HTTP Clients │ │ Agent Commerce │
│ (AI agent tools) │ │ Python · .NET · TS│ │ Store │
│ NuGet · PyPI │ │ auto-pay L402 │ │ API marketplace │
│ Docker │ │ 3 lines of code │ │ 12 data APIs │
└─────────┬─────────┘ └───────────────────┘ └───────────────────┘
│
┌─────────┴─────────┐
│ NostrWolfe │
│ Agent relay │
│ wss://agents. │
│ lightningenable │
│ .com │
└───────────────────┘
Components
Agentic Commerce Platform
The commerce orchestration layer that connects platforms to payment providers (Strike, OpenNode) for Bitcoin Lightning payments. Handles invoices, webhooks, L402 proxy, and merchant management.
- Live API: api.lightningenable.com
- Docs: docs.lightningenable.com
- Get started: Quick Start Guide
Lightning Enable does not hold funds — the configured payment provider facilitates custody and settlement.
MCP Server — AI Agent Tools
Open-source MCP server that gives AI agents a Lightning wallet. 17 tools for paying invoices, discovering APIs, accessing L402 resources, creating payment challenges, and more.
- GitHub: refined-element/lightning-enable-mcp
- NuGet: LightningEnable.Mcp
- PyPI: lightning-enable-mcp
- Docker Hub: refinedelement/lightning-enable-mcp
- Docs: MCP Quick Start
# Install in one command
dotnet tool install -g LightningEnable.Mcp # .NET
pip install lightning-enable-mcp # Python
docker pull refinedelement/lightning-enable-mcp # Docker
L402 HTTP Clients — Auto-Paying Libraries
Open-source (MIT) drop-in HTTP clients that handle L402 payment flows automatically. Three lines of code — paid APIs just work.
| Language | Package | Install |
|---|---|---|
| Python | l402-requests | pip install l402-requests |
| .NET | L402Requests | dotnet add package L402Requests |
| TypeScript | l402-requests | npm install l402-requests |
- Python docs: l402-requests
- .NET docs: L402Requests
- TypeScript docs: l402-requests
Agent Commerce Store — L402 API Marketplace
Live marketplace of value-add data APIs payable via L402 micropayments. Weather, research papers, SEC filings, economic data, and more — all accessible by AI agents.
- Live: agent-commerce.store
- Manifest: L402 Manifest
- Machine docs: llms.txt
Lightning Enable Store — Live L402 Demo
Physical merch store demonstrating L402 checkout. AI agents can browse, pay via Lightning, and receive real products.
- Live: store.lightningenable.com
- Machine docs: llms-full.txt
NostrWolfe — Agent Discovery via Nostr
Open protocol enabling AI agents to discover, negotiate, and transact with each other on Nostr, with settlement via Lightning Network (L402).
- Website: nostrwolfe.com
- Agent Relay:
wss://agents.lightningenable.com - SDKs: Python, TypeScript, .NET (le-agent-sdk)
Start Here If You Want To...
| Goal | Start here |
|---|---|
| Accept Lightning payments on your platform | Quick Start Guide |
| Give your AI agent a Lightning wallet | MCP Quick Start |
| Monetize your API with pay-per-request | API Monetization |
| Access L402 APIs from Python/.NET/TypeScript | L402 HTTP Clients |
| Browse available paid APIs | Agent Commerce Store |
| Let agents discover each other on Nostr | NostrWolfe |
Links
| Resource | URL |
|---|---|
| API | api.lightningenable.com |
| Documentation | docs.lightningenable.com |
| Product Page | lightningenable.com |
| A-Commerce Manifesto | a-commerce.lightningenable.com |
| Parent Company | refinedelement.com |
| Support | support@lightningenable.com |