picotoken

1.0.1 • Public • Published

pico.token-js

JS Library to interact and read data from pico.token smart contract.

Usage

This is a Node.js module available through the npm registry. Installation is done using the npm install command:

$ npm install picotoken

Initialize

Web library can be found in the [dist] folder

// standard import
const {RpcApi} = require("picotoken");
// ES6 import
import {RpcApi} from "picotoken"

## Documentation

* **RpcAPI**: uses only native nodeos calls

#### RpcActionGenerator

The RPC API has an `action` attribute which contains a helper class to construct contract actions 
which can be pushed on chain with eosjs. 
 
#### Types

These classes represent table rows of the contract and consist of getter methods
which return the deserialized data.
The method `toObject` returns a JavaScript object representation of the class.

Package Sidebar

Install

npm i picotoken

Weekly Downloads

10

Version

1.0.1

License

ISC

Unpacked Size

7.59 kB

Total Files

6

Last publish

Collaborators

  • kodecatch3r