Command-line tool for Minter Blockchain
$ minter-cli -h
Usage: minter-cli [options] [command]
Options:
-h, --help Display help for command
Commands:
version Show app version
api Api v2 for Minter Node
wallet Wallet utility functions
help [command] display help for command
- Auto-conversion from PIP to BIP
- JMESPath support for advanced filtering
- Human-readable and raw output formats
- Mimics the official HTTP API structure
- Cross-platform
Requires Node.js ≥ 20
npm i -g minter-cli
Create a config.yml file in the application directory with the contents below
npx minter-cli
minter-cli api candidate Mp12345bf7d1c833701ea490c2e77430486922a9fbef713b933cc3b32700f27777
status=$(minter-cli api candidate Mp12345bf7d1c833701ea490c2e77430486922a9fbef713b933cc3b32700f27777 --patch status --pretty false)
echo $status
minter-cli api candidate Mp12345bf7d1c833701ea490c2e77430486922a9fbef713b933cc3b32700f27777 --not_show_stakes false --patch "stakesList[?owner == 'Mx0903ab168597a7c86ad0d4b72424b3632be0af1b']"
By default, the tool looks for config.yml
in the working directory. Use --config
to specify a custom path. Full config example
minter:
urlapi: 'http://localhost:8843/v2' # https://api-minter.mnst.club/v2
wallet:
seed_phrase: one two 000 .... # this SECRET !!!
- Install a test, local or master node
- Launching open source applications (example: wallets)
- Support for modules from other developers