Version: 2025-11 (MVP Architecture)
Chain: Avalanche C-Chain / Configurable Subnet
Format: GitHub-safe Markdown (all formulas fenced using
VeriSphere is implemented as a two-layer architecture:
Implements all truth-staking rules, immutability, and economic logic:
- Immutable atomic Posts (claims)
- Support/challenge staking queues
- Verity Score (VS) logic
- Yield & burn calculations
- Evidence link graph logic
- VSP token mint/burn
- Governance execution (parameter changes, upgrades, treasury)
Executed entirely through Solidity contracts on Avalanche.
Provides convenience, visibility, and assistance:
- Web UI, mobile UI
- REST/GraphQL API
- Off-chain indexers (graph database)
- AI semantic search and claim decomposition
- Global CDN cache for read-heavy access
This layer cannot change truth-state — it only mirrors and assists.
flowchart LR
U[Users]
U <--> C["Clients (UI / CLI / SDK)"]
C --> API["VeriSphere API<br/>REST / GraphQL"]
API --> IX["Off-Chain Indexers<br/>Claim Graph · VS Derivations"]
IX --> CH["On-Chain Core Protocol<br/>Avalanche C-Chain / Subnet"]
CH --> GOV["Governance Modules<br/>(Treasury · Parameters · Upgrades)"]
CH --> OR["Oracle Modules<br/>(Gold Price · Time Feeds)"]
All contracts are implemented in Solidity, deployed on:
- Avalanche C-Chain (default), or
- Dedicated Avalanche Subnet (recommended for post-MVP scaling)
Avalanche provides fast finality (<1 sec), mature tooling, and EVM compatibility.
| Module | Responsibilities |
|---|---|
| VSP Token | ERC-20 compatible; mint/burn rights for staking engine & treasury |
| PostRegistry | Creates immutable Posts; enforces posting-fee burn; stores metadata & stake totals |
| StakeEngine | Manages staking queues, flips, withdrawals, positional weight logic |
| YieldEngine | Computes yield/burn based on VS, maturity, and position index |
| LinkGraph | Manages support/challenge links, prevents cycles, calculates contextual influence |
| GovernanceHub | Proposal lifecycle, quorum, threshold, execution of parameter and treasury actions |
| Treasury | Holds VSP reserves, mints rewards, pays bounties |
| Oracle Interfaces | Gold price oracle, time oracle, optional off-chain feeds |
postIdtext(immutable assertion)creatortimestamppostingFeeBurnactive(Active / Superseded)supportTotalchallengeTotalVS(derived, not stored)
postIdstakeramountside(support/challenge)positionIndexentryTimestampaccruedNetwithdrawable
fromPost→toPostrelationType(support/challenge)ctxStakeinfluenceMultiplier- Anti-cycle guard
proposalIdproposermetadataURIvotingStartvotingEndquorumthresholdexecutedexpiredactionData(encoded contract calls)
- User signs:
createPost(text) - Text is atomic (enforced by UI)
- Gold-pegged posting fee burned
- Post saved with
VS = 0 - Post remains neutral until stake ≥ posting fee
- User selects Post + side
StakeEngineinserts into support/challenge queue- Position index assigned
- Totals recalculated → VS updated
- Yield/burn applied continuously
The base Verity Score is computed asymmetrically:
With
- If
$A > D$ :$VS = +(A / T) \times RAY$ - If
$D > A$ :$VS = -(D / T) \times RAY$ - If
$A = D$ or$T = 0$ :$VS = 0$
Where
Note: The StakeEngine uses a simpler symmetric check (
Normalize source VS:
Support link adds:
Challenge link adds:
The link graph permits cycles. Two claims may challenge each other simultaneously. Cycles are handled during Verity Score computation by the ScoreEngine, which uses stack-based detection with a depth limit of 32. A post encountered on the computation stack contributes zero, preventing self-influence, but other edges of the same parent still apply. See the whitepaper §4.3 for details.
Stake economics are governed by the StakeEngine v2 implementation, which uses tranche-based positional weighting and epoch snapshots.
The normative specification is in claim-spec-evm-abi.md,
Appendix A. Key properties:
-
Tranche weighting: Lots are assigned to one of
numTranchespositional tranches (default 10). Tranche 0 (earliest) earns the full base rate; tranchenT-1(latest) earns1/nTof it. -
Base rate: Computed from verity magnitude, post participation (total stake / sMax), and governance-controlled rate bounds.
-
sMax decay: The global reference decays at 0.5% per epoch (governance-configurable), preventing historical peaks from permanently suppressing rates.
-
Epoch snapshots: Growth/decay is applied discretely, at most once per
snapshotPeriod(default 1 day), triggered by any state-changing operation. -
Symmetric economics: Aligned lots grow; misaligned lots shrink. A lot can shrink to zero (total loss).
Refer to claim-spec-evm-abi.md Appendix A for the complete
formulas, symbols, and implementation notes.
- Stake removed
- Queue re-ordered
- Final yield/burn applied
- Tokens returned
- Resets positional advantage
- Remove from one queue
- Insert at tail of opposite side
Reads Avalanche logs into:
- Claim graph
- Stake queues
- VS histories
- User positions
- Link graph
- AI embeddings
Technologies:
- Node or Rust indexer
- PostgreSQL / ElasticSearch
- The Graph (recommended)
REST / GraphQL endpoints for:
/posts/search?q=/posts/{id}/posts/{id}/links/posts/{id}/stakes/wallet/{address}/positions/governance/proposals
Includes caching, filtering, and pagination.
Provides:
- Semantic duplicate detection
- Atomicity enforcement (split multi-assertion text)
- Evidence suggestions
- Summary of debate dynamics
- Graph-based truth maps
AI cannot modify truth; it only assists users.
- Full EVM compatibility
- Transaction finality < 1 second
- Standard gas economics
- Best tooling and highest reliability
Advantages:
- Custom gas token (optionally VSP)
- Isolated blockspace
- Guaranteed throughput for VeriSphere
- Custom permissioning rules
- Faster indexing and subgraph sync
Subnet migration is optional and reversible.
Governance is executed on Avalanche and operationally coordinated through GitHub + Google Sheets.
- Contributor opens Issue: a Governance Proposal Object (GPO)
- CI tags issue with labels (phase, status, bounty)
- CI writes to bounty ledger (Google Sheets)
- Governance multisig approves & funds bounty
- Contributor completes deliverables
- CI records payout and closes issue
- Changes executed on-chain when applicable
Each task’s reward is derived from:
Where:
And:
-
$H$ = total pre-MVP hours -
$r(n)$ = reward for hour$n$
Early foundational work earns the most.
| Threat | Mitigation |
|---|---|
| Spam posting | Gold-pegged post fee |
| Whale ambush | Positional weighting + maturity factor |
| Sybils | Capital-weighted incentives |
| History rewrite | Posts immutable; supersession only |
| AI hallucination | AI suggestions are off-chain only |
| Cycle injection | Stack-based cycle detection in ScoreEngine (depth limit 32); credibility gate silences VS ≤ 0 parents |
| Treasury abuse | GovernanceHub & multisig gating |
| Smart contract bugs | Audits, formal proofs, fuzzing |
Recommended tools:
- Foundry test suite
- Slither static analysis
- Surya contract graphing
- Third-party audits
| Phase | Deliverables |
|---|---|
| Alpha | VSP token, PostRegistry, StakeEngine, VS logic |
| Beta | GovernanceHub, Treasury, Oracles, Indexer |
| Launch | UI, API, AI assist, SDK, full Graph indexing |
| Scale | Avalanche Subnet migration, mobile clients, AI-based truth maps |
VeriSphere’s Avalanche architecture ensures:
- Immutable on-chain truth adjudication
- Economically enforced epistemology
- Fast, reliable consensus
- Permissionless UI ecosystem
- Transparent governance with mathematical reward curves
Avalanche provides the reliability, tooling, and finality required for a global market for truth backed by skin-in-the-game incentives.
VeriSphere becomes a decentralized truth engine:
where correctness earns, and falsehood costs.