@newcoin-foundation/newcoin.dao-js
v1.0.3
Published
JS Library to read data from newcoin.dao smart contract.
Downloads
12
Readme
newcoin.dao-js
JS Library to read data from newcoin.dao smart contract.
Usage
This is a Node.js module available through the
npm registry. Installation is done using the
npm install
command:
npm install @newcoin-foundation/newcoin.dao-js
Initialize
Web library can be found in the [dist] folder
// standard import
const { ActionGenerator, ChainApi } = require("@newcoin-foundation/newcoin.dao-js");
// ES6 import
import { ActionGenerator, ChainApi } from "@newcoin-foundation/newcoin.dao-js";
Documentation
ChainApi
Uses only native nodeos calls to chain api plugin.
ActionGenerator
Helper class to construct contract actions which can be pushed on chain with eosjs.