dbuarque / node-wallet-api

Node Wallet API Wrapper for the Tron Protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Node Wallet API Wrapper for the Tron Protocol

License:GNU Lesser General Public License v3.0


Languages

Language:JavaScript 100.0%