Node Wallet API Wrapper for the Tron Protocol
Switch branches/tags
Clone or download
Latest commit 5084fe3 Jun 21, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
protocol @ f78872a updated protobufs Jun 21, 2018
src update address format to mainnet Jun 21, 2018
test updated protobufs Jun 21, 2018
.gitignore move protos Mar 28, 2018
.gitmodules add protobuf compiler Mar 28, 2018
.npmignore include javascript protocol files Mar 30, 2018
.travis.yml add travis ci testing Apr 9, 2018
LICENSE add license Mar 29, 2018 add example usage Mar 30, 2018
_config.yml Set theme jekyll-theme-cayman Apr 2, 2018
package-lock.json updated protobufs Jun 21, 2018
package.json bump version Jun 21, 2018


Node.js Wallet API for the Tron Protocol

How to UseLinksWikiCommunity

How to use


  • Node v9.8.0

Running tests

Running the tests requires an active wallet-cli application. Check out to the readme to get it up and running.

When there is a running wallet-cli application use npm to run the tests

> npm test


Install the package

> npm install @tronprotocol/wallet-api

Use the HTTP Client

import {HttpClient} from "@tronprotocol/wallet-api";

const Client = new HttpClient();

let latestBlock = await Client.getLatestBlock();