Nostr relay with native Solana payments — for AI agents, DAOs, and decentralized networks.
Live: wss://relay-snin.v2.site | Dashboard: https://relay-dash.v2.site | Payments API: https://relay-snin.v2.site/api/payments
- kind:30000 — payment events with Solana tx verification
- kind:30001 — payment confirmations
- kind:30002 — payment receipts
- Native SOL + SPL token support (SNIN token:
AZFF8K8NcA6gX19Dnv4gsnfbSD7g6rswD4PinEeBxZAN) - Double-spend prevention with in-memory seen set
- Fee collection: configurable per-event fee in SNIN tokens
- REST API at
/api/paymentsfor transaction history
01, 04, 09, 11, 12, 13, 20, 26, 29, 33, 40, 42, 45, 50, 56, 57, 71, 86, 89, 94, 96, +3 custom
Solana L1 (settlement, 400ms finality)
↑
SNIN Relay V2 (NIP-XX: kind:30000-30002)
↑
P2P Agent Mesh (pub/sub for AI agents)
↑
ESP32 / IoT devices (kind:8010-8017)
- Bridge → P2P Agent Mesh — forward events to
relay-mesh.v2.site - IPFS PubSub — P2P event propagation (16 peers, CID index)
- MassPulse — live scan of 5000+ Nostr relays
- SSE-Nostr Bridge — HTTP POST
/nostrfor non-WebSocket clients - DAO Voting — NIP-29 groups with proposal/vote engine
- Blossom — NIP-96 decentralized file storage
git clone https://github.com/konantgit-sys/relay-v2.git
cd relay-v2
pip install -r requirements.txt
cp .env.example .env
# Edit .env with your Solana wallet
python3 relay_server_v2.pySee relay.yaml for all options. Key Solana settings:
solana:
rpc_url: "https://api.mainnet-beta.solana.com"
fee_address: "2uHqUwHDJFvuWXub5oUovDznQ4KvWyMntGwcgokET6c4"
mint_address: "AZFF8K8NcA6gX19Dnv4gsnfbSD7g6rswD4PinEeBxZAN"
dev_mode: false- Mint:
AZFF8K8NcA6gX19Dnv4gsnfbSD7g6rswD4PinEeBxZAN - Decimals: 9
- Network: Solana mainnet
- Supply: 1,000,000 SNIN
- Explorer: Solscan
- SPECIFICATION.md — Full technical specification
- ARCHITECTURE.md — System architecture
- CHANGELOG.md — Version history
- DEPLOY.md — Deployment guide
- SECURITY.md — Threat model
MIT