Nimble Command Line (CLI) Tooling
It provides cli tools for miners, validators and network operators.
Development
Virtual Env
# create env and activate
make env
source ./nbenv/bin/activate
# install dependencies
brew install python@3.11
brew link python@3.11
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
python3 -m pip install -e ./
# format
black *py
black commands/*py
# clean after code dev
deactivate
make clean
Install
# installer option
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/nimble-technology/nimble-cli/main/scripts/install.sh)"
# pip install option
$ pip3 install nimcli
# test install from command line
# usage: nimcli <command> <command args>
# commands:
# subnets (s, subnet) - Commands for managing and viewing subnetworks.
# root (r, roots) - Commands for managing and viewing the root network.
# wallet (w, wallets) - Commands for managing and viewing wallets.
# stake (st, stakes) - Commands for staking and removing stake from hotkey accounts.
# sudo (su, sudos) - Commands for subnet management.
# legacy (l) - Miscellaneous commands.
# test install
$ nimcli --help
Wallet CLI as an Example
Each wallet has a coldkey. Each coldkey may contain multiple hotkeys and each hotkey belong to a single coldkey. Coldkeys are for secure fund management like transfer, staking, and fund storage. Hotkeys are for all online operations like signing, mining and validating.
# use nimcli with wallet subcommand or alias w.
$ nimcli wallet new_coldkey
$ nimcli wallet new_hotkey
$ nimcli wallet regen_coldkey --mnemonic **** *** **** **** ***** **** *** **** **** **** ***** *****
# keys are available here: ~/.nimble/wallets
$ nimcli wallet list
# more commands
$ nimcli wallet list
$ nimcli wallet transfer
Release (Core Contributors Only)
Run the following command to create dist folder
python setup.py sdist
Then use the following command to publish to pypi
twine upload dist/nim-cli-{version}.tar.gz
Metadata
Release files for nimcli 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nimcli-0.0.9.tar.gz | 45.5 kB | Without provenance | Details for nimcli-0.0.9.tar.gz |
Release files / nimcli-0.0.9.tar.gz
| Download URL | nimcli-0.0.9.tar.gz |
|---|---|
| Size | 45.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7188ba03f9943c71d236c334923ce1f11d71bc9fec6b5ee1454199468ca5289
|
|
BLAKE2b-256 checksum How to use checksums |
79b8b496b8de1be2a771d07c81f04a459d9f28d362a6f8b811a77a1a14dbbacf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.1
|
Security for nimcli 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.