pico.token-js
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • 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.

/pico.token-js/

    Package Sidebar

    Install

    npm i pico.token-js

    Weekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    19.9 kB

    Total Files

    19

    Last publish

    Collaborators

    • avm07