GameFiBase is a parent for every implementation of GameFi. Game engine specific implementations like Phaser only needs to define its own create and createConnectButton methods.

Hierarchy (view full)

Constructors

Properties

assetsSdk: AssetsSDK
merchant?: Merchant
sender: Sender
walletConnector: TonConnectUI

Accessors

Methods

  • Watch weather wallet was connected or disconnected. Use the method to reflect it on the UI state.

    Parameters

    • Rest ...params: [callback: ((wallet) => void), errorsHandler?: ((err) => void)]

    Returns (() => void)

      • (): void
      • Returns void

Generated using TypeDoc