# vayupankh

> [![npm version](https://img.shields.io/npm/v/vayupankh.svg?style=flat-square)](https://www.npmjs.org/package/vayupankh)

Latest version **1.0.7** (published 2022-04-30) · ISC license · 0 weekly downloads

## Install

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

## 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.7 |
| Published | 2022-04-30 |
| First published | 2022-04-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | Vayupankh Networks |
| Maintainers | vayupankh |
| Keywords | github, repos, repositories, blockchain, ethereum, vayupankh, web3 |

## Links

- npm: https://www.npmjs.com/package/vayupankh
- Repository: https://github.com/vayupankh/vayupankh-npm
- Homepage: https://github.com/vayupankh/vayupankh-npm.git
- Issues: https://github.com/vayupankh/vayupankh-npm/issues
- npm.io page: https://npm.io/package/vayupankh

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.27.2

## Alternatives

- [@regle/core](https://npm.io/package/@regle/core.md) — 47.0K weekly downloads
- [typeof-arguments](https://npm.io/package/typeof-arguments.md) — 12.5K weekly downloads
- [@lokalise/projects-engine-contracts](https://npm.io/package/@lokalise/projects-engine-contracts.md) — 978 weekly downloads
- [@osjwnpm/nam-laboriosam-quibusdam](https://npm.io/package/@osjwnpm/nam-laboriosam-quibusdam.md) — 70 weekly downloads
- [@oridune/validator](https://npm.io/package/@oridune/validator.md) — 16 weekly downloads

## Recent versions

- 1.0.7 (latest) — 2022-04-30
- 1.0.6 — 2022-04-29
- 1.0.5 — 2022-04-29
- 1.0.4 — 2022-04-29
- 1.0.3 — 2022-04-29
- 1.0.2 — 2022-04-29
- 1.0.0 — 2022-04-29

## README

# Vayupankh
[![npm version](https://img.shields.io/npm/v/vayupankh.svg?style=flat-square)](https://www.npmjs.org/package/vayupankh)


## Set-up

1. Download the NPM module
```bash
$ npm install vayupankh@latest
```
2. Require the package in your code.
```js
const Vayupankh = require('vayupankh');
```
3. Initialize with your [Vayupankh](https://vayupankh.io) auth key
```js
const vayu = new Vayupankh("AuthKey",'AuthPin');
```

## Request
You now have the create_contract via following methods.

```js
vayu.createContract(Tablename,Fields,Rpc,callback);
vayu.initIransaction(contractAddress,data,callback);
vayu.getTransaction(contractAddress,callback);
```


## Example
Performing a create contract
```js

var fields = ["FIELDS_ONE","FIELD_TWO","FIELDS_THREE"];
vayu.createContract("TableName",fields,"RPC", function (error,data){
    if(error){
        console.log(error);
    }
    else{
        console.log(data);
    }
});


```
Performing a transaction to contract
```js

var data = ["DATA1","DATA2","DATA3"];
vayu.initIransaction("ContractAddress",data, function (error,data){
    if(error){
        console.log(error);
    }
    else{
        console.log(data);
    }
});


```
getting list of transaction in contract
```js

vayu.getTransaction("ContractAddress", function (error,data){
    if(error){
        console.log(error);
    }
    else{
        console.log(data);
    }
});


```

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