@newchat/new.chat-sdk
v1.0.13
Published
⚒️ An SDK for building applications on top of NewChat
Downloads
12
Maintainers
Readme
new.chat-sdk
⚒️ An SDK for building applications on top of NewChat
Usage
This is a Node.js module available through the
npm registry. Installation is done using the
npm install
command:
npm install @newchat/new.chat-sdk
Initialize
Web library can be found in the [dist] folder
// standard import
const { ActionGenerator, ChainApi, HyperionApi } = require("@newchat/new.chat-sdk");
// ES6 import
import { ActionGenerator, ChainApi, HyperionApi } from "@newchat/new.chat-sdk"
Documentation
ChainApi
Uses only native nodeos calls to chain api plugin.
HyperionApi
Uses only native hyperion calls to hyperion api.
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.