This project was generated with vue-cli version 3.2.1
A Vue based Tron example dApp with tronweb, tronlink, tronbox and vue-cli
Update a value of a smart contract with your Tronlink wallet address
A TronLink account is required for this dApp to work!
Download Tronlink here
Get some free test TRX coins from here to get some balance on your account
npm install
VUE_APP_SHASTA_PRIVATE_KEY="Your key"
npm run serve
Add your smart contract to the /contracts folder
npm install -g tronbox
tronbox compile
tronbox migrate --network shasta
let contractInstance = await tronWeb
.contract()
.at("Your deployed contract address");