Skip to content

AleoNet/zPass-SDK-new

Repository files navigation

zPass SDK

Testing with Example

  1. Clone this repository
  2. cd into examples/
  3. Install dependencies:
    npm install
  4. Set up local devnet:
    • Clone snarkOS
    • Start local devnet in mainnet mode:
      ./devnet
    • Follow instructions and select mainnet when prompted
  5. Deploy verify_poseidon2_zpass program to local devnet:
    cd programs/verify_poseidon2_zpass
    leo deploy # Uses .env.example with validator 0's private key
    Note: The validator 0's private key in .env.example has test tokens for local devnet
  6. Start the example:
    cd ..
    npm run dev
  7. Open the example in your browser and follow the instructions
  8. Pull up the console and see the logs

Roadmap

  • Add records finder
  • Add mainnet support
  • Optimise program execution
  • Web Worker integration
  • Add universal wallet adapter support
  • Documentation and setup guide

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published