cardano-cli
Project description
GOV CLI
Cli wrapper on top of cardano-cli for governance actions on cardano blockchain
Features
- Key generation auto loading of required keys when making transactions
- Automatic transaction balancing
- Automatic query of deposits and collateral
- Automatic query of prev-gov-action and gov-action deposit
- Automatic query of constitution guardrail-script and use in proposals.
Tutorial : Quick Start with Gov-Cli
Env Variables
Environment Variable | Description | Possible Values |
---|---|---|
CARDANO_NODE_SOCKET_PATH |
Node's socket path | (e.g., path to the socket file) |
NETWORK |
Cardano network | 1 , 2 , 3 , 4 , mainnet , preprod , sancho , preview |
KEYS_DIR |
Where keys are generated and stored | $HOME/.cardano/key |
LOG_CLI |
Show commands executed in CLI | yes , no , false |
Installation
$ pip install gov-cli
$ gov-cli help
Usage:
gov-cli <command> [*options]
Available commands:
ls -> list proposed gov-actions
tip -> show blockchain tip
wallet -> show wallet info
balance -> print wallet balance
gen [wallet|drep|cc]
guardrail load <gurdrail-script-file-path>
register <stake|drep|cc>
delegate <abstain|no-confidence|self|<drep_id>>
propose <proposal_type> [*proposal-related_cli_args]
vote <drep|cc> <gov-action-tx#index> [yes|no]
tx [script] [*cli-args]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gov-cli-1.0.tar.gz
(9.3 kB
view details)
Built Distribution
gov_cli-1.0-py3-none-any.whl
(9.2 kB
view details)
File details
Details for the file gov-cli-1.0.tar.gz
.
File metadata
- Download URL: gov-cli-1.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9240a7e0e8ee7ef16b1aaf63efeb829461ced2a2bc267435de637df9f1502c7 |
|
MD5 | 54dc15f14a157ce72934ce65e704ed52 |
|
BLAKE2b-256 | 4dc2b9520b2ad4a1b9b34279743c9717af3c4ea0e80f8bcd69d85fe3d3d88d03 |
File details
Details for the file gov_cli-1.0-py3-none-any.whl
.
File metadata
- Download URL: gov_cli-1.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1df46fbbf9074fd92b1e51aed4910f5c0a87a72c0149acca68da8ea2da3952cf |
|
MD5 | 25d9f81a9370ce9deffb472c81128df8 |
|
BLAKE2b-256 | b01eca5042f2130c8eb983ba392ab91394b0c1c82026a416f89318c70e4e16ff |