Skip to content
Various cli tools for Polkadot/Substrate, including basic node monitoring, making API queries via a cli app and other command-line tools
Branch: master
Clone or download
Travis CI
Latest commit 94ad30c Jul 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
packages [CI Skip] 0.5.0-beta.7 Jul 12, 2019
.babelrc.js Simple newHead monitor (#1) Nov 9, 2018
.codeclimate.yml [CI Skip] Update .codeclimate.yml (#4) Dec 8, 2018
.editorconfig Simple newHead monitor (#1) Nov 9, 2018
.eslintignore Swap to eslint (#30) Jul 12, 2019
.eslintrc.js Swap to eslint (#30) Jul 12, 2019
.gitignore Stable common & API (#25) May 9, 2019
.npmignore Simple newHead monitor (#1) Nov 9, 2018
.nvmrc Simple newHead monitor (#1) Nov 9, 2018
.travis.yml Stable common & API (#25) May 9, 2019
CHANGELOG.md Add support for v4 metadata (#23) Apr 26, 2019
CONTRIBUTING.md Add api-cli tool (api interactions from cli) (#8) Mar 11, 2019
Dockerfile
Dockerfile.tmpl Add docker image (#20) Mar 28, 2019
LICENSE Initial commit Nov 9, 2018
README.md Add docker image (#20) Mar 28, 2019
babel.config.js Simple newHead monitor (#1) Nov 9, 2018
docker-cli.sh Add docker image (#20) Mar 28, 2019
docker.sh
jest.config.js Swap to eslint (#30) Jul 12, 2019
lerna.json
package.json [CI Skip] 0.5.0-beta.7 Jul 12, 2019
tsconfig.json Alias alignment (allow / imports) (#11) Mar 14, 2019
yarn.lock Swap to eslint (#30) Jul 12, 2019

README.md

polkadotjs license style travis maintainability coverage greenkeeper

@polkadot/tools

This is a collection of cli tools to use on Polkadot and Substrate chains.

Overview

The repo is split up into a number of internal packages -

Installation

You can install the packages globally via npm, i.e.

# api-cli or monitor-rpc
npm install -g @polkadot/api-cli

And then you can execute it via polkadot-js-api [...options] or `polkadot-js-monitor [...options]

Alternatively a docker image is provided as well (or you can build your own from this repo). Usage is as follow -

docker run jacogr/polkadot-js-tools <api|monitor> [...options]

With docker, if you are connecting to a local node for the API or monitor, and use the (default) 127.0.0.1 host, you would need to pass --network=host as a flag, i.e. docker run --network=host ... and pass the appropriate flags to the node to allow connections for docker.

Development

Contributions are welcome!

You can’t perform that action at this time.