zpass-sdk
v0.1.3
Published
zPass is a fast, secure, and privacy-preserving digital identity solution
Downloads
208
Maintainers
Readme
zPass SDK
Testing with Example
- Clone this repository
- cd into examples/
- Install dependencies:
npm install - Set up local devnet:
- Clone snarkOS
- Start local devnet in mainnet mode:
./devnet - Follow instructions and select
mainnetwhen prompted
- Deploy
verify_poseidon2_zpassprogram to local devnet:
Note: The validator 0's private key in .env.example has test tokens for local devnetcd programs/verify_poseidon2_zpass leo deploy # Uses .env.example with validator 0's private key - Start the example:
cd .. npm run dev - Open the example in your browser and follow the instructions
- Pull up the console and see the logs
Roadmap
- [ ] Add records finder
- [x] Add testnet support
- [x] Add mainnet support
- [x] Add merkle root and proof generation
- [ ] Optimise program execution
- [x] Web Worker integration
- [ ] Add universal wallet adapter support
- [x] Documentation and setup guide
