Metadata-Version: 2.1
Name: gov-cli
Version: 1.0
Summary: cardano-cli 
Home-page: https://github.com/cardanoapi/gov-cli
Author: Sudip Bhattarai
Author-email: sudip@sireto.io
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.0
Description-Content-Type: text/markdown

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](https://cardanoapi.github.io/gov-cli/docs/intro)

### 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]   
```


