|

Ethereum gets private on-chain voting tool courtesy of Andreessen Horowitz's Cicada Library

  • Andreessen Horowitz has unveiled a new product called Cicada for anonymous voting on Ethereum.
  • The product keeps every vote accounted for throughout the poll.
  • Cicada also makes the voter's identity unknowable when combined with zero-knowledge group membership systems.
Ethereum gets private on-chain voting tool courtesy of Andreessen Horowitz's Cicada Library

Ethereum (ETH) has gotten a private on-chain voting tool courtesy of Andreessen Horowitz's Cicada Library. The venture capital fund also known as a16z, has disclosed a Solidity library capable of serving for anonymous voting on Ethereum. Christened 'Cicada,' the library ensures that every voter's choice remains unknown before the polling ends. Details come from a May 24 blog post by Michael Zhu, the company's engineer.

Also Read: a16z votes against proposal to deploy Uniswap v3 on BNB Chain

Ethereum gets Cicada from Andreessen Horowitz

Ethereum (ETH), through Andreessen Horowitz's new Cicada product has another use case beyond preventing an individual voter's choice from being known before the end of a poll. Based on the announcement, it also makes the voter's identity permanently unknowable, although this application hinges entirely on whether it is integrated with zero-knowledge group membership systems like Semaphore.

According to Zhu, the company's Cicada depends on a type of cryptography puzzle that is time sensitive and allows users to encrypt personal values that can only be decrypted after a certain duration. Notably, the time-lock puzzles have existed for the past 27 years (since 1996), although from as early as 2019, they would have required users to reveal their values once the period elapsed.

When applied to the voting systems, the time-lock puzzles would have been troublesome in 2019 with users submitting votes and then going offline as it would prevent all the votes from being countable.

Further, cryptographers Giulio Malavolta and Aravind Thyagarajan proposed the concept of 'homomorphic' time-lock puzzles, allowing the combination of the puzzles to achieve a single final puzzle that is easier to solve compared to the sum of the individual puzzles. In this regard, the solution to the final puzzle only discloses the sum of the individual values while concealing the individual values that make up the sum.

Cicada uses homomorphic puzzles to be counted when users are online or offline

The a16z post also notes that Cicada uses the same homomorphic puzzles to allow the counting of votes whether users are online or not. The venture capital firm's researchers encountered a problem when they tried developing a fair voting system to transfer Malavolta and Thyagarajan's system to the blockchain.

Each choice needed to be encoded as a boolean value of "1" or "0." This meant that attackers could try to increase their voting power by incorrectly encoding the vote — by encoding "100" as their value, for example.

Cicada needs voters to submit a zero-knowledge proof of ballot validity and individual ballots as part of the solution to the above obstacle. The proof, therefore, indicates that the vote was encoded correctly, although without disclosing the contents of the vote.

Cicada only conceals votes while the poll is in session

Once the "poll has closed" or the time-lock period elapses, anyone can determine the contents of a vote by brute-forcing the solution to the puzzle. Nevertheless, a16z highlights that this problem s solvable by merging Cicada with zero-knowledge group membership systems such as Semaphore, Semacaulk, or zero-knowledge state proofs.

In such a case, while brute-forcing the puzzle only reveals that an eligible voter's vote was cast, it would not reveal the details or logins used to prove the voter's eligibility. To put this in perspective, Zhu shared a link to a sample contract produced using Cicada that also hinges on Semaphores to prove the eligibility of individual voters.

Voting systems and DAOs

Based on the report, there appears to be a long-standing relationship between decentralized autonomous organizations (DAOs), the governing bodies that usually run blockchain apps. In many cases, however, DAOs employ tokens to represent votes, meaning individual users can have enormous influence if they hold many tokens.

Case in point: An attacker commandeered Tornado Cash on May 22 by casting extra votes on a malicious proposal and used it to drain all the funds from governance contracts. The exploiter then offered to give back control to users. According to Waves founder Sasha Ivanov, however, to avoid governance attacks, DAOs must move to a more democratic voting system. 

Author

Lockridge Okoth

Lockridge is a believer in the transformative power of crypto and the blockchain industry.

More from Lockridge Okoth
Share:

Editor's Picks

Ripple accelerates decline below $1.00 amid fading retail participation

Ripple (XRP) ticks down on Monday, trading at $0.95 as sellers remain largely in control. Bulls' attempts to regain control have increasingly failed in recent weeks, aligning with the broader crypto market.

Crypto Today: Bitcoin, Ethereum, XRP face increasing selling pressure, ETF outflows

Bitcoin trades lower below $65,000 on Monday, as selling pressure expands in the broader cryptocurrency market, accentuated by growing risk-off sentiment. Ethereum paints a similar grim picture, with the price sliding near $1,800 while Ripple remains below $0.95.

Pi Network remains under pressure near record lows as bears dominate

Pi Network remains under pressure on Monday after setting a fresh all-time low near $0.0600 on Saturday. Derivatives positioning points to persistent bearish sentiment among PI traders.

Bitcoin Price Forecast: ETF outflows hit $1.07 billion as BTC struggles to recover from oversold levels

Bitcoin (BTC) struggles to regain ground, trading below $65,200 on Monday after extending its decline to a low of $62,006 last week, levels not seen since mid-July.

Bitcoin: BTC drops below $68,000 as oversold signal fails to stop sellers
Bitcoin (BTC) extends its correction, falling more than 8% and hitting an intraday low of $67,568 on Friday. Despite oversold technical signals, selling pressure continues to intensify, with persistent Exchange Traded Funds (ETFs) outflows, leveraged liquidations and weakening risk appetite weighing on the Crypto King outlook.