Bruno Lulinski
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Aragon and Aztec -- Private Voting Sprint :::info submission https://prop.house/nouns/private-voting-research-sprint ::: <!-- example of a comment of multiple lines --> ## Title (max. 80 characters) **Aragon and Aztec will develop an optimal private voting solution for NounsDAO** ## TL;DR (max. 120 characters) State-of-the-art DAO private voting with minimal off-chain dependency via Ethereum storage proofs and time-lapse encryption ---- ---- ## Summary :::warning :pushpin: **Forenote** The full proposal consists of this page and the [detailed sections](#More-Details) linked at the bottom of the page. Readers are encouraged to review them to understand the proposal more throughly. ::: :::info For more information, contact: - Alex Kampa @ Aragon (alex.kampa@aragon.org / [@alexkampa](https://t.me/alexkampa)) or - Savio Sou @ Aztec (savio@aztecprotocol.com / [@Globallager](https://t.me/Globallager)) ::: Utilizing zero-knowledge (ZK) for privacy has been challenging until recently due to the computational intensity of generating zero knowledge proofs (ZKP). Now, with the emergence of domain-specific languages like Noir, which leverages advancement in ZK technologies like UltraPlonk, we are now able to offer a **one-step voting process** for NousDAO NFT holders with minimal off-chain dependencies. We would be excited to introduce this cutting edge voting process to the Nouns DAO. We are confident that our approach ensures **privacy and fairness** by making it impossible to link a voter with their voting choice and prohibiting the tallying of results before the end of the voting period. Our voting process also **prioritizes user experience while still maintaining privacy**. To best serve the needs and preferences of NounsDAO, we propose an incremental approach that operates in **three distinct phases**. This approach limits the risk of any single phase and allows for future extensions and optimizations. In three months' time, we will be building the best solution the industry can provide, taking into account the tradeoffs and unique needs of NounsDAO. In summary, this proposal almost completely fulfills all the [requirements of the call](https://hackmd.io/SVyDLBq7QSWNl0LaYIuqHA). The only exception is native multisig support, which can be added at a later stage. <!-- ::: Zero-knowledge (ZK) cryptography can enable interesting use cases in the context of decentralized blockchains. Many L2s are utilizing this form of cryptography for the purpose of scaling Ethereum throughput, but **utilizing ZK for privacy has a unique set of challenges**. For users to truly benefit from censorship-resistant private voting on Ethereum, the user will likely need to **generate zero-knowledge proofs (ZKP) on their own device**. Those proofs would allow users to prove that they are a member of the set of allowed voters (e.g., 'all Nouns holders at the time of the proposal submission') without exposing which exact Nouns holder they are. For years, the computational cost to generate ZKPs has been incredibly high. It has in turn **blocked most consumer devices out** from handling the necessary computation overhead within any reasonable amount of time, making private voting infeasible. With the advancement in ZK technologies like **UltraPlonk** and the emergence of domain-specific languages that make use of them like **Noir**, we are now able to offer a **one-step voting process** per NFT holder with minimal off-chain actions. This approach ensures **privacy and fairness** by making it impossible to link a voter with their voting choice and prohibiting the tallying of results before the end of the voting period. We are confident that this approach **prioritizes user experience while also maximizing privacy**. Our incremental approach operates in **3 distinct phases**. This limits the risk of any one phase and allows for future extensions and optimizations. In 3 months time, we will be building the optimal solution that the state of the art is capable to deliver. --> ## Team This is a joint proposal by the Aragon ZK Research guild and the Aztec Network team. We are partnering on this proposal because we believe that our teams bring the right mixture of domain-specific knowledge in DAO governance, privacy, and zero-knowledge cryptography to deliver the best possible solution for NounsDAO’s private voting needs. ### Aragon The Aragon ZK Research Guild is a part of Aragon, a leading provider of on-chain infrastructure for creating and managing DAOs. Members of our team has been working on privacy-preserving technology for DAOs since 2019. As part of our ongoing collaboration with Aztec, we have made direct contributions to the Noir language through the Aztec Grants program. If this proposal is funded, AZKR’s portion of the funding will go to the Aragon DAO to fund teams building technology aligned with the Aragon Manifesto. ### Aztec Aztec's goal is to take the original promise of Ethereum – a decentralized and verifiable world computer – and expand its capability immensely by making it fully encrypted. To enable this new world of verifiable encryption, we’ve developed a universal language for zero knowledge called Noir. If this proposal is funded, Aztec’s portion of the funding will go towards funding public goods like the Protocol Guild and/or Gitcoin funding rounds. ## Research Approach and Nouns Voting Experience We explored many different approaches while preparing this proposal, and considered the tradeoffs that NounsDAO requires. We selected validating Ethereum storage proofs using Noir because we believe this provides the optimal solution, maximizing privacy and minimizing off-chain dependencies. The use of **Ethereum storage proofs** means that **the census does not need to be generated off-chain**, as it directly corresponds to the set of token holders stored in Ethereum's state, which is **a game-changer for DAOs operating entirely on-chain**. This solution provides a state-of-the-art combination of decentralization, user experience, and privacy. The implementation of our proposal will be done in three phases: 1. **MVP** -- The *Minimal Viable Product* of on-chain private voting: voters are anonymous, their voting choice is simply encrypted (e.g. with Multi-Party Computation (MPC) for each proposal), and the gas is paid by the user. 2. **Adding a delay-relayer service** -- With a delay-relayer service, gas will be paid by a third party and the submission of the vote will come via batching of votes by the relayer. This protects a voter from accidentally leaking their address or the number of Nouns they’re using to vote. Crucially, this relayer is opt-in for Nouns voters and not mandatory. 3. **Adding a time-lapse service** -- The time-lapse service will allow voters to encrypt their votes using the same public key generated at the onset of the proposal. Once the proposal voting is complete, the time-lapse service exposes the corresponding private key, allowing for the decryption of the tallied votes, not addresses. This eliminates the need for MPC for each proposal. Moreover, the development and deployment of such a service may benefit many web3 projects looking to implement private voting. With the time-lapse service, anyone will be able to trustlessly decrypt the ballots and compute the result of the vote and the corresponding proof, and anyone will be able to send the result and proof to the contract. By default, Nouns holders will be able to cast votes for the NFTs they own, or for tokens that have been delegated to them. We believe the proposed solution is optimal given NounsDAO's requirement for minimal off-chain dependencies and the request for simplicity in the end user's experience. However, we are constrained by the current state of ZK tech, and know there is still room for improvement once recursive ZK proofs become available. Potential improvements and additions to the design include: - Native multisig support - Ballot batching to reduce gas costs - A more trustless design of the time-lapse service - Improved security of the delay-relayer by using the time lapse service - Private gas payment - \>3 voting options (Yes, No, Abstain, and others) We believe this voting solution will significantly improve the voting experience of Noun holders and we look forward to hearing from the NounsDAO community. For any questions and comments, reach out to Alex or Savio at their contact information at the top. Thank you! See [Further Work](/L6oniVQNRh2eT2nLjOfKLA) for more details. ## More Details :::warning :pushpin: **Note** We encourage readers to review the individual sections linked below, as they will aid in gaining a complete understanding of the proposal. ::: ### More about the team * [Aragon ZK Research Guild](https://research.aragon.org/about) * [Aztec Team](https://aztec.network/careers) * [The Noir Programming Language](https://noir-lang.org/index.html) ### Proposal details * [Timing and Impact](https://hackmd.io/@aFgwLUmqRw6FBma4HqKN7A/S1zoTPhCi/edit) * [Main Features, Formal Properties and Requirement Checklist](https://hackmd.io/@aFgwLUmqRw6FBma4HqKN7A/HJbOcw2Cj/edit) * [Infrastructural Components and Technologies Used](https://hackmd.io/@aFgwLUmqRw6FBma4HqKN7A/BJm9hv20o) * [Technical Description](https://hackmd.io/@aFgwLUmqRw6FBma4HqKN7A/Syfjtv2Aj/edit) * [Nouns NFT contract analysis](/Z8T0iV_-RD2p_plOKMRorw) * [Further Work](https://hackmd.io/L6oniVQNRh2eT2nLjOfKLA)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully