tron-station-sdk

Tron Station SDK is a library for estimating Tron energy and bandwidth consumption based on Tron network. Developers can quickly review energy and bandwidth points information before deploying/triggerring a smart contract or make a trasaction.

Usage no npm install needed!

<script type="module">
  import tronStationSdk from 'https://cdn.skypack.dev/tron-station-sdk';
</script>

README

What is Tron Station SDK?

Tron Station SDK - Developer Document

Tron Station SDK is a 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.

Compatibility

  • Version built for Node.js v6 and above
  • Version built for browsers with more than 0.25% market share

Tron Station SDK is also compatible with frontend frameworks such as:

  • Angular
  • React
  • Vue

You can also ship Tron Station SDK in a Chrome extension.

Installation

Tron Station SDK - NPM Package

Node.js

> npm install tron-station-sdk

Yarn

> yarn add tron-station-sdk

Build Steps

If you'd like to download and build locally, please follow the steps below.

> git clone https://github.com/tronprotocol/tron-station-sdk.git
> cd tron-station-sdk
> yarn install
> yarn dev
> yarn build