Optional
disableAllows to disable auto pause/unpause SSE connection on 'document.visibilitychange' event. It is not recommended to change default behaviour.
Optional
eventEvent dispatcher to track user actions. By default, it uses window.dispatchEvent
for browser environment.
Optional
manifestUrl to the [manifest]https://github.com/ton-connect/docs/blob/main/requests-responses.md#app-manifest with the Dapp metadata that will be displayed in the user's wallet.
If not passed, manifest from ${window.location.origin}/tonconnect-manifest.json
will be taken.
Optional
storageStorage to save protocol data. For browser default is localStorage
. If you use SDK with nodeJS, you have to specify this field.
Optional
walletsWallets list cache time to live
Infinity
Optional
walletsRedefine wallets list source URL. Must be a link to a json file with [following structure]https://github.com/ton-connect/wallets-list
https://raw.githubusercontent.com/ton-connect/wallets-list/main/wallets.json @
Generated using TypeDoc
TonConnect constructor options