@partisiablockchain/zk-client
v5.81.0
Published
Enables the generation of rpc for Off/On-chain ZK inputs, and reconstruction of a secret variable.
Downloads
533
Readme
Typescript ZK-client
Enables the generation of rpc for Off/On-chain ZK inputs, and reconstruction of a secret variable.
See examples for how to use the library.
- Zk on chain input for how to send a ZK on chain input to a ZK contract on the testnet.
- Zk off chain input for how to send a ZK off chain input to a ZK contract on the testnet.
- Zk input reconstruction for how to reconstruct a secret variable of a ZK contract on the testnet.
The examples can be run through node (requires node version >= 18), eg.
npx ts-node src/test/example/RealZkClientTestOnChainInput.ts