• Stars
    star
    278
  • Rank 148,454 (Top 3 %)
  • Language
    TypeScript
  • License
    Apache License 2.0
  • Created almost 6 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

@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!

More Repositories

1

apps

Basic Polkadot/Substrate UI for interacting with a Polkadot and Substrate node. This is the main user-facing application, allowing access to all features available on Substrate chains.
TypeScript
1,743
star
2

api

Promise and RxJS APIs around Polkadot and Substrate based chains via RPC calls. It is dynamically generated based on what the Substrate runtime provides in terms of metadata.
TypeScript
1,065
star
3

extension

Simple browser extension for managing Polkadot and Substrate network accounts in a browser. Allows the signing of extrinsics using these accounts. Also provides a simple interface for compliant extensions for dapps.
TypeScript
972
star
4

common

Utilities and base libraries for use across polkadot-js for Polkadot and Substrate. Includes base libraries, crypto helpers and cross-environment helpers.
TypeScript
252
star
5

phishing

A curated list of known less-than-honest operators on Polkadot and Substrate networks. Includes a simple JS utility function to check any host or address against this list.
TypeScript
196
star
6

docs

This is the documentation portal for all Polkadot and Substrate related tools and libraries in the polkadot-js family of repos.
JavaScript
164
star
7

wasm

A collection of WASM wrappers (mostly around Rust libraries) that are used as faster versions of JS-native functions on Polkadot and Substrate networks.
TypeScript
126
star
8

ui

Re-usable browser libraries and React UI components used inside the polkadot.{js} family of Polkadot and Substrate applications. Full documentation & examples available
TypeScript
120
star
9

dotapps.io

IPNS with dnslink for the apps UI to interact with Polkadot and Substrate chains.
HTML
102
star
10

client

An alternative Polkadot Runtime Environment implementation acting as a full-node (excluding block production for validators) for syncing with Substrate-based chains.
TypeScript
83
star
11

dev

Development configuration, scripts and and CI setup for polkadot-js projects. It acts as templates for other projects to reduce boilerplate, making everything consistent.
JavaScript
44
star
12

polkadot-js.github.io

Simple landing and project overview page for the polkadot-js family of repos.
HTML
34
star
13

build-deno.land

Package publishing for deno.land/x/polkadot
TypeScript
30
star
14

ts

Misc. TypeScript definitions that are not yet available on DefinitelyTyped but required by other projects in this repo. Should be merged with upstream projects or the DT project.
TypeScript
14
star
15

polkadot-identicon

Deprecated. Moved to partitytech/oo7.
JavaScript
8
star
16

ss58

The SS58 address encoder/decoder
JavaScript
8
star
17

build-bundle

Browser bundles that can be included as-is, without a build step
JavaScript
6
star
18

oo7-polkadot

Polkadot Bonds library
JavaScript
4
star
19

polyfill

Deprecated. Moved to the common repo. A collection of cross-environment polyfills
TypeScript
3
star