Chain Overview

The Tribe Protocol leverages Solana for its high-performance L1 state, combined with a custom Ephemeral Rollup (ER) for sub-second social interactions.

Architecture Stack
                        Users / Apps
                             |
                       tribe-sdk (TypeScript)
                       /         |          \
   tribe-twitter-app / tribeapp.wtf   tribe-twitter / tribe-insta   tribe-er-server   tribe-hub
        (web frontends)              (native iOS)         (ER sequencer)    (storage + indexing + gossip)
                \                  |                /
  ┌──────────────┴──────────────────┴──────────────┴────┐
  |                Solana Programs                       |
  |  tid-registry . app-key-registry                     |
  |  username-registry . social-graph . hub-registry     |
  └──────────────────────────────────────────────────────┘

Protocol Layers

Layer 1: Solana Programs (12)

The source of truth for all ownership, identity, and value. Twelve independently-deployed Anchor programs, each focused on one concern.

tid-registry

Universal numeric identity (TID) with custody and recovery.

app-key-registry

Delegated ed25519 keys for off-chain signing.

username-registry

.tribe usernames bound to TIDs with annual renewal.

social-graph

PDA-per-relationship follow graph with ER delegation.

hub-registry

On-chain hub discovery — URL, gossip key, heartbeat.

tip-registry

On-chain SOL tip receipts in a single instruction.

crowdfund-registry

Campaign escrow — pledge, claim, or refund.

task-registry

Local tasks with optional reward escrow.

channel-registry

First-registration ownership of channel slugs.

karma-registry

Trustless karma from on-chain tip + task proofs.

poll-registry

One-vote-per-TID polls with an 8-slot tally.

event-registry

Events with one-RSVP-per-TID and optional lat/lng.

Devnet deployed: identity, social-graph, polls, and events are deployed to Solana devnet with the program IDs in tribe-protocol/Anchor.toml. The remaining registries (hub, tips, crowdfunds, tasks, channels, karma) are pending devnet keys.

Layer 2: Ephemeral Rollup (ER)

A high-speed sequencer that provides sub-50ms confirmations for social graph updates.

  • Instant follow/unfollow confirmations.
  • Optimistic processing with batched L1 settlement.
  • 10-second settlement window to Solana L1.
  • Verifiable sequencer authority registered on-chain.

Layer 3: Distributed Hubs

The off-chain storage layer for content like tweets, DMs, and media.

  • Signed messages verified against on-chain app keys.
  • P2P Gossip sync between hubs for data availability.
  • Indexed views of on-chain state for fast queries.
  • Open REST and WebSocket APIs for client applications.
← Overview
Next: TID Identity