# picotoken

> js module to interact and fetch data from pico.token smart contract

Latest version **1.0.1** (published 2021-12-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install picotoken
pnpm add picotoken
yarn add picotoken
bun add picotoken
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-12-16 |
| First published | 2021-12-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Avm07 |
| Maintainers | kodecatch3r |
| Keywords | pico, pico.token, eosio, pico.chain, blockchain |

## Links

- npm: https://www.npmjs.com/package/picotoken
- Repository: https://github.com/Pico-Nation/pico.token-js
- Homepage: https://github.com/Pico-Nation/pico.token-js#readme
- Issues: https://github.com/Pico-Nation/pico.token-js/issues
- npm.io page: https://npm.io/package/picotoken

## Dependencies (1)

- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1

## Recent versions

- 1.0.1 (latest) — 2021-12-16
- 1.0.0 — 2021-12-15

## README

# pico.token-js

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

## Usage

This is a [Node.js](https://nodejs.org/en/) module available through the
[npm registry](https://www.npmjs.com/). Installation is done using the
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):

```sh
$ npm install picotoken
```

### Initialize

Web library can be found in the [dist] folder

```javascript
// 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.

---
_Source: https://npm.io/package/picotoken · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
