polkadot-js/tools
소개
Polkadot 및 Substrate 체인용 CLI 도구 모음입니다. 기본 노드 모니터링, CLI 앱을 통한 API 쿼리, 기타 명령줄 도구를 제공합니다.
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original@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 -
- @polkadot/api-cli A cli tool to allow you to make API calls to any running node
- @polkadot/json-serve A server that serves JSON outputs for specific queries
- @polkadot/monitor-rpc A simple monitoring interface that checks the health of a remote node via RPC
- @polkadot/signer-cli A cli tool that allows you to generate transactions in one terminal and sign them in another terminal (or computer)
- @polkadot/vanitygen Generate vanity addresses, matching some pattern
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!
관련 프로젝트 살펴보기
불러오는 중…