0.0.29 • Published 8 years ago
tronaccount v0.0.29
How to use
Requirements
- 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 testUsage
Install the package
> npm install @tronprotocol/wallet-apiUse the HTTP Client
import {HttpClient} from "@tronprotocol/wallet-api";
const Client = new HttpClient();
let latestBlock = await Client.getLatestBlock();