Release 1.0.0.0


Welcome to Telegram TonConnect SDK for Construct 3!

Actions

  • Initialize SDK (Initializing Ton Connect SDK.)
  • Get wallets (Get all wallets from server.)
  • Open modal
  • Close modal
  • Open single wallet modal (Opens a modal window for a specific wallet.)
  • Close single wallet modal
  • Send transaction
  • Disconnect (Disconnects current connected wallet.)

Conditions

  • Is SDK initialized
  • On wallets got
  • On get wallets error
  • On modal opened
  • On modal closed
  • Check current modal state
  • On single wallet modal
  • On single wallet modal closed
  • On transaction send
  • On transaction send error
  • On connected
  • On disconnected
  • Is connected

Expressions

  • GetAllWalletsJSON (Returns JSON string of all wallets.)
  • GetLastTransactionBoc (Returns last successfull transaction boc.)
  • ToFriendlyUserAddressFormat (Converts address to friendsly user address format.)
  • ConnectedWalletDevicePlatform (Returns currently connected wallet devive platform. Can be one of the following values: 'iphone', 'ipad', 'android', 'windows', 'mac', 'linux', 'browser')
  • ConnectedWalletDeviceAppName (Returns currently connected wallet device app name.)
  • ConnectedWalletDeviceAppVersion (Returns currently connected wallet device app version.)
  • ConnectedWalletProvider (Returns currently connected wallet provider. Can be one of the following values: 'http', 'injected')
  • ConnectedWalletAccountAddress (Returns currently connected wallet user's address in "hex" format: ":".)
  • ConnectedWalletAccountChain (Returns currently connected wallet user's selected chain. Can be '-239' -> MAINNET OR '-3' -> TESTNET.)
  • ConnectedWalletAccountStateInit (Returns currently connected wallet Base64 (not url safe) encoded contract stateInit. Can be used to get user's public key from the stateInit if the wallet contract doesn't support corresponding get method.)
  • ConnectedWalletAccountPublicKey (Returns currently connected wallet publicKey in format: Hex string without 0x prefix OR empty string.)

Files

LostTelegramTonConnectSDK_1.0.0.0.zip 121 kB
64 days ago

Get Telegram TonConnect SDK for Construct 3

Buy Now
On Sale!
25% Off
$7.00 $5.25 USD or more

Leave a comment

Log in with itch.io to leave a comment.