Architecture and proof boundaries
An institution signs approvals for member commitments before the roster is frozen. The election manifest binds that roster, its Merkle root, options, deadline, closing policy, trustee ceremony and protocol rules. The voter holds the private identity secret. A Semaphore v4 proof demonstrates membership and binds the encrypted ballot to an election-scoped nullifier, without declaring which approved commitment was used. The coordinator rejects a second accepted vote using that nullifier.
The Semaphore circuit establishes membership, nullifier consistency and message binding. It does not establish real-world eligibility or prove ballot encryption and decryption. The institution remains responsible for correct enrolment and one credential per entitlement. The application separately verifies the encrypted-choice and tally relations. Semaphore circuit reference.
Choices are encoded as a one-hot vector under Ristretto255 ElGamal encryption: A = rG and B = rY + bG. Disjunctive proofs establish that each choice bit is zero or one; an additional proof establishes that their sum is one. Those checks are tied to the same election and exact ciphertext object used by the membership proof. The application supports two to five options and one selected option, not ranked-choice or token-weighted voting.
Three to seven trustees establish a joint election key through distributed key generation, with a quorum of at least two. Encrypted peer-share exchange, signed registrations and transcript confirmations bind their ceremony. For each option, the ciphertexts are summed and trustees publish partial aggregate decryptions with correctness proofs. A valid quorum reconstructs the aggregate decryption, not an intentionally reconstructed complete secret key. A colluding quorum can nevertheless decrypt individual public ciphertexts; threshold custody does not eliminate that trust assumption.
Features that support accountable operation
Version-4 elections require a separate anonymous admission proof before a prepared ciphertext is stored. Each approved credential has sixteen election-specific preparation slots. The proof binds the exact preparation; occupied slots cannot be reassigned to different ciphertexts, and neither casting nor challenging refunds them. This limits permanent preparation consumption per credential without attaching the voter commitment to a preparation request.
The voter then casts or challenges a committed preparation. A challenge reveals its opening for verification and permanently excludes that ciphertext from the tally. A cast requires the separate voting proof. The transactional state machine enforces one terminal outcome, and identical retries reconcile to the existing record rather than silently adding another vote. Challenge checks are not a general cure for a compromised voting device.
Receipts commit to accepted records. An ordered hash-linked event history and independently retained checkpoints can reveal forks or truncation relative to previously witnessed history. A first-time viewer receiving all evidence from one coordinator does not thereby obtain an independent witness. Browser and offline verification reuse application logic; they are not independent cryptographic implementations.
Organiser, voter and trustee recovery artifacts use password-derived authenticated encryption. The reviewed recovery configuration combines scrypt with AES-256-GCM and binds the artifact to its participant role and election. Setup grants, quotas, request bounds and separate proof-verification and export limits provide additional operational controls. They do not by themselves establish institutional SSO/MFA, distributed attack resilience or real-device acceptance.
An optional organiser-triggered browser flow can submit an audit commitment to XRPL Testnet using a temporary Testnet signer. It checks the network, transaction, exact memo and validated success; uncertain submissions are reconciled by their retained hash. The ledger anchors evidence rather than verifying the voting proofs. Testnet history can reset, and native transaction costs are denominated in XRP. XRPL networks and transaction costs.
Evidence and operational limits
The retained synthetic local rehearsal records 256 approved credentials, 256 accepted voting proofs, a two-of-three trustee tally of 128/128, rejection of duplicate votes and invalid shares, a midpoint process restart, and all 256 receipts reconciled after local restoration. This is evidence from a loopback service and synthetic participants, not 256 physical devices or deployed institutional capacity.
The configured upper bound is 4,096 voters with proof-depth tiers of 6, 10 and 12. The configured bound is not a certified capacity. Independent cryptographic review, institution-operated rehearsal, trustee authentication, accessibility and device testing, hosted load and recovery validation, retention rules and an explicit acceptance decision remain necessary before relying on a binding outcome. Coercion, compromised endpoints, metadata leakage, malicious eligibility issuance and colluding-quorum decryption remain material risks.
Potential applications and XDNA service utility
Bounded cooperative elections, professional-association decisions, consortium governance and confidential committee choices are plausible evaluation settings. An institution can assess whether secret choices, shared trustee custody and exportable evidence improve its current process. These are proposed use cases, not adoption claims. Corporate proxy workflows need additional entitlement and delegation mechanisms; public political elections introduce requirements beyond the demonstrated scope.
For XDNA, the potential connection is an explicit application service: election workspaces, defined verification allowances, evidence-retention capacity, integration support or commissioned trustee operations. These would require implemented entitlement accounting, prices, terms, refunds and failure handling. Billing should be separated from anonymous ballot submission; a payment account must not silently become a voter identifier.
The reviewed zkBallot implementation does not implement XDNA billing, token-gated voting, staking, slashing, rewards, fee burning or revenue sharing. XDNA does not replace XRP network fees or secure XRPL consensus. This chapter does not change token supply, allocations, sale terms or economic rights. No token return, price effect or guaranteed future utility is implied.
Economic opportunity: a bounded scenario
The International Cooperative Alliance reports approximately three million cooperatives worldwide. Using an assumed annual organisational fee of US$1,000 and an assumed technical/commercial fit fraction of 2% gives a reference serviceable-pool scenario of 3,000,000 x 0.02 x US$1,000 = US$60 million per year. Neither the fee nor the fit fraction is measured demand.
At that assumed fee, 100 paying organisations would produce US$100,000 in annual gross service fees, before any operating costs. This is arithmetic, not a forecast, sales pipeline or token valuation. Other governance-market figures must not be added to this population without deduplication and a consistent billing unit. The full article provides low/reference/high sensitivities, adjacent-industry context, source dates and the evidence needed to replace these assumptions.