davinci-paper/v2/sections/introduction.tex
v2/sections/introduction.texRaw
1% !TeX root = ../build/main.tex
2
3Online voting remains one of the most studied yet elusive applications in applied cryptography. As digital services expand across both public and private sectors, secure and universally verifiable online voting systems have become an increasingly desirable goal. Remote electronic voting promises scalability, accessibility, and administrative efficiency; yet the design of systems that simultaneously ensure privacy, integrity, coercion resistance, and transparency under realistic adversarial models remains a formidable challenge.
4Numerous deployments have revealed deep-rooted usability flaws and security gaps, particularly when verifiability mechanisms are either poorly understood by users or reliant on centralized infrastructure.
5
6Against this backdrop, the Vocdoni project was initiated in 2018 with the aim of rethinking online voting from first principles. The name Voĉdoni, meaning \textit{to give voice} in Esperanto, reflects the project’s foundational goal: to empower collectives, from small associations to millions of citizens, to engage in secure and verifiable decision-making, regardless of technological or institutional barriers. Central to this vision was the idea that voting is not limited to formal governmental elections but serves as a more general-purpose mechanism for collective signaling. Vocdoni introduced a fully anonymous end-to-end verifiable voting system designed to operate efficiently on a range of devices, including smartphones. To support these goals, the team deployed a custom infrastructure emphasizing resilience, neutrality, and transparency.
7
8Technically, the architecture of Vocdoni was based on a bespoke \ac{BFT} layer-1 blockchain, named Vochain. At the time, efficient zero-knowledge (ZK) proof systems were emerging, but not yet practical for most deployments. Vochain provided a performant and low-cost environment (achieving approximately 700 transactions per second) in which advanced cryptographic tools could be used without the constraints imposed by general-purpose blockchains based on the \ac{EVM}. The ability to issue voting transactions without requiring user fees enabled broader accessibility. Over several years of development and deployment, this architecture proved both viable and valuable in practice. However, broader adoption as a universal voting protocol highlighted the need for further architectural refinements and stronger formal guarantees.
9
10In this work, we introduce \davinci, a new protocol that builds upon the lessons and conceptual groundwork laid by Vocdoni. \Davinci adopts a modular design and integrates state-of-the-art cryptographic tools, including succinct ZK proofs, zero-knowledge virtual machines, improved bulletin board constructions, and mechanisms intended to mitigate coercion under explicit assumptions, reflecting the most recent advances in academic research. Unlike monolithic designs, \davinci is conceived as a composable primitive: a foundational layer intended to support secure and verifiable voting in diverse contexts, from blockchain governance to institutional elections. This shift in design philosophy aims to address long-standing challenges in the field, offering a cleaner abstraction with clearer security boundaries and formal underpinnings.
11
12An earlier design of \davinci enforced the protocol with a pipeline of four arithmetic circuits over three elliptic curves, recursively composed into one state-transition proof. This document specifies the current design, in which the sequencer-side circuits are replaced by programs written in an ordinary programming language and proven by a \ac{zkVM}. The statement proven for each batch of ballots is the same in spirit, but it is now expressed as one auditable program, checked by one universal verifier, and extended with guarantees that were impractical to express as circuits, such as the in-proof layout of the published data and the silent re-randomization of stored ballots.
13
14\subsection{Contributions}
15\label{sec:introduction:contributions}
16
17This work introduces \davinci, a modular and verifiable protocol for digital voting, designed to support privacy-preserving, auditable, and adaptable election processes across diverse governance contexts. The protocol \textit{models voting as a constrained state machine}, in which each valid operation is expressed as a formally defined state transition, enforced through succinct \ac{ZK} proofs. At the core of the system lie three proof statements. Voters prove the validity of their encrypted ballots with an arithmetic circuit and a \ac{ZK-SNARK}, cheap enough to be proven on a smartphone or in a web browser. Sequencers prove each batch of ballots with a batch program executed in a \ac{zkVM}: the program verifies every ballot proof, signature, and census proof of the batch, re-encrypts the ballots, applies the resulting updates to the election state, and lays out the published data. At the end of the election, the decryption of the tally is either proven by a results program, when a single sequencer holds the election key, or verified through the proofs that accompany the partial decryptions of the key wardens. Application-layer state is maintained off-chain and committed on-chain using Merkle trees as cryptographic accumulators.
18%The protocol defines two such trees: one for the voter registry (the census) and one for the voting state. These trees enable voters and verifiers to produce efficient inclusion and transition proofs, while minimizing on-chain storage and computation.
19
20A key contribution of this work is the introduction of a generic ballot protocol that abstracts a wide range of voting systems into a unified, parameterized representation. Instead of designing specialized circuits for each voting rule, ballots are expressed as fixed-length vectors subject to configurable constraints, enabling support for approval, ranking, quadratic, single-choice, and multiple-choice elections within the same circuit framework. This design significantly reduces circuit complexity while allowing different ballot validity rules, with a common additive tally, to be enforced efficiently inside \ac{ZK} proofs.
21
22A second contribution is \textit{silent revoting}, a mechanism that obscures revotes without relying on a trusted tally server. Voters may overwrite their ballots while the election is open, and every batch re-randomizes, in addition to the ballots it writes, a sample of the ballots already stored in the state. The published data does not mark which updates are overwrites, so an outside observer can hardly tell a revote from a routine refresh, which mitigates vote buying and coercion; the protection is informal and conditional, and Section~\ref{sec:analysis:security} states its limits. The batch proof guarantees that the refreshes are re-encryptions and therefore never alter the tally.
23
24To coordinate protocol execution over a decentralized network of nodes, \davinci includes a set of Ethereum smart contracts that mediate the setup of elections, verify submitted proofs of correctness, and manage finalization procedures. A single registry contract holds the state of every election and checks each state transition against the pinned identity of the batch program. The contracts run either on Ethereum or on an Ethereum rollup built on the OP Stack, where settlement is cheaper; in the latter case, the data needed to rebuild the election state is still published in Ethereum blobs, and the registry verifies on the rollup that the blobs are part of the Ethereum chain. The election key can be provided by a threshold committee through \ac{DKG}, by an invite-only council, or by a single sequencer when the organizer accepts that trust. A standardized data encoding format supports all stages of the process, including vote casting, ballot batching, and result publication. This approach ensures that protocol interactions remain deterministic and interoperable across clients and backends. Altogether, the design aims to balance auditability and privacy while reducing trust assumptions on infrastructure providers. By cleanly separating functionalities and providing modular interfaces, the protocol is intended to serve as a foundation for both practical deployments and future extensions, such as integration with alternative identity systems, other data availability layers, or other consensus backends.
25
26\subsection{Related work}
27\label{sec:introduction:sota}
28
29%https://research.azkr.org/blog/evoting-review/
30
31\paragraph{Foundations of cryptographic voting.}
32%Cryptographic e-voting begins with Chaum's mix-nets~\cite{chaum1981}, which establish anonymity through verifiable shuffling of ciphertexts.
33Cryptographic e-voting originated with Chaum's mix-net construction~\cite{chaum1981}, in which a chain of servers decrypts and shuffles encrypted messages to break the link between senders and messages.
34Helios~\cite{helios2008} was the first deployed web-based open-audit voting system; its later versions combine ElGamal encryption under a key shared among trustees with a public bulletin board and homomorphic tallying, and it remains a standard reference point for end-to-end (E2E) verifiability in practice.
35Belenios~\cite{belenios2019} refines this design with formal verifiability proofs and a clean separation between the registration authority and the voting server; the BeleniosRF variant additionally achieves receipt-freeness, but only under the assumption that the voting server is honest regarding that property.
36ElectionGuard~\cite{electionguard2024} belongs to the same family, combining homomorphic tallying with threshold guardians, publicly verifiable proofs, and a centralized election administrator that drives the tally. A common feature of all of these systems is that, beyond their cryptographic core, they require a non-trivial setup of either the bulletin board, the tally authority, or both, and that the operator set is fixed for each election rather than open to participation.
37
38\paragraph{Receipt-freeness and revoting.}
39A receipt-free voting system prevents a voter from producing convincing evidence of their vote, mitigating bribery and simple coercion. Benaloh and Tuinstra~\cite{benaloh1994} gave the first formal notion, and Hirt~\cite{hirt2000} showed how to achieve it efficiently by combining homomorphic encryption with re-encryption performed by a designated helper.
40Doan et al.~\cite{doan2024} subsequently generalize Hirt-style receipt-freeness to a setting with multiple ballot-processing servers, removing the single-point-of-failure assumption common to earlier non-interactive constructions.
41These constructions remain server-based: none of them places the protocol on a public bulletin board with cryptographically enforced data availability, and the helpers responsible for re-encryption are selected in advance rather than drawn from an open set.
42
43\paragraph{Blockchain-based and ZK-based voting.}
44McCorry et al.~\cite{mccorry2017} proposed the first self-tallying voting contract on Ethereum, but every voter must post several transactions and take part in the tally, which limits it to small electorates and makes participation public. Permissioned-ledger proposals~\cite{kirillov2019} improve operational properties but still rest on honest-majority assumptions over a closed set of validators.
45Freedom Tool~\cite{freedomtool2024} uses ZK proofs over biometric passports to enforce eligibility, but votes appear on-chain in cleartext, trading ballot secrecy for transparency.
46MACI~\cite{maci2019} uses ZK proofs to discourage bribery, but its coordinator is a single trusted party that can read individual votes; although later versions improve usability, this assumption remains.
47Semaphore~\cite{semaphore2020} provides anonymous group-membership proofs and is reused as a building block in several voting prototypes, although it is not itself a complete voting protocol.
48Cicada~\cite{cicada2023} and Shutter Network~\cite{shutter2024} use timelock and threshold encryption to keep ballots hidden until the tally, but neither re-randomizes stored ciphertexts after submission. As a result, voters can still prove how they voted, weakening protection against coercion and vote-selling.
49
50\paragraph{Zero-knowledge virtual machines.}
51Rollups move the execution of transactions off-chain and post a validity proof to a settlement chain. Early validity rollups encoded their transition function as hand-written circuits, an approach that is efficient but expensive to audit and to evolve. \acp{zkVM} such as RISC Zero~\cite{bruestle2023risczero}, SP1~\cite{sp1}, and ZisK~\cite{zisk} instead prove the correct execution of a program compiled to the RISC-V instruction set, using \ac{STARK}-based proof systems with recursion, and accelerate common operations (hashes, elliptic curve arithmetic) with dedicated precompiles. \Davinci uses a \ac{zkVM} to prove its election-specific transition function, which keeps the protocol logic in ordinary, testable code while retaining a constant-size proof and a single on-chain verifier.
52
53%\paragraph{Position of DAVINCI.}
54%Architecturally, DAVINCI is close to payment-focused ZK rollups such as Loopring~\cite{loopring2019} and zkSync~\cite{zksync2020}, rather than to traditional e-voting systems. It applies the off-chain computation and on-chain settlement split to elections while adding threshold decryption, ciphertext re-randomization, and silent revoting. These features are required in voting systems but absent from payment applications.
55%Table~\ref{tab:comparison} evaluates these systems on five formal properties: \emph{ballot privacy}, that the voter's choice remains hidden from third parties under the system's stated trust assumption; \emph{cast-as-intended verifiability}, a voter-facing mechanism by which the voter can check that the casting device honestly encrypted the chosen option; \emph{receipt-freeness}, that a voter cannot produce convincing evidence of how they voted to a third party observing the public bulletin board; \emph{permissionless ballot processing}, that the operator set is open to anyone rather than fixed in advance; and \emph{public-ledger settlement}, that the protocol's state and integrity proofs are anchored on a public bulletin board. For Belenios, the receipt-freeness mark refers to BeleniosRF, which adds an honesty assumption on the voting server; for MACI, ballot privacy and receipt-freeness are restricted to third parties besides the coordinator.
56%DAVINCI is the only system among those compared that provides \emph{receipt-freeness} without trusting a server while simultaneously running on \emph{permissionless} ballot-processing infrastructure with on-chain settlement. The cost it pays for this combination is the absence of \emph{cast-as-intended verifiability} at the protocol level; we discuss this gap and compatible second-device remedies in Sections~\ref{sec:e2e-verifiability} and~\ref{sec:conclusions}. Beyond the properties captured in the table, DAVINCI's parametric ballot circuit supports approval, ranking, multiple-choice, and quadratic voting with a single on-chain verifier, allowing arbitrarily many elections of different formats to reuse the same circuit set and trusted-setup ceremony.
57
58\subsection{Paper organization}
59\label{sec:introduction:organization}
60
61The rest of the paper is organized as follows. In Section~\ref{sec:background} we introduce the necessary background.
62In Section~\ref{sec:protocol-intuition} we provide a high-level overview of a voting process, omitting technical details for clarity. In Section~\ref{sec:vocdoni-protocol} we describe the full voting process in detail: the parties, the smart contracts, the census, the state tree, the proof statements, and the protocol flow. In Section~\ref{sec:ballot-protocol} we focus on the ballot protocol.
63%In Section~\ref{sec:token} we discuss the role of the Vocdoni token within the incentive structure of the system.
64In Section~\ref{sec:analysis} we analyze the protocol, covering its security properties, implementation details, and performance evaluation. In Section~\ref{sec:conclusions} we conclude the paper with final remarks and future work. Finally, we include Appendix~\ref{sec:cryptographic-primitives} with the concrete instantiations of all the cryptographic primitives used in the protocol.