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
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 1 year ago
Now you can request your first transaction!