Integration Docs
Working code and reference material for adding Satogram support to a custodial Lightning wallet. Pick a starting point below, or read in order.
Quickstart
- Make sure
/.well-known/lnurlp/<user>advertisescommentAllowed >= 512. - In your invoice subscriber, read TLV
34349334(message) and TLV6789998212(recipient or comma-separated recipients) off settled incoming payments. - Split the amount across recipients, credit each user idempotently on
(payment_hash, recipient).
Realistic timeline: 1-2 weeks from kickoff to first Satogram credited in production.
How it works
The two delivery paths, TLV format, what payments look like on the wire.
LNURL-pay setup
Endpoint thresholds the service checks against, plus a reference callback handler.
Detecting payments
Working subscribers for LND, Core Lightning, LDK, and Eclair.
Testing
End-to-end regtest recipe with paste-able commands for both delivery paths.
Batch keysend opt-in
How to qualify for the revenue path, technical requirements, onboarding.
Operational checklist
Pre-launch checklist for your endpoint, subscriber, UX, and testing.
Looking for the business case instead?
Revenue model, cost of integration, and what you're agreeing to (and not agreeing to) live in a separate doc aimed at product/BD readers.
Read the business case →