Introduction
We are going to use zk SNARKs on substrate-based blockchain. In this tutorial, we import plonk-pallet to substrate runtime, generate the proof and verify.
To use plonk-pallet on substrate-based blockchain, we need to do following steps.
- Define the
plonk-palletas depencencies - Import the
plonk-palletandplonk-runtime-apito runtime - Create customize
Circuit - Import the
plonk-palletandplonk-pallet-rpcto rpc node