Skip to content

Protocol layers

#LayerHolds
L1Identityinternal user id · Privy identity · handle · avatar · linked accounts · operator_type
L2MarketmarketId · question · category · vertical · provider · status · resolution source · outcome
L3Signaloperator · market · YES/NO · calledAt · snapshot · confidence · take · source · status
L4SnapshotpriceAtSignal · crowdYes/No · status · volume · timeToResolution · source client
L5Media / Takelive · clip · vod · text · image · audio · provider · hlsUrl · bound to a market or a signal
L6Outcome / ResolverYES · NO · VOID · PENDING · resolver · proof · disputed
L7Reputation / Scoringcorrectness · timing · difficulty · calibration · streak · CLV · per-vertical weights
L8Field Recordrank · accuracy · calls · streak · best category · best/worst calls · takes · followers
L9Social Graphuser_follows — “I trust this operator’s judgment”
L10Wallet / Participationoptional · positions · provider-linked accounts · never blocks a signal
L11Vertical Configid · categories · copy · providers · scoring weights · legal mode · theme
L12Clientweb · mobile · Farcaster mini app · embeds / API — one canonical Signal
L13Packagesdenpa-core · denpa-providers · services/api · apps/web · apps/mobile
L14Protocol APIstarget 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
L15Forkability checklistcore or vertical? config? every vertical? wallet-free? one canonical signal?
L16Fork ruleCore: who predicted what, when, and were they right? Fork: which domain?
packages/denpa-core types · scoring · constants · validation
packages/denpa-providers Polymarket · Kalshi · manual · media adapters
services/api canonical write/read API · field record aggregation · follow graph · resolver hooks
apps/web web client · public profiles · studio · leaderboard · market pages
apps/mobile feed · signal UX · profile · notifications

Incremental target: move toward it over time, never as a single rewrite.