1. deploy
Spin up the testing chain with
Use the hardhat testing chain as an example config.
deploy.ts
Now the verifiers are fixed in @unirep/contracts
so it can be deployed with deployUnirep
function.
To make verifiers more flexible, it it recommended to download Unirep repository and deploy verifiers before deploying Unirep.sol
.
Last updated