Skip to content

Use zk proofs of JWTs to authorize arbitrary transactions on chain. Soon to have scoped oauth'd session keys as well.

Notifications You must be signed in to change notification settings

zkemail/jwt-tx-builder

Repository files navigation

jwt-tx-builder

jwt-tx-builder is an application that allows for anonymous verification of JWT signatures while masking specific claims. It enables verification of JWTs from specific issuers or subsets of domains, as well as verification based on specific claims in the payload. Our core SDK comes with libraries to assist with circuit generation and utility templates for building zero-knowledge JWT applications.

Packages Overview

jwt-tx-builder consists of two core packages:

@zk-email/jwt-tx-builder-circuits

Zero-knowledge circuits for JWT verification, including RSA signature validation and anonymous domain verification. Read more.

@zk-email/jwt-tx-builder-helpers

TypeScript utilities for generating circuit inputs, handling JWTs, and managing public keys. Read more.

@zk-email/jwt-tx-builder-contracts

Solidity contracts for on-chain verification of ZK proofs. Read more.

Demo

We've built a demo application that uses ZK-JWT to verify Google Sign-In JWTs.

Try it here: jwt.zk.email

Audits

This project has not yet been audited. Not intended for production use.

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.

About

Use zk proofs of JWTs to authorize arbitrary transactions on chain. Soon to have scoped oauth'd session keys as well.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published