Protocol layers
| # | Layer | Holds |
|---|---|---|
| L1 | Identity | internal user id · Privy identity · handle · avatar · linked accounts · operator_type |
| L2 | Market | marketId · question · category · vertical · provider · status · resolution source · outcome |
| L3 | Signal | operator · market · YES/NO · calledAt · snapshot · confidence · take · source · status |
| L4 | Snapshot | priceAtSignal · crowdYes/No · status · volume · timeToResolution · source client |
| L5 | Media / Take | live · clip · vod · text · image · audio · provider · hlsUrl · bound to a market or a signal |
| L6 | Outcome / Resolver | YES · NO · VOID · PENDING · resolver · proof · disputed |
| L7 | Reputation / Scoring | correctness · timing · difficulty · calibration · streak · CLV · per-vertical weights |
| L8 | Field Record | rank · accuracy · calls · streak · best category · best/worst calls · takes · followers |
| L9 | Social Graph | user_follows — “I trust this operator’s judgment” |
| L10 | Wallet / Participation | optional · positions · provider-linked accounts · never blocks a signal |
| L11 | Vertical Config | id · categories · copy · providers · scoring weights · legal mode · theme |
| L12 | Client | web · mobile · Farcaster mini app · embeds / API — one canonical Signal |
| L13 | Packages | denpa-core · denpa-providers · services/api · apps/web · apps/mobile |
| L14 | Protocol APIs | target list: POST /api/signals · GET /api/markets/:id · field-record · follow · leaderboard · takes. Live today: POST /api/predictions · GET /api/network/market/:id · GET /api/network/field-record/:handle · POST /api/user/follow · GET /api/operator/leaderboard |
| L15 | Forkability checklist | core or vertical? config? every vertical? wallet-free? one canonical signal? |
| L16 | Fork rule | Core: who predicted what, when, and were they right? Fork: which domain? |
Package target
Section titled “Package target”packages/denpa-core types · scoring · constants · validationpackages/denpa-providers Polymarket · Kalshi · manual · media adaptersservices/api canonical write/read API · field record aggregation · follow graph · resolver hooksapps/web web client · public profiles · studio · leaderboard · market pagesapps/mobile feed · signal UX · profile · notificationsIncremental target: move toward it over time, never as a single rewrite.