open-index/open-npm huggingface dataset:
npm package: @redspot/api-contract
Description: Interfaces for interacting with contracts and contract ABIs
Author: Jaco Greeff
Latest version: 0.2.11

# @polkadot/api-contract

Interfaces to allow for the encoding and decoding of Substrate contract ABIs.

```js
import {ApiPromise, WsProvider } from '@polkadot/api';
import { Abi } from '@polkadot/api-contract';

const wsProvider = new WsProvider(<...Node Url...>);
const api = await ApiPromise.create({ provider: wsProvider });
const abi = new Abi(api.registry, <...JSON ABI...>);

api.tx.contracts
  .call(<contract addr>, <value>, <max gas>, abi.messages.<method name>(<...params...>))
  .signAndSend(<keyring pair>, (result: SubmittableResult) => { ... });
```
npm package: @redspot/dev-cli
Description: A collection of shared CI scripts and development environment used by @polkadot projects
Author: Jaco Greeff
Latest version: 0.3.4

# @polkadot/dev

A collection of shared CI scripts and development environment (configuration, dependencies) used by [@polkadot](https://polkadot.js.org) projects. Included here -

- [style config](config/) Common configurations for [Babel](https://babeljs.io/), [ESLint](https://eslint.org/), [Jest](https://facebook.github.io/jest/).
- [flow definitions](flow-typed/) A collection of 3rd-party [flow](https://flow.org/) definitions used by libraries and projects.
- [build scripts](scripts/) Build scripts that take care of generating documentation, publishing to npm and other common tasks.