/tron-dapp-demo

Smaple code for tron dapp main functions: getBalance, call contract, send tx, and get event

Primary LanguageJavaScript

Tron dapp demo

Dome for TRON developer guide: https://github.com/maxisacoder/blog/issues/14

1. Setup dependency

yarn

2. Compile Contract

请修改tronbox.js填入自己的私钥

yarn run migrate

3. run the dapp

yarn run start