Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

cardanoapi/gov-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

15 Commits

Repository files navigation

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 [*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

register
delegate >
propose [*proposal-related_cli_args]
vote [yes|no]

tx [script] [*cli-args]

About

Command line utility to work with Cardano governance

Topics

Resources

Readme

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors