noir_wasm
Interfaces
ContractCompilationArtifacts
The compilation artifacts of a given contract.
Properties
| Property | Type | Description |
|---|---|---|
contract | ContractArtifact | The compiled contract. |
warnings | unknown[] | Compilation warnings. |
ProgramCompilationArtifacts
The compilation artifacts of a given program.
Properties
| Property | Type | Description |
|---|---|---|
name | string | not part of the compilation output, injected later |
program | ProgramArtifact | The compiled contract. |
warnings | unknown[] | Compilation warnings. |
Functions
| Function | Description |
|---|---|
| compile | Compiles a Noir project |
| compile_contract | Compiles a Noir project |
| createFileManager | Creates a new FileManager instance based on fs in node and memfs in the browser (via webpack alias) |
| inflateDebugSymbols | Decompresses and decodes the debug symbols |
References
compile_program
Renames and re-exports compile