Skip to main content

sdk.app._constructor_

Home > @openformat/sdk > App > (constructor)

App.(constructor)

Create a new instance of the App class.

Signature:

constructor(provider: providers.Provider, appId: string, signer?: Signer);

Parameters

ParameterTypeDescription
providerproviders.ProviderThe provider used to communicate with the blockchain.
appIdstringThe address of the App contract.
signerSigner(Optional) The signer used to sign transactions.