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.
Installing library
yarn add ton-x
Library requires Buffer polyfill
To install polyfill, install
buffer
package and import it before importington-x
.
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 over 2 years ago
What’s Next
Now you can request your first transaction!