What You Can Build
- Games that earn players real USDC through verified engagement
- Payment flows using the 555x402 suite (VAP + AGG + Hyperlink)
- Cross-chain USDC transfers via sw4p (Solana, Base, Polygon)
- Stream overlays and interactive experiences via CTRL Panel
- Bots and integrations via the REST API and SSE event stream
API Overview
Base URL:https://api.rndrntwrk.com
Authentication: SIWS (Sign In With Solana):
POST /auth/nonce— request a sign-in nonce- Sign the nonce with a Solana wallet
POST /auth/verify— submit signed message, receive session cookie- Include the session cookie on all subsequent requests
| Domain | Description |
|---|---|
| Authentication | Nonce, verify, logout, social linking |
| Arcade & Gaming | Score submission, game state, per-game leaderboards, stats |
| Battles | Create, join, and track PvP matches |
| Lottery | Create rounds, buy tickets, finalize draws, audit trails |
| Leaderboards | Global, per-game, quest, and referral rankings |
| Rewards | Claim USDC, Merkle proofs, epoch management, projected earnings |
| Referrals | Generate links, bind codes, track performance |
| Profile & Tasks | User profile, daily tasks, payment history |
| Events & SSE | Real-time event stream, burn events |
| Quests | List quests, track progress, check multipliers |
| Social | Twitter webhook, social sharing data |
| Clips | Upload and list gameplay clips |
| Eligibility & Config | Token-gate checks, normalization config, game registry |
Integrate a Game
Add a game to the 555 Arcade using the Game Harness:- Wrap your game in the
<GameHarness>React component - The harness manages the VAP lifecycle: connect → play → hash → sign → transmit
- Your game engine emits events (
SCORE_UPDATE,ENEMY_KILL, etc.); the harness aggregates them into a Merkle root - The user’s session key signs the root; the signed payload is sent to the VAP Verifier
- Points accrue automatically per the normalization config (all games normalize to a 0–10,000 scale)
Use the Payment Stack (555x402)
VAP — Verifiable Attention Protocol
Cryptographic proof of engagement via Ed25519 challenge-response sessions:- WebSocket heartbeat at 5-second intervals
- Session lifecycle: connect → challenge → sign → verify → accumulate
- Proof of Engagement records are anchored on-chain
AGG — Payment Aggregator
Routes payments across chains with Solana finality:- Solana-native settlement via Jupiter (live)
- HTTP 402 (Payment Required) standard support
- Cross-chain routing via CCTP V2 (planned)
Status: Partially Implemented — Solana-native settlement is live. Cross-chain routing via CCTP V2 is in development. See AGG.
Hyperlink — Smart Payment Links
Payment links with embedded wallets, analytics, and social attribution:- Generate payment links programmatically
- Track conversions and attribution
- See Hyperlink
Cross-Chain with sw4p
sw4p bridges USDC across Solana, Base, and Polygon using Circle CCTP V2:- Burn — USDC is burned on the source chain
- Attest — Circle’s attestation service verifies the burn
- Mint — Native USDC is minted on the destination chain
- TypeScript:
@sw4p/bridge(npm) - Rust:
sw4p-bridge(crates.io) - Full docs: sw4p Documentation Site
Real-Time Events (SSE)
Subscribe toGET /events for a persistent SSE connection:
- Event types:
new_entry,chat_message, round state transitions, winner announcements, burn events, system notifications - Format:
text/event-streamwith typed JSON payloads - Use SSE instead of polling for all real-time updates
On-Chain Programs (Solana/Anchor)
The protocol includes Anchor-based Solana programs:- Rewards program:
commit_epoch→fund_vault→claim_rewardpipeline - Merkle-tree distribution for provable USDC payouts
- PDA-based escrow for tournament prizes and lottery pools
- On-chain randomness via Switchboard VRF for lottery draws
Go Deeper
API Reference
Complete endpoint reference with auth, params, and response formats.
Protocol Overview
VAP, AGG, and Hyperlink protocol specification.
sw4p
Cross-chain USDC bridge reference and SDK docs.
Architecture
System architecture and component map.
See also: Security & Fairness · API Usage & Proxying · Arcade Overview