V1 Contract
Contract Addresses
Chain
Address
Factory
TRON
TKk8rQSAvPvBBBNtqSoY6nCfsXWCSSpTVQF
NILE
TXFouUxm4Qs3c1VxfQtCo4MxpbwE3aWDM
Interacting with Contracts
After initializing a TronWeb instance, it is very convenient to interact with contracts online.
Initialize TronWeb Example
const TronWeb = require("tronweb")
const privateKey = process.env.PRIVATE_KEY
const apiKey = process.env.API_KEY
var tronWeb = new TronWeb({
fullHost: "https://api.trongrid.io",
headers: { "TRON-PRO-API-KEY": apiKey },
privateKey: privateKey,
})
Last updated