Skip to main content
Version: dev

Noir

Constructors

new Noir(circuit)

new Noir(circuit): Noir

Parameters

ParameterType
circuitCompiledCircuit

Returns

Noir

Methods

execute()

execute(inputs, foreignCallHandler?): Promise<object>

Parameters

ParameterType
inputsInputMap
foreignCallHandler?ForeignCallHandler

Returns

Promise<object>

Description

Allows to execute a circuit to get its witness and return value.

Example

async execute(inputs)

Generated using typedoc-plugin-markdown and TypeDoc