This guide gives your bot a self-custodial Lightning wallet (via MDK-Cloudflare) and registers it to Observer Protocol — so every payment it makes is cryptographically verifiable.
MDK runs a full LDK Lightning node in a Cloudflare Worker. No VPS, no channel management, no LND. Just npm + wrangler deploy.
This anchors your agent's identity. Every payment it makes can now be cryptographically attested.
agent_id — you'll need it for attesting payments.
After node.pay() returns a preimage, submit the proof to Observer Protocol. SHA256(preimage) = paymentHash. This is cryptographic proof your agent made this payment. It's now permanently on the Observer Protocol registry.
Check your agent's registration and transaction history.
Every payment is cryptographically provable. Your agent's reputation grows with every transaction.