https://github.com/zkemail/jwt-tx-builder
Use zk proofs of JWTs to authorize arbitrary transactions on chain. Soon to have scoped oauth'd session keys as well.
https://github.com/zkemail/jwt-tx-builder
zkemail zkjwt zklogin
Last synced: over 1 year ago
JSON representation
Use zk proofs of JWTs to authorize arbitrary transactions on chain. Soon to have scoped oauth'd session keys as well.
- Host: GitHub
- URL: https://github.com/zkemail/jwt-tx-builder
- Owner: zkemail
- Created: 2024-10-13T11:44:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-16T10:20:09.000Z (over 1 year ago)
- Last Synced: 2024-11-16T11:20:13.837Z (over 1 year ago)
- Topics: zkemail, zkjwt, zklogin
- Language: TypeScript
- Homepage: https://jwt.zk.email
- Size: 71.1 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](/packages/circuits/README.md).
### @zk-email/jwt-tx-builder-helpers
TypeScript utilities for generating circuit inputs, handling JWTs, and managing public keys. [Read more](/packages/helpers/README.md).
### @zk-email/jwt-tx-builder-contracts
Solidity contracts for on-chain verification of ZK proofs. [Read more](/packages/contracts/README.md).
## Demo
We've built a demo application that uses ZK-JWT to verify Google Sign-In JWTs.
Try it here: [jwt.zk.email](https://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.