generated from NomicFoundation/hardhat-ts-plugin-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ts
30 lines (30 loc) · 861 Bytes
/
config.ts
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
30
export interface NoirConfig {
/**
* Path to the Noir circuits (defaults to circuits).
*/
circuitsPath: string;
/**
* Name of the main circuit, used to generate the acir build artifact and
* verifier contract (defaults to main).
*/
mainCircuitName: string;
/**
* Whether to use nargo, as opposed to wasm libraries, for compilation
* and for generating the verifier contract (defaults to false).
*/
useNargo: boolean;
/**
* Path to the nargo binary (defaults to nargo).
*/
nargoBin: string;
/**
* Whether to automatically call noir:compile when hardhat compile is
* invoked (defaults to true, requires nargo).
*/
autoCompile: boolean;
/**
* Whether to automatically call noir:contract when hardhat compile is
* invoked (defaults to true, requires nargo).
*/
autoGenerateContract: boolean;
}