Optional
clientOptional
connectorPass TonConnectUI instance to use HTML based flow.
Pass connector options to use game engine specific connect button implementation (headless mode),
like Phaser createConnectButton
or draw connect button by yourself.
headless mode
Optional
contentLoading collections, NFTs, etc. information requires requests to external resources.
Some of those resources may block direct requests from browsers by CORS policies.
Pass function or template string which will be used to generate proxy URL. For example:
http://localhost:3000/cors-passthrough?url=%URL%
- %URL% will be replaced by URL
your proxy server should follow.
Optional
merchantTON wallet address and jetton wallet address of in-game shop. In-game purchases will be send to those addresses.
Optional
networktestnet
Generated using TypeDoc
TonClient instance or only its params.