Skip to main content
tronAdapter from @0xtrails/tvm adds Tron (TVM) support to the Trails widget. It registers the TVM edge plugin and provides the Tron wallet context when passed through adapters. Two integration styles are supported: built-in Tron wallet auto-detection (TronLink, OKX, TokenPocket, Trust, MetaMask on Tron, and WalletConnect), or bring your own Tron wallet.

Install

Auto-detection (no Tron provider needed)

The simplest setup — the adapter discovers Tron wallets on its own. No app-level Tron wallet provider is required:
Auto-detection options:

Bring your own wallet

Pass a wallet handle if your app already manages Tron wallet state:

Compose with other adapters

EVM, Solana, and Tron adapters compose — pass any combination and every wallet family works in the same widget:

Options reference

Tron address formats and TRC-20 token addresses use Tron’s base58 encoding — see the Supported Chains → Edge Chains table for representative Tron token addresses.