Search projects, hackathons, sponsors and tech

    ← All projects

    Worktree

    Worktree is a tool for creating zero-knowledge airdrops for Github contributors.

    About

    Worktree is a tool for creating zero knowledge airdrops for Github contributors. It's built on and inspired by work done by Element Finance and a16z to create privacy-preserving airdrops for project contributors that allow users to claim tokens without linking their Github identity and Ethereum address. Worktree automatically creates and deploys a ZK airdrop contract associated with a Github repo. Project contributors can log in with Github and generate public claims that allow them to later generate a ZK proof of membership in the contributor set.

    How it's made

    This project uses Foundry (including the sweet new scripting/deployment features), Next.js + RainbowKit + wagmi. I overcame a *lot* of ZK related challenges as a relative newcomer to ZK, like dealing with unbalanced Merkle trees, needing to increase the size of the anonymity set to get proof generation to work, and figuring out how to compile circuit code. Thanks to a16z and Element for blazing this trail!