Abstract
Readonly
assetsOptional
Readonly
merchantReadonly
senderReadonly
walletSend jetton to merchant wallet address (in-game shop).
Send TON to merchant wallet address (in-game shop).
Call connectWallet programmatically in case you are not going to use TonConnectUI provided UI or game engine provided button and you draw your own UI.
Private
createOpen Jetton contract.
Open Jetton Wallet contract.
Open NFT collection contract.
Open NFT contract.
Get NFT item from collection using its index.
Open NFT sale contract.
Open SBT collection contract.
Send jetton to other wallet address.
Send TON to other wallet address.
Static
Protected
addressStatic
Protected
createStatic
Protected
createPrepares dependencies to game engine implementations use it for create
method.
These dependencies will be used to create an GameFi instance further.
Static
Protected
isGenerated using TypeDoc
GameFiBase is a parent for every implementation of GameFi. Game engine specific implementations like Phaser only needs to define its own
create
andcreateConnectButton
methods.