polkadot-js/tools

Various cli tools for Polkadot and Substrate chains, including basic node monitoring, making API queries via a cli app and other command-line tools

280

stars

1,194

commits

TypeScript

primary language

Mar 26, 2026

updated

blockchain
cli
polkadot
polkadot-js
substrate
Browse cluster: Polkadot/Substrate blockchain development

README

@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 or ...
npm install -g @polkadot/api-cli

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

Docker

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|json|metadata|monitor|signer|vanity> [...options | --help]

With docker, if you are connecting to a local node for the API or monitor (or signer where the transaction is generated, i.e. the sign process is offline), 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!

Contributors

jacogr

483 commits

TarikGul

79 commits

ap211unitech

31 commits

polkadot-js/tools

Various cli tools for Polkadot and Substrate chains, including basic node monitoring, making API queries via a cli app and other command-line tools

280

stars

1,194

commits

TypeScript

primary language

Mar 26, 2026

updated

blockchain
cli
polkadot
polkadot-js
substrate
Browse cluster: Polkadot/Substrate blockchain development

README

@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 or ...
npm install -g @polkadot/api-cli

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

Docker

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|json|metadata|monitor|signer|vanity> [...options | --help]

With docker, if you are connecting to a local node for the API or monitor (or signer where the transaction is generated, i.e. the sign process is offline), 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!

Contributors

jacogr

483 commits

TarikGul

79 commits

ap211unitech

31 commits

Languages

TypeScript

83.7%

JavaScript

8.6%

Shell

6.0%

Go Template

1.8%