Files
circom-starter/hardhat.config.js
2023-06-16 16:14:55 -07:00

38 lines
705 B
JavaScript

require("hardhat-circom");
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: {
compilers: [
{
version: "0.6.11",
},
{
version: "0.8.9",
},
],
},
circom: {
inputBasePath: "./circuits",
ptau: "https://hermez.s3-eu-west-1.amazonaws.com/powersOfTau28_hez_final_15.ptau",
circuits: [
{
name: "division",
// No protocol, so it defaults to groth16
},
{
name: "simple-polynomial",
// Generate PLONK
protocol: "plonk",
},
{
name: "hash",
// Explicitly generate groth16
protocol: "groth16",
},
],
},
};