Skip to content

TRON DAPP Development Document

Web dApp Development

TronWeb API

MathWallet has supported TronWeb (web3) API same as tronlink or tronpay.

TronWeb API official document

https://github.com/TronWatch/TronWeb

Tron DAPP Demo Projects

https://github.com/mathwallet/math-trxjs

https://github.com/kookiekrak/TronLink-Demo-Messages

dApps using TronWeb API

TronBet

TRX Market

Native dApp Development

SimpleWallet API

If your DAPP is based on native development or browser based, you could open MathWallet to sign your transaction through SimpleWallet protocol or use Math Wallet to scan and authorize.

MathWallet SimpleWallet Protocol supports:

Native APP can open MathWallet to sign your transaction.

To use this API, please read the API doc:

https://github.com/mathwallet/SimpleWallet

Note: transferReq.blockchain please use 'tron'

SimpleWallet API Demo Projects

SDK example developed by Math Wallet team:

iOS – https://github.com/mathwallet/MathWalletSDK-iOS

Android – https://github.com/mathwallet/MathWalletSDK-Android

Web dApp Development

Web dApp within mobile browser can open MathWallet to sign your transaction in a link format.

The format is also based on SimpleWallet Protocol MathWallet version:

https://github.com/mathwallet/SimpleWallet

Demo & Sample Code:

http://developer.mathwallet.org/sample12/

https://github.com/mathwallet/math-eosjs/tree/master/eos/sample12