First steps with Connector
Connecting to Tonhub wallet from your dApp or bot
To connect your app to Tonhub and Sandbox wallets you need to use
ton-x library. At this time library supports only Tonhub wallets, but in future it would be expanded to more wallets.
yarn add ton-x
Library requires Buffer polyfill
To install polyfill, install
bufferpackage and import it before importing
Creating a connector
There are two ways to connect to a Tonhub:
- Remote Connector , similar to Wallet Connect
- Local Connector is used when your app is running as an extension.
Or you could use react-ton-x wrapper for both Read here
Updated 10 months ago
Now you can request your first transaction!