metadata: {"signature": "0x4d8df4e38b336d119b8482621c3930789477c42775af4458e138d7b7a6bf5c483c7a1799aad1c9ef7fb327872ed15af3f4fa592e559aa98f0edb022630a389ce1c", "application": {"round": "0x12bb5bbbfe596dbc489d209299b8302c3300fa40", "answers": [{"type": "email", "hidden": true, "question": "Email Address", "questionId": 0, "encryptedAnswer": {"ciphertext": "85fQkTUH6IU9DZZ9uBKppRw6c9N5qGdPgBkx59zTbbWb7OwgEwz1iBRl/LMeAcBB", "encryptedSymmetricKey": "92134da9845ad5ff1629dc8c87b2d4e1532b3359287df7d54b1783bfa5357965757d27d593b0e496f87acb4e59a1ce04af399046db47640cc1561354926346ae03323aacd6cc2bd5cf12db0509628c8dcb4a5813341bf0987be6fb64acca5cae49e64d818c240396acb68c80d707a37bdc5aaefad68f167cecb36e59258b76b40000000000000020ace55daef19210332d845ac65f41f845d02644296d7510f86790a2c4b8048b0a9a688caa845350eea820c370ca636393"}}, {"type": "short-answer", "answer": "Aztec Network", "hidden": false, "question": "Previous project funding sources (VC, grants, token sales, etc)", "questionId": 1}, {"type": "number", "answer": "3996", "hidden": false, "question": "Total prior funding for project in USD", "questionId": 2}, {"type": "number", "answer": "2", "hidden": false, "question": "Total team size", "questionId": 3}, {"type": "number", "answer": "1", "hidden": false, "question": "How old is the project? (Months)", "questionId": 4}, {"type": "address", "hidden": true, "question": "If you participated in past grant rounds using a different project payout wallet address, please share it here:", "questionId": 5, "encryptedAnswer": {"ciphertext": "oD8W07nVWB4OO+fiMh7kWyMH2GogCP8yM0dQCxCxwOM=", "encryptedSymmetricKey": "a7983690ece4688ab6f8c871fe1291bf3c313952b38f7216c8d362102a01e1d0937369b9951e1bf06797bf30c6b84f16a4b9bb54ad9a2883581cf7c02fa399c738a9ef6c2d6580ec27bc3b33806d12d4c7ca7fe355fa6fa62fb8050d9197d7b090c27ee21db15012f5bd2fd70216c8f60f78c7f7899efcaa50044ceb71f4ec5f00000000000000209bef565828ef667d3e99d37fbe05b589a0a4117fec3ad87018b35505d526bcc630c3dc66e5383119956023514245808e"}}, {"type": "paragraph", "answer": "https://twitter.com/Brightir2025\nhttps://twitter.com/jp4g_", "hidden": false, "question": "Profiles or socials of other main team members publicly associated with project", "questionId": 6}, {"type": "multiple-choice", "answer": "Yes", "hidden": true, "question": "Have you read and confirmed your grant abides by the Program General Eligibility Policy? https://gitcoin.notion.site/Gitcoin-Grants-Beta-Round-Eligibility-b7fca9fd3c26450b89ded11caaa6497f", "questionId": 7}, {"type": "paragraph", "answer": "We are building an open source tool to make Halo2 development easier", "hidden": true, "question": "How does your project fit into the OSS round eligibility criteria? ", "questionId": 8}, {"type": "paragraph", "hidden": false, "question": "If you've participated in past grant rounds, please share any new updates or milestones from the prior months", "questionId": 9}, {"type": "paragraph", "answer": "Though this project has just started, we have been working on Halo2 and Noir much longer than the past three months", "hidden": false, "question": "Anything else you'd like to share about your project, previous work, or other project affiliations? Anything you'd like to add that has not been covered?", "questionId": 10}, {"type": "multiple-choice", "hidden": true, "question": "Does 50% of your team reflect the diversity of the community your project serves with a particular emphasis on including women, Black, Indigenous, and People of Color (BIPoC), individuals with disabilities, and members of the LGBTQ+ community?", "questionId": 11, "encryptedAnswer": {"ciphertext": "sLyCVIb4un5Jj2FXrICYQG5QWnU/nnrCRNSTtAlCjWo=", "encryptedSymmetricKey": "0b0065b2e47b24173ee149ddcf44a15b6aea3bd48250d47f8ebac7d8838d5afc0f16eeb4ee4833fd96358d554e332c13121d92f148dd7ecc696586647c718f8c7d549bb31eeedf69ea9bced379e56e9f0969ff44356f026a7bfcdef9bd49548952ef8840873aef85646015cc27ec9a0aae8a2920ac1dfc9656e49d174d9c593200000000000000207c350af5ad5313cda53bc7b2f7d557d02faf0e6a1c92e51aa75947da61aa5ded4c612506546c8cb9b9e6c7d8d9bfbab0"}}], "project": {"id": "1:0x03506eD3f57892C85DB20C36846e9c808aFe9ef4:850", "title": "Halo2 Backend for Noir", "logoImg": "bafkreidsfhbdprr4ta64r23ma3oajwk4uq3y75eiawdhrcqvvwavsltdmy", "metaPtr": {"pointer": "bafkreicrpnf3uoul5rubiswuqieazuixycpg3sasttrdf24gmgg4qgrl7a", "protocol": "1"}, "website": "https://mach34.space", "bannerImg": "bafkreihvmzkyl3tqkx5ajfy7in2iaxejubnmelh3ycejhguza2b3f7t4ra", "createdAt": 1682117894851, "userGithub": "Ian-Bright", "credentials": {"github": {"type": ["VerifiableCredential"], "proof": {"jws": "eyJhbGciOiJFZERTQSIsImNyaXQiOlsiYjY0Il0sImI2NCI6ZmFsc2V9..M0qTzAeCkLjEodlkzxsIpqiQhv6LZEf2dqVcnemawxyXI5hEmZaBOPfbkdsZuL5Wox-vhQX9pNlNx2LBx15ADw", "type": "Ed25519Signature2018", "created": "2023-04-21T23:00:24.016Z", "proofPurpose": "assertionMethod", "verificationMethod": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC#z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC"}, "issuer": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC", "@context": ["https://www.w3.org/2018/credentials/v1"], "issuanceDate": "2023-04-21T23:00:24.016Z", "expirationDate": "2023-07-20T23:00:24.016Z", "credentialSubject": {"id": "did:pkh:eip155:1:0x3DFaCd79E9A4dE85B1b8Fb16A0C62dC6971424Fd", "hash": "v0.0.0:kBMsmjcSKbHLCu3oSDq8PPCqctIu9bHcj3UqOffwNwA=", "@context": [{"hash": "https://schema.org/Text", "provider": "https://schema.org/Text"}], "provider": "ClearTextGithubOrg#Mach-34#66142236"}}}, "description": "## Scope\nThis grant helps fund the construction of a Halo2 backend for the Noir zkDSL. We believe this is a worthwhile project to fund because:\n * All work is fully open-source and provides new ZK tooling as a public good\n * Halo2 is fantastic, except for the DevEx. By plugging Halo2 into a DSL, we can mitigate one of the largest issues with Halo2's adoption (especially among new ZK developers)\n\nThe delivered code is FOSS under the same license as Noir itself. **Upon completion, anyone will be able to write Noir code to build Halo2 circuits.**\n\n## Technology\n[Halo2](https://zcash.github.io/halo2/) is a cutting edge Zero-Knowledge proving system built by the ZCash team. Vanilla Halo2 does not require a trusted setup, and the ZCash team upgraded the ZCash blockchain with the [Orchard circuit](https://github.com/zcash/orchard) to achieve increased performance and security. [EF PSE forked Halo2](https://github.com/privacy-scaling-explorations/halo2) and changed the commitment scheme to KZG. KZG provides [superior proof succinctness](https://hackernoon.com/kzg10-ipa-fri-and-darks-analysis-of-polynomial-commitment-schemes) by reintroducing trusted setups. Though the security of this scheme is objectively weaker than IPA in Vanilla Halo2, the [KZG Summoning Ceremony](https://ceremony.ethereum.org/) offers sufficient security assurances for most use cases. Exciting projects like [EF PSE's](https://github.com/privacy-scaling-explorations/zkevm-circuits) and [Scroll's](https://github.com/scroll-tech/scroll-zkevm) zkEVMs employ the KZG fork of Halo2 to facilitate Zero-Knowledge proving.\n\n[Noir](https://aztec.network/noir/) is a Zero-Knowledge Domain-Specific Language (zkDSL) purpose built to expedite the developer experience in ZK. DSLs abstract away as much complexity of ZK circuit building as possible. Code written in Noir first compiles to an \"Abstract Circuit Intermediate Representation\" (ACIR) which is in turn compiled to a backend proving system. The ACIR can be compiled to R1CS or an arithemtic circuit, and theoretically any backend could be built into Noir. For example, while Aztec shipped [Noir with Barretenberg](https://github.com/noir-lang/aztec_backend), the LambdaClass team connected the [Noir ACIR to Gnark](https://github.com/lambdaclass/noir_backend_using_gnark). In short, as more proving schemes are added to the Noir backend, zkDSL users can switch between proving systems according to their needs without having to rewrite a single line of code in their circuit.\n\nThe paradigm mirrors the difference between \"Blockchain Architects\" and \"Blockchain Developers\". While architects focus on building the blockchain and its virtual machine, developers focus on building applications on top of the blockchain. By making the \"architect\" role optional to using a blockchain, the barrier to entry is lowered considerably. Noir lowers the barrier to entry for ZK application developers similarly by abstracting away the proving system from the developer. \n\n### Members\nThis project is being built by [Mach 34](https://mach34.space) with support from [Aztec Protocol](https://aztec.network). See [Mach 34 Team](https://mach34.space/team) for more depth on team & experience.\n\nJack Gilcrest\nDiscord: jp4g#1337\nTwitter: https://twitter.com/jp4g_\nLinkedIn: https://linkedin.in/jp4g\nGitHub: https://github.com/jp4g\nENS: jp4g.eth\n\nIan Brighton\nDiscord: Brightir#8154\nTwitter: https://twitter.com/Brightir2025\nLinkedIn: https://www.linkedin.com/in/ian-brighton/\nGitHub: https://github.com/Ian-Bright\nENS: ianb.eth\n\n### Previous Activity\nMach 34 and Aztec Protocol agreed to begin working on this project on April 17th, 2023. Thus, there is no work completed on this specific project we are seeking funds for. However, we have been busy working on Halo2 and Noir in the past three months.\n\n * Anounymous: A thoroughly designed proposal to use Noir's UltraPlonk to build private voting into NounsDao Governance. Our submission [placed 4th out of 20 proposals](https://prop.house/nouns/private-voting-research-sprint).\n * BattleZips-Noir: A demonstration of the [Noir DSL used for a simple Battleship game](https://github.com/BattleZips/BattleZips-Noir) settled onchain. The codebase was accompanied by a [tutorial video series](https://www.youtube.com/watch?v=25_FzjlG7ZU&list=PLabpoAlaCBY3SM6xHmZCOhPHlmLB4EY6H). Mach 34 worked with Aztec on this project to create approachable resources for developers that want to begin using the Noir DSL\n * BattleZips-Halo2 (SEE \"Note on BattleZips-Halo2 below\"): Jack and Ian worked on [BattleZips-Halo2](https://github.com/battlezips/battlezips-halo2) which demonstrated the Battleship game in the Halo2 proving system. This project began the exploration of Halo2's accumulation and recursion in order to \"roll up\" the moves of a game into one proof. Though further R&D is needed to demonstrate the scalability prospect, the repository serves as a unique demonstration of using Halo2 for privacy in arbitrary business logic. This work included the development of a [standalone pedersen commitment gadget in Halo2](https://github.com/battlezips/halo2-pedersen-commitments).\n\nNote on BattleZips-Halo2: Jack Gilcrest and Ian Brighton worked as **individual contributors** to build [BattleZips-Halo2](https://github.com/battlezips/battlezips-halo2) with a grant from the Ethereum Foundation's Privacy and Scalability Explorations Team. While we bring this experience to Mach 34, it is important to note that **Mach 34 did not build BattleZips-Halo2**. EF PSE has no affiliation with Mach 34, and prospective grant donors should be aware of this fact.\n\n\n## Use of Funds\nAll funds will go to the two Mach 34 developers Jack Gilcrest ([@jp4g](https://github.com/jp4g)) and Ian Brighton ([@ian-bright](https://github.com/ian-bright)). Work on this project will be a full time equivalent (FTE) of 2, and such funding will allow us to be singularly focused on delivering the Halo2 backend for Noir with no distractions.\n\n### Other Sources of Funding\nMach 34 has secured a grant from Aztec Protocol to build the Halo 2 Backend for the Noir DSL. We are in an exploratory phase doing requirements engineering; as such the full scope and consequentially the grant value has not been determined.\n\nRequirements engineering is expected to be completed on May 14th, 2023. The full value raised for this project will be transparently updated as details become fully available.\n", "lastUpdated": 0, "projectGithub": "Mach-34", "projectTwitter": "mach34_"}, "recipient": "0xe72aD4f94827AbC45Ed2bc02197FD6C091930492"}}