Tron network
How to integrate with D'CENT wallet for dapps on Tron network.
D'CENT mobile app's in-app browser injects window.tronWeb
& window.sunWeb
as providers. If your dapp is based on Tron network (or SUN Network DAppChain), you can interact with D'CENT wallet through window.tronWeb
& window.sunWeb
providers.
If your dapp is already integrated with TronLink
D'CENT wallet's provider uses the same provider interface with TronLink. It means if your dapp is already integrated with TronLink, it's very easy to integrate with D'CENT wallet.
For your reference, you can also find the TronLink integration guide in the below link.
TronLink Integration Guide : https://developers.tron.network/docs/tronlink-integration
TronWeb
D'CENT in-app browser provide TronWeb instance through window.tronWeb
. You can find more detailed information about TronWeb in the Tron's developer guide.
TronWeb Guide : https://developers.tron.network/docs/getting-started_new
SunWeb
D'CENT in-app browser provide SunWeb instance through window.sunWeb
. You can find more detailed information about SunWeb in the Tron's developer guide.
SunWeb Guide : https://tron.network/sunnetwork/doc/guide/#vi-sunweb
Last updated