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
| Parameter | Type | Description |
|---|---|---|
| provider | providers.Provider | The provider used to communicate with the blockchain. |
| appId | string | The address of the App contract. |
| signer | Signer | (Optional) The signer used to sign transactions. |