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 importing ton-x.

Creating a connector

There are two ways to connect to a Tonhub:

Or you could use react-ton-x wrapper for both Read here


What’s Next

Now you can request your first transaction!