tendermint.js
TypeScript icon, indicating that this package has built-in type declarations

0.0.35 • Public • Published

Tendermint.js

The simple and minimalistic javascript lib to get Tendermint blockchain data from node rpc and websocket


Install

npm i tendermint.js or yarn add tendermint.js

Test

npm run test


Usage

You can use this library on your node and browser too. See examples folder for getting more information.

Import library

ES6 imports
import TendermintJS from 'tendermint.js'
Require
var TendermintJS = require('tendermint.js')
Browser
<script src="YOUR_PATH/tendermint.umd.js"></script>

Create a reference to the instance

const tm = new TendermintJS({
    node_rpc: 'http://localhost:26657',
    node_ws: 'ws://localhost:26657',
    logs: true
});
 
tm.test() // return ok

Readme

Keywords

none

Package Sidebar

Install

npm i tendermint.js

Weekly Downloads

1

Version

0.0.35

License

GPL-3.0

Unpacked Size

132 kB

Total Files

7

Last publish

Collaborators

  • cryptoji