Skip to main content
Version: dev

noir_wasm

Exports

Functions

FunctionDescription
compileCompiles a Noir project
compile_contractCompiles a Noir project
createFileManagerCreates a new FileManager instance based on fs in node and memfs in the browser (via webpack alias)
inflateDebugSymbolsDecompresses and decodes the debug symbols

References

compile_program

Renames and re-exports compile

Interfaces

ContractCompilationArtifacts

The compilation artifacts of a given contract.

Properties

PropertyTypeDescription
contractContractArtifactThe compiled contract.
warningsunknown[]Compilation warnings.

ProgramCompilationArtifacts

The compilation artifacts of a given program.

Properties

PropertyTypeDescription
namestringnot part of the compilation output, injected later
programProgramArtifactThe compiled contract.
warningsunknown[]Compilation warnings.

Generated using typedoc-plugin-markdown and TypeDoc