Note: The Rust source code for citizen-protocol v0.1.0 is temporarily kept in a private repository at https://github.com/greenarmor/citizen.git until the appropriate time to migrate it into this repository.
Governance-First Public Ledger with Deterministic Finality, Namespace Safety, and Builder Credit Grants
Version: 0.2 (Research-Aligned Draft) Status: Working Whitepaper
CITIZEN is a governance-first decentralized public ledger for verifiable records, civic coordination, and institutional accountability. It is explicitly non-speculative: core protocol security does not depend on a transferable token. Instead, system sustainability is based on identity-anchored validator governance, deterministic Byzantine fault tolerant (BFT) finality at an 80% supermajority threshold, and non-transferable builder credit grants for ecosystem growth.
This whitepaper presents a formal system model, consensus proofs, namespace rule semantics, governance mathematics, and a credit-grant mechanism with transparent budget constraints. The result is a protocol that is mathematically analyzable, operationally auditable, and aligned with public-infrastructure use cases.
Public digital systems require three properties simultaneously:
- Truth integrity: records must be tamper-evident and final.
- Institutional accountability: system changes must be governed, not unilateral.
- Developer usability: builders need predictable incentives and deterministic APIs.
Many existing ledgers optimize for transferable asset speculation rather than public-record guarantees. CITIZEN instead optimizes for governed truth infrastructure.
Let the protocol objective vector be:
CITIZEN maximizes
- deterministic finality,
- identity-anchored validator admission,
- namespace-scoped rule enforcement,
- non-speculative budget policy.
At block height
- Active validators:
$$V_h \subseteq A_h$$ with$$|V_h| = N_h = \left\lceil \frac{M_h}{2} \right\rceil$$ - Standby validators:
$$S_h = A_h \setminus V_h$$ with$$|S_h| = M_h - N_h$$ - Quorum threshold:
$$Q_h = \left\lceil 0.8N_h \right\rceil$$ - Byzantine bound on the active set:
$$f_h \le \lfloor 0.19N_h \rfloor$$
This matches the rollout policy target of a 200% governance allowlist relative to active consensus seats: if the policy target is
Each active validator
- a unique identity anchor,
- a long-term public key
$$pk_i$$ , - governance eligibility status.
CITIZEN assumes partial synchrony:
- Global stabilization time
$$GST$$ exists. - After
$$GST$$ , one-way message delay is bounded by$$\Delta$$ . - Peer authentication prevents Sybil identity spoofing.
A finalized block is:
where:
-
$$R_h$$ : Merkle root of valid entries, -
$$p_h$$ : deterministic proposer, -
$$\Pi_h$$ : aggregate commit proof.
Finalization criterion:
Consensus at height (h) proceeds across rounds
-
Propose: leader
$$L_{h,r}$$ proposes candidate block$$B_h^r$$ . - Pre-vote: validators verify structure, signatures, namespace rules, and state transition validity.
-
Commit: if pre-votes
$$\ge Q_h$$ , validators sign commit; aggregate proof finalizes.
If timeout occurs before quorum, round aborts and leader rotates; no state transition is applied.
Let global state at height
with
Each entry
Block validity:
If any entry fails, the full block is rejected.
Namespace isolation is formalized as a non-interference condition:
Thus no cross-domain privilege escalation is implied by design.
Governance actions are entries in governance.vote. Governance approves membership over the full allowlist
For proposal
Execution condition:
For candidate
The next epoch active set is then recomputed deterministically from
For validator
Let
This preserves auditability and prevents unilateral control.
CITIZEN introduces Builder Credits as governance-issued, non-transferable service credits for protocol usage (e.g., namespace writes, API quotas, deterministic receipt operations). Credits are not monetary assets.
For builder
- balance:
$$C_b(h) \in \mathbb{R}_{\ge 0}$$ - cumulative grants:
$$G_b(h)$$ - cumulative spend:
$$U_b(h)$$
State equation:
where:
-
$$g_b(h)$$ : governance-approved grant emitted at height$$h$$ , -
$$u_b(h)$$ : protocol-measured usage burn at height$$h$$ .
Grant proposal
Grant activation:
Milestone tranche
Let epoch grant budget be
Safety bound:
Per-builder concentration cap
This prevents capture and enforces portfolio diversification.
Let operation classes be
Hence high-impact use consumes proportionally more credits while preserving deterministic accounting.
If at least 81% of active validators are honest and non-equivocating, two conflicting blocks at the same height cannot both finalize.
Proof sketch. Let
At least 60% of the active set would have signed both blocks. Since the Byzantine share on the active set is
Under partial synchrony, if at least
If online participation
For
- message complexity per round:
$$\Theta(N^2)$$ , - signature verification:
$$\Theta(N)$$ per validator for vote checks, - one aggregate commit verification per finalized block.
Approximate latency model:
Operational target is
Security properties:
- Deterministic finality: no probabilistic confirmations.
- Sybil resistance: identity-anchored validator admission with 80% governance gate.
- Governance transparency: all votes signed, public, and on-chain.
- Data ownership: commitments and consent proofs on-chain; sensitive data off-chain and user-controlled.
For a governed off-chain ciphertext object
The ledger entry binds off-chain storage to on-chain verification context through the deterministic commitment tuple:
where
This formalizes the implementation path where encrypted bytes remain off-chain while deterministic commitments and consent-governance checks are enforced by the API + ledger validation boundary.
Auditability function over history
CITIZEN defines a mathematically grounded, governance-first public ledger that prioritizes deterministic truth over speculation. Its 80%-BFT consensus provides strong finality, namespaces provide policy-safe domain composition, and builder credit grants create a transparent non-transferable incentive path for ecosystem growth. Together, these elements form a deployable framework for civic and institutional digital infrastructure.