Problem
The frontend reconstructs state by polling RPC/Horizon (see #9). This is laggy, RPC-heavy, and can't
power search, leaderboards, or off-chain reputation aggregation. An indexer that consumes the
contract events (#5) solves all of these.
What needs to be done
Acceptance criteria
Relevant files
backend/src/, supabase/migrations/, consumes events from #5; unblocks #9
Depends on #5 (events).
Problem
The frontend reconstructs state by polling RPC/Horizon (see #9). This is laggy, RPC-heavy, and can't
power search, leaderboards, or off-chain reputation aggregation. An indexer that consumes the
contract events (#5) solves all of these.
What needs to be done
decode XDR, persist to a database (Supabase already in the stack)
Acceptance criteria
Relevant files
backend/src/,supabase/migrations/, consumes events from #5; unblocks #9