ProofService.(constructor)
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Creates an instance of ProofService.
Signature:
constructor(_identityWallet: IIdentityWallet, _credentialWallet: ICredentialWallet, _circuitStorage: ICircuitStorage, _stateStorage: IStateStorage, opts?: Options);
Parameters
Parameter | Type | Description |
---|---|---|
_identityWallet | IIdentityWallet | identity wallet |
_credentialWallet | ICredentialWallet | credential wallet |
_circuitStorage | ICircuitStorage | circuit storage to load proving / verification files |
_stateStorage | IStateStorage | state storage to get GIST proof / publish state |
opts | Options | (Optional) |