-
Notifications
You must be signed in to change notification settings - Fork 0
/
shield.config.js
29 lines (29 loc) · 1.26 KB
/
shield.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
// (optional) solidity version for compiled contracts, defaults to `^0.8.0`
solidity: "^0.8.0",
circom: {
// (optional) Base path for files being read, defaults to `/circuits`
inputBasePath: "/circuits",
// (optional) Base path for files being output, defaults to `/build`
outputBasePath: "/build",
// (required) The final ptau file, relative to inputBasePath, from a Phase 1 ceremony
ptau: "powersOfTau28_hez_final_10.ptau",
// (required) Each object in this array refers to a separate circuit
circuits: [
{
// (required) The name of the circuit
name: "Multiplier",
// (required) Protocol used to build circuits ("groth16" or "plonk"), defaults to "groth16"
protocol: "groth16",
// (required) Input path for circuit file, inferred from `name` if unspecified
circuit: "Multiplier.circom",
// (required) Output path for zkey file, inferred from `name` if unspecified
zkey: "Multiplier.zkey",
// (optional) Input path for input signal data, inferred from `name` if unspecified
input: "input.json",
// // (optional) Output path for witness file, inferred from `name` if unspecified
witness: "Multiplier.json",
},
],
},
};