Noir
Constructors
new Noir(circuit)
new Noir(circuit): Noir
Parameters
Parameter | Type |
---|---|
circuit | CompiledCircuit |
Returns
Methods
execute()
execute(inputs, foreignCallHandler?): Promise<object>
Parameters
Parameter | Type |
---|---|
inputs | InputMap |
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