- Build a circuit in
circuits/example.circom
- Define a sample input in
circuits/example.json
- Compile the circuit with
npx hardhat circom
- Update the
ExampleVerifier.sol
contract to a new version of solidity by doing
npx hardhat bump --contract ExampleVerifier
npx hardhat test
For more information on compiling circuits see hardhat-circom.