Skip to main content

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

ParameterTypeDescription
_identityWalletIIdentityWalletidentity wallet
_credentialWalletICredentialWalletcredential wallet
_circuitStorageICircuitStoragecircuit storage to load proving / verification files
_stateStorageIStateStoragestate storage to get GIST proof / publish state
optsOptions(Optional)