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]
Metadata
Release files for gov-cli 1.0
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 |
|---|---|---|---|---|
| gov-cli-1.0.tar.gz | 9.3 kB | Without provenance | Details for gov-cli-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gov_cli-1.0-py3-none-any.whl | Python 3 | none | any | Details for gov_cli-1.0-py3-none-any.whl |
Total release size: 18.5 kB
Release files / gov-cli-1.0.tar.gz
| Download URL | gov-cli-1.0.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9240a7e0e8ee7ef16b1aaf63efeb829461ced2a2bc267435de637df9f1502c7
|
|
BLAKE2b-256 checksum How to use checksums |
4dc2b9520b2ad4a1b9b34279743c9717af3c4ea0e80f8bcd69d85fe3d3d88d03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / gov_cli-1.0-py3-none-any.whl
| Download URL | gov_cli-1.0-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1df46fbbf9074fd92b1e51aed4910f5c0a87a72c0149acca68da8ea2da3952cf
|
|
BLAKE2b-256 checksum How to use checksums |
b01eca5042f2130c8eb983ba392ab91394b0c1c82026a416f89318c70e4e16ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Security for gov-cli 1.0
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.