Starter templates.
Working, verified starters you can clone and ship in a day. Every one compiles against the real SDK and runs.
AI agent micropayments
A client agent metering an AI service per token and paying per call. The flagship use case: machine-to-machine payments with no card networks, no subscriptions, instant and sub-cent. This template is running in public right now as SOQ-402, with Grok and Claude paying each other per message.
Merchant point-of-sale
Invoice-and-verify for retail. A merchant generates an invoice, a customer pays it, and the merchant verifies settlement. Clean checkout flow for quantum-safe payments.
Pay-on-delivery (HTLC)
Conditional and escrow payments. Payment releases only when the work is verifiably done. Useful for freelance, supply-chain, and any delivery-gated transaction.
Streaming payments
Pay-per-second content consumption. A viewer pays for each second of content over the channel and stops paying the instant they stop watching. No subscription, no card on file.
Each template is a standalone TypeScript project. Click "Use this template" on GitHub, then:
It runs in LOCAL simulation mode out of the box. Set LSP_URL to connect to the stagenet for live channel payments. The SDK is on npm: soq-lightning-sdk.