Skip to main content

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.

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.

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

LanguagePackageInstall
Pythonl402-requestspip install l402-requests
.NETL402Requestsdotnet add package L402Requests
TypeScriptl402-requestsnpm install 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.

Lightning Enable Store — Live L402 Demo

Physical merch store demonstrating L402 checkout. AI agents can browse, pay via Lightning, and receive real products.

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

Start Here If You Want To...

GoalStart here
Accept Lightning payments on your platformQuick Start Guide
Give your AI agent a Lightning walletMCP Quick Start
Monetize your API with pay-per-requestAPI Monetization
Access L402 APIs from Python/.NET/TypeScriptL402 HTTP Clients
Browse available paid APIsAgent Commerce Store
Let agents discover each other on NostrNostrWolfe
ResourceURL
APIapi.lightningenable.com
Documentationdocs.lightningenable.com
Product Pagelightningenable.com
A-Commerce Manifestoa-commerce.lightningenable.com
Parent Companyrefinedelement.com
Supportsupport@lightningenable.com