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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZK-JWT

ZK-JWT 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

ZK-JWT consists of two core packages:

@zk-jwt/circuits

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

@zk-jwt/helpers

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

@zk-jwt/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

Contributing

We welcome contributions! For each merged PR addressing an open issue, we offer a $50 reward. See our Contributing Guide for details.

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

Releases

No releases published

Packages

No packages published