Lightning-Aurora

AuroraPay – Developer‑friendly TypeScript SDK + microservices for AI agents to send/receive Bitcoin micropayments over Lightning Network via lnd REST API. Supports L402‑style paid HTTP, mock mode for CI, Docker regtest with two lnd nodes, and demo agents (data oracle, weather bot, compute node).

16
155
69% credibility
Found May 22, 2026 at 16 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

AuroraPay is a developer toolkit that lets AI agents and automated systems pay for services using Bitcoin micropayments over the Lightning Network. It includes a software library for handling payments, a web service that exposes those features over HTTP, and example programs showing how a data seller (like a weather service) can work with an automated buyer (like an AI assistant). The project supports a "mock mode" for testing without real Bitcoin, and can connect to real Lightning nodes when ready. It follows the emerging L402 standard for machine-to-machine payments, where AI agents prove they've paid to unlock data or compute resources.

How It Works

1
💡 You hear about AI agents that pay for things

You discover a project where AI assistants can automatically pay for services using Bitcoin micropayments, like a robot paying a vending machine.

2
🧪 You try the demo without any Bitcoin setup

You run a simple test version that simulates payments, so you can see how it works before dealing with real money.

3
🏪 You set up a data seller (like a weather service)

You create a service that sells information—asking for a small payment before sharing weather data or compute resources.

4
🤖 You set up an automated buyer (the weather bot)

You create a robot assistant that automatically requests data, pays the invoice, and receives the information it needs.

5
The payment happens automatically
📄
Quote requested

The buyer asks the seller how much the data costs

💸
Invoice paid

The buyer sends the payment automatically

🔓
Data delivered

The seller verifies payment and shares the information

Your AI agent got the data it needed

The automated payment worked seamlessly—the buyer proved it paid and received weather data, compute results, or whatever service it purchased.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 16 to 16 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is AuroraPay?

AuroraPay is a TypeScript SDK and set of microservices that lets AI agents send and receive Bitcoin micropayments over the Lightning Network. It wraps lnd's REST API with a small, typed surface area covering three operations: get node info, create invoices, and pay invoices. The project includes ready-to-run demo agents (a weather bot that pays for data, a compute node that charges per CPU unit, and a data oracle selling real-time information) so you can see the full payment flow without spinning up Bitcoin Core. Docker compose profiles let you run everything in mock mode for CI, or spin up a full regtest chain with two lnd nodes for realistic testing.

Why is it gaining traction?

The timing is right. Lightning Labs launched agent tooling in early 2026, and AuroraPay rides that wave by targeting the same problem space as lnget but as embeddable TypeScript you run inside your own agents rather than as a standalone CLI. The L402 pattern (HTTP 402 challenges with WWW-Authenticate headers) gives you a familiar auth flow for paid APIs, and the mock mode means you can develop and test without touching real sats. The quote-then-redeem pattern with TTL expiry and one-time redemption prevents replay attacks in demo scenarios.

Who should use this?

AI agent developers building systems that need to pay for or sell compute, data, or APIs. Researchers experimenting with M2M payment flows. Teams evaluating Lightning for agent tooling who want something more concrete than Lightning Labs' reference implementations. If you're building a production payment system, the mock mode is a red flag—you'll need to evaluate the lnd integration yourself.

Verdict

AuroraPay is a well-structured starting point for Lightning-based agent payments with solid TypeScript, decent test coverage, and clear documentation. At 16 stars and 0.699999988079071% credibility score, it's early and unproven. The mock mode is explicitly demo-only, so treat it as a learning tool and prototyping aid rather than a production-ready foundation. If Lightning micropayments for agents are on your roadmap, this is worth a weekend to explore.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.