# gear-nano

> ![engine](engine.jpg)

Latest version **0.0.1** (published 2019-09-27) · OpenBSV license · 0 weekly downloads

## Install

```sh
npm install gear-nano
pnpm add gear-nano
yarn add gear-nano
bun add gear-nano
```

Provides the command `gear-nano`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2019-09-27 |
| First published | 2019-09-27 |
| Weekly downloads | 0 |
| License | OpenBSV |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 322.4 KB |
| Known vulnerabilities | 0 (+38 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | seanavery |

## Links

- npm: https://www.npmjs.com/package/gear-nano
- Repository: https://github.com/gear-sv/gear-pla
- Homepage: https://github.com/gear-sv/gear-pla#readme
- Issues: https://github.com/gear-sv/gear-pla/issues
- npm.io page: https://npm.io/package/gear-nano

## Dependencies (8)

- [tar](https://npm.io/package/tar.md) ^4.4.11
- [txo](https://npm.io/package/txo.md) 0.0.16
- [axios](https://npm.io/package/axios.md) ^0.19.0
- [level](https://npm.io/package/level.md) ^5.0.1
- [node-jq](https://npm.io/package/node-jq.md) ^1.10.3
- [inquirer](https://npm.io/package/inquirer.md) ^7.0.0
- [interlevel](https://npm.io/package/interlevel.md) 0.0.6
- [neonplanaria](https://npm.io/package/neonplanaria.md) 0.0.39

## Recent versions

- 0.0.1 (latest) — 2019-09-27

## README

# gearia ⚙️
![engine](engine.jpg)

Planaria instance for contract state updates and event driven storage.

___

### cli

`npm i gearia -g`

```
1. gearia [contractID]
...
```

### npm module

`npm i gearia -S`

```
const { gearia, createServer } = require("gearia")

const getters = {
  getOwner: "string",
  getSupply: "unsigned int",
  getBalances: "map"
}

// 1. run block handler
gearia(contractID, getters, _constructor, startBlock)

// 2. run transaction server
createServer('TxDB')

// 3. run state server
createServer('StateDB')

```

### TODO: Docker

`docker run <onchain-gearia> TX_ID=<contract-txid>`  
___

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