The TRON Developer Hub

Welcome to the TRON developer hub. You'll find comprehensive guides and documentation to help you start working with TRON as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Getting Started

Web application and Javascript API Library for estimating Tron energy and bandwidth consumption based on Tron network.

What is Tron Station?

Tron Station is a web application and Javascript API Library for estimating Tron energy and bandwidth consumption based on Tron network. Developers can quickly review energy and bandwidth points information before deploying/triggering a smart contract or make a transaction.

Tron Station Web Application

The Tron Station Web Application is a simple user interface for calculating units, energy, bandwidth, and SR vote rewards on the Tron network.

Dashboard

Calculators

SR Vote Reward

Tron Station SDK

The Tron Station SDK is a Javascript API library that can be integrated into projects to calculate energy, bandwidth, and SR vote rewards on the Tron network.

Installing Tron Station SDK

You can install Tron Station SDK using the latest npm package release.

npm install tron-station-sdk

Creating an Instance

import TronStationSDK from 'tron-station-sdk';

const main = new TronStationSDK('main'); // Mainnet configuration
const test = new TronStationSDK('test'); // Testnet configuration

What's Next

SDK Functions