@proto-kit/commonDocs


Documentation / @proto-kit/common / toProver

Function: toProver()

toProver(methodName, simulatedMethod, isFirstParameterPublicInput, …args): (this) => Promise<Proof<any, any>>

Parameters

methodName: string

simulatedMethod: DecoratedMethod

isFirstParameterPublicInput: boolean

• …args: ArgumentTypes

Returns

Function

Parameters

this: ZkProgrammable<any, any>

Returns

Promise<Proof<any, any>>

Defined in

packages/common/src/zkProgrammable/provableMethod.ts:20