mirror of
https://github.com/0xPARC/circom-starter.git
synced 2026-04-22 03:00:28 -04:00
38 lines
705 B
JavaScript
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",
|
|
},
|
|
],
|
|
},
|
|
};
|