davinci-paper/v1/sections/components-overview.tex
v1/sections/components-overview.texRaw
1% !TeX root = ../build/main.tex
2
3Below, we detail the components of the architecture that collectively support the operation and management of the voting system.
4
5\begin{figure}[h]
6 \centering
7 \fbox{
8 \includegraphics[scale = 0.2, draft = false]{\figs/architecture.png}}
9\end{figure}
10
11\subsection{Ethereum}
12
13An Ethereum compatible network is used as the source of truth for the voting system. By leveraging an EVM blockchain, the process management ensures that all transitions are immutable and verifiable by all participants. To this end, we implement several smart contracts.
14
15\begin{itemize}
16 \item \textbf{Process Management}: Responsible for the lifecycle management of voting processes. It includes the initiation, monitoring, execution, and closure of voting events.
17
18 \item \textbf{Results Verification}: For each voting process, this smart contract maintains the integrity of the cast votes and process lifecycle. It verifies that each state transition committed by a ZK sequencer adheres to the predefined rules.
19
20 \item \textbf{Sequencer Registry}: This smart contract keeps track of the existing available sequencers, stores the collateral to ensure good behavior, and it's used to coordinate the distributed key generation when a new Process is created.
21\end{itemize}
22
23\subsection{Sequencer}
24
25The Sequencer is a specialized component designed to handle the voting process using zero-knowledge proof mechanisms. It ensures that all transactions related to this process are validated and sequenced. The Sequencers periodically commit the state of the voting process to Ethereum.
26
27\subsection{Frontend User Interface}
28
29The user interface serves as the primary interaction layer for voters and organizers. It provides tools and functionalities needed by organizers to set up, manage, and oversee elections. This interface simplifies the complexities involved in managing a decentralized vote.
30
31\subsection{Data Availability}
32
33For each voting process, the system needs to keep track of the current State Merkle Tree, which contains all information of such processes. A public data availability layer, ensures that all state transitions are available and verifiable and allows the participation of multiple sequencers within the same voting process.