Ephemeral Rollup (ER)
The Ephemeral Rollup is a high-speed sequencer that provides instant confirmations for social actions while ensuring eventual L1 finality.
Instant Confirmations
Every social action (follow, unfollow) is processed by the ER server in under 50ms. Users get immediate feedback in the UI without waiting for a blockchain transaction to confirm.
The Optimistic Flow
Frontend signs a message & submits to ER Server.
ER Server validates signature and updates local database.
Frontend receives “Success” and updates UI immediately.
L1 Settlement
Pending operations flush to Solana L1 on a 10-second cadence (SETTLEMENT_INTERVAL_MS=10000). Reactions flush separately every 5 s in batches of up to 100.
Batch Processing
Up to 50 follow/unfollow ops are bundled into one Solana transaction per tick. Configurable via MAX_BATCH_SIZE.
Verifiable Authority
The sequencer signs with the wallet at ~/.tribe/server-wallet.json. The social-graph program rejects follow_delegated/unfollow_delegated from any other signer.
Failure Recovery
The ER server is designed to be highly available, but if it fails, users can always bypass it and interact directly with Solana L1.