Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@tronprotocol/wallet-api

0.0.37 • Public • Published

node-wallet-api

Node.js Wallet API for the Tron Protocol

How to UseLinksWikiCommunity

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 test

Usage

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();

Community

Links

Projects

Keywords

Install

npm i @tronprotocol/wallet-api

DownloadsWeekly Downloads

4

Version

0.0.37

License

GPL-3.0

Unpacked Size

815 kB

Total Files

34

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar