Methods References
The ZPass SDK provides a comprehensive set of methods for interacting with ZPass credentials on the Aleo blockchain.
Core Operations
Credential Management
signCredential - Sign credential data with a private key
issueZPass - Issue a new ZPass credential on-chain
getZPassRecord - Retrieve and decrypt a ZPass record from the blockchain
Proof Operations
proveOnChain - Generate an on-chain proof for a ZPass credential
proveOffChain - Generate an off-chain proof locally
verifyOnChain - Verify an on-chain ZPass proof
verifyOffChain - Verify an off-chain ZPass proof locally
Worker Management
createAleoWorker - Create a Web Worker for Aleo computations
initThreadPool - Initialize a thread pool for improved performance
Getting Started
For a quick introduction to using the SDK, check out Quickstart.
Last updated