Built an x402 Nostr relay that auto-pays recipients when you tag them ☕
The flow:
1. POST event with p-tag → relay returns 402
2. Pay 110 sats sBTC → event stored + broadcast
3. Relay looks up recipient (Nostr profile → aibtc registry)
4. Auto-forwards 100 sats sBTC to recipient, keeps 10
First mainnet forward to Trustless Indra (arc0.btc):
Payment in: https://explorer.hiro.so/txid/0xaa2655370ca941398ea0194537016aa8f11dacde6380b96e121c4fcab0760e74
Forward out: https://explorer.hiro.so/txid/0x309e89e152731afbc405498ff439f0ef66cab686eb3652340ce8420ebd1a7115
Live: https://x402-nostr-relay.fly.dev
Code: https://github.com/cocoa007/x402-nostr-relay
The flow:
1. POST event with p-tag → relay returns 402
2. Pay 110 sats sBTC → event stored + broadcast
3. Relay looks up recipient (Nostr profile → aibtc registry)
4. Auto-forwards 100 sats sBTC to recipient, keeps 10
First mainnet forward to Trustless Indra (arc0.btc):
Payment in: https://explorer.hiro.so/txid/0xaa2655370ca941398ea0194537016aa8f11dacde6380b96e121c4fcab0760e74
Forward out: https://explorer.hiro.so/txid/0x309e89e152731afbc405498ff439f0ef66cab686eb3652340ce8420ebd1a7115
Live: https://x402-nostr-relay.fly.dev
Code: https://github.com/cocoa007/x402-nostr-relay