Home

Awesome

Welcome to ZK Email

<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="docs/logo-light.svg"> <source media="(prefers-color-scheme: light)" srcset="docs/logo-dark.svg"> <img alt="zkemail." src="docs/logo-light.svg"> </picture> </p>

ZK Email is an application that allows for anonymous verification of email signatures while masking specific data. It enables verification of emails to/from specific domains or subsets of domains, as well as verification based on specific text in the email body. Our core SDK comes with libraries to assist with circuit generation as well as utility templates for general zk applications.

Packages Overview

The ZK Email Verifier is built on three core packages:

@zk-email/helpers

Provides utility functions for email verification and cryptographic operations, including RSA signatures, public keys, email bodies, and hashes. Read more.

@zk-email/circuits

Offers pre-built circuits for proof generation and DKIM signature verification. Read more.

@zk-email/contracts

Contains Solidity contracts for email verification purposes. Read more.

Demo

Proof of Twitter is a demo application built using ZK-Email where you can prove ownership of a Twitter account (and mint an NFT) using an email from Twitter.

Try here: https://twitter.prove.email/

You can fork the project as a starting point for your own ZK-Email application.

Moreover, for those interested in creating the Twitter circuit from scratch, our Proof of Twitter guide offers a step-by-step tutorial on utilizing our SDKs for circuit construction.

Audits

Contributors 💡

For each pull request that successfully merges and addresses an open issue, we offer a $50 reward. Should we overlook issuing your reward, kindly send us a direct message as a reminder. To learn more about how you can contribute to this project, please consult our Contributing Guide.

A heartfelt thank you goes to all of our contributors!

Licensing

Everything we write is MIT-licensed. Note that circom and circomlib is GPL. Broadly we are pro permissive open source usage with attribution! We hope that those who derive profit from this, contribute that money altruistically back to this technology and open source public goods.