0.1.3 • Published 4 years ago
tronixangel.js v0.1.3
tronix.js
Javascript API for the Tron Protocol via GRPC
Installation
npm install --save tronix.js
Usage
const { GrpcClient, SolidityGrpcClient } = require('tronix.js');
const client = new GrpcClient({
hostname: '99.99.99.99',
port: 50051,
});
const solidityClient = new SolidityGrpcClient({
hostname: '88.88.88.88',
port: 50051,
});
async function run() {
const blcknumber = await client.getBlockByNumber(1234);
const blck = await client.getNowBlock();
const assets = await solidityClient.getAssetIssueList();
}
run();
You can check a public list of TRON nodes here: Official_Public_Node.md
Full/Solidity Node REST Gateway
Find a full example of use below, It will build a full REST API of your node automatically: tronix.js-gateway
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Credits
- Daniel Blanco
- AngelMQ
- Rovak (Original project)
License
LGPL-3.0
0.1.2
4 years ago
0.1.3
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago
0.0.37
4 years ago
0.0.36
4 years ago
0.0.35
4 years ago
0.0.34
4 years ago
0.0.33
5 years ago
0.0.32
5 years ago
0.0.31
5 years ago
0.0.30
5 years ago
0.0.26
5 years ago
0.0.25
5 years ago
0.0.24
5 years ago
0.0.23
5 years ago
0.0.20
5 years ago
0.0.19
5 years ago
0.0.18
5 years ago
0.0.17
5 years ago
0.0.16
5 years ago
0.0.15
5 years ago
0.0.14
5 years ago
0.0.13
6 years ago
0.0.10
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago