Echojs-lib (echojs-lib)
Pure JavaScript ECHO library for node.js and browsers. Can be used to construct, sign and broadcast transactions in JavaScript, and to easily obtain data from the blockchain via public apis.
Setup
This library can be obtained through npm:
npm install echojs-lib
Preparation
Launched echo node (https://github.com/echoprotocol/echo-core) with open port
Usage
; await echo;const account = await echoapi;
You also can use it with require
const default: echo = ; await echo;const account = await echoapi;
To more examples and options look at section below
Connection - More connections options
API - List with all api methodes
Subscriber - Subscriber module
Cache - Information about cache
Redux - Information about integrating lib cache to redux with auto update
Transactions - Transactions exampels
Crypto - Create private/public keys example
Constants - List of constants you can use