@newcoin-foundation/newcoin.pools-js
v2.0.3
Published
js module to fetch data from the newcoin.pools smart contract
Downloads
32
Readme
newcoin.pools-js
JS Library to interact with newcoin.pools smart contract.
Usage
This is a Node.js module available through the
npm registry. Installation is done using the
npm install
command:
npm i @newcoin-foundation/newcoin.pools-js
Initialize
Web library can be found in the [dist] folder.
// Standard import
const { ActionGenerator, ChainApi } = require("@newcoin-foundation/newcoin.pools-js");
// ES6 import
import { ActionGenerator, ChainApi } from "@newcoin-foundation/newcoin.pools-js"
Documentation
ChainApi
Uses only native nodeos calls to chain api plugin.
ActionGenerator
Helper class to construct contract actions which can be signed and pushed to chain with eosjs.
Detailed information about each action can be found here.