From c0fd909df2df499ba653e9db6d22cc1c6f40e08c Mon Sep 17 00:00:00 2001 From: Jordan Millar Date: Thu, 19 Sep 2024 17:18:19 -0400 Subject: [PATCH] New golden files --- .../cardano-cli-golden/files/golden/help.cli | 3879 +++++++++-------- .../files/golden/help/address.cli | 2 +- .../files/golden/help/genesis.cli | 4 +- .../golden/help/genesis_create-cardano.cli | 21 +- .../golden/help/genesis_create-staked.cli | 24 +- .../help/genesis_create-testnet-data.cli | 66 + .../files/golden/help/genesis_create.cli | 21 +- .../files/golden/help/governance.cli | 23 +- .../files/golden/help/governance_action.cli | 27 + .../governance_action_create-constitution.cli | 49 + .../governance_action_create-hardfork.cli | 52 + .../help/governance_action_create-info.cli | 35 + ...governance_action_create-no-confidence.cli | 43 + ...tion_create-protocol-parameters-update.cli | 205 + ...ance_action_create-treasury-withdrawal.cli | 54 + .../governance_action_update-committee.cli | 74 + .../golden/help/governance_action_view.cli | 13 + .../golden/help/governance_committee.cli | 25 + ...reate-cold-key-resignation-certificate.cli | 33 + ...eate-hot-key-authorization-certificate.cli | 42 + .../governance_committee_key-gen-cold.cli | 12 + .../help/governance_committee_key-gen-hot.cli | 11 + .../help/governance_committee_key-hash.cli | 15 + .../files/golden/help/governance_drep.cli | 22 + .../files/golden/help/governance_drep_id.cli | 18 + .../golden/help/governance_drep_key-gen.cli | 11 + .../help/governance_drep_metadata-hash.cli | 10 + ...vernance_drep_registration-certificate.cli | 29 + ...governance_drep_retirement-certificate.cli | 24 + .../governance_drep_update-certificate.cli | 26 + .../files/golden/help/governance_vote.cli | 10 + .../golden/help/governance_vote_create.cli | 54 + .../golden/help/governance_vote_view.cli | 13 + .../files/golden/help/key.cli | 2 +- .../files/golden/help/latest_governance.cli | 19 +- .../golden/help/latest_governance_action.cli | 27 + ..._governance_action_create-constitution.cli | 52 + ...test_governance_action_create-hardfork.cli | 55 + .../latest_governance_action_create-info.cli | 35 + ...governance_action_create-no-confidence.cli | 43 + ...tion_create-protocol-parameters-update.cli | 141 +- ...ance_action_create-treasury-withdrawal.cli | 54 + ...est_governance_action_update-committee.cli | 77 + .../help/latest_governance_action_view.cli | 15 + .../help/latest_governance_committee.cli | 25 + ...reate-cold-key-resignation-certificate.cli | 33 + ...eate-hot-key-authorization-certificate.cli | 42 + ...test_governance_committee_key-gen-cold.cli | 12 + ...atest_governance_committee_key-gen-hot.cli | 11 + .../latest_governance_committee_key-hash.cli | 15 + .../golden/help/latest_governance_drep.cli | 22 + .../golden/help/latest_governance_drep_id.cli | 18 + .../help/latest_governance_drep_key-gen.cli | 11 + .../latest_governance_drep_metadata-hash.cli | 10 + ...vernance_drep_registration-certificate.cli | 29 + ...governance_drep_retirement-certificate.cli | 24 + ...est_governance_drep_update-certificate.cli | 26 + .../golden/help/latest_governance_vote.cli | 10 + .../help/latest_governance_vote_create.cli | 54 + .../help/latest_governance_vote_view.cli | 13 + .../files/golden/help/latest_query.cli | 14 + .../help/latest_query_committee-state.cli | 64 + .../golden/help/latest_query_constitution.cli | 32 + .../latest_query_drep-stake-distribution.cli | 50 + .../golden/help/latest_query_drep-state.cli | 53 + .../golden/help/latest_query_gov-state.cli | 30 + .../help/latest_query_kes-period-info.cli | 6 + .../help/latest_query_leadership-schedule.cli | 6 + .../golden/help/latest_query_ledger-state.cli | 6 + .../golden/help/latest_query_pool-params.cli | 4 + .../golden/help/latest_query_pool-state.cli | 4 + .../help/latest_query_protocol-state.cli | 6 + .../help/latest_query_ref-script-size.cli | 6 + .../golden/help/latest_query_slot-number.cli | 4 + .../latest_query_spo-stake-distribution.cli | 46 + .../help/latest_query_stake-address-info.cli | 6 + .../help/latest_query_stake-distribution.cli | 6 + .../golden/help/latest_query_stake-pools.cli | 4 + .../help/latest_query_stake-snapshot.cli | 6 + .../files/golden/help/latest_query_tip.cli | 4 + .../golden/help/latest_query_treasury.cli | 28 + .../files/golden/help/latest_query_utxo.cli | 4 + .../golden/help/latest_stake-address.cli | 10 + ...ake-address_deregistration-certificate.cli | 3 + ...stake-address_registration-certificate.cli | 3 + ..._stake-and-vote-delegation-certificate.cli | 51 + ...ke-address_vote-delegation-certificate.cli | 40 + .../latest_transaction_build-estimate.cli | 112 +- .../help/latest_transaction_build-raw.cli | 112 +- .../golden/help/latest_transaction_build.cli | 95 +- .../files/golden/help/legacy_governance.cli | 6 - .../files/golden/help/node.cli | 2 +- .../files/golden/help/query.cli | 17 + .../golden/help/query_committee-state.cli | 60 + .../files/golden/help/query_constitution.cli | 27 + .../help/query_drep-stake-distribution.cli | 49 + .../files/golden/help/query_drep-state.cli | 50 + .../files/golden/help/query_gov-state.cli | 27 + .../golden/help/query_kes-period-info.cli | 4 + .../golden/help/query_leadership-schedule.cli | 6 + .../files/golden/help/query_ledger-state.cli | 4 + .../files/golden/help/query_pool-params.cli | 4 + .../files/golden/help/query_pool-state.cli | 4 + .../golden/help/query_protocol-state.cli | 4 + .../golden/help/query_ref-script-size.cli | 36 + .../files/golden/help/query_slot-number.cli | 4 + .../help/query_spo-stake-distribution.cli | 46 + .../golden/help/query_stake-address-info.cli | 4 + .../golden/help/query_stake-distribution.cli | 4 + .../files/golden/help/query_stake-pools.cli | 4 + .../golden/help/query_stake-snapshot.cli | 4 + .../files/golden/help/query_tip.cli | 4 + .../files/golden/help/query_treasury.cli | 27 + .../files/golden/help/query_utxo.cli | 4 + .../files/golden/help/stake-address.cli | 23 +- ...ake-address_deregistration-certificate.cli | 20 +- .../golden/help/stake-address_key-hash.cli | 2 +- ...stake-address_registration-certificate.cli | 20 +- ..._stake-and-vote-delegation-certificate.cli | 51 + ...e-address_stake-delegation-certificate.cli | 34 + ...ke-address_vote-delegation-certificate.cli | 40 + .../files/golden/help/stake-pool.cli | 2 +- .../stake-pool_deregistration-certificate.cli | 18 - .../stake-pool_registration-certificate.cli | 18 - .../files/golden/help/transaction.cli | 6 +- .../help/transaction_build-estimate.cli | 514 +++ .../golden/help/transaction_build-raw.cli | 126 +- .../files/golden/help/transaction_build.cli | 19 - ...ransaction_calculate-min-required-utxo.cli | 21 +- .../help/transaction_calculate-min-value.cli | 21 +- 130 files changed, 5750 insertions(+), 2223 deletions(-) create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-testnet-data.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-constitution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-hardfork.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-info.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-no-confidence.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-protocol-parameters-update.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-treasury-withdrawal.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_update-committee.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_view.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-cold-key-resignation-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-hot-key-authorization-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-cold.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-hot.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-hash.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_id.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_key-gen.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_metadata-hash.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_registration-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_retirement-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_update-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_create.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_view.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-info.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-treasury-withdrawal.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_update-committee.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_view.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-hot-key-authorization-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-hash.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_metadata-hash.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_spo-stake-distribution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_vote-delegation-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_committee-state.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_constitution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-stake-distribution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-state.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_gov-state.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_ref-script-size.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_spo-stake-distribution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_treasury.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-and-vote-delegation-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-delegation-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_vote-delegation-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-estimate.cli diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli index e3a2f0eb8b..a114298700 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -6,8 +6,17 @@ Usage: cardano-cli | babbage | conway | latest + | address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction | legacy - | Legacy commands | byron | hash | ping @@ -8594,76 +8603,126 @@ Usage: cardano-cli latest genesis hash --genesis FILEPATH Compute the hash of a genesis file -Usage: cardano-cli latest governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - | create-poll - | answer-poll - | verify-poll - ) +Usage: cardano-cli latest governance (action | committee | drep | vote) Governance commands. -Usage: cardano-cli latest governance create-mir-certificate - ( ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - | stake-addresses - | transfer-to-treasury - | transfer-to-rewards - ) - - Create an MIR (Move Instantaneous Rewards) certificate - -Usage: cardano-cli latest governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli latest governance action + ( create-constitution + | update-committee + | create-info + | create-no-confidence + | create-protocol-parameters-update + | create-treasury-withdrawal + | create-hardfork + | view + ) - Create an MIR certificate to pay stake addresses + Governance action commands. -Usage: cardano-cli latest governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli latest governance action create-constitution + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + --constitution-url TEXT + --constitution-hash HASH + [--constitution-script-hash HASH] + --out-file FILEPATH - Create an MIR certificate to transfer from the reserves pot to the treasury - pot + Create a constitution. -Usage: cardano-cli latest governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli latest governance action update-committee + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [ --remove-cc-cold-verification-key STRING + | --remove-cc-cold-verification-key-file FILEPATH + | --remove-cc-cold-verification-key-hash STRING + | --remove-cc-cold-script-hash HASH + ] + [ + ( --add-cc-cold-verification-key STRING + | --add-cc-cold-verification-key-file FILEPATH + | --add-cc-cold-verification-key-hash STRING + | --add-cc-cold-script-hash HASH + ) + --epoch NATURAL] + --threshold RATIONAL + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH - Create an MIR certificate to transfer from the treasury pot to the reserves - pot + Create or update a new committee proposal. -Usage: cardano-cli latest governance create-genesis-key-delegation-certificate - ( --genesis-verification-key STRING - | --genesis-verification-key-file FILEPATH - | --genesis-verification-key-hash STRING - ) - ( --genesis-delegate-verification-key STRING - | --genesis-delegate-verification-key-file FILEPATH - | --genesis-delegate-verification-key-hash STRING - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - | --vrf-verification-key-hash STRING - ) - --out-file FILEPATH +Usage: cardano-cli latest governance action create-info (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + --out-file FILEPATH - Create a genesis key delegation certificate + Create an info action. -Usage: cardano-cli latest governance action create-protocol-parameters-update +Usage: cardano-cli latest governance action create-no-confidence + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH - Governance action commands. + Create a no confidence proposal. -Usage: cardano-cli latest governance action create-protocol-parameters-update --epoch NATURAL - (--genesis-verification-key-file FILEPATH) +Usage: cardano-cli latest governance action create-protocol-parameters-update + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + [--constitution-script-hash HASH] [--min-fee-linear LOVELACE] [--min-fee-constant LOVELACE] [--max-block-body-size WORD32] @@ -8684,63 +8743,272 @@ Usage: cardano-cli latest governance action create-protocol-parameters-update -- [--max-value-size INT] [--collateral-percent INT] [--max-collateral-inputs INT] - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] [--utxo-cost-per-byte LOVELACE] + [--pool-voting-threshold-motion-no-confidence RATIONAL + --pool-voting-threshold-committee-normal RATIONAL + --pool-voting-threshold-committee-no-confidence RATIONAL + --pool-voting-threshold-hard-fork-initiation RATIONAL + --pool-voting-threshold-pp-security-group RATIONAL] + [--drep-voting-threshold-motion-no-confidence RATIONAL + --drep-voting-threshold-committee-normal RATIONAL + --drep-voting-threshold-committee-no-confidence RATIONAL + --drep-voting-threshold-update-to-constitution RATIONAL + --drep-voting-threshold-hard-fork-initiation RATIONAL + --drep-voting-threshold-pp-network-group RATIONAL + --drep-voting-threshold-pp-economic-group RATIONAL + --drep-voting-threshold-pp-technical-group RATIONAL + --drep-voting-threshold-pp-governance-group RATIONAL + --drep-voting-threshold-treasury-withdrawal RATIONAL] + [--min-committee-size INT] + [--committee-term-length WORD32] + [--governance-action-lifetime WORD32] + [--new-governance-action-deposit NATURAL] + [--drep-deposit LOVELACE] + [--drep-activity WORD32] + [--ref-script-cost-per-byte RATIONAL] [--cost-model-file FILE] --out-file FILEPATH Create a protocol parameters update. -Usage: cardano-cli latest governance create-poll --question STRING - (--answer STRING) - [--nonce UINT] - --out-file FILEPATH +Usage: cardano-cli latest governance action create-treasury-withdrawal + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + ( + ( --funds-receiving-stake-verification-key STRING + | --funds-receiving-stake-verification-key-file FILEPATH + | --funds-receiving-stake-key-hash HASH + ) + --transfer LOVELACE) + [--constitution-script-hash HASH] + --out-file FILEPATH - Create an SPO poll + Create a treasury withdrawal. -Usage: cardano-cli latest governance answer-poll --poll-file FILEPATH - [--answer INT] - [--out-file FILEPATH] +Usage: cardano-cli latest governance action create-hardfork + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + --protocol-major-version MAJOR + --protocol-minor-version MINOR + --out-file FILEPATH - Answer an SPO poll + Create a hardfork initiation proposal. -Usage: cardano-cli latest governance verify-poll --poll-file FILEPATH - --tx-file FILEPATH +Usage: cardano-cli latest governance action view --action-file FILEPATH + [ --output-json + | --output-yaml + ] [--out-file FILEPATH] - Verify an answer to a given SPO poll + View a governance action. -Usage: cardano-cli latest node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli latest governance committee + ( key-gen-cold + | key-gen-hot + | key-hash + | create-hot-key-authorization-certificate + | create-cold-key-resignation-certificate + ) - Node operation commands. + Committee member commands. -Usage: cardano-cli latest node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli latest governance committee key-gen-cold + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH - Create a key pair for a node operator's offline key and a new certificate - issue counter + Create a cold key pair for a Constitutional Committee Member -Usage: cardano-cli latest node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli latest governance committee key-gen-hot --verification-key-file FILEPATH + --signing-key-file FILEPATH - Create a key pair for a node KES operational key + Create a hot key pair for a Constitutional Committee Member -Usage: cardano-cli latest node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli latest governance committee key-hash + ( --verification-key STRING + | --verification-key-file FILEPATH + ) - Create a key pair for a node VRF operational key + Print the identifier (hash) of a public key + +Usage: cardano-cli latest governance committee create-hot-key-authorization-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + ( --hot-verification-key STRING + | --hot-verification-key-file FILEPATH + | --hot-verification-key-hash STRING + | --hot-script-hash HASH + | --hot-script-file FILEPATH + ) + --out-file FILEPATH + + Create hot key authorization certificate for a Constitutional Committee Member + +Usage: cardano-cli latest governance committee create-cold-key-resignation-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + [--resignation-metadata-url TEXT + --resignation-metadata-hash HASH] + --out-file FILEPATH + + Create cold key resignation certificate for a Constitutional Committee Member + +Usage: cardano-cli latest governance drep + ( key-gen + | id + | registration-certificate + | retirement-certificate + | update-certificate + | metadata-hash + ) + + DRep member commands. + +Usage: cardano-cli latest governance drep key-gen --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Generate Delegated Representative verification and signing keys. + +Usage: cardano-cli latest governance drep id + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] + + Generate a drep id. + +Usage: cardano-cli latest governance drep registration-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --key-reg-deposit-amt NATURAL + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH + + Create a registration certificate. + +Usage: cardano-cli latest governance drep retirement-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --deposit-amt LOVELACE + --out-file FILEPATH + + Create a DRep retirement certificate. + +Usage: cardano-cli latest governance drep update-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH + + Create a DRep update certificate. + +Usage: cardano-cli latest governance drep metadata-hash --drep-metadata-file FILEPATH + [--out-file FILEPATH] + + Calculate the hash of a metadata file. + +Usage: cardano-cli latest governance vote (create | view) + + Vote commands. + +Usage: cardano-cli latest governance vote create (--yes | --no | --abstain) + --governance-action-tx-id TXID + --governance-action-index WORD16 + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --drep-script-hash HASH + | --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + | --cc-hot-verification-key STRING + | --cc-hot-verification-key-file FILEPATH + | --cc-hot-key-hash STRING + | --cc-hot-script-hash HASH + ) + [--anchor-url TEXT + --anchor-data-hash HASH] + --out-file FILEPATH + + Vote creation. + +Usage: cardano-cli latest governance vote view [--output-json | --output-yaml] + --vote-file FILEPATH + [--out-file FILEPATH] + + Vote viewing. + +Usage: cardano-cli latest node + ( key-gen + | key-gen-KES + | key-gen-VRF + | key-hash-VRF + | new-counter + | issue-op-cert + ) + + Node operation commands. + +Usage: cardano-cli latest node key-gen [--key-output-format STRING] + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH + + Create a key pair for a node operator's offline key and a new certificate + issue counter + +Usage: cardano-cli latest node key-gen-KES [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a key pair for a node KES operational key + +Usage: cardano-cli latest node key-gen-VRF [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a key pair for a node VRF operational key Usage: cardano-cli latest node key-hash-VRF ( --verification-key STRING @@ -8787,6 +9055,13 @@ Usage: cardano-cli latest query | tx-mempool | slot-number | ref-script-size + | constitution + | gov-state + | drep-state + | drep-stake-distribution + | spo-stake-distribution + | committee-state + | treasury ) Node query commands. Will query the local node whose Unix domain socket is @@ -8805,6 +9080,7 @@ Usage: cardano-cli latest query protocol-parameters --socket-path SOCKET_PATH Usage: cardano-cli latest query tip --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) @@ -8815,6 +9091,7 @@ Usage: cardano-cli latest query stake-pools --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [--volatile-tip | --immutable-tip] [--output-json | --output-text] [--out-file FILEPATH] @@ -8826,6 +9103,9 @@ Usage: cardano-cli latest query stake-distribution --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [ --volatile-tip + | --immutable-tip + ] [ --output-json | --output-text ] @@ -8840,6 +9120,9 @@ Usage: cardano-cli latest query stake-address-info --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. @@ -8851,6 +9134,7 @@ Usage: cardano-cli latest query utxo --socket-path SOCKET_PATH | (--tx-in TX-IN) ) (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--output-json | --output-text] [--out-file FILEPATH] @@ -8862,6 +9146,9 @@ Usage: cardano-cli latest query ledger-state --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Dump the current ledger state of the node (Ledger.NewEpochState -- advanced @@ -8873,6 +9160,9 @@ Usage: cardano-cli latest query protocol-state --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced @@ -8887,6 +9177,9 @@ Usage: cardano-cli latest query stake-snapshot --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Obtain the three stake snapshots for a pool, plus the total active stake @@ -8901,6 +9194,7 @@ Usage: cardano-cli latest query pool-params --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] DEPRECATED. Use query pool-state instead. Dump the pool parameters @@ -8920,6 +9214,9 @@ Usage: cardano-cli latest query leadership-schedule --socket-path SOCKET_PATH ) --vrf-signing-key-file FILEPATH (--current | --next) + [ --volatile-tip + | --immutable-tip + ] [ --output-json | --output-text ] @@ -8934,6 +9231,9 @@ Usage: cardano-cli latest query kes-period-info --socket-path SOCKET_PATH | --testnet-magic NATURAL ) --op-cert-file FILEPATH + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Get information about the current KES period and your node's operational @@ -8948,6 +9248,7 @@ Usage: cardano-cli latest query pool-state --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Dump the pool state @@ -8981,6 +9282,7 @@ Usage: cardano-cli latest query slot-number --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [--volatile-tip | --immutable-tip] TIMESTAMP Query slot number for UTC timestamp @@ -8992,6 +9294,9 @@ Usage: cardano-cli latest query ref-script-size --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [ --volatile-tip + | --immutable-tip + ] [ --output-json | --output-text ] @@ -9000,51 +9305,176 @@ Usage: cardano-cli latest query ref-script-size --socket-path SOCKET_PATH Calculate the reference input scripts size in bytes for provided transaction inputs. -Usage: cardano-cli latest stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate - ) - - Stake address commands. - -Usage: cardano-cli latest stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli latest query constitution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] - Create a stake address key pair + Get the constitution -Usage: cardano-cli latest stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli latest query gov-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] - Print the hash of a stake address key + Get the governance state -Usage: cardano-cli latest stake-address build - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - ) - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli latest query drep-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [--include-stake] + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] - Build a stake address + Get the DRep state. -Usage: cardano-cli latest stake-address registration-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH +Usage: cardano-cli latest query drep-stake-distribution + --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the DRep stake distribution. + +Usage: cardano-cli latest query spo-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-spos + | + ( --spo-verification-key STRING + | --spo-verification-key-file FILEPATH + | --spo-key-hash HASH + ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the SPO stake distribution. + +Usage: cardano-cli latest query committee-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + ] + [ --hot-key STRING + | --hot-key-file FILEPATH + | --hot-key-hash STRING + | --hot-script-hash HASH + ] + [ --active + | --expired + | --unrecognized + ] + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the committee state + +Usage: cardano-cli latest query treasury --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the treasury value + +Usage: cardano-cli latest stake-address + ( key-gen + | key-hash + | build + | registration-certificate + | deregistration-certificate + | stake-delegation-certificate + | stake-and-vote-delegation-certificate + | vote-delegation-certificate + ) + + Stake address commands. + +Usage: cardano-cli latest stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a stake address key pair + +Usage: cardano-cli latest stake-address key-hash + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + ) + [--out-file FILEPATH] + + Print the hash of a stake address key + +Usage: cardano-cli latest stake-address build + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + ) + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] + + Build a stake address + +Usage: cardano-cli latest stake-address registration-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH | --stake-address ADDRESS ) + --key-reg-deposit-amt NATURAL --out-file FILEPATH Create a stake address registration certificate @@ -9056,6 +9486,7 @@ Usage: cardano-cli latest stake-address deregistration-certificate | --stake-script-file FILEPATH | --stake-address ADDRESS ) + --key-reg-deposit-amt NATURAL --out-file FILEPATH Create a stake address deregistration certificate @@ -9076,6 +9507,48 @@ Usage: cardano-cli latest stake-address stake-delegation-certificate Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. +Usage: cardano-cli latest stake-address stake-and-vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH + + Create a stake address stake and vote delegation certificate, which when + submitted in a transaction delegates stake to a stake pool and a DRep. + +Usage: cardano-cli latest stake-address vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH + + Create a stake address vote delegation certificate, which when submitted in a + transaction delegates stake to a DRep. + Usage: cardano-cli latest stake-pool ( registration-certificate | deregistration-certificate @@ -9177,11 +9650,11 @@ Usage: cardano-cli latest transaction build-raw ( --spending-plutus-script-v2 | --spending-plutus-script-v3 ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE | --spending-reference-tx-in-datum-file JSON_FILE | --spending-reference-tx-in-datum-value JSON_VALUE | --spending-reference-tx-in-inline-datum-present - ) + ] ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | --spending-reference-tx-in-redeemer-file JSON_FILE | --spending-reference-tx-in-redeemer-value JSON_VALUE @@ -9190,11 +9663,11 @@ Usage: cardano-cli latest transaction build-raw | --simple-script-tx-in-reference TX-IN | --tx-in-script-file FILEPATH [ - ( --tx-in-datum-cbor-file CBOR_FILE + [ --tx-in-datum-cbor-file CBOR_FILE | --tx-in-datum-file JSON_FILE | --tx-in-datum-value JSON_VALUE | --tx-in-inline-datum-present - ) + ] ( --tx-in-redeemer-cbor-file CBOR_FILE | --tx-in-redeemer-file JSON_FILE | --tx-in-redeemer-value JSON_VALUE @@ -9289,7 +9762,40 @@ Usage: cardano-cli latest transaction build-raw | --metadata-cbor-file FILEPATH ] [--protocol-params-file FILEPATH] - [--update-proposal-file FILEPATH] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] --out-file FILEPATH Build a transaction (low-level, inconvenient) @@ -9311,11 +9817,11 @@ Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH ( --spending-plutus-script-v2 | --spending-plutus-script-v3 ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE | --spending-reference-tx-in-datum-file JSON_FILE | --spending-reference-tx-in-datum-value JSON_VALUE | --spending-reference-tx-in-inline-datum-present - ) + ] ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | --spending-reference-tx-in-redeemer-file JSON_FILE | --spending-reference-tx-in-redeemer-value JSON_VALUE @@ -9323,11 +9829,11 @@ Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH | --simple-script-tx-in-reference TX-IN | --tx-in-script-file FILEPATH [ - ( --tx-in-datum-cbor-file CBOR_FILE + [ --tx-in-datum-cbor-file CBOR_FILE | --tx-in-datum-file JSON_FILE | --tx-in-datum-value JSON_VALUE | --tx-in-inline-datum-present - ) + ] ( --tx-in-redeemer-cbor-file CBOR_FILE | --tx-in-redeemer-file JSON_FILE | --tx-in-redeemer-value JSON_VALUE @@ -9411,7 +9917,33 @@ Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH [ --metadata-json-file FILEPATH | --metadata-cbor-file FILEPATH ] - [--update-proposal-file FILEPATH] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--treasury-donation LOVELACE] ( --out-file FILEPATH | --calculate-plutus-script-cost FILEPATH ) @@ -9433,11 +9965,11 @@ Usage: cardano-cli latest transaction build-estimate ( --spending-plutus-script-v2 | --spending-plutus-script-v3 ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE | --spending-reference-tx-in-datum-file JSON_FILE | --spending-reference-tx-in-datum-value JSON_VALUE | --spending-reference-tx-in-inline-datum-present - ) + ] ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | --spending-reference-tx-in-redeemer-file JSON_FILE | --spending-reference-tx-in-redeemer-value JSON_VALUE @@ -9446,11 +9978,11 @@ Usage: cardano-cli latest transaction build-estimate | --simple-script-tx-in-reference TX-IN | --tx-in-script-file FILEPATH [ - ( --tx-in-datum-cbor-file CBOR_FILE + [ --tx-in-datum-cbor-file CBOR_FILE | --tx-in-datum-file JSON_FILE | --tx-in-datum-value JSON_VALUE | --tx-in-inline-datum-present - ) + ] ( --tx-in-redeemer-cbor-file CBOR_FILE | --tx-in-redeemer-file JSON_FILE | --tx-in-redeemer-value JSON_VALUE @@ -9546,14 +10078,47 @@ Usage: cardano-cli latest transaction build-estimate [ --metadata-json-file FILEPATH | --metadata-cbor-file FILEPATH ] - [--update-proposal-file FILEPATH] - --out-file FILEPATH - - Build a balanced transaction without access to a live node (automatically estimates fees) - - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli latest transaction sign + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] + --out-file FILEPATH + + Build a balanced transaction without access to a live node (automatically estimates fees) + + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + +Usage: cardano-cli latest transaction sign ( --tx-body-file FILEPATH | --tx-file FILEPATH ) @@ -9673,1613 +10238,683 @@ Usage: cardano-cli latest transaction view This command has been removed. Please use "debug transaction view" instead. -Usage: cardano-cli legacy Legacy commands +Usage: cardano-cli address (key-gen | key-hash | build | info) - Legacy commands - DEPRECATED - will be removed in the future + Payment address commands. -Usage: cardano-cli legacy text-view decode-cbor +Usage: cardano-cli address key-gen [--key-output-format STRING] + [ --normal-key + | --extended-key + | --byron-key + ] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + Create an address key pair. -Usage: cardano-cli legacy text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli address key-hash + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + ) + [--out-file FILEPATH] - Print a TextView file as decoded CBOR. + Print the hash of an address key. -Usage: cardano-cli legacy governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | create-update-proposal - | create-poll - | answer-poll - | verify-poll - ) +Usage: cardano-cli address build + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + | --payment-script-file FILEPATH + ) + [ --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] - Governance commands + Build a Shelley payment address, with optional delegation to a stake address. -Usage: cardano-cli legacy governance create-mir-certificate - ( [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - | stake-addresses - | transfer-to-treasury - | transfer-to-rewards - ) +Usage: cardano-cli address info --address ADDRESS [--out-file FILEPATH] - Create an MIR (Move Instantaneous Rewards) certificate + Print information about an address. -Usage: cardano-cli legacy governance create-mir-certificate stake-addresses - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli key + ( verification-key + | non-extended-key + | convert-byron-key + | convert-byron-genesis-vkey + | convert-itn-key + | convert-itn-extended-key + | convert-itn-bip32-key + | convert-cardano-address-key + ) - Create an MIR certificate to pay stake addresses + Key utility commands. -Usage: cardano-cli legacy governance create-mir-certificate transfer-to-treasury - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH - Create an MIR certificate to transfer from the reserves pot to the treasury - pot + Get a verification key from a signing key. This supports all key types. -Usage: cardano-cli legacy governance create-mir-certificate transfer-to-rewards - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli key non-extended-key --extended-verification-key-file FILEPATH + --verification-key-file FILEPATH - Create an MIR certificate to transfer from the treasury pot to the reserves - pot + Get a non-extended verification key from an extended verification key. This + supports all extended key types. -Usage: cardano-cli legacy governance create-genesis-key-delegation-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --genesis-verification-key STRING - | --genesis-verification-key-file FILEPATH - | --genesis-verification-key-hash STRING - ) - ( --genesis-delegate-verification-key STRING - | --genesis-delegate-verification-key-file FILEPATH - | --genesis-delegate-verification-key-hash STRING - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - | --vrf-verification-key-hash STRING - ) - --out-file FILEPATH +Usage: cardano-cli key convert-byron-key [--password TEXT] + ( --byron-payment-key-type + | --legacy-byron-payment-key-type + | --byron-genesis-key-type + | --legacy-byron-genesis-key-type + | --byron-genesis-delegate-key-type + | --legacy-byron-genesis-delegate-key-type + ) + ( --byron-signing-key-file FILEPATH + | --byron-verification-key-file FILEPATH + ) + --out-file FILEPATH - Create a genesis key delegation certificate + Convert a Byron payment, genesis or genesis delegate key (signing or + verification) to a corresponding Shelley-format key. -Usage: cardano-cli legacy governance create-update-proposal --out-file FILEPATH - --epoch NATURAL - (--genesis-verification-key-file FILEPATH) - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] - [--decentralization-parameter RATIONAL] - [ --extra-entropy HEX - | --reset-extra-entropy - ] - [--max-block-header-size WORD16] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--min-fee-constant LOVELACE] - [--min-fee-linear LOVELACE] - [--min-utxo-value NATURAL] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--min-pool-cost NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--monetary-expansion RATIONAL] - [--treasury-expansion RATIONAL] - [--price-execution-steps RATIONAL - --price-execution-memory RATIONAL] - [--max-tx-execution-units (INT, INT)] - [--max-block-execution-units (INT, INT)] - [--max-value-size INT] - [--collateral-percent INT] - [--max-collateral-inputs INT] - [--utxo-cost-per-byte LOVELACE] - [--cost-model-file FILE] +Usage: cardano-cli key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 + --out-file FILEPATH - Create an update proposal + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis + verification key -Usage: cardano-cli legacy governance create-poll --question STRING - (--answer STRING) - [--nonce UINT] - --out-file FILEPATH +Usage: cardano-cli key convert-itn-key + ( --itn-signing-key-file FILEPATH + | --itn-verification-key-file FILEPATH + ) + --out-file FILEPATH - Create an SPO poll + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or + verification key to a corresponding Shelley stake key -Usage: cardano-cli legacy governance answer-poll --poll-file FILEPATH - [--answer INT] - [--out-file FILEPATH] +Usage: cardano-cli key convert-itn-extended-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Answer an SPO poll + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key + to a corresponding Shelley stake signing key -Usage: cardano-cli legacy governance verify-poll --poll-file FILEPATH - --tx-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli key convert-itn-bip32-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Verify an answer to a given SPO poll + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a + corresponding Shelley stake signing key -Usage: cardano-cli legacy genesis - ( key-gen-genesis - | key-gen-delegate - | key-gen-utxo - | key-hash - | get-ver-key - | initial-addr - | initial-txin - | create-cardano - | create - | create-staked - | hash - ) +Usage: cardano-cli key convert-cardano-address-key + ( --cc-cold-key + | --cc-hot-key + | --drep-key + | --shelley-payment-key + | --shelley-stake-key + | --icarus-payment-key + | --byron-payment-key + ) + --signing-key-file FILEPATH + --out-file FILEPATH - Genesis block commands + Convert a cardano-address extended signing key to a corresponding + Shelley-format key. -Usage: cardano-cli legacy genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli genesis + ( key-gen-genesis + | key-gen-delegate + | key-gen-utxo + | key-hash + | get-ver-key + | initial-addr + | initial-txin + | create-cardano + | create + | create-staked + | create-testnet-data + | hash + ) + + Genesis block commands. + +Usage: cardano-cli genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair -Usage: cardano-cli legacy genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH Create a Shelley genesis delegate key pair -Usage: cardano-cli legacy genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair -Usage: cardano-cli legacy genesis key-hash --verification-key-file FILEPATH +Usage: cardano-cli genesis key-hash --verification-key-file FILEPATH Print the identifier (hash) of a public key -Usage: cardano-cli legacy genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key -Usage: cardano-cli legacy genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli genesis initial-addr --verification-key-file FILEPATH + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Get the address for an initial UTxO based on the verification key -Usage: cardano-cli legacy genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli genesis initial-txin --verification-key-file FILEPATH + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Get the TxIn for an initial UTxO based on the verification key -Usage: cardano-cli legacy genesis create-cardano - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--security-param INT] - [--slot-length INT] - [--slot-coefficient RATIONAL] - ( --mainnet - | --testnet-magic NATURAL - ) - --byron-template FILEPATH - --shelley-template FILEPATH - --alonzo-template FILEPATH - --conway-template FILEPATH - [--node-config-template FILEPATH] +Usage: cardano-cli genesis create-cardano --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--security-param INT] + [--slot-length INT] + [--slot-coefficient RATIONAL] + ( --mainnet + | --testnet-magic NATURAL + ) + --byron-template FILEPATH + --shelley-template FILEPATH + --alonzo-template FILEPATH + --conway-template FILEPATH + [--node-config-template FILEPATH] Create a Byron and Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli legacy genesis create - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - [--key-output-format STRING] +Usage: cardano-cli genesis create [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + (--mainnet | --testnet-magic NATURAL) + + Create a Shelley genesis file from a genesis template and + genesis/delegation/spending keys. + +Usage: cardano-cli genesis create-staked [--key-output-format STRING] --genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT] + [--gen-pools INT] + [--gen-stake-delegs INT] [--start-time UTC-TIME] [--supply LOVELACE] + [--supply-delegated LOVELACE] (--mainnet | --testnet-magic NATURAL) - - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. - -Usage: cardano-cli legacy genesis create-staked - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--gen-pools INT] - [--gen-stake-delegs INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--supply-delegated LOVELACE] - ( --mainnet - | --testnet-magic NATURAL - ) - [--bulk-pool-cred-files INT] - [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] - [--relay-specification-file FILEPATH] + [--bulk-pool-cred-files INT] + [--bulk-pools-per-file INT] + [--num-stuffed-utxo INT] + [--relay-specification-file FILEPATH] Create a staked Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli legacy genesis hash --genesis FILEPATH +Usage: cardano-cli genesis create-testnet-data [--spec-shelley FILEPATH] + [--spec-alonzo FILEPATH] + [--spec-conway FILEPATH] + [--genesis-keys INT] + [--pools INT] + [ --stake-delegators INT + | --transient-stake-delegators INT + ] + [ --drep-keys INT + | --transient-drep-keys INT + ] + [--stuffed-utxo INT] + [--utxo-keys INT] + [--total-supply LOVELACE] + [--delegated-supply LOVELACE] + [--testnet-magic NATURAL] + [--relays FILEPATH] + [--start-time UTC-TIME] + --out-dir DIR - Compute the hash of a genesis file + Create data to use for starting a testnet. -Usage: cardano-cli legacy query - ( protocol-parameters - | tip - | stake-pools - | stake-distribution - | stake-address-info - | utxo - | ledger-state - | protocol-state - | stake-snapshot - | leadership-schedule - | kes-period-info - | pool-state - | tx-mempool - | slot-number - ) +Usage: cardano-cli genesis hash --genesis FILEPATH - Node query commands. Will query the local node whose Unix domain socket is - obtained from the CARDANO_NODE_SOCKET_PATH environment variable. + Compute the hash of a genesis file -Usage: cardano-cli legacy query protocol-parameters --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli governance (action | committee | drep | vote) - Get the node's current protocol parameters + Governance commands. -Usage: cardano-cli legacy query tip --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli governance action + ( create-constitution + | update-committee + | create-info + | create-no-confidence + | create-protocol-parameters-update + | create-treasury-withdrawal + | create-hardfork + | view + ) - Get the node's current tip (slot no, hash, block no) + Governance action commands. -Usage: cardano-cli legacy query stake-pools --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli governance action create-constitution (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + --constitution-url TEXT + --constitution-hash HASH + [--constitution-script-hash HASH] + --out-file FILEPATH - Get the node's current set of stake pool ids + Create a constitution. -Usage: cardano-cli legacy query stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] +Usage: cardano-cli governance action update-committee (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [ --remove-cc-cold-verification-key STRING + | --remove-cc-cold-verification-key-file FILEPATH + | --remove-cc-cold-verification-key-hash STRING + | --remove-cc-cold-script-hash HASH + ] + [ + ( --add-cc-cold-verification-key STRING + | --add-cc-cold-verification-key-file FILEPATH + | --add-cc-cold-verification-key-hash STRING + | --add-cc-cold-script-hash HASH + ) + --epoch NATURAL] + --threshold RATIONAL + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH - Get the node's current aggregated stake distribution + Create or update a new committee proposal. -Usage: cardano-cli legacy query stake-address-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - --address ADDRESS - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli governance action create-info (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + --out-file FILEPATH - Get the current delegations and reward accounts filtered by stake address. + Create an info action. -Usage: cardano-cli legacy query utxo --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - ( --whole-utxo - | (--address ADDRESS) - | (--tx-in TX-IN) - ) - (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli governance action create-no-confidence + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH - Get a portion of the current UTxO: by tx in, by address or the whole. + Create a no confidence proposal. -Usage: cardano-cli legacy query ledger-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] - - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) +Usage: cardano-cli governance action create-protocol-parameters-update + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + [--constitution-script-hash HASH] + [--min-fee-linear LOVELACE] + [--min-fee-constant LOVELACE] + [--max-block-body-size WORD32] + [--max-tx-size WORD32] + [--max-block-header-size WORD16] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--pool-retirement-epoch-interval WORD32] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--treasury-expansion RATIONAL] + [--monetary-expansion RATIONAL] + [--min-pool-cost NATURAL] + [--price-execution-steps RATIONAL + --price-execution-memory RATIONAL] + [--max-tx-execution-units (INT, INT)] + [--max-block-execution-units (INT, INT)] + [--max-value-size INT] + [--collateral-percent INT] + [--max-collateral-inputs INT] + [--utxo-cost-per-byte LOVELACE] + [--pool-voting-threshold-motion-no-confidence RATIONAL + --pool-voting-threshold-committee-normal RATIONAL + --pool-voting-threshold-committee-no-confidence RATIONAL + --pool-voting-threshold-hard-fork-initiation RATIONAL + --pool-voting-threshold-pp-security-group RATIONAL] + [--drep-voting-threshold-motion-no-confidence RATIONAL + --drep-voting-threshold-committee-normal RATIONAL + --drep-voting-threshold-committee-no-confidence RATIONAL + --drep-voting-threshold-update-to-constitution RATIONAL + --drep-voting-threshold-hard-fork-initiation RATIONAL + --drep-voting-threshold-pp-network-group RATIONAL + --drep-voting-threshold-pp-economic-group RATIONAL + --drep-voting-threshold-pp-technical-group RATIONAL + --drep-voting-threshold-pp-governance-group RATIONAL + --drep-voting-threshold-treasury-withdrawal RATIONAL] + [--min-committee-size INT] + [--committee-term-length WORD32] + [--governance-action-lifetime WORD32] + [--new-governance-action-deposit NATURAL] + [--drep-deposit LOVELACE] + [--drep-activity WORD32] + [--ref-script-cost-per-byte RATIONAL] + [--cost-model-file FILE] + --out-file FILEPATH -Usage: cardano-cli legacy query protocol-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + Create a protocol parameters update. - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) +Usage: cardano-cli governance action create-treasury-withdrawal + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + ( + ( --funds-receiving-stake-verification-key STRING + | --funds-receiving-stake-verification-key-file FILEPATH + | --funds-receiving-stake-key-hash HASH + ) + --transfer LOVELACE) + [--constitution-script-hash HASH] + --out-file FILEPATH -Usage: cardano-cli legacy query stake-snapshot --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] + Create a treasury withdrawal. - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) +Usage: cardano-cli governance action create-hardfork (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + --protocol-major-version MAJOR + --protocol-minor-version MINOR + --out-file FILEPATH -Usage: cardano-cli legacy query pool-params --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] + Create a hardfork initiation proposal. - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced - command) +Usage: cardano-cli governance action view --action-file FILEPATH + [--output-json | --output-yaml] + [--out-file FILEPATH] -Usage: cardano-cli legacy query leadership-schedule --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --genesis FILEPATH - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --vrf-signing-key-file FILEPATH - (--current | --next) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] + View a governance action. - Get the slots the node is expected to mint a block in (advanced command) +Usage: cardano-cli governance committee + ( key-gen-cold + | key-gen-hot + | key-hash + | create-hot-key-authorization-certificate + | create-cold-key-resignation-certificate + ) -Usage: cardano-cli legacy query kes-period-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --op-cert-file FILEPATH - [--out-file FILEPATH] + Committee member commands. - Get information about the current KES period and your node's operational - certificate. +Usage: cardano-cli governance committee key-gen-cold + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH -Usage: cardano-cli legacy query pool-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] + Create a cold key pair for a Constitutional Committee Member - Dump the pool state +Usage: cardano-cli governance committee key-gen-hot --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli legacy query tx-mempool --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - (info | next-tx | tx-exists) - [--out-file FILEPATH] + Create a hot key pair for a Constitutional Committee Member - Local Mempool info +Usage: cardano-cli governance committee key-hash + ( --verification-key STRING + | --verification-key-file FILEPATH + ) -Usage: cardano-cli legacy query tx-mempool info + Print the identifier (hash) of a public key - Ask the node about the current mempool's capacity and sizes +Usage: cardano-cli governance committee create-hot-key-authorization-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + ( --hot-verification-key STRING + | --hot-verification-key-file FILEPATH + | --hot-verification-key-hash STRING + | --hot-script-hash HASH + | --hot-script-file FILEPATH + ) + --out-file FILEPATH -Usage: cardano-cli legacy query tx-mempool next-tx + Create hot key authorization certificate for a Constitutional Committee Member - Requests the next transaction from the mempool's current list +Usage: cardano-cli governance committee create-cold-key-resignation-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + [--resignation-metadata-url TEXT + --resignation-metadata-hash HASH] + --out-file FILEPATH -Usage: cardano-cli legacy query tx-mempool tx-exists TX_ID + Create cold key resignation certificate for a Constitutional Committee Member - Query if a particular transaction exists in the mempool +Usage: cardano-cli governance drep + ( key-gen + | id + | registration-certificate + | retirement-certificate + | update-certificate + | metadata-hash + ) -Usage: cardano-cli legacy query slot-number --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - TIMESTAMP + DRep member commands. - Query slot number for UTC timestamp +Usage: cardano-cli governance drep key-gen --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli legacy stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) + Generate Delegated Representative verification and signing keys. - Stake pool commands +Usage: cardano-cli governance drep id + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] -Usage: cardano-cli legacy stake-pool registration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH + Generate a drep id. - Create a stake pool registration certificate +Usage: cardano-cli governance drep registration-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --key-reg-deposit-amt NATURAL + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH -Usage: cardano-cli legacy stake-pool deregistration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --epoch NATURAL - --out-file FILEPATH + Create a registration certificate. - Create a stake pool deregistration certificate +Usage: cardano-cli governance drep retirement-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --deposit-amt LOVELACE + --out-file FILEPATH -Usage: cardano-cli legacy stake-pool id - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] + Create a DRep retirement certificate. - Build pool id from the offline key +Usage: cardano-cli governance drep update-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH -Usage: cardano-cli legacy stake-pool metadata-hash --pool-metadata-file FILEPATH - [--out-file FILEPATH] + Create a DRep update certificate. - Print the hash of pool metadata. +Usage: cardano-cli governance drep metadata-hash --drep-metadata-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli legacy node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) + Calculate the hash of a metadata file. - Node operation commands +Usage: cardano-cli governance vote (create | view) -Usage: cardano-cli legacy node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH + Vote commands. - Create a key pair for a node operator's offline key and a new certificate - issue counter +Usage: cardano-cli governance vote create (--yes | --no | --abstain) + --governance-action-tx-id TXID + --governance-action-index WORD16 + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --drep-script-hash HASH + | --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + | --cc-hot-verification-key STRING + | --cc-hot-verification-key-file FILEPATH + | --cc-hot-key-hash STRING + | --cc-hot-script-hash HASH + ) + [--anchor-url TEXT + --anchor-data-hash HASH] + --out-file FILEPATH -Usage: cardano-cli legacy node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + Vote creation. - Create a key pair for a node KES operational key +Usage: cardano-cli governance vote view [--output-json | --output-yaml] + --vote-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli legacy node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + Vote viewing. - Create a key pair for a node VRF operational key +Usage: cardano-cli node + ( key-gen + | key-gen-KES + | key-gen-VRF + | key-hash-VRF + | new-counter + | issue-op-cert + ) -Usage: cardano-cli legacy node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] + Node operation commands. - Print hash of a node's operational VRF key. - -Usage: cardano-cli legacy node new-counter - ( --stake-pool-verification-key STRING - | --genesis-delegate-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --counter-value INT - --operational-certificate-issue-counter-file FILEPATH - - Create a new certificate issue counter - -Usage: cardano-cli legacy node issue-op-cert - ( --kes-verification-key STRING - | --kes-verification-key-file FILEPATH - ) - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - --kes-period NATURAL - --out-file FILEPATH - - Issue a node operational certificate - -Usage: cardano-cli legacy transaction - ( build-raw - | build - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - | view - ) - - Transaction commands - -Usage: cardano-cli legacy transaction build-raw - [ --byron-era - | --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - [ --script-valid - | --script-invalid - ] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - --spending-reference-tx-in-execution-units (INT, INT) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - ) - --tx-in-execution-units (INT, INT)] - ]) - [--read-only-tx-in-reference TX-IN] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - [--mint VALUE - ( --mint-script-file FILEPATH - [ - ( --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ) - --mint-execution-units (INT, INT)] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --mint-reference-tx-in-execution-units (INT, INT) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - --fee LOVELACE - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ - ( --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ) - --certificate-execution-units (INT, INT)] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - --certificate-reference-tx-in-execution-units (INT, INT) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ - ( --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ) - --withdrawal-execution-units (INT, INT)] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - --withdrawal-reference-tx-in-execution-units (INT, INT) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--protocol-params-file FILEPATH] - [--update-proposal-file FILEPATH] - --out-file FILEPATH - - Build a transaction (low-level, inconvenient) - - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli legacy transaction build --socket-path SOCKET_PATH - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --script-valid - | --script-invalid - ] - [--witness-override WORD] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - )] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--update-proposal-file FILEPATH] - [--vote-file FILEPATH - [ --vote-script-file FILEPATH - [ --vote-redeemer-cbor-file CBOR_FILE - | --vote-redeemer-file JSON_FILE - | --vote-redeemer-value JSON_VALUE - ] - | --vote-tx-in-reference TX-IN - --vote-plutus-script-v3 - ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --vote-reference-tx-in-redeemer-file JSON_FILE - | --vote-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--proposal-file FILEPATH - [ --proposal-script-file FILEPATH - [ --proposal-redeemer-cbor-file CBOR_FILE - | --proposal-redeemer-file JSON_FILE - | --proposal-redeemer-value JSON_VALUE - ] - | --proposal-tx-in-reference TX-IN - --proposal-plutus-script-v3 - ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --proposal-reference-tx-in-redeemer-file JSON_FILE - | --proposal-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--treasury-donation LOVELACE] - ( --out-file FILEPATH - | --calculate-plutus-script-cost FILEPATH - ) - - Build a balanced transaction (automatically calculates fees) - - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli legacy transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH - - Sign a transaction - -Usage: cardano-cli legacy transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH - - Create a transaction witness - -Usage: cardano-cli legacy transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH - - Assemble a tx body and witness(es) to form a transaction - -Usage: cardano-cli legacy transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH - - Assemble a tx body and witness(es) to form a transaction - -Usage: cardano-cli legacy transaction submit --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --tx-file FILEPATH - - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. - -Usage: cardano-cli legacy transaction policyid --script-file FILEPATH - - Calculate the PolicyId from the monetary policy script. - -Usage: cardano-cli legacy transaction calculate-min-fee --tx-body-file FILEPATH - --protocol-params-file FILEPATH - --witness-count NATURAL - [--byron-witness-count NATURAL] - [--reference-script-size NATURAL] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - [ --mainnet - | --testnet-magic NATURAL - ] - [--tx-in-count NATURAL] - [--tx-out-count NATURAL] - - Calculate the minimum fee for a transaction. - -Usage: cardano-cli legacy transaction calculate-min-required-utxo - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] - - Calculate the minimum required UTxO for a transaction output. - -Usage: cardano-cli legacy transaction calculate-min-value - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] - - DEPRECATED: Use 'calculate-min-required-utxo' instead. - -Usage: cardano-cli legacy transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) - - Calculate the hash of script data. - -Usage: cardano-cli legacy transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - - Print a transaction identifier. - -Usage: cardano-cli legacy transaction view - - This command has been removed. Please use "debug transaction view" instead. - -Usage: cardano-cli legacy key - ( verification-key - | non-extended-key - | convert-byron-key - | convert-byron-genesis-vkey - | convert-itn-key - | convert-itn-extended-key - | convert-itn-bip32-key - | convert-cardano-address-key - ) - - Key utility commands - -Usage: cardano-cli legacy key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH - - Get a verification key from a signing key. This supports all key types. - -Usage: cardano-cli legacy key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH - - Get a non-extended verification key from an extended verification key. This - supports all extended key types. - -Usage: cardano-cli legacy key convert-byron-key [--password TEXT] - ( --byron-payment-key-type - | --legacy-byron-payment-key-type - | --byron-genesis-key-type - | --legacy-byron-genesis-key-type - | --byron-genesis-delegate-key-type - | --legacy-byron-genesis-delegate-key-type - ) - ( --byron-signing-key-file FILEPATH - | --byron-verification-key-file FILEPATH - ) - --out-file FILEPATH - - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. - -Usage: cardano-cli legacy key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH - - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key - -Usage: cardano-cli legacy key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH - - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key - -Usage: cardano-cli legacy key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH - - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key - -Usage: cardano-cli legacy key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH - - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key - -Usage: cardano-cli legacy key convert-cardano-address-key - ( --cc-cold-key - | --cc-hot-key - | --drep-key - | --shelley-payment-key - | --shelley-stake-key - | --icarus-payment-key - | --byron-payment-key - ) - --signing-key-file FILEPATH - --out-file FILEPATH - - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. - -Usage: cardano-cli legacy stake-address - ( key-gen - | build - | key-hash - | registration-certificate - | deregistration-certificate - | delegation-certificate - ) - - Stake address commands - -Usage: cardano-cli legacy stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a stake address key pair - -Usage: cardano-cli legacy stake-address build - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - ) - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] - - Build a stake address - -Usage: cardano-cli legacy stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] - - Print the hash of a stake address key. - -Usage: cardano-cli legacy stake-address registration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - [--key-reg-deposit-amt NATURAL] - --out-file FILEPATH - - Create a stake address registration certificate - -Usage: cardano-cli legacy stake-address deregistration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - [--key-reg-deposit-amt NATURAL] - --out-file FILEPATH - - Create a stake address deregistration certificate - -Usage: cardano-cli legacy stake-address delegation-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --out-file FILEPATH - - Create a stake address pool delegation certificate - -Usage: cardano-cli legacy address (key-gen | key-hash | build | info) - - Payment address commands - -Usage: cardano-cli legacy address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create an address key pair. - -Usage: cardano-cli legacy address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] - - Print the hash of an address key. - -Usage: cardano-cli legacy address build - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - | --payment-script-file FILEPATH - ) - [ --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] - - Build a Shelley payment address, with optional delegation to a stake address. - -Usage: cardano-cli legacy address info --address ADDRESS [--out-file FILEPATH] - - Print information about an address. - -Usage: cardano-cli text-view decode-cbor - - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. - -Usage: cardano-cli text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] - - Print a TextView file as decoded CBOR. - -Usage: cardano-cli governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | create-update-proposal - | create-poll - | answer-poll - | verify-poll - ) - - Governance commands - -Usage: cardano-cli governance create-mir-certificate - ( [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - | stake-addresses - | transfer-to-treasury - | transfer-to-rewards - ) - - Create an MIR (Move Instantaneous Rewards) certificate - -Usage: cardano-cli governance create-mir-certificate stake-addresses - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - - Create an MIR certificate to pay stake addresses - -Usage: cardano-cli governance create-mir-certificate transfer-to-treasury - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - --transfer LOVELACE - --out-file FILEPATH - - Create an MIR certificate to transfer from the reserves pot to the treasury - pot - -Usage: cardano-cli governance create-mir-certificate transfer-to-rewards - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - --transfer LOVELACE - --out-file FILEPATH - - Create an MIR certificate to transfer from the treasury pot to the reserves - pot - -Usage: cardano-cli governance create-genesis-key-delegation-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --genesis-verification-key STRING - | --genesis-verification-key-file FILEPATH - | --genesis-verification-key-hash STRING - ) - ( --genesis-delegate-verification-key STRING - | --genesis-delegate-verification-key-file FILEPATH - | --genesis-delegate-verification-key-hash STRING - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - | --vrf-verification-key-hash STRING - ) - --out-file FILEPATH - - Create a genesis key delegation certificate - -Usage: cardano-cli governance create-update-proposal --out-file FILEPATH - --epoch NATURAL - (--genesis-verification-key-file FILEPATH) - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] - [--decentralization-parameter RATIONAL] - [ --extra-entropy HEX - | --reset-extra-entropy - ] - [--max-block-header-size WORD16] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--min-fee-constant LOVELACE] - [--min-fee-linear LOVELACE] - [--min-utxo-value NATURAL] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--min-pool-cost NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--monetary-expansion RATIONAL] - [--treasury-expansion RATIONAL] - [--price-execution-steps RATIONAL - --price-execution-memory RATIONAL] - [--max-tx-execution-units (INT, INT)] - [--max-block-execution-units (INT, INT)] - [--max-value-size INT] - [--collateral-percent INT] - [--max-collateral-inputs INT] - [--utxo-cost-per-byte LOVELACE] - [--cost-model-file FILE] - - Create an update proposal - -Usage: cardano-cli governance create-poll --question STRING - (--answer STRING) - [--nonce UINT] - --out-file FILEPATH - - Create an SPO poll - -Usage: cardano-cli governance answer-poll --poll-file FILEPATH - [--answer INT] - [--out-file FILEPATH] - - Answer an SPO poll - -Usage: cardano-cli governance verify-poll --poll-file FILEPATH - --tx-file FILEPATH - [--out-file FILEPATH] - - Verify an answer to a given SPO poll - -Usage: cardano-cli genesis - ( key-gen-genesis - | key-gen-delegate - | key-gen-utxo - | key-hash - | get-ver-key - | initial-addr - | initial-txin - | create-cardano - | create - | create-staked - | hash - ) - - Genesis block commands - -Usage: cardano-cli genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a Shelley genesis key pair - -Usage: cardano-cli genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - - Create a Shelley genesis delegate key pair - -Usage: cardano-cli genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a Shelley genesis UTxO key pair - -Usage: cardano-cli genesis key-hash --verification-key-file FILEPATH - - Print the identifier (hash) of a public key - -Usage: cardano-cli genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Derive the verification key from a signing key - -Usage: cardano-cli genesis initial-addr --verification-key-file FILEPATH - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli node key-gen [--key-output-format STRING] + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH - Get the address for an initial UTxO based on the verification key + Create a key pair for a node operator's offline key and a new certificate + issue counter -Usage: cardano-cli genesis initial-txin --verification-key-file FILEPATH - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli node key-gen-KES [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Get the TxIn for an initial UTxO based on the verification key + Create a key pair for a node KES operational key -Usage: cardano-cli genesis create-cardano - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--security-param INT] - [--slot-length INT] - [--slot-coefficient RATIONAL] - ( --mainnet - | --testnet-magic NATURAL - ) - --byron-template FILEPATH - --shelley-template FILEPATH - --alonzo-template FILEPATH - --conway-template FILEPATH - [--node-config-template FILEPATH] +Usage: cardano-cli node key-gen-VRF [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Create a key pair for a node VRF operational key -Usage: cardano-cli genesis create - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - (--mainnet | --testnet-magic NATURAL) +Usage: cardano-cli node key-hash-VRF + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + [--out-file FILEPATH] - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Print hash of a node's operational VRF key. -Usage: cardano-cli genesis create-staked - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--gen-pools INT] - [--gen-stake-delegs INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--supply-delegated LOVELACE] - (--mainnet | --testnet-magic NATURAL) - [--bulk-pool-cred-files INT] - [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] - [--relay-specification-file FILEPATH] +Usage: cardano-cli node new-counter + ( --stake-pool-verification-key STRING + | --genesis-delegate-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + --counter-value INT + --operational-certificate-issue-counter-file FILEPATH - Create a staked Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Create a new certificate issue counter -Usage: cardano-cli genesis hash --genesis FILEPATH +Usage: cardano-cli node issue-op-cert + ( --kes-verification-key STRING + | --kes-verification-key-file FILEPATH + ) + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH + --kes-period NATURAL + --out-file FILEPATH - Compute the hash of a genesis file + Issue a node operational certificate Usage: cardano-cli query ( protocol-parameters @@ -11296,6 +10931,14 @@ Usage: cardano-cli query | pool-state | tx-mempool | slot-number + | ref-script-size + | constitution + | gov-state + | drep-state + | drep-stake-distribution + | spo-stake-distribution + | committee-state + | treasury ) Node query commands. Will query the local node whose Unix domain socket is @@ -11314,6 +10957,7 @@ Usage: cardano-cli query protocol-parameters --socket-path SOCKET_PATH Usage: cardano-cli query tip --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) @@ -11321,6 +10965,7 @@ Usage: cardano-cli query tip --socket-path SOCKET_PATH Usage: cardano-cli query stake-pools --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--output-json | --output-text] [--out-file FILEPATH] @@ -11332,6 +10977,7 @@ Usage: cardano-cli query stake-distribution --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [--volatile-tip | --immutable-tip] [--output-json | --output-text] [--out-file FILEPATH] @@ -11344,6 +10990,7 @@ Usage: cardano-cli query stake-address-info --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. @@ -11355,6 +11002,7 @@ Usage: cardano-cli query utxo --socket-path SOCKET_PATH | (--tx-in TX-IN) ) (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--output-json | --output-text] [--out-file FILEPATH] @@ -11363,6 +11011,7 @@ Usage: cardano-cli query utxo --socket-path SOCKET_PATH Usage: cardano-cli query ledger-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Dump the current ledger state of the node (Ledger.NewEpochState -- advanced @@ -11371,6 +11020,7 @@ Usage: cardano-cli query ledger-state --socket-path SOCKET_PATH Usage: cardano-cli query protocol-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced @@ -11382,6 +11032,7 @@ Usage: cardano-cli query stake-snapshot --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Obtain the three stake snapshots for a pool, plus the total active stake @@ -11393,6 +11044,7 @@ Usage: cardano-cli query pool-params --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] DEPRECATED. Use query pool-state instead. Dump the pool parameters @@ -11412,6 +11064,9 @@ Usage: cardano-cli query leadership-schedule --socket-path SOCKET_PATH ) --vrf-signing-key-file FILEPATH (--current | --next) + [ --volatile-tip + | --immutable-tip + ] [--output-json | --output-text] [--out-file FILEPATH] @@ -11422,6 +11077,7 @@ Usage: cardano-cli query kes-period-info --socket-path SOCKET_PATH [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Get information about the current KES period and your node's operational @@ -11433,6 +11089,7 @@ Usage: cardano-cli query pool-state --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Dump the pool state @@ -11460,10 +11117,248 @@ Usage: cardano-cli query tx-mempool tx-exists TX_ID Usage: cardano-cli query slot-number --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] TIMESTAMP Query slot number for UTC timestamp +Usage: cardano-cli query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--output-json | --output-text] + [--out-file FILEPATH] + + Calculate the reference input scripts size in bytes for provided transaction + inputs. + +Usage: cardano-cli query constitution --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the constitution + +Usage: cardano-cli query gov-state --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the governance state + +Usage: cardano-cli query drep-state --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [--include-stake] + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the DRep state. + +Usage: cardano-cli query drep-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the DRep stake distribution. + +Usage: cardano-cli query spo-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-spos + | + ( --spo-verification-key STRING + | --spo-verification-key-file FILEPATH + | --spo-key-hash HASH + ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the SPO stake distribution. + +Usage: cardano-cli query committee-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [ --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + ] + [ --hot-key STRING + | --hot-key-file FILEPATH + | --hot-key-hash STRING + | --hot-script-hash HASH + ] + [ --active + | --expired + | --unrecognized + ] + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the committee state + +Usage: cardano-cli query treasury --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the treasury value + +Usage: cardano-cli stake-address + ( key-gen + | key-hash + | build + | registration-certificate + | deregistration-certificate + | stake-delegation-certificate + | stake-and-vote-delegation-certificate + | vote-delegation-certificate + ) + + Stake address commands. + +Usage: cardano-cli stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a stake address key pair + +Usage: cardano-cli stake-address key-hash + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + ) + [--out-file FILEPATH] + + Print the hash of a stake address key + +Usage: cardano-cli stake-address build + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + ) + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] + + Build a stake address + +Usage: cardano-cli stake-address registration-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH + + Create a stake address registration certificate + +Usage: cardano-cli stake-address deregistration-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH + + Create a stake address deregistration certificate + +Usage: cardano-cli stake-address stake-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --out-file FILEPATH + + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. + +Usage: cardano-cli stake-address stake-and-vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH + + Create a stake address stake and vote delegation certificate, which when + submitted in a transaction delegates stake to a stake pool and a DRep. + +Usage: cardano-cli stake-address vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH + + Create a stake address vote delegation certificate, which when submitted in a + transaction delegates stake to a DRep. + Usage: cardano-cli stake-pool ( registration-certificate | deregistration-certificate @@ -11471,16 +11366,9 @@ Usage: cardano-cli stake-pool | metadata-hash ) - Stake pool commands + Stake pool commands. Usage: cardano-cli stake-pool registration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] ( --stake-pool-verification-key STRING | --cold-verification-key-file FILEPATH ) @@ -11513,13 +11401,6 @@ Usage: cardano-cli stake-pool registration-certificate Create a stake pool registration certificate Usage: cardano-cli stake-pool deregistration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] ( --stake-pool-verification-key STRING | --cold-verification-key-file FILEPATH ) @@ -11542,69 +11423,20 @@ Usage: cardano-cli stake-pool metadata-hash --pool-metadata-file FILEPATH Print the hash of pool metadata. -Usage: cardano-cli node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) - - Node operation commands - -Usage: cardano-cli node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - - Create a key pair for a node operator's offline key and a new certificate - issue counter - -Usage: cardano-cli node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a key pair for a node KES operational key - -Usage: cardano-cli node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a key pair for a node VRF operational key - -Usage: cardano-cli node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] - - Print hash of a node's operational VRF key. - -Usage: cardano-cli node new-counter - ( --stake-pool-verification-key STRING - | --genesis-delegate-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --counter-value INT - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli text-view decode-cbor - Create a new certificate issue counter + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. -Usage: cardano-cli node issue-op-cert - ( --kes-verification-key STRING - | --kes-verification-key-file FILEPATH - ) - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - --kes-period NATURAL - --out-file FILEPATH +Usage: cardano-cli text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] - Issue a node operational certificate + Print a TextView file as decoded CBOR. Usage: cardano-cli transaction ( build-raw | build + | build-estimate | sign | witness | assemble @@ -11617,17 +11449,9 @@ Usage: cardano-cli transaction | view ) - Transaction commands + Transaction commands. -Usage: cardano-cli transaction build-raw - [ --byron-era - | --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - [--script-valid | --script-invalid] +Usage: cardano-cli transaction build-raw [--script-valid | --script-invalid] (--tx-in TX-IN [ --spending-tx-in-reference TX-IN ( --spending-plutus-script-v2 @@ -11745,7 +11569,40 @@ Usage: cardano-cli transaction build-raw | --metadata-cbor-file FILEPATH ] [--protocol-params-file FILEPATH] - [--update-proposal-file FILEPATH] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] --out-file FILEPATH Build a transaction (low-level, inconvenient) @@ -11753,12 +11610,6 @@ Usage: cardano-cli transaction build-raw Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Usage: cardano-cli transaction build --socket-path SOCKET_PATH - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) [--script-valid | --script-invalid] @@ -11868,7 +11719,6 @@ Usage: cardano-cli transaction build --socket-path SOCKET_PATH [ --metadata-json-file FILEPATH | --metadata-cbor-file FILEPATH ] - [--update-proposal-file FILEPATH] [--vote-file FILEPATH [ --vote-script-file FILEPATH [ --vote-redeemer-cbor-file CBOR_FILE @@ -11904,6 +11754,171 @@ Usage: cardano-cli transaction build --socket-path SOCKET_PATH Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m +Usage: cardano-cli transaction build-estimate + [ --script-valid + | --script-invalid + ] + --shelley-key-witnesses INT + [--byron-key-witnesses Int] + --protocol-params-file FILEPATH + --total-utxo-value VALUE + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ] + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + --spending-reference-tx-in-execution-units (INT, INT) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + [ --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present + ] + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + ) + --tx-in-execution-units (INT, INT)] + ]) + [--read-only-tx-in-reference TX-IN] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( --mint-script-file FILEPATH + [ + ( --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ) + --mint-execution-units (INT, INT)] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + [--certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ + ( --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ) + --certificate-execution-units (INT, INT)] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + --certificate-reference-tx-in-execution-units (INT, INT) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ + ( --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ) + --withdrawal-execution-units (INT, INT)] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + --withdrawal-reference-tx-in-execution-units (INT, INT) + ]] + [--tx-total-collateral INTEGER] + [--reference-script-size NATURAL] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] + --out-file FILEPATH + + Build a balanced transaction without access to a live node (automatically estimates fees) + + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Usage: cardano-cli transaction sign ( --tx-body-file FILEPATH | --tx-file FILEPATH @@ -11964,15 +11979,7 @@ Usage: cardano-cli transaction calculate-min-fee --tx-body-file FILEPATH Calculate the minimum fee for a transaction. -Usage: cardano-cli transaction calculate-min-required-utxo - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --protocol-params-file FILEPATH +Usage: cardano-cli transaction calculate-min-required-utxo --protocol-params-file FILEPATH --tx-out ADDRESS VALUE [ --tx-out-datum-hash HASH | --tx-out-datum-hash-cbor-file CBOR_FILE @@ -11989,15 +11996,7 @@ Usage: cardano-cli transaction calculate-min-required-utxo Calculate the minimum required UTxO for a transaction output. -Usage: cardano-cli transaction calculate-min-value - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --protocol-params-file FILEPATH +Usage: cardano-cli transaction calculate-min-value --protocol-params-file FILEPATH --tx-out ADDRESS VALUE [ --tx-out-datum-hash HASH | --tx-out-datum-hash-cbor-file CBOR_FILE @@ -12033,225 +12032,273 @@ Usage: cardano-cli transaction view This command has been removed. Please use "debug transaction view" instead. -Usage: cardano-cli key - ( verification-key - | non-extended-key - | convert-byron-key - | convert-byron-genesis-vkey - | convert-itn-key - | convert-itn-extended-key - | convert-itn-bip32-key - | convert-cardano-address-key - ) - - Key utility commands - -Usage: cardano-cli key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli legacy Legacy commands - Get a verification key from a signing key. This supports all key types. + Legacy commands - DEPRECATED - will be removed in the future -Usage: cardano-cli key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli legacy governance + ( create-mir-certificate + | create-genesis-key-delegation-certificate + | create-update-proposal + ) - Get a non-extended verification key from an extended verification key. This - supports all extended key types. + Governance commands -Usage: cardano-cli key convert-byron-key [--password TEXT] - ( --byron-payment-key-type - | --legacy-byron-payment-key-type - | --byron-genesis-key-type - | --legacy-byron-genesis-key-type - | --byron-genesis-delegate-key-type - | --legacy-byron-genesis-delegate-key-type - ) - ( --byron-signing-key-file FILEPATH - | --byron-verification-key-file FILEPATH - ) - --out-file FILEPATH +Usage: cardano-cli legacy governance create-mir-certificate + ( [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + ] + ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH + | stake-addresses + | transfer-to-treasury + | transfer-to-rewards + ) - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. + Create an MIR (Move Instantaneous Rewards) certificate -Usage: cardano-cli key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH +Usage: cardano-cli legacy governance create-mir-certificate stake-addresses + [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + ] + ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key + Create an MIR certificate to pay stake addresses -Usage: cardano-cli key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH +Usage: cardano-cli legacy governance create-mir-certificate transfer-to-treasury + [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + ] + --transfer LOVELACE + --out-file FILEPATH - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key + Create an MIR certificate to transfer from the reserves pot to the treasury + pot -Usage: cardano-cli key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli legacy governance create-mir-certificate transfer-to-rewards + [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + ] + --transfer LOVELACE + --out-file FILEPATH - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key + Create an MIR certificate to transfer from the treasury pot to the reserves + pot -Usage: cardano-cli key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli legacy governance create-genesis-key-delegation-certificate + [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + ] + ( --genesis-verification-key STRING + | --genesis-verification-key-file FILEPATH + | --genesis-verification-key-hash STRING + ) + ( --genesis-delegate-verification-key STRING + | --genesis-delegate-verification-key-file FILEPATH + | --genesis-delegate-verification-key-hash STRING + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + | --vrf-verification-key-hash STRING + ) + --out-file FILEPATH - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key + Create a genesis key delegation certificate -Usage: cardano-cli key convert-cardano-address-key - ( --cc-cold-key - | --cc-hot-key - | --drep-key - | --shelley-payment-key - | --shelley-stake-key - | --icarus-payment-key - | --byron-payment-key - ) - --signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli legacy governance create-update-proposal --out-file FILEPATH + --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + [--decentralization-parameter RATIONAL] + [ --extra-entropy HEX + | --reset-extra-entropy + ] + [--max-block-header-size WORD16] + [--max-block-body-size WORD32] + [--max-tx-size WORD32] + [--min-fee-constant LOVELACE] + [--min-fee-linear LOVELACE] + [--min-utxo-value NATURAL] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--min-pool-cost NATURAL] + [--pool-retirement-epoch-interval WORD32] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--monetary-expansion RATIONAL] + [--treasury-expansion RATIONAL] + [--price-execution-steps RATIONAL + --price-execution-memory RATIONAL] + [--max-tx-execution-units (INT, INT)] + [--max-block-execution-units (INT, INT)] + [--max-value-size INT] + [--collateral-percent INT] + [--max-collateral-inputs INT] + [--utxo-cost-per-byte LOVELACE] + [--cost-model-file FILE] - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. + Create an update proposal -Usage: cardano-cli stake-address - ( key-gen - | build - | key-hash - | registration-certificate - | deregistration-certificate - | delegation-certificate - ) +Usage: cardano-cli legacy genesis + ( key-gen-genesis + | key-gen-delegate + | key-gen-utxo + | key-hash + | get-ver-key + | initial-addr + | initial-txin + | create-cardano + | create + | create-staked + | hash + ) - Stake address commands + Genesis block commands -Usage: cardano-cli stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli legacy genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH - Create a stake address key pair + Create a Shelley genesis key pair -Usage: cardano-cli stake-address build - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - ) - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli legacy genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH - Build a stake address + Create a Shelley genesis delegate key pair -Usage: cardano-cli stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli legacy genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH - Print the hash of a stake address key. + Create a Shelley genesis UTxO key pair -Usage: cardano-cli stake-address registration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - [--key-reg-deposit-amt NATURAL] - --out-file FILEPATH +Usage: cardano-cli legacy genesis key-hash --verification-key-file FILEPATH - Create a stake address registration certificate + Print the identifier (hash) of a public key -Usage: cardano-cli stake-address deregistration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - [--key-reg-deposit-amt NATURAL] - --out-file FILEPATH +Usage: cardano-cli legacy genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH - Create a stake address deregistration certificate + Derive the verification key from a signing key -Usage: cardano-cli stake-address delegation-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --out-file FILEPATH +Usage: cardano-cli legacy genesis initial-addr --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Create a stake address pool delegation certificate + Get the address for an initial UTxO based on the verification key -Usage: cardano-cli address (key-gen | key-hash | build | info) +Usage: cardano-cli legacy genesis initial-txin --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Payment address commands + Get the TxIn for an initial UTxO based on the verification key -Usage: cardano-cli address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli legacy genesis create-cardano + [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + | --conway-era + ] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--security-param INT] + [--slot-length INT] + [--slot-coefficient RATIONAL] + ( --mainnet + | --testnet-magic NATURAL + ) + --byron-template FILEPATH + --shelley-template FILEPATH + --alonzo-template FILEPATH + --conway-template FILEPATH + [--node-config-template FILEPATH] - Create an address key pair. + Create a Byron and Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -Usage: cardano-cli address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli legacy genesis create + [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + | --conway-era + ] + [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + (--mainnet | --testnet-magic NATURAL) - Print the hash of an address key. + Create a Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -Usage: cardano-cli address build - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - | --payment-script-file FILEPATH - ) - [ --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli legacy genesis create-staked + [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + | --conway-era + ] + [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--gen-pools INT] + [--gen-stake-delegs INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--supply-delegated LOVELACE] + ( --mainnet + | --testnet-magic NATURAL + ) + [--bulk-pool-cred-files INT] + [--bulk-pools-per-file INT] + [--num-stuffed-utxo INT] + [--relay-specification-file FILEPATH] - Build a Shelley payment address, with optional delegation to a stake address. + Create a staked Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -Usage: cardano-cli address info --address ADDRESS [--out-file FILEPATH] +Usage: cardano-cli legacy genesis hash --genesis FILEPATH - Print information about an address. + Compute the hash of a genesis file Usage: cardano-cli byron ( key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/address.cli index 2eaf110355..42a4854636 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/address.cli @@ -1,6 +1,6 @@ Usage: cardano-cli address (key-gen | key-hash | build | info) - Payment address commands + Payment address commands. Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis.cli index a16999564b..79ae236146 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis.cli @@ -9,10 +9,11 @@ Usage: cardano-cli genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) - Genesis block commands + Genesis block commands. Available options: -h,--help Show this help text @@ -34,4 +35,5 @@ Available commands: and genesis/delegation/spending keys. create-staked Create a staked Shelley genesis file from a genesis template and genesis/delegation/spending keys. + create-testnet-data Create data to use for starting a testnet. hash Compute the hash of a genesis file diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli index 428a22ac1b..d630a99e9d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli @@ -1,12 +1,4 @@ -Usage: cardano-cli genesis create-cardano - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --genesis-dir DIR +Usage: cardano-cli genesis create-cardano --genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT] [--start-time UTC-TIME] @@ -27,17 +19,6 @@ Usage: cardano-cli genesis create-cardano genesis/delegation/spending keys. Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --genesis-dir DIR The genesis directory containing the genesis template and required genesis/delegation/spending keys. --gen-genesis-keys INT The number of genesis keys to make [default is 3]. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli index 2e6f8f0ea8..65977af410 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli @@ -1,12 +1,4 @@ -Usage: cardano-cli genesis create-staked - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - [--key-output-format STRING] +Usage: cardano-cli genesis create-staked [--key-output-format STRING] --genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT] @@ -25,17 +17,6 @@ Usage: cardano-cli genesis create-staked genesis/delegation/spending keys. Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --key-output-format STRING Optional key output format. Accepted output formats are "text-envelope" and "bech32" (default is @@ -70,5 +51,6 @@ Available options: --num-stuffed-utxo INT The number of fake UTxO entries to generate [default is 0]. --relay-specification-file FILEPATH - JSON file specified the relays of each stake pool. + JSON file that specifies the relays of each stake + pool. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-testnet-data.cli new file mode 100644 index 0000000000..f9377f8b51 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-testnet-data.cli @@ -0,0 +1,66 @@ +Usage: cardano-cli genesis create-testnet-data [--spec-shelley FILEPATH] + [--spec-alonzo FILEPATH] + [--spec-conway FILEPATH] + [--genesis-keys INT] + [--pools INT] + [ --stake-delegators INT + | --transient-stake-delegators INT + ] + [ --drep-keys INT + | --transient-drep-keys INT + ] + [--stuffed-utxo INT] + [--utxo-keys INT] + [--total-supply LOVELACE] + [--delegated-supply LOVELACE] + [--testnet-magic NATURAL] + [--relays FILEPATH] + [--start-time UTC-TIME] + --out-dir DIR + + Create data to use for starting a testnet. + +Available options: + --spec-shelley FILEPATH The shelley specification file to use as input. A + default one is generated if omitted. + --spec-alonzo FILEPATH The alonzo specification file to use as input. A + default one is generated if omitted. + --spec-conway FILEPATH The conway specification file to use as input. A + default one is generated if omitted. + --genesis-keys INT The number of genesis keys to make (default is 3). + --pools INT The number of stake pool credential sets to make + (default is 0). + --stake-delegators INT The number of stake delegator credential sets to make + (default is 0). Credentials are written to disk. + --transient-stake-delegators INT + The number of stake delegator credential sets to make + (default is 0). The credentials are NOT written to + disk. + --drep-keys INT The number of DRep credentials to make (default is + 0). Credentials are written to disk. + --transient-drep-keys INT + The number of DRep credentials to make (default is + 0). The credentials are NOT written to disk. + --stuffed-utxo INT The number of fake UTxO entries to generate (default + is 0). + --utxo-keys INT The number of UTxO keys to make (default is 0). + --total-supply LOVELACE The maximum possible amount of Lovelace, which is + evenly distributed across stake holders. Overrides + the value from the shelley genesis. If + --delegated-supply is specified, a part of this + amount will be delegated. + --delegated-supply LOVELACE + The amount of the total supply which is evenly + delegated. Defaulted to half of the total supply. + Cannot be more than the amount specified with + --total-supply. + --testnet-magic NATURAL Specify a testnet magic id for the cluster. This + overrides both the network magic from the spec file + and CARDANO_NODE_NETWORK_ID environment variable. + --relays FILEPATH JSON file specifying the relays of each stake pool. + --start-time UTC-TIME The genesis start time in YYYY-MM-DDThh:mm:ssZ + format. If unspecified, will be the current time +30 + seconds. + --out-dir DIR The directory where to generate the data. Created if + not existing. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli index a949f6fe52..9b7e8bf664 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli @@ -1,12 +1,4 @@ -Usage: cardano-cli genesis create - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - [--key-output-format STRING] +Usage: cardano-cli genesis create [--key-output-format STRING] --genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT] @@ -18,17 +10,6 @@ Usage: cardano-cli genesis create genesis/delegation/spending keys. Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --key-output-format STRING Optional key output format. Accepted output formats are "text-envelope" and "bech32" (default is diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance.cli index d06eba4ede..25a25b5f94 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance.cli @@ -1,23 +1,12 @@ -Usage: cardano-cli governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | create-update-proposal - | create-poll - | answer-poll - | verify-poll - ) +Usage: cardano-cli governance (action | committee | drep | vote) - Governance commands + Governance commands. Available options: -h,--help Show this help text Available commands: - create-mir-certificate Create an MIR (Move Instantaneous Rewards) - certificate - create-genesis-key-delegation-certificate - Create a genesis key delegation certificate - create-update-proposal Create an update proposal - create-poll Create an SPO poll - answer-poll Answer an SPO poll - verify-poll Verify an answer to a given SPO poll + action Governance action commands. + committee Committee member commands. + drep DRep member commands. + vote Vote commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action.cli new file mode 100644 index 0000000000..889507f2c3 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action.cli @@ -0,0 +1,27 @@ +Usage: cardano-cli governance action + ( create-constitution + | update-committee + | create-info + | create-no-confidence + | create-protocol-parameters-update + | create-treasury-withdrawal + | create-hardfork + | view + ) + + Governance action commands. + +Available options: + -h,--help Show this help text + +Available commands: + create-constitution Create a constitution. + update-committee Create or update a new committee proposal. + create-info Create an info action. + create-no-confidence Create a no confidence proposal. + create-protocol-parameters-update + Create a protocol parameters update. + create-treasury-withdrawal + Create a treasury withdrawal. + create-hardfork Create a hardfork initiation proposal. + view View a governance action. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-constitution.cli new file mode 100644 index 0000000000..021220e101 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-constitution.cli @@ -0,0 +1,49 @@ +Usage: cardano-cli governance action create-constitution (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + --constitution-url TEXT + --constitution-hash HASH + [--constitution-script-hash HASH] + --out-file FILEPATH + + Create a constitution. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --constitution-url TEXT Constitution URL. + --constitution-hash HASH Hash of the constitution data (obtain it with + "cardano-cli hash anchor-data ..."). + --constitution-script-hash HASH + Constitution script hash (hex-encoded). Obtain it + with "cardano-cli hash script ...". + --out-file FILEPATH Output filepath of the constitution. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-hardfork.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-hardfork.cli new file mode 100644 index 0000000000..2a4ff08077 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-hardfork.cli @@ -0,0 +1,52 @@ +Usage: cardano-cli governance action create-hardfork (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + --protocol-major-version MAJOR + --protocol-minor-version MINOR + --out-file FILEPATH + + Create a hardfork initiation proposal. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --protocol-major-version MAJOR + Specify the major protocol version to fork into. An + increase indicates a hard fork. It must be the next + natural number after the current version and must be + supported by the node. + --protocol-minor-version MINOR + Minor protocol version. An increase indicates a soft + fork (old software can validate but not produce new + blocks). Must be zero when the major protocol version + is increased. + --out-file FILEPATH Output filepath of the hardfork proposal. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-info.cli new file mode 100644 index 0000000000..f1be625dbe --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-info.cli @@ -0,0 +1,35 @@ +Usage: cardano-cli governance action create-info (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + --out-file FILEPATH + + Create an info action. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --out-file FILEPATH Path to action file to be used later on with build or + build-raw + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-no-confidence.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-no-confidence.cli new file mode 100644 index 0000000000..ec863a77ee --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-no-confidence.cli @@ -0,0 +1,43 @@ +Usage: cardano-cli governance action create-no-confidence + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH + + Create a no confidence proposal. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --out-file FILEPATH Output filepath of the no confidence proposal. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-protocol-parameters-update.cli new file mode 100644 index 0000000000..73157f1f4b --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-protocol-parameters-update.cli @@ -0,0 +1,205 @@ +Usage: cardano-cli governance action create-protocol-parameters-update + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + [--constitution-script-hash HASH] + [--min-fee-linear LOVELACE] + [--min-fee-constant LOVELACE] + [--max-block-body-size WORD32] + [--max-tx-size WORD32] + [--max-block-header-size WORD16] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--pool-retirement-epoch-interval WORD32] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--treasury-expansion RATIONAL] + [--monetary-expansion RATIONAL] + [--min-pool-cost NATURAL] + [--price-execution-steps RATIONAL + --price-execution-memory RATIONAL] + [--max-tx-execution-units (INT, INT)] + [--max-block-execution-units (INT, INT)] + [--max-value-size INT] + [--collateral-percent INT] + [--max-collateral-inputs INT] + [--utxo-cost-per-byte LOVELACE] + [--pool-voting-threshold-motion-no-confidence RATIONAL + --pool-voting-threshold-committee-normal RATIONAL + --pool-voting-threshold-committee-no-confidence RATIONAL + --pool-voting-threshold-hard-fork-initiation RATIONAL + --pool-voting-threshold-pp-security-group RATIONAL] + [--drep-voting-threshold-motion-no-confidence RATIONAL + --drep-voting-threshold-committee-normal RATIONAL + --drep-voting-threshold-committee-no-confidence RATIONAL + --drep-voting-threshold-update-to-constitution RATIONAL + --drep-voting-threshold-hard-fork-initiation RATIONAL + --drep-voting-threshold-pp-network-group RATIONAL + --drep-voting-threshold-pp-economic-group RATIONAL + --drep-voting-threshold-pp-technical-group RATIONAL + --drep-voting-threshold-pp-governance-group RATIONAL + --drep-voting-threshold-treasury-withdrawal RATIONAL] + [--min-committee-size INT] + [--committee-term-length WORD32] + [--governance-action-lifetime WORD32] + [--new-governance-action-deposit NATURAL] + [--drep-deposit LOVELACE] + [--drep-activity WORD32] + [--ref-script-cost-per-byte RATIONAL] + [--cost-model-file FILE] + --out-file FILEPATH + + Create a protocol parameters update. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --constitution-script-hash HASH + Constitution script hash (hex-encoded). Obtain it + with "cardano-cli hash script ...". + --min-fee-linear LOVELACE + The linear factor per byte for the minimum fee + calculation. + --min-fee-constant LOVELACE + The constant factor for the minimum fee calculation. + --max-block-body-size WORD32 + Maximal block body size. + --max-tx-size WORD32 Maximum transaction size. + --max-block-header-size WORD16 + Maximum block header size. + --key-reg-deposit-amt NATURAL + Key registration deposit amount. + --pool-reg-deposit NATURAL + The amount of a pool registration deposit. + --pool-retirement-epoch-interval WORD32 + Epoch interval of pool retirement. + --number-of-pools NATURAL + Desired number of pools. + --pool-influence RATIONAL + Pool influence. + --treasury-expansion RATIONAL + Treasury expansion. + --monetary-expansion RATIONAL + Monetary expansion. + --min-pool-cost NATURAL The minimum allowed cost parameter for stake pools. + --price-execution-steps RATIONAL + Step price of execution units for script languages + that use them (from Alonzo era). (Examples: '1.1', + '11/10') + --price-execution-memory RATIONAL + Memory price of execution units for script languages + that use them (from Alonzo era). (Examples: '1.1', + '11/10') + --max-tx-execution-units (INT, INT) + Max total script execution resources units allowed + per tx (from Alonzo era). They are denominated as + follows (steps, memory). + --max-block-execution-units (INT, INT) + Max total script execution resources units allowed + per block (from Alonzo era). They are denominated as + follows (steps, memory). + --max-value-size INT Max size of a multi-asset value in a tx output (from + Alonzo era). + --collateral-percent INT The percentage of the script contribution to the + txfee that must be provided as collateral inputs when + including Plutus scripts (from Alonzo era). + --max-collateral-inputs INT + The maximum number of collateral inputs allowed in a + transaction (from Alonzo era). + --utxo-cost-per-byte LOVELACE + Cost in lovelace per unit of UTxO storage (from + Babbage era). + --pool-voting-threshold-motion-no-confidence RATIONAL + Acceptance threshold for stake pool votes on motions + no confidence. + --pool-voting-threshold-committee-normal RATIONAL + Acceptance threshold for stake pool votes on normal + committee updates. + --pool-voting-threshold-committee-no-confidence RATIONAL + Acceptance threshold for stake pool votes on + committee updates when the committee is in a state of + no confidence. + --pool-voting-threshold-hard-fork-initiation RATIONAL + Acceptance threshold for stake pool votes on hard + fork initiations. + --pool-voting-threshold-pp-security-group RATIONAL + Acceptance threshold for stake pool votes on protocol + parameters for parameters in the 'security' group. + --drep-voting-threshold-motion-no-confidence RATIONAL + Acceptance threshold for DRep votes on motions of no + confidence. + --drep-voting-threshold-committee-normal RATIONAL + Acceptance threshold for DRep votes on normal + committee updates. + --drep-voting-threshold-committee-no-confidence RATIONAL + Acceptance threshold for DRep votes on committee + updates when the committee is in a state of no + confidence. + --drep-voting-threshold-update-to-constitution RATIONAL + Acceptance threshold for DRep votes on constitution + updates. + --drep-voting-threshold-hard-fork-initiation RATIONAL + Acceptance threshold for DRep votes on hard fork + initiations. + --drep-voting-threshold-pp-network-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'network' group. + --drep-voting-threshold-pp-economic-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'economic' group. + --drep-voting-threshold-pp-technical-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'technical' group. + --drep-voting-threshold-pp-governance-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'governance' group. + --drep-voting-threshold-treasury-withdrawal RATIONAL + Acceptance threshold for DRep votes on treasury + withdrawals. + --min-committee-size INT Minimal size of the constitutional committee. + --committee-term-length WORD32 + Maximal term length for members of the constitutional + committee, in epochs. + --governance-action-lifetime WORD32 + Maximal lifetime of governance actions, in epochs. + --new-governance-action-deposit NATURAL + Proposed new value of the deposit required to submit + a governance action. + --drep-deposit LOVELACE DRep deposit amount. + --drep-activity WORD32 DRep activity period, in epochs. + --ref-script-cost-per-byte RATIONAL + Reference script cost per byte for the minimum fee + calculation. + --cost-model-file FILE Filepath of the JSON formatted cost model + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-treasury-withdrawal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-treasury-withdrawal.cli new file mode 100644 index 0000000000..238119081f --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-treasury-withdrawal.cli @@ -0,0 +1,54 @@ +Usage: cardano-cli governance action create-treasury-withdrawal + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + ( + ( --funds-receiving-stake-verification-key STRING + | --funds-receiving-stake-verification-key-file FILEPATH + | --funds-receiving-stake-key-hash HASH + ) + --transfer LOVELACE) + [--constitution-script-hash HASH] + --out-file FILEPATH + + Create a treasury withdrawal. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --funds-receiving-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --funds-receiving-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --funds-receiving-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --transfer LOVELACE The amount to transfer. + --constitution-script-hash HASH + Constitution script hash (hex-encoded). Obtain it + with "cardano-cli hash script ...". + --out-file FILEPATH Output filepath of the treasury withdrawal. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_update-committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_update-committee.cli new file mode 100644 index 0000000000..9802f96bf0 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_update-committee.cli @@ -0,0 +1,74 @@ +Usage: cardano-cli governance action update-committee (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [ --remove-cc-cold-verification-key STRING + | --remove-cc-cold-verification-key-file FILEPATH + | --remove-cc-cold-verification-key-hash STRING + | --remove-cc-cold-script-hash HASH + ] + [ + ( --add-cc-cold-verification-key STRING + | --add-cc-cold-verification-key-file FILEPATH + | --add-cc-cold-verification-key-hash STRING + | --add-cc-cold-script-hash HASH + ) + --epoch NATURAL] + --threshold RATIONAL + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH + + Create or update a new committee proposal. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --remove-cc-cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --remove-cc-cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --remove-cc-cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --remove-cc-cold-script-hash HASH + Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --add-cc-cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --add-cc-cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --add-cc-cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --add-cc-cold-script-hash HASH + Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --epoch NATURAL Committee member expiry epoch + --threshold RATIONAL Threshold of YES votes that are necessary for + approving a governance action. + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_view.cli new file mode 100644 index 0000000000..3ca0095045 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_view.cli @@ -0,0 +1,13 @@ +Usage: cardano-cli governance action view --action-file FILEPATH + [--output-json | --output-yaml] + [--out-file FILEPATH] + + View a governance action. + +Available options: + --action-file FILEPATH Path to action file. + --output-json Format governance action view output to JSON. + --output-yaml Format governance action view output to YAML. + Defaults to JSON if unspecified. + --out-file FILEPATH Optional output file. Default is to write to stdout. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee.cli new file mode 100644 index 0000000000..4a567f16f5 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee.cli @@ -0,0 +1,25 @@ +Usage: cardano-cli governance committee + ( key-gen-cold + | key-gen-hot + | key-hash + | create-hot-key-authorization-certificate + | create-cold-key-resignation-certificate + ) + + Committee member commands. + +Available options: + -h,--help Show this help text + +Available commands: + key-gen-cold Create a cold key pair for a Constitutional Committee + Member + key-gen-hot Create a hot key pair for a Constitutional Committee + Member + key-hash Print the identifier (hash) of a public key + create-hot-key-authorization-certificate + Create hot key authorization certificate for a + Constitutional Committee Member + create-cold-key-resignation-certificate + Create cold key resignation certificate for a + Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-cold-key-resignation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-cold-key-resignation-certificate.cli new file mode 100644 index 0000000000..5fd140f600 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-cold-key-resignation-certificate.cli @@ -0,0 +1,33 @@ +Usage: cardano-cli governance committee create-cold-key-resignation-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + [--resignation-metadata-url TEXT + --resignation-metadata-hash HASH] + --out-file FILEPATH + + Create cold key resignation certificate for a Constitutional Committee Member + +Available options: + --cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --cold-script-hash HASH Committee cold Native or Plutus script file hash + (hex-encoded). Obtain it with "cardano-cli hash + script ...". + --cold-script-file FILEPATH + Cold Native or Plutus script file + --resignation-metadata-url TEXT + Constitutional Committee cold key resignation + certificate URL + --resignation-metadata-hash HASH + Constitutional Committee cold key resignation + certificate metadata hash + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-hot-key-authorization-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-hot-key-authorization-certificate.cli new file mode 100644 index 0000000000..e9736da849 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-hot-key-authorization-certificate.cli @@ -0,0 +1,42 @@ +Usage: cardano-cli governance committee create-hot-key-authorization-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + ( --hot-verification-key STRING + | --hot-verification-key-file FILEPATH + | --hot-verification-key-hash STRING + | --hot-script-hash HASH + | --hot-script-file FILEPATH + ) + --out-file FILEPATH + + Create hot key authorization certificate for a Constitutional Committee Member + +Available options: + --cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --cold-script-hash HASH Committee cold Native or Plutus script file hash + (hex-encoded). Obtain it with "cardano-cli hash + script ...". + --cold-script-file FILEPATH + Cold Native or Plutus script file + --hot-verification-key STRING + Constitutional Committee hot key (hex-encoded). + --hot-verification-key-file FILEPATH + Filepath of the Constitutional Committee hot key. + --hot-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --hot-script-hash HASH Committee hot Native or Plutus script file hash + (hex-encoded). Obtain it with "cardano-cli hash + script ...". + --hot-script-file FILEPATH + Hot Native or Plutus script file + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-cold.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-cold.cli new file mode 100644 index 0000000000..0bdeea1947 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-cold.cli @@ -0,0 +1,12 @@ +Usage: cardano-cli governance committee key-gen-cold + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + + Create a cold key pair for a Constitutional Committee Member + +Available options: + --cold-verification-key-file FILEPATH + Filepath of the cold verification key. + --cold-signing-key-file FILEPATH + Filepath of the cold signing key. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-hot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-hot.cli new file mode 100644 index 0000000000..3451709654 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-hot.cli @@ -0,0 +1,11 @@ +Usage: cardano-cli governance committee key-gen-hot --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a hot key pair for a Constitutional Committee Member + +Available options: + --verification-key-file FILEPATH + Output filepath of the verification key. + --signing-key-file FILEPATH + Output filepath of the signing key. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-hash.cli new file mode 100644 index 0000000000..996ad90b43 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-hash.cli @@ -0,0 +1,15 @@ +Usage: cardano-cli governance committee key-hash + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + + Print the identifier (hash) of a public key + +Available options: + --verification-key STRING + Constitutional Committee Member key (hot or cold) + (Bech32-encoded) + --verification-key-file FILEPATH + Input filepath of the Constitutional Committee Member + key (hot or cold). + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep.cli new file mode 100644 index 0000000000..1ce17209f7 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep.cli @@ -0,0 +1,22 @@ +Usage: cardano-cli governance drep + ( key-gen + | id + | registration-certificate + | retirement-certificate + | update-certificate + | metadata-hash + ) + + DRep member commands. + +Available options: + -h,--help Show this help text + +Available commands: + key-gen Generate Delegated Representative verification and + signing keys. + id Generate a drep id. + registration-certificate Create a registration certificate. + retirement-certificate Create a DRep retirement certificate. + update-certificate Create a DRep update certificate. + metadata-hash Calculate the hash of a metadata file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_id.cli new file mode 100644 index 0000000000..7138c4f774 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_id.cli @@ -0,0 +1,18 @@ +Usage: cardano-cli governance drep id + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] + + Generate a drep id. + +Available options: + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --output-format STRING Optional drep id output format. Accepted output + formats are "hex" and "bech32" (default is "bech32"). + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_key-gen.cli new file mode 100644 index 0000000000..0a1e6dc660 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_key-gen.cli @@ -0,0 +1,11 @@ +Usage: cardano-cli governance drep key-gen --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Generate Delegated Representative verification and signing keys. + +Available options: + --verification-key-file FILEPATH + Output filepath of the verification key. + --signing-key-file FILEPATH + Output filepath of the signing key. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_metadata-hash.cli new file mode 100644 index 0000000000..457f2504d3 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_metadata-hash.cli @@ -0,0 +1,10 @@ +Usage: cardano-cli governance drep metadata-hash --drep-metadata-file FILEPATH + [--out-file FILEPATH] + + Calculate the hash of a metadata file. + +Available options: + --drep-metadata-file FILEPATH + JSON Metadata file to hash. + --out-file FILEPATH Optional output file. Default is to write to stdout. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_registration-certificate.cli new file mode 100644 index 0000000000..400eaf0fac --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_registration-certificate.cli @@ -0,0 +1,29 @@ +Usage: cardano-cli governance drep registration-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --key-reg-deposit-amt NATURAL + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH + + Create a registration certificate. + +Available options: + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --key-reg-deposit-amt NATURAL + Key registration deposit amount. + --drep-metadata-url TEXT DRep anchor URL + --drep-metadata-hash HASH + DRep anchor data hash. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_retirement-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_retirement-certificate.cli new file mode 100644 index 0000000000..5f3422b836 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_retirement-certificate.cli @@ -0,0 +1,24 @@ +Usage: cardano-cli governance drep retirement-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --deposit-amt LOVELACE + --out-file FILEPATH + + Create a DRep retirement certificate. + +Available options: + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --deposit-amt LOVELACE DRep deposit amount (same at registration and + retirement). + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_update-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_update-certificate.cli new file mode 100644 index 0000000000..c94633159e --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_update-certificate.cli @@ -0,0 +1,26 @@ +Usage: cardano-cli governance drep update-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH + + Create a DRep update certificate. + +Available options: + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --drep-metadata-url TEXT DRep anchor URL + --drep-metadata-hash HASH + DRep anchor data hash. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote.cli new file mode 100644 index 0000000000..79455568ae --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote.cli @@ -0,0 +1,10 @@ +Usage: cardano-cli governance vote (create | view) + + Vote commands. + +Available options: + -h,--help Show this help text + +Available commands: + create Vote creation. + view Vote viewing. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_create.cli new file mode 100644 index 0000000000..8853da8cb2 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_create.cli @@ -0,0 +1,54 @@ +Usage: cardano-cli governance vote create (--yes | --no | --abstain) + --governance-action-tx-id TXID + --governance-action-index WORD16 + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --drep-script-hash HASH + | --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + | --cc-hot-verification-key STRING + | --cc-hot-verification-key-file FILEPATH + | --cc-hot-key-hash STRING + | --cc-hot-script-hash HASH + ) + [--anchor-url TEXT + --anchor-data-hash HASH] + --out-file FILEPATH + + Vote creation. + +Available options: + --governance-action-tx-id TXID + Txid of the governance action. + --governance-action-index WORD16 + Tx's governance action index. + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --drep-script-hash HASH Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --stake-pool-verification-key STRING + Stake pool verification key (Bech32 or hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the stake pool verification key. + --stake-pool-id STAKE_POOL_ID + Stake pool ID/verification key hash (either + Bech32-encoded or hex-encoded). + --cc-hot-verification-key STRING + Constitutional Committee hot key (hex-encoded). + --cc-hot-verification-key-file FILEPATH + Filepath of the Constitutional Committee hot key. + --cc-hot-key-hash STRING Constitutional Committee key hash (hex-encoded). + --cc-hot-script-hash HASH + Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --anchor-url TEXT Vote anchor URL + --anchor-data-hash HASH Hash of the vote anchor data (obtain it with + "cardano-cli hash anchor-data ..."). + --out-file FILEPATH Output filepath of the vote. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_view.cli new file mode 100644 index 0000000000..67ca3054d7 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_view.cli @@ -0,0 +1,13 @@ +Usage: cardano-cli governance vote view [--output-json | --output-yaml] + --vote-file FILEPATH + [--out-file FILEPATH] + + Vote viewing. + +Available options: + --output-json Format governance vote view output to JSON. + --output-yaml Format governance vote view output to YAML. Defaults + to JSON if unspecified. + --vote-file FILEPATH Input filepath of the vote. + --out-file FILEPATH Optional output file. Default is to write to stdout. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli index 7152a95c84..c47902f063 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli @@ -9,7 +9,7 @@ Usage: cardano-cli key | convert-cardano-address-key ) - Key utility commands + Key utility commands. Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance.cli index 823ba48e81..cac8787487 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance.cli @@ -1,11 +1,4 @@ -Usage: cardano-cli latest governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - | create-poll - | answer-poll - | verify-poll - ) +Usage: cardano-cli latest governance (action | committee | drep | vote) Governance commands. @@ -13,11 +6,7 @@ Available options: -h,--help Show this help text Available commands: - create-mir-certificate Create an MIR (Move Instantaneous Rewards) - certificate - create-genesis-key-delegation-certificate - Create a genesis key delegation certificate action Governance action commands. - create-poll Create an SPO poll - answer-poll Answer an SPO poll - verify-poll Verify an answer to a given SPO poll + committee Committee member commands. + drep DRep member commands. + vote Vote commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action.cli new file mode 100644 index 0000000000..d9164faa94 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action.cli @@ -0,0 +1,27 @@ +Usage: cardano-cli latest governance action + ( create-constitution + | update-committee + | create-info + | create-no-confidence + | create-protocol-parameters-update + | create-treasury-withdrawal + | create-hardfork + | view + ) + + Governance action commands. + +Available options: + -h,--help Show this help text + +Available commands: + create-constitution Create a constitution. + update-committee Create or update a new committee proposal. + create-info Create an info action. + create-no-confidence Create a no confidence proposal. + create-protocol-parameters-update + Create a protocol parameters update. + create-treasury-withdrawal + Create a treasury withdrawal. + create-hardfork Create a hardfork initiation proposal. + view View a governance action. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli new file mode 100644 index 0000000000..be37407816 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli @@ -0,0 +1,52 @@ +Usage: cardano-cli latest governance action create-constitution + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + --constitution-url TEXT + --constitution-hash HASH + [--constitution-script-hash HASH] + --out-file FILEPATH + + Create a constitution. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --constitution-url TEXT Constitution URL. + --constitution-hash HASH Hash of the constitution data (obtain it with + "cardano-cli hash anchor-data ..."). + --constitution-script-hash HASH + Constitution script hash (hex-encoded). Obtain it + with "cardano-cli hash script ...". + --out-file FILEPATH Output filepath of the constitution. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli new file mode 100644 index 0000000000..b4e0fd45e6 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli @@ -0,0 +1,55 @@ +Usage: cardano-cli latest governance action create-hardfork + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + --protocol-major-version MAJOR + --protocol-minor-version MINOR + --out-file FILEPATH + + Create a hardfork initiation proposal. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --protocol-major-version MAJOR + Specify the major protocol version to fork into. An + increase indicates a hard fork. It must be the next + natural number after the current version and must be + supported by the node. + --protocol-minor-version MINOR + Minor protocol version. An increase indicates a soft + fork (old software can validate but not produce new + blocks). Must be zero when the major protocol version + is increased. + --out-file FILEPATH Output filepath of the hardfork proposal. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-info.cli new file mode 100644 index 0000000000..56e1c2064e --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-info.cli @@ -0,0 +1,35 @@ +Usage: cardano-cli latest governance action create-info (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + --out-file FILEPATH + + Create an info action. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --out-file FILEPATH Path to action file to be used later on with build or + build-raw + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli new file mode 100644 index 0000000000..fe8ea3dbb5 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli @@ -0,0 +1,43 @@ +Usage: cardano-cli latest governance action create-no-confidence + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH + + Create a no confidence proposal. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --out-file FILEPATH Output filepath of the no confidence proposal. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-protocol-parameters-update.cli index 6d974742e1..da30d18402 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-protocol-parameters-update.cli @@ -1,5 +1,19 @@ -Usage: cardano-cli latest governance action create-protocol-parameters-update --epoch NATURAL - (--genesis-verification-key-file FILEPATH) +Usage: cardano-cli latest governance action create-protocol-parameters-update + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + [--constitution-script-hash HASH] [--min-fee-linear LOVELACE] [--min-fee-constant LOVELACE] [--max-block-body-size WORD32] @@ -20,19 +34,59 @@ Usage: cardano-cli latest governance action create-protocol-parameters-update -- [--max-value-size INT] [--collateral-percent INT] [--max-collateral-inputs INT] - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] [--utxo-cost-per-byte LOVELACE] + [--pool-voting-threshold-motion-no-confidence RATIONAL + --pool-voting-threshold-committee-normal RATIONAL + --pool-voting-threshold-committee-no-confidence RATIONAL + --pool-voting-threshold-hard-fork-initiation RATIONAL + --pool-voting-threshold-pp-security-group RATIONAL] + [--drep-voting-threshold-motion-no-confidence RATIONAL + --drep-voting-threshold-committee-normal RATIONAL + --drep-voting-threshold-committee-no-confidence RATIONAL + --drep-voting-threshold-update-to-constitution RATIONAL + --drep-voting-threshold-hard-fork-initiation RATIONAL + --drep-voting-threshold-pp-network-group RATIONAL + --drep-voting-threshold-pp-economic-group RATIONAL + --drep-voting-threshold-pp-technical-group RATIONAL + --drep-voting-threshold-pp-governance-group RATIONAL + --drep-voting-threshold-treasury-withdrawal RATIONAL] + [--min-committee-size INT] + [--committee-term-length WORD32] + [--governance-action-lifetime WORD32] + [--new-governance-action-deposit NATURAL] + [--drep-deposit LOVELACE] + [--drep-activity WORD32] + [--ref-script-cost-per-byte RATIONAL] [--cost-model-file FILE] --out-file FILEPATH Create a protocol parameters update. Available options: - --epoch NATURAL The epoch number in which the update proposal is - valid. - --genesis-verification-key-file FILEPATH - Filepath of the genesis verification key. + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --constitution-script-hash HASH + Constitution script hash (hex-encoded). Obtain it + with "cardano-cli hash script ...". --min-fee-linear LOVELACE The linear factor per byte for the minimum fee calculation. @@ -82,19 +136,70 @@ Available options: --max-collateral-inputs INT The maximum number of collateral inputs allowed in a transaction (from Alonzo era). - --protocol-major-version MAJOR - Specify the major protocol version to fork into. An - increase indicates a hard fork. It must be the next - natural number after the current version and must be - supported by the node. - --protocol-minor-version MINOR - Minor protocol version. An increase indicates a soft - fork (old software can validate but not produce new - blocks). Must be zero when the major protocol version - is increased. --utxo-cost-per-byte LOVELACE Cost in lovelace per unit of UTxO storage (from Babbage era). + --pool-voting-threshold-motion-no-confidence RATIONAL + Acceptance threshold for stake pool votes on motions + no confidence. + --pool-voting-threshold-committee-normal RATIONAL + Acceptance threshold for stake pool votes on normal + committee updates. + --pool-voting-threshold-committee-no-confidence RATIONAL + Acceptance threshold for stake pool votes on + committee updates when the committee is in a state of + no confidence. + --pool-voting-threshold-hard-fork-initiation RATIONAL + Acceptance threshold for stake pool votes on hard + fork initiations. + --pool-voting-threshold-pp-security-group RATIONAL + Acceptance threshold for stake pool votes on protocol + parameters for parameters in the 'security' group. + --drep-voting-threshold-motion-no-confidence RATIONAL + Acceptance threshold for DRep votes on motions of no + confidence. + --drep-voting-threshold-committee-normal RATIONAL + Acceptance threshold for DRep votes on normal + committee updates. + --drep-voting-threshold-committee-no-confidence RATIONAL + Acceptance threshold for DRep votes on committee + updates when the committee is in a state of no + confidence. + --drep-voting-threshold-update-to-constitution RATIONAL + Acceptance threshold for DRep votes on constitution + updates. + --drep-voting-threshold-hard-fork-initiation RATIONAL + Acceptance threshold for DRep votes on hard fork + initiations. + --drep-voting-threshold-pp-network-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'network' group. + --drep-voting-threshold-pp-economic-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'economic' group. + --drep-voting-threshold-pp-technical-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'technical' group. + --drep-voting-threshold-pp-governance-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'governance' group. + --drep-voting-threshold-treasury-withdrawal RATIONAL + Acceptance threshold for DRep votes on treasury + withdrawals. + --min-committee-size INT Minimal size of the constitutional committee. + --committee-term-length WORD32 + Maximal term length for members of the constitutional + committee, in epochs. + --governance-action-lifetime WORD32 + Maximal lifetime of governance actions, in epochs. + --new-governance-action-deposit NATURAL + Proposed new value of the deposit required to submit + a governance action. + --drep-deposit LOVELACE DRep deposit amount. + --drep-activity WORD32 DRep activity period, in epochs. + --ref-script-cost-per-byte RATIONAL + Reference script cost per byte for the minimum fee + calculation. --cost-model-file FILE Filepath of the JSON formatted cost model --out-file FILEPATH The output file. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-treasury-withdrawal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-treasury-withdrawal.cli new file mode 100644 index 0000000000..8752bc806c --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-treasury-withdrawal.cli @@ -0,0 +1,54 @@ +Usage: cardano-cli latest governance action create-treasury-withdrawal + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + ( + ( --funds-receiving-stake-verification-key STRING + | --funds-receiving-stake-verification-key-file FILEPATH + | --funds-receiving-stake-key-hash HASH + ) + --transfer LOVELACE) + [--constitution-script-hash HASH] + --out-file FILEPATH + + Create a treasury withdrawal. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --funds-receiving-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --funds-receiving-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --funds-receiving-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --transfer LOVELACE The amount to transfer. + --constitution-script-hash HASH + Constitution script hash (hex-encoded). Obtain it + with "cardano-cli hash script ...". + --out-file FILEPATH Output filepath of the treasury withdrawal. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_update-committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_update-committee.cli new file mode 100644 index 0000000000..d906ee584e --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_update-committee.cli @@ -0,0 +1,77 @@ +Usage: cardano-cli latest governance action update-committee + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [ --remove-cc-cold-verification-key STRING + | --remove-cc-cold-verification-key-file FILEPATH + | --remove-cc-cold-verification-key-hash STRING + | --remove-cc-cold-script-hash HASH + ] + [ + ( --add-cc-cold-verification-key STRING + | --add-cc-cold-verification-key-file FILEPATH + | --add-cc-cold-verification-key-hash STRING + | --add-cc-cold-script-hash HASH + ) + --epoch NATURAL] + --threshold RATIONAL + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH + + Create or update a new committee proposal. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --remove-cc-cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --remove-cc-cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --remove-cc-cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --remove-cc-cold-script-hash HASH + Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --add-cc-cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --add-cc-cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --add-cc-cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --add-cc-cold-script-hash HASH + Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --epoch NATURAL Committee member expiry epoch + --threshold RATIONAL Threshold of YES votes that are necessary for + approving a governance action. + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_view.cli new file mode 100644 index 0000000000..52fd08bb7a --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_view.cli @@ -0,0 +1,15 @@ +Usage: cardano-cli latest governance action view --action-file FILEPATH + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + View a governance action. + +Available options: + --action-file FILEPATH Path to action file. + --output-json Format governance action view output to JSON. + --output-yaml Format governance action view output to YAML. + Defaults to JSON if unspecified. + --out-file FILEPATH Optional output file. Default is to write to stdout. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee.cli new file mode 100644 index 0000000000..baa0874cfa --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee.cli @@ -0,0 +1,25 @@ +Usage: cardano-cli latest governance committee + ( key-gen-cold + | key-gen-hot + | key-hash + | create-hot-key-authorization-certificate + | create-cold-key-resignation-certificate + ) + + Committee member commands. + +Available options: + -h,--help Show this help text + +Available commands: + key-gen-cold Create a cold key pair for a Constitutional Committee + Member + key-gen-hot Create a hot key pair for a Constitutional Committee + Member + key-hash Print the identifier (hash) of a public key + create-hot-key-authorization-certificate + Create hot key authorization certificate for a + Constitutional Committee Member + create-cold-key-resignation-certificate + Create cold key resignation certificate for a + Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli new file mode 100644 index 0000000000..702c22d520 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli @@ -0,0 +1,33 @@ +Usage: cardano-cli latest governance committee create-cold-key-resignation-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + [--resignation-metadata-url TEXT + --resignation-metadata-hash HASH] + --out-file FILEPATH + + Create cold key resignation certificate for a Constitutional Committee Member + +Available options: + --cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --cold-script-hash HASH Committee cold Native or Plutus script file hash + (hex-encoded). Obtain it with "cardano-cli hash + script ...". + --cold-script-file FILEPATH + Cold Native or Plutus script file + --resignation-metadata-url TEXT + Constitutional Committee cold key resignation + certificate URL + --resignation-metadata-hash HASH + Constitutional Committee cold key resignation + certificate metadata hash + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-hot-key-authorization-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-hot-key-authorization-certificate.cli new file mode 100644 index 0000000000..ee9c016cb2 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-hot-key-authorization-certificate.cli @@ -0,0 +1,42 @@ +Usage: cardano-cli latest governance committee create-hot-key-authorization-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + ( --hot-verification-key STRING + | --hot-verification-key-file FILEPATH + | --hot-verification-key-hash STRING + | --hot-script-hash HASH + | --hot-script-file FILEPATH + ) + --out-file FILEPATH + + Create hot key authorization certificate for a Constitutional Committee Member + +Available options: + --cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --cold-script-hash HASH Committee cold Native or Plutus script file hash + (hex-encoded). Obtain it with "cardano-cli hash + script ...". + --cold-script-file FILEPATH + Cold Native or Plutus script file + --hot-verification-key STRING + Constitutional Committee hot key (hex-encoded). + --hot-verification-key-file FILEPATH + Filepath of the Constitutional Committee hot key. + --hot-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --hot-script-hash HASH Committee hot Native or Plutus script file hash + (hex-encoded). Obtain it with "cardano-cli hash + script ...". + --hot-script-file FILEPATH + Hot Native or Plutus script file + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli new file mode 100644 index 0000000000..06e6962fab --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli @@ -0,0 +1,12 @@ +Usage: cardano-cli latest governance committee key-gen-cold + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + + Create a cold key pair for a Constitutional Committee Member + +Available options: + --cold-verification-key-file FILEPATH + Filepath of the cold verification key. + --cold-signing-key-file FILEPATH + Filepath of the cold signing key. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli new file mode 100644 index 0000000000..03c0c0c39e --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli @@ -0,0 +1,11 @@ +Usage: cardano-cli latest governance committee key-gen-hot --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a hot key pair for a Constitutional Committee Member + +Available options: + --verification-key-file FILEPATH + Output filepath of the verification key. + --signing-key-file FILEPATH + Output filepath of the signing key. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-hash.cli new file mode 100644 index 0000000000..16ee7c9cf9 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-hash.cli @@ -0,0 +1,15 @@ +Usage: cardano-cli latest governance committee key-hash + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + + Print the identifier (hash) of a public key + +Available options: + --verification-key STRING + Constitutional Committee Member key (hot or cold) + (Bech32-encoded) + --verification-key-file FILEPATH + Input filepath of the Constitutional Committee Member + key (hot or cold). + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep.cli new file mode 100644 index 0000000000..c528ca5510 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep.cli @@ -0,0 +1,22 @@ +Usage: cardano-cli latest governance drep + ( key-gen + | id + | registration-certificate + | retirement-certificate + | update-certificate + | metadata-hash + ) + + DRep member commands. + +Available options: + -h,--help Show this help text + +Available commands: + key-gen Generate Delegated Representative verification and + signing keys. + id Generate a drep id. + registration-certificate Create a registration certificate. + retirement-certificate Create a DRep retirement certificate. + update-certificate Create a DRep update certificate. + metadata-hash Calculate the hash of a metadata file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli new file mode 100644 index 0000000000..0cbbf1fc1d --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli @@ -0,0 +1,18 @@ +Usage: cardano-cli latest governance drep id + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] + + Generate a drep id. + +Available options: + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --output-format STRING Optional drep id output format. Accepted output + formats are "hex" and "bech32" (default is "bech32"). + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli new file mode 100644 index 0000000000..7e69689f7d --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli @@ -0,0 +1,11 @@ +Usage: cardano-cli latest governance drep key-gen --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Generate Delegated Representative verification and signing keys. + +Available options: + --verification-key-file FILEPATH + Output filepath of the verification key. + --signing-key-file FILEPATH + Output filepath of the signing key. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_metadata-hash.cli new file mode 100644 index 0000000000..8244533c50 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_metadata-hash.cli @@ -0,0 +1,10 @@ +Usage: cardano-cli latest governance drep metadata-hash --drep-metadata-file FILEPATH + [--out-file FILEPATH] + + Calculate the hash of a metadata file. + +Available options: + --drep-metadata-file FILEPATH + JSON Metadata file to hash. + --out-file FILEPATH Optional output file. Default is to write to stdout. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli new file mode 100644 index 0000000000..60e91638da --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli @@ -0,0 +1,29 @@ +Usage: cardano-cli latest governance drep registration-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --key-reg-deposit-amt NATURAL + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH + + Create a registration certificate. + +Available options: + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --key-reg-deposit-amt NATURAL + Key registration deposit amount. + --drep-metadata-url TEXT DRep anchor URL + --drep-metadata-hash HASH + DRep anchor data hash. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli new file mode 100644 index 0000000000..6e85043669 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli @@ -0,0 +1,24 @@ +Usage: cardano-cli latest governance drep retirement-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --deposit-amt LOVELACE + --out-file FILEPATH + + Create a DRep retirement certificate. + +Available options: + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --deposit-amt LOVELACE DRep deposit amount (same at registration and + retirement). + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli new file mode 100644 index 0000000000..56e3f622fd --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli @@ -0,0 +1,26 @@ +Usage: cardano-cli latest governance drep update-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH + + Create a DRep update certificate. + +Available options: + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --drep-metadata-url TEXT DRep anchor URL + --drep-metadata-hash HASH + DRep anchor data hash. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote.cli new file mode 100644 index 0000000000..04200e0f40 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote.cli @@ -0,0 +1,10 @@ +Usage: cardano-cli latest governance vote (create | view) + + Vote commands. + +Available options: + -h,--help Show this help text + +Available commands: + create Vote creation. + view Vote viewing. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli new file mode 100644 index 0000000000..fb93ae26f9 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli @@ -0,0 +1,54 @@ +Usage: cardano-cli latest governance vote create (--yes | --no | --abstain) + --governance-action-tx-id TXID + --governance-action-index WORD16 + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --drep-script-hash HASH + | --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + | --cc-hot-verification-key STRING + | --cc-hot-verification-key-file FILEPATH + | --cc-hot-key-hash STRING + | --cc-hot-script-hash HASH + ) + [--anchor-url TEXT + --anchor-data-hash HASH] + --out-file FILEPATH + + Vote creation. + +Available options: + --governance-action-tx-id TXID + Txid of the governance action. + --governance-action-index WORD16 + Tx's governance action index. + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --drep-script-hash HASH Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --stake-pool-verification-key STRING + Stake pool verification key (Bech32 or hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the stake pool verification key. + --stake-pool-id STAKE_POOL_ID + Stake pool ID/verification key hash (either + Bech32-encoded or hex-encoded). + --cc-hot-verification-key STRING + Constitutional Committee hot key (hex-encoded). + --cc-hot-verification-key-file FILEPATH + Filepath of the Constitutional Committee hot key. + --cc-hot-key-hash STRING Constitutional Committee key hash (hex-encoded). + --cc-hot-script-hash HASH + Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --anchor-url TEXT Vote anchor URL + --anchor-data-hash HASH Hash of the vote anchor data (obtain it with + "cardano-cli hash anchor-data ..."). + --out-file FILEPATH Output filepath of the vote. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli new file mode 100644 index 0000000000..8e03116cde --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli @@ -0,0 +1,13 @@ +Usage: cardano-cli latest governance vote view [--output-json | --output-yaml] + --vote-file FILEPATH + [--out-file FILEPATH] + + Vote viewing. + +Available options: + --output-json Format governance vote view output to JSON. + --output-yaml Format governance vote view output to YAML. Defaults + to JSON if unspecified. + --vote-file FILEPATH Input filepath of the vote. + --out-file FILEPATH Optional output file. Default is to write to stdout. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli index 1fbd07b292..29935af77a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli @@ -14,6 +14,13 @@ Usage: cardano-cli latest query | tx-mempool | slot-number | ref-script-size + | constitution + | gov-state + | drep-state + | drep-stake-distribution + | spo-stake-distribution + | committee-state + | treasury ) Node query commands. Will query the local node whose Unix domain socket is @@ -50,3 +57,10 @@ Available commands: slot-number Query slot number for UTC timestamp ref-script-size Calculate the reference input scripts size in bytes for provided transaction inputs. + constitution Get the constitution + gov-state Get the governance state + drep-state Get the DRep state. + drep-stake-distribution Get the DRep stake distribution. + spo-stake-distribution Get the SPO stake distribution. + committee-state Get the committee state + treasury Get the treasury value diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli new file mode 100644 index 0000000000..9bb5fe85d1 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli @@ -0,0 +1,64 @@ +Usage: cardano-cli latest query committee-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + ] + [ --hot-key STRING + | --hot-key-file FILEPATH + | --hot-key-hash STRING + | --hot-script-hash HASH + ] + [ --active + | --expired + | --unrecognized + ] + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the committee state + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --cold-script-hash HASH Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --hot-key STRING Constitutional Committee hot key (hex-encoded). + --hot-key-file FILEPATH Filepath of the Constitutional Committee hot key. + --hot-key-hash STRING Constitutional Committee key hash (hex-encoded). + --hot-script-hash HASH Hot Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --active Active committee members (members whose vote will + count during ratification) + --expired Expired committee members + --unrecognized Unrecognized committe members: a hot credential for + an unknown cold credential + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli new file mode 100644 index 0000000000..e10cd9d5ca --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli @@ -0,0 +1,32 @@ +Usage: cardano-cli latest query constitution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the constitution + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli new file mode 100644 index 0000000000..6393e62650 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli @@ -0,0 +1,50 @@ +Usage: cardano-cli latest query drep-stake-distribution + --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the DRep stake distribution. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --all-dreps Query for all DReps. + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli new file mode 100644 index 0000000000..9b6334588c --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli @@ -0,0 +1,53 @@ +Usage: cardano-cli latest query drep-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [--include-stake] + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the DRep state. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --all-dreps Query for all DReps. + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --include-stake Also return the stake associated with each DRep. The + result is the same as with "drep-stake-distribution"; + this is a convenience option to obtain all + information concerning a DRep at once. This is a + potentially expensive query, so it's OFF by default. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli new file mode 100644 index 0000000000..6b90d3f8b5 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli @@ -0,0 +1,30 @@ +Usage: cardano-cli latest query gov-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the governance state + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_kes-period-info.cli index 5ee0c47d87..ec1d84839c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_kes-period-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_kes-period-info.cli @@ -5,6 +5,9 @@ Usage: cardano-cli latest query kes-period-info --socket-path SOCKET_PATH | --testnet-magic NATURAL ) --op-cert-file FILEPATH + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Get information about the current KES period and your node's operational @@ -25,5 +28,8 @@ Available options: --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable --op-cert-file FILEPATH Filepath of the node's operational certificate. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_leadership-schedule.cli index 485940cbf6..6896f5dc83 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_leadership-schedule.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_leadership-schedule.cli @@ -11,6 +11,9 @@ Usage: cardano-cli latest query leadership-schedule --socket-path SOCKET_PATH ) --vrf-signing-key-file FILEPATH (--current | --next) + [ --volatile-tip + | --immutable-tip + ] [ --output-json | --output-text ] @@ -44,6 +47,9 @@ Available options: Input filepath of the VRF signing key. --current Get the leadership schedule for the current epoch. --next Get the leadership schedule for the following epoch. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format leadership-schedule query output to JSON. Default format when writing to a file --output-text Format leadership-schedule query output to TEXT. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-state.cli index 919c7fb24d..75eed818f7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-state.cli @@ -4,6 +4,9 @@ Usage: cardano-cli latest query ledger-state --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Dump the current ledger state of the node (Ledger.NewEpochState -- advanced @@ -23,5 +26,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-params.cli index 34dbe21cc8..506406ee91 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-params.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-params.cli @@ -7,6 +7,7 @@ Usage: cardano-cli latest query pool-params --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] DEPRECATED. Use query pool-state instead. Dump the pool parameters @@ -31,5 +32,8 @@ Available options: --stake-pool-id STAKE_POOL_ID Stake pool ID/verification key hash (either Bech32-encoded or hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-state.cli index d0919c0e5a..206f275dd6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-state.cli @@ -7,6 +7,7 @@ Usage: cardano-cli latest query pool-state --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Dump the pool state @@ -29,5 +30,8 @@ Available options: --stake-pool-id STAKE_POOL_ID Stake pool ID/verification key hash (either Bech32-encoded or hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-state.cli index 46187229bc..a65fbc3e58 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-state.cli @@ -4,6 +4,9 @@ Usage: cardano-cli latest query protocol-state --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced @@ -23,5 +26,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ref-script-size.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ref-script-size.cli index 506d4c70f9..4fe1fa6268 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ref-script-size.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ref-script-size.cli @@ -5,6 +5,9 @@ Usage: cardano-cli latest query ref-script-size --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [ --volatile-tip + | --immutable-tip + ] [ --output-json | --output-text ] @@ -28,6 +31,9 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format reference inputs query output to JSON. Default format when writing to a file --output-text Format reference inputs query output to TEXT. Default diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_slot-number.cli index aa29277bcb..ae52eb52de 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_slot-number.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_slot-number.cli @@ -4,6 +4,7 @@ Usage: cardano-cli latest query slot-number --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [--volatile-tip | --immutable-tip] TIMESTAMP Query slot number for UTC timestamp @@ -22,5 +23,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. TIMESTAMP UTC timestamp in YYYY-MM-DDThh:mm:ssZ format -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_spo-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_spo-stake-distribution.cli new file mode 100644 index 0000000000..d49c200112 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_spo-stake-distribution.cli @@ -0,0 +1,46 @@ +Usage: cardano-cli latest query spo-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-spos + | + ( --spo-verification-key STRING + | --spo-verification-key-file FILEPATH + | --spo-key-hash HASH + ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the SPO stake distribution. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --all-spos Query for all DReps. + --spo-verification-key STRING + SPO verification key (Bech32 or hex-encoded). + --spo-verification-key-file FILEPATH + Filepath of the SPO verification key. + --spo-key-hash HASH SPO verification key hash (either Bech32-encoded or + hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-address-info.cli index 333311b424..58fc9cc7c6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-address-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-address-info.cli @@ -5,6 +5,9 @@ Usage: cardano-cli latest query stake-address-info --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. @@ -24,5 +27,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-distribution.cli index a58bf04c99..7bf93f7514 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-distribution.cli @@ -4,6 +4,9 @@ Usage: cardano-cli latest query stake-distribution --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [ --volatile-tip + | --immutable-tip + ] [ --output-json | --output-text ] @@ -25,6 +28,9 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format stake-distribution query output to JSON. Default format when writing to a file --output-text Format stake-distribution query output to TEXT. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-pools.cli index 73766e1c6b..c1a930977e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-pools.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-pools.cli @@ -4,6 +4,7 @@ Usage: cardano-cli latest query stake-pools --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [--volatile-tip | --immutable-tip] [--output-json | --output-text] [--out-file FILEPATH] @@ -23,6 +24,9 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format stake-pools query output to JSON. Default format when writing to a file --output-text Format stake-pools query output to TEXT. Default diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-snapshot.cli index bea262c10e..703e9645a9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-snapshot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-snapshot.cli @@ -7,6 +7,9 @@ Usage: cardano-cli latest query stake-snapshot --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Obtain the three stake snapshots for a pool, plus the total active stake @@ -30,5 +33,8 @@ Available options: --stake-pool-id STAKE_POOL_ID Stake pool ID/verification key hash (either Bech32-encoded or hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tip.cli index 69b06c7966..967245541e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tip.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tip.cli @@ -1,6 +1,7 @@ Usage: cardano-cli latest query tip --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) @@ -19,5 +20,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli new file mode 100644 index 0000000000..8159ed0e3b --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli @@ -0,0 +1,28 @@ +Usage: cardano-cli latest query treasury --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the treasury value + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_utxo.cli index d97215feee..6e22fa4560 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_utxo.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest query utxo --socket-path SOCKET_PATH | (--tx-in TX-IN) ) (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--output-json | --output-text] [--out-file FILEPATH] @@ -28,6 +29,9 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format utxo query output to JSON. Default format when writing to a file --output-text Format utxo query output to TEXT. Default format when diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address.cli index 966c73c335..ab064b3ee2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address.cli @@ -5,6 +5,8 @@ Usage: cardano-cli latest stake-address | registration-certificate | deregistration-certificate | stake-delegation-certificate + | stake-and-vote-delegation-certificate + | vote-delegation-certificate ) Stake address commands. @@ -23,3 +25,11 @@ Available commands: Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. + stake-and-vote-delegation-certificate + Create a stake address stake and vote delegation + certificate, which when submitted in a transaction + delegates stake to a stake pool and a DRep. + vote-delegation-certificate + Create a stake address vote delegation certificate, + which when submitted in a transaction delegates stake + to a DRep. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_deregistration-certificate.cli index d102761c99..574325d92d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_deregistration-certificate.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest stake-address deregistration-certificate | --stake-script-file FILEPATH | --stake-address ADDRESS ) + --key-reg-deposit-amt NATURAL --out-file FILEPATH Create a stake address deregistration certificate @@ -18,5 +19,7 @@ Available options: --stake-script-file FILEPATH Filepath of the staking script. --stake-address ADDRESS Target stake address (bech32 format). + --key-reg-deposit-amt NATURAL + Key registration deposit amount. --out-file FILEPATH The output file. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-certificate.cli index bcbf148257..b6cea3dedd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-certificate.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest stake-address registration-certificate | --stake-script-file FILEPATH | --stake-address ADDRESS ) + --key-reg-deposit-amt NATURAL --out-file FILEPATH Create a stake address registration certificate @@ -18,5 +19,7 @@ Available options: --stake-script-file FILEPATH Filepath of the staking script. --stake-address ADDRESS Target stake address (bech32 format). + --key-reg-deposit-amt NATURAL + Key registration deposit amount. --out-file FILEPATH The output file. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli new file mode 100644 index 0000000000..353f0a632a --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli @@ -0,0 +1,51 @@ +Usage: cardano-cli latest stake-address stake-and-vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH + + Create a stake address stake and vote delegation certificate, which when + submitted in a transaction delegates stake to a stake pool and a DRep. + +Available options: + --stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --stake-key-hash HASH Stake verification key hash (hex-encoded). + --stake-script-file FILEPATH + Filepath of the staking script. + --stake-address ADDRESS Target stake address (bech32 format). + --stake-pool-verification-key STRING + Stake pool verification key (Bech32 or hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the stake pool verification key. + --stake-pool-id STAKE_POOL_ID + Stake pool ID/verification key hash (either + Bech32-encoded or hex-encoded). + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --always-abstain Abstain from voting on all proposals. + --always-no-confidence Always vote no confidence + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_vote-delegation-certificate.cli new file mode 100644 index 0000000000..b68b61a1e9 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_vote-delegation-certificate.cli @@ -0,0 +1,40 @@ +Usage: cardano-cli latest stake-address vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH + + Create a stake address vote delegation certificate, which when submitted in a + transaction delegates stake to a DRep. + +Available options: + --stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --stake-key-hash HASH Stake verification key hash (hex-encoded). + --stake-script-file FILEPATH + Filepath of the staking script. + --stake-address ADDRESS Target stake address (bech32 format). + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --always-abstain Abstain from voting on all proposals. + --always-no-confidence Always vote no confidence + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-estimate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-estimate.cli index 39dad1470c..a944d0774c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-estimate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-estimate.cli @@ -11,11 +11,11 @@ Usage: cardano-cli latest transaction build-estimate ( --spending-plutus-script-v2 | --spending-plutus-script-v3 ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE | --spending-reference-tx-in-datum-file JSON_FILE | --spending-reference-tx-in-datum-value JSON_VALUE | --spending-reference-tx-in-inline-datum-present - ) + ] ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | --spending-reference-tx-in-redeemer-file JSON_FILE | --spending-reference-tx-in-redeemer-value JSON_VALUE @@ -24,11 +24,11 @@ Usage: cardano-cli latest transaction build-estimate | --simple-script-tx-in-reference TX-IN | --tx-in-script-file FILEPATH [ - ( --tx-in-datum-cbor-file CBOR_FILE + [ --tx-in-datum-cbor-file CBOR_FILE | --tx-in-datum-file JSON_FILE | --tx-in-datum-value JSON_VALUE | --tx-in-inline-datum-present - ) + ] ( --tx-in-redeemer-cbor-file CBOR_FILE | --tx-in-redeemer-file JSON_FILE | --tx-in-redeemer-value JSON_VALUE @@ -124,7 +124,40 @@ Usage: cardano-cli latest transaction build-estimate [ --metadata-json-file FILEPATH | --metadata-cbor-file FILEPATH ] - [--update-proposal-file FILEPATH] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] --out-file FILEPATH Build a balanced transaction without access to a live node (automatically estimates fees) @@ -411,7 +444,72 @@ Available options: Filepath of the metadata file, in JSON format. --metadata-cbor-file FILEPATH Filepath of the metadata, in raw CBOR format. - --update-proposal-file FILEPATH - Filepath of the update proposal. + --vote-file FILEPATH Filepath of the vote. + --vote-script-file FILEPATH + The file containing the script to witness a vote + --vote-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-execution-units (INT, INT) + The time and space units needed by the script. + --vote-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --vote-plutus-script-v3 Specify a plutus script v3 reference script. + --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-file FILEPATH Filepath of the proposal. + --proposal-script-file FILEPATH + The file containing the script to witness a proposal + --proposal-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --proposal-plutus-script-v3 + Specify a plutus script v3 reference script. + --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --current-treasury-value LOVELACE + The current treasury value. + --treasury-donation LOVELACE + The donation to the treasury to perform. --out-file FILEPATH Output filepath of the JSON TxBody. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-raw.cli index a414ace9de..7142dfae27 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-raw.cli @@ -7,11 +7,11 @@ Usage: cardano-cli latest transaction build-raw ( --spending-plutus-script-v2 | --spending-plutus-script-v3 ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE | --spending-reference-tx-in-datum-file JSON_FILE | --spending-reference-tx-in-datum-value JSON_VALUE | --spending-reference-tx-in-inline-datum-present - ) + ] ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | --spending-reference-tx-in-redeemer-file JSON_FILE | --spending-reference-tx-in-redeemer-value JSON_VALUE @@ -20,11 +20,11 @@ Usage: cardano-cli latest transaction build-raw | --simple-script-tx-in-reference TX-IN | --tx-in-script-file FILEPATH [ - ( --tx-in-datum-cbor-file CBOR_FILE + [ --tx-in-datum-cbor-file CBOR_FILE | --tx-in-datum-file JSON_FILE | --tx-in-datum-value JSON_VALUE | --tx-in-inline-datum-present - ) + ] ( --tx-in-redeemer-cbor-file CBOR_FILE | --tx-in-redeemer-file JSON_FILE | --tx-in-redeemer-value JSON_VALUE @@ -119,7 +119,40 @@ Usage: cardano-cli latest transaction build-raw | --metadata-cbor-file FILEPATH ] [--protocol-params-file FILEPATH] - [--update-proposal-file FILEPATH] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] --out-file FILEPATH Build a transaction (low-level, inconvenient) @@ -395,7 +428,72 @@ Available options: Filepath of the metadata, in raw CBOR format. --protocol-params-file FILEPATH Filepath of the JSON-encoded protocol parameters file - --update-proposal-file FILEPATH - Filepath of the update proposal. + --vote-file FILEPATH Filepath of the vote. + --vote-script-file FILEPATH + The file containing the script to witness a vote + --vote-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-execution-units (INT, INT) + The time and space units needed by the script. + --vote-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --vote-plutus-script-v3 Specify a plutus script v3 reference script. + --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-file FILEPATH Filepath of the proposal. + --proposal-script-file FILEPATH + The file containing the script to witness a proposal + --proposal-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --proposal-plutus-script-v3 + Specify a plutus script v3 reference script. + --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --current-treasury-value LOVELACE + The current treasury value. + --treasury-donation LOVELACE + The donation to the treasury to perform. --out-file FILEPATH Output filepath of the JSON TxBody. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build.cli index 457adbd89a..256b4ec1c9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build.cli @@ -13,11 +13,11 @@ Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH ( --spending-plutus-script-v2 | --spending-plutus-script-v3 ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE | --spending-reference-tx-in-datum-file JSON_FILE | --spending-reference-tx-in-datum-value JSON_VALUE | --spending-reference-tx-in-inline-datum-present - ) + ] ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | --spending-reference-tx-in-redeemer-file JSON_FILE | --spending-reference-tx-in-redeemer-value JSON_VALUE @@ -25,11 +25,11 @@ Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH | --simple-script-tx-in-reference TX-IN | --tx-in-script-file FILEPATH [ - ( --tx-in-datum-cbor-file CBOR_FILE + [ --tx-in-datum-cbor-file CBOR_FILE | --tx-in-datum-file JSON_FILE | --tx-in-datum-value JSON_VALUE | --tx-in-inline-datum-present - ) + ] ( --tx-in-redeemer-cbor-file CBOR_FILE | --tx-in-redeemer-file JSON_FILE | --tx-in-redeemer-value JSON_VALUE @@ -113,7 +113,33 @@ Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH [ --metadata-json-file FILEPATH | --metadata-cbor-file FILEPATH ] - [--update-proposal-file FILEPATH] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--treasury-donation LOVELACE] ( --out-file FILEPATH | --calculate-plutus-script-cost FILEPATH ) @@ -388,8 +414,63 @@ Available options: Filepath of the metadata file, in JSON format. --metadata-cbor-file FILEPATH Filepath of the metadata, in raw CBOR format. - --update-proposal-file FILEPATH - Filepath of the update proposal. + --vote-file FILEPATH Filepath of the vote. + --vote-script-file FILEPATH + The file containing the script to witness a vote + --vote-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --vote-plutus-script-v3 Specify a plutus script v3 reference script. + --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-file FILEPATH Filepath of the proposal. + --proposal-script-file FILEPATH + The file containing the script to witness a proposal + --proposal-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --proposal-plutus-script-v3 + Specify a plutus script v3 reference script. + --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --treasury-donation LOVELACE + The donation to the treasury to perform. --out-file FILEPATH Output filepath of the JSON TxBody. --calculate-plutus-script-cost FILEPATH Where to write the script cost information. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance.cli index b8aa60f019..1ac6d67f4c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance.cli @@ -2,9 +2,6 @@ Usage: cardano-cli legacy governance ( create-mir-certificate | create-genesis-key-delegation-certificate | create-update-proposal - | create-poll - | answer-poll - | verify-poll ) Governance commands @@ -18,6 +15,3 @@ Available commands: create-genesis-key-delegation-certificate Create a genesis key delegation certificate create-update-proposal Create an update proposal - create-poll Create an SPO poll - answer-poll Answer an SPO poll - verify-poll Verify an answer to a given SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node.cli index f74940525d..f133ab4c3d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/node.cli @@ -7,7 +7,7 @@ Usage: cardano-cli node | issue-op-cert ) - Node operation commands + Node operation commands. Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli index 9db00062dc..743a3dcfbc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli @@ -13,6 +13,14 @@ Usage: cardano-cli query | pool-state | tx-mempool | slot-number + | ref-script-size + | constitution + | gov-state + | drep-state + | drep-stake-distribution + | spo-stake-distribution + | committee-state + | treasury ) Node query commands. Will query the local node whose Unix domain socket is @@ -47,3 +55,12 @@ Available commands: pool-state Dump the pool state tx-mempool Local Mempool info slot-number Query slot number for UTC timestamp + ref-script-size Calculate the reference input scripts size in bytes + for provided transaction inputs. + constitution Get the constitution + gov-state Get the governance state + drep-state Get the DRep state. + drep-stake-distribution Get the DRep stake distribution. + spo-stake-distribution Get the SPO stake distribution. + committee-state Get the committee state + treasury Get the treasury value diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_committee-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_committee-state.cli new file mode 100644 index 0000000000..e12c6b60bd --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_committee-state.cli @@ -0,0 +1,60 @@ +Usage: cardano-cli query committee-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [ --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + ] + [ --hot-key STRING + | --hot-key-file FILEPATH + | --hot-key-hash STRING + | --hot-script-hash HASH + ] + [ --active + | --expired + | --unrecognized + ] + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the committee state + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --cold-script-hash HASH Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --hot-key STRING Constitutional Committee hot key (hex-encoded). + --hot-key-file FILEPATH Filepath of the Constitutional Committee hot key. + --hot-key-hash STRING Constitutional Committee key hash (hex-encoded). + --hot-script-hash HASH Hot Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --active Active committee members (members whose vote will + count during ratification) + --expired Expired committee members + --unrecognized Unrecognized committe members: a hot credential for + an unknown cold credential + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_constitution.cli new file mode 100644 index 0000000000..25c8b17cb7 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_constitution.cli @@ -0,0 +1,27 @@ +Usage: cardano-cli query constitution --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the constitution + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-stake-distribution.cli new file mode 100644 index 0000000000..d3e30bf013 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-stake-distribution.cli @@ -0,0 +1,49 @@ +Usage: cardano-cli query drep-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the DRep stake distribution. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --all-dreps Query for all DReps. + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-state.cli new file mode 100644 index 0000000000..aabba31337 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-state.cli @@ -0,0 +1,50 @@ +Usage: cardano-cli query drep-state --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [--include-stake] + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the DRep state. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --all-dreps Query for all DReps. + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --include-stake Also return the stake associated with each DRep. The + result is the same as with "drep-stake-distribution"; + this is a convenience option to obtain all + information concerning a DRep at once. This is a + potentially expensive query, so it's OFF by default. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_gov-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_gov-state.cli new file mode 100644 index 0000000000..9eac0da961 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_gov-state.cli @@ -0,0 +1,27 @@ +Usage: cardano-cli query gov-state --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the governance state + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_kes-period-info.cli index 1135699f48..6c5976792d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_kes-period-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_kes-period-info.cli @@ -3,6 +3,7 @@ Usage: cardano-cli query kes-period-info --socket-path SOCKET_PATH [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Get information about the current KES period and your node's operational @@ -23,5 +24,8 @@ Available options: --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable --op-cert-file FILEPATH Filepath of the node's operational certificate. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_leadership-schedule.cli index 3f6a76ead2..ea7b3db9bc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_leadership-schedule.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_leadership-schedule.cli @@ -11,6 +11,9 @@ Usage: cardano-cli query leadership-schedule --socket-path SOCKET_PATH ) --vrf-signing-key-file FILEPATH (--current | --next) + [ --volatile-tip + | --immutable-tip + ] [--output-json | --output-text] [--out-file FILEPATH] @@ -42,6 +45,9 @@ Available options: Input filepath of the VRF signing key. --current Get the leadership schedule for the current epoch. --next Get the leadership schedule for the following epoch. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format leadership-schedule query output to JSON. Default format when writing to a file --output-text Format leadership-schedule query output to TEXT. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-state.cli index df3fa89fbe..5dada14b2c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-state.cli @@ -1,6 +1,7 @@ Usage: cardano-cli query ledger-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Dump the current ledger state of the node (Ledger.NewEpochState -- advanced @@ -20,5 +21,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-params.cli index 32a0f12802..5aa0f0c42b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-params.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-params.cli @@ -4,6 +4,7 @@ Usage: cardano-cli query pool-params --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] DEPRECATED. Use query pool-state instead. Dump the pool parameters @@ -28,5 +29,8 @@ Available options: --stake-pool-id STAKE_POOL_ID Stake pool ID/verification key hash (either Bech32-encoded or hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-state.cli index 3df91d9539..be6641d6b5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-state.cli @@ -4,6 +4,7 @@ Usage: cardano-cli query pool-state --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Dump the pool state @@ -26,5 +27,8 @@ Available options: --stake-pool-id STAKE_POOL_ID Stake pool ID/verification key hash (either Bech32-encoded or hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-state.cli index b965c1530a..4b8247c6fd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-state.cli @@ -1,6 +1,7 @@ Usage: cardano-cli query protocol-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced @@ -20,5 +21,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ref-script-size.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ref-script-size.cli new file mode 100644 index 0000000000..bb99625fb7 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ref-script-size.cli @@ -0,0 +1,36 @@ +Usage: cardano-cli query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--output-json | --output-text] + [--out-file FILEPATH] + + Calculate the reference input scripts size in bytes for provided transaction + inputs. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --tx-in TX-IN Transaction input (TxId#TxIx). + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --output-json Format reference inputs query output to JSON. Default + format when writing to a file + --output-text Format reference inputs query output to TEXT. Default + format when writing to stdout + --out-file FILEPATH Optional output file. Default is to write to stdout. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_slot-number.cli index 8731f9d0f0..6a77e406b9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_slot-number.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_slot-number.cli @@ -1,6 +1,7 @@ Usage: cardano-cli query slot-number --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] TIMESTAMP Query slot number for UTC timestamp @@ -19,5 +20,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. TIMESTAMP UTC timestamp in YYYY-MM-DDThh:mm:ssZ format -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_spo-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_spo-stake-distribution.cli new file mode 100644 index 0000000000..fb3065a438 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_spo-stake-distribution.cli @@ -0,0 +1,46 @@ +Usage: cardano-cli query spo-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-spos + | + ( --spo-verification-key STRING + | --spo-verification-key-file FILEPATH + | --spo-key-hash HASH + ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the SPO stake distribution. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --all-spos Query for all DReps. + --spo-verification-key STRING + SPO verification key (Bech32 or hex-encoded). + --spo-verification-key-file FILEPATH + Filepath of the SPO verification key. + --spo-key-hash HASH SPO verification key hash (either Bech32-encoded or + hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-address-info.cli index 7b3a009878..e1dba2c354 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-address-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-address-info.cli @@ -5,6 +5,7 @@ Usage: cardano-cli query stake-address-info --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. @@ -24,5 +25,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-distribution.cli index cb7ba271ee..7c33ecc723 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-distribution.cli @@ -4,6 +4,7 @@ Usage: cardano-cli query stake-distribution --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [--volatile-tip | --immutable-tip] [--output-json | --output-text] [--out-file FILEPATH] @@ -23,6 +24,9 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format stake-distribution query output to JSON. Default format when writing to a file --output-text Format stake-distribution query output to TEXT. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-pools.cli index e83b3974fc..2bf8095b2e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-pools.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-pools.cli @@ -1,6 +1,7 @@ Usage: cardano-cli query stake-pools --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--output-json | --output-text] [--out-file FILEPATH] @@ -20,6 +21,9 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format stake-pools query output to JSON. Default format when writing to a file --output-text Format stake-pools query output to TEXT. Default diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-snapshot.cli index 72484d52de..f6cd339214 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-snapshot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-snapshot.cli @@ -4,6 +4,7 @@ Usage: cardano-cli query stake-snapshot --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Obtain the three stake snapshots for a pool, plus the total active stake @@ -27,5 +28,8 @@ Available options: --stake-pool-id STAKE_POOL_ID Stake pool ID/verification key hash (either Bech32-encoded or hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli index 294653f0c8..647e9e2c57 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli @@ -1,6 +1,7 @@ Usage: cardano-cli query tip --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) @@ -19,5 +20,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_treasury.cli new file mode 100644 index 0000000000..d20a1d8ef9 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_treasury.cli @@ -0,0 +1,27 @@ +Usage: cardano-cli query treasury --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the treasury value + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_utxo.cli index 307fe42562..f0ecd043ab 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_utxo.cli @@ -5,6 +5,7 @@ Usage: cardano-cli query utxo --socket-path SOCKET_PATH | (--tx-in TX-IN) ) (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--output-json | --output-text] [--out-file FILEPATH] @@ -28,6 +29,9 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format utxo query output to JSON. Default format when writing to a file --output-text Format utxo query output to TEXT. Default format when diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address.cli index b6290d65db..0260544a2f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address.cli @@ -1,22 +1,35 @@ Usage: cardano-cli stake-address ( key-gen - | build | key-hash + | build | registration-certificate | deregistration-certificate - | delegation-certificate + | stake-delegation-certificate + | stake-and-vote-delegation-certificate + | vote-delegation-certificate ) - Stake address commands + Stake address commands. Available options: -h,--help Show this help text Available commands: key-gen Create a stake address key pair + key-hash Print the hash of a stake address key build Build a stake address - key-hash Print the hash of a stake address key. registration-certificate Create a stake address registration certificate deregistration-certificate Create a stake address deregistration certificate - delegation-certificate Create a stake address pool delegation certificate + stake-delegation-certificate + Create a stake address stake delegation certificate, + which when submitted in a transaction delegates stake + to a stake pool. + stake-and-vote-delegation-certificate + Create a stake address stake and vote delegation + certificate, which when submitted in a transaction + delegates stake to a stake pool and a DRep. + vote-delegation-certificate + Create a stake address vote delegation certificate, + which when submitted in a transaction delegates stake + to a DRep. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli index af53ad6360..642aed6c16 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli @@ -1,34 +1,16 @@ Usage: cardano-cli stake-address deregistration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] ( --stake-verification-key STRING | --stake-verification-key-file FILEPATH | --stake-key-hash HASH | --stake-script-file FILEPATH | --stake-address ADDRESS ) - [--key-reg-deposit-amt NATURAL] + --key-reg-deposit-amt NATURAL --out-file FILEPATH Create a stake address deregistration certificate Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). --stake-verification-key-file FILEPATH diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-hash.cli index 85675b4e66..b15ffc192d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-hash.cli @@ -4,7 +4,7 @@ Usage: cardano-cli stake-address key-hash ) [--out-file FILEPATH] - Print the hash of a stake address key. + Print the hash of a stake address key Available options: --stake-verification-key STRING diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli index ab6824898e..ae34eb235d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli @@ -1,34 +1,16 @@ Usage: cardano-cli stake-address registration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] ( --stake-verification-key STRING | --stake-verification-key-file FILEPATH | --stake-key-hash HASH | --stake-script-file FILEPATH | --stake-address ADDRESS ) - [--key-reg-deposit-amt NATURAL] + --key-reg-deposit-amt NATURAL --out-file FILEPATH Create a stake address registration certificate Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). --stake-verification-key-file FILEPATH diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-and-vote-delegation-certificate.cli new file mode 100644 index 0000000000..81b8ed73bc --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-and-vote-delegation-certificate.cli @@ -0,0 +1,51 @@ +Usage: cardano-cli stake-address stake-and-vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH + + Create a stake address stake and vote delegation certificate, which when + submitted in a transaction delegates stake to a stake pool and a DRep. + +Available options: + --stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --stake-key-hash HASH Stake verification key hash (hex-encoded). + --stake-script-file FILEPATH + Filepath of the staking script. + --stake-address ADDRESS Target stake address (bech32 format). + --stake-pool-verification-key STRING + Stake pool verification key (Bech32 or hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the stake pool verification key. + --stake-pool-id STAKE_POOL_ID + Stake pool ID/verification key hash (either + Bech32-encoded or hex-encoded). + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --always-abstain Abstain from voting on all proposals. + --always-no-confidence Always vote no confidence + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-delegation-certificate.cli new file mode 100644 index 0000000000..d439099c84 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-delegation-certificate.cli @@ -0,0 +1,34 @@ +Usage: cardano-cli stake-address stake-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --out-file FILEPATH + + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. + +Available options: + --stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --stake-key-hash HASH Stake verification key hash (hex-encoded). + --stake-script-file FILEPATH + Filepath of the staking script. + --stake-address ADDRESS Target stake address (bech32 format). + --stake-pool-verification-key STRING + Stake pool verification key (Bech32 or hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the stake pool verification key. + --stake-pool-id STAKE_POOL_ID + Stake pool ID/verification key hash (either + Bech32-encoded or hex-encoded). + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_vote-delegation-certificate.cli new file mode 100644 index 0000000000..8f6d5de2ac --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_vote-delegation-certificate.cli @@ -0,0 +1,40 @@ +Usage: cardano-cli stake-address vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH + + Create a stake address vote delegation certificate, which when submitted in a + transaction delegates stake to a DRep. + +Available options: + --stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --stake-key-hash HASH Stake verification key hash (hex-encoded). + --stake-script-file FILEPATH + Filepath of the staking script. + --stake-address ADDRESS Target stake address (bech32 format). + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --always-abstain Abstain from voting on all proposals. + --always-no-confidence Always vote no confidence + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool.cli index a88bc7d54e..bcb59ea082 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool.cli @@ -5,7 +5,7 @@ Usage: cardano-cli stake-pool | metadata-hash ) - Stake pool commands + Stake pool commands. Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli index 0e2c287b6c..2f7a9c9fd1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli @@ -1,11 +1,4 @@ Usage: cardano-cli stake-pool deregistration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] ( --stake-pool-verification-key STRING | --cold-verification-key-file FILEPATH ) @@ -15,17 +8,6 @@ Usage: cardano-cli stake-pool deregistration-certificate Create a stake pool deregistration certificate Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --stake-pool-verification-key STRING Stake pool verification key (Bech32 or hex-encoded). --cold-verification-key-file FILEPATH diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli index a8393daa97..2565f4178e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli @@ -1,11 +1,4 @@ Usage: cardano-cli stake-pool registration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] ( --stake-pool-verification-key STRING | --cold-verification-key-file FILEPATH ) @@ -38,17 +31,6 @@ Usage: cardano-cli stake-pool registration-certificate Create a stake pool registration certificate Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --stake-pool-verification-key STRING Stake pool verification key (Bech32 or hex-encoded). --cold-verification-key-file FILEPATH diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli index eac68c8535..454cea9a49 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli @@ -1,6 +1,7 @@ Usage: cardano-cli transaction ( build-raw | build + | build-estimate | sign | witness | assemble @@ -13,7 +14,7 @@ Usage: cardano-cli transaction | view ) - Transaction commands + Transaction commands. Available options: -h,--help Show this help text @@ -24,6 +25,9 @@ Available commands: Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m build Build a balanced transaction (automatically calculates fees) + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + build-estimate Build a balanced transaction without access to a live node (automatically estimates fees) + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m sign Sign a transaction witness Create a transaction witness diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-estimate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-estimate.cli new file mode 100644 index 0000000000..ad2d068c03 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-estimate.cli @@ -0,0 +1,514 @@ +Usage: cardano-cli transaction build-estimate + [ --script-valid + | --script-invalid + ] + --shelley-key-witnesses INT + [--byron-key-witnesses Int] + --protocol-params-file FILEPATH + --total-utxo-value VALUE + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ] + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + --spending-reference-tx-in-execution-units (INT, INT) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + [ --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present + ] + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + ) + --tx-in-execution-units (INT, INT)] + ]) + [--read-only-tx-in-reference TX-IN] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( --mint-script-file FILEPATH + [ + ( --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ) + --mint-execution-units (INT, INT)] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + [--certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ + ( --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ) + --certificate-execution-units (INT, INT)] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + --certificate-reference-tx-in-execution-units (INT, INT) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ + ( --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ) + --withdrawal-execution-units (INT, INT)] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + --withdrawal-reference-tx-in-execution-units (INT, INT) + ]] + [--tx-total-collateral INTEGER] + [--reference-script-size NATURAL] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] + --out-file FILEPATH + + Build a balanced transaction without access to a live node (automatically estimates fees) + + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + +Available options: + --script-valid Assertion that the script is valid. (default) + --script-invalid Assertion that the script is invalid. If a + transaction is submitted with such a script, the + script will fail and the collateral will be taken. + --shelley-key-witnesses INT + Specify the number of Shelley key witnesses the + transaction requires. + --byron-key-witnesses Int + Specify the number of Byron key witnesses the + transaction requires. + --protocol-params-file FILEPATH + Filepath of the JSON-encoded protocol parameters file + --total-utxo-value VALUE The total value of the UTxO that exists at the tx + inputs being spent. + --tx-in TX-IN TxId#TxIx + --spending-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --spending-plutus-script-v2 + Specify a plutus script v2 reference script. + --spending-plutus-script-v3 + Specify a plutus script v3 reference script. + --spending-reference-tx-in-datum-cbor-file CBOR_FILE + The script datum file. The file has to be in CBOR + format. + --spending-reference-tx-in-datum-file JSON_FILE + The script datum file. The file must follow the + detailed JSON schema for script data. + --spending-reference-tx-in-datum-value JSON_VALUE + The script datum. There is no schema: (almost) any + JSON value is supported, including top-level strings + and numbers. + --spending-reference-tx-in-inline-datum-present + Inline datum present at transaction input. + --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --spending-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --spending-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --spending-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --simple-script-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a simple reference script attached. + --tx-in-script-file FILEPATH + The file containing the script to witness the + spending of the transaction input. + --tx-in-datum-cbor-file CBOR_FILE + The script datum file. The file has to be in CBOR + format. + --tx-in-datum-file JSON_FILE + The script datum file. The file must follow the + detailed JSON schema for script data. + --tx-in-datum-value JSON_VALUE + The script datum. There is no schema: (almost) any + JSON value is supported, including top-level strings + and numbers. + --tx-in-inline-datum-present + Inline datum present at transaction input. + --tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --read-only-tx-in-reference TX-IN + Specify a read only reference input. This reference + input is not witnessing anything it is simply + provided in the plutus script context. + --required-signer FILEPATH + Input filepath of the signing key (zero or more) + whose signature is required. + --required-signer-hash HASH + Hash of the verification key (zero or more) whose + signature is required. + --tx-in-collateral TX-IN TxId#TxIx + --tx-out-return-collateral ADDRESS VALUE + The transaction output as ADDRESS VALUE where ADDRESS + is the Bech32-encoded address followed by the value + in Lovelace. In the situation where your collateral + txin over collateralizes the transaction, you can + optionally specify a tx out of your choosing to + return the excess Lovelace. + --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS + is the Bech32-encoded address followed by the value + in the multi-asset syntax (including simply + Lovelace). + --tx-out-datum-hash HASH The script datum hash for this tx output, as the raw + datum hash (in hex). + --tx-out-datum-hash-cbor-file CBOR_FILE + The script datum hash for this tx output, by hashing + the script datum in the file. The file has to be in + CBOR format. + --tx-out-datum-hash-file JSON_FILE + The script datum hash for this tx output, by hashing + the script datum in the file. The file must follow + the detailed JSON schema for script data. + --tx-out-datum-hash-value JSON_VALUE + The script datum hash for this tx output, by hashing + the script datum given here. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --tx-out-datum-embed-cbor-file CBOR_FILE + The script datum to embed in the tx for this output, + in the given file. The file has to be in CBOR format. + --tx-out-datum-embed-file JSON_FILE + The script datum to embed in the tx for this output, + in the given file. The file must follow the detailed + JSON schema for script data. + --tx-out-datum-embed-value JSON_VALUE + The script datum to embed in the tx for this output, + given here. There is no schema: (almost) any JSON + value is supported, including top-level strings and + numbers. + --tx-out-inline-datum-cbor-file CBOR_FILE + The script datum to embed in the tx output as an + inline datum, in the given file. The file has to be + in CBOR format. + --tx-out-inline-datum-file JSON_FILE + The script datum to embed in the tx output as an + inline datum, in the given file. The file must follow + the detailed JSON schema for script data. + --tx-out-inline-datum-value JSON_VALUE + The script datum to embed in the tx output as an + inline datum, given here. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --tx-out-reference-script-file FILEPATH + Reference script input file. + --change-address ADDRESS Address where ADA in excess of the tx fee will go to. + --mint VALUE Mint multi-asset value(s) with the multi-asset cli + syntax. You must specify a script witness. + --mint-script-file FILEPATH + The file containing the script to witness the minting + of assets for a particular policy Id. + --mint-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --mint-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --mint-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --mint-execution-units (INT, INT) + The time and space units needed by the script. + --simple-minting-script-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a simple reference script attached. + --policy-id HASH Policy id of minting script. + --mint-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --mint-plutus-script-v2 Specify a plutus script v2 reference script. + --mint-plutus-script-v3 Specify a plutus script v3 reference script. + --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --mint-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --mint-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --mint-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --policy-id HASH Policy id of minting script. + --invalid-before SLOT Time that transaction is valid from (in slots). + --invalid-hereafter SLOT Time that transaction is valid until (in slots). + --certificate-file FILEPATH + Filepath of the certificate. This encompasses all + types of certificates (stake pool certificates, stake + key certificates etc). Optionally specify a script + witness. + --certificate-script-file FILEPATH + The file containing the script to witness the use of + the certificate. + --certificate-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --certificate-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --certificate-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --certificate-execution-units (INT, INT) + The time and space units needed by the script. + --certificate-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --certificate-plutus-script-v2 + Specify a plutus script v2 reference script. + --certificate-plutus-script-v3 + Specify a plutus script v3 reference script. + --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --certificate-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --certificate-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --certificate-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --withdrawal WITHDRAWAL The reward withdrawal as StakeAddress+Lovelace where + StakeAddress is the Bech32-encoded stake address + followed by the amount in Lovelace. Optionally + specify a script witness. + --withdrawal-script-file FILEPATH + The file containing the script to witness the + withdrawal of rewards. + --withdrawal-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --withdrawal-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --withdrawal-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --withdrawal-execution-units (INT, INT) + The time and space units needed by the script. + --withdrawal-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --withdrawal-plutus-script-v2 + Specify a plutus script v2 reference script. + --withdrawal-plutus-script-v3 + Specify a plutus script v3 reference script. + --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --withdrawal-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --withdrawal-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --tx-total-collateral INTEGER + The total amount of collateral that will be collected + as fees in the event of a Plutus script failure. Must + be used in conjuction with + "--tx-out-return-collateral". + --reference-script-size NATURAL + Total size in bytes of transaction reference scripts + (default is 0). + --json-metadata-no-schema + Use the "no schema" conversion from JSON to tx + metadata (default). + --json-metadata-detailed-schema + Use the "detailed schema" conversion from JSON to tx + metadata. + --auxiliary-script-file FILEPATH + Filepath of auxiliary script(s) + --metadata-json-file FILEPATH + Filepath of the metadata file, in JSON format. + --metadata-cbor-file FILEPATH + Filepath of the metadata, in raw CBOR format. + --vote-file FILEPATH Filepath of the vote. + --vote-script-file FILEPATH + The file containing the script to witness a vote + --vote-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-execution-units (INT, INT) + The time and space units needed by the script. + --vote-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --vote-plutus-script-v3 Specify a plutus script v3 reference script. + --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-file FILEPATH Filepath of the proposal. + --proposal-script-file FILEPATH + The file containing the script to witness a proposal + --proposal-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --proposal-plutus-script-v3 + Specify a plutus script v3 reference script. + --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --current-treasury-value LOVELACE + The current treasury value. + --treasury-donation LOVELACE + The donation to the treasury to perform. + --out-file FILEPATH Output filepath of the JSON TxBody. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli index 3514145ce1..b3bb631dd2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli @@ -1,12 +1,4 @@ -Usage: cardano-cli transaction build-raw - [ --byron-era - | --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - [--script-valid | --script-invalid] +Usage: cardano-cli transaction build-raw [--script-valid | --script-invalid] (--tx-in TX-IN [ --spending-tx-in-reference TX-IN ( --spending-plutus-script-v2 @@ -124,7 +116,40 @@ Usage: cardano-cli transaction build-raw | --metadata-cbor-file FILEPATH ] [--protocol-params-file FILEPATH] - [--update-proposal-file FILEPATH] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] --out-file FILEPATH Build a transaction (low-level, inconvenient) @@ -132,18 +157,6 @@ Usage: cardano-cli transaction build-raw Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Available options: - --byron-era Specify the Byron era - DEPRECATED - will be removed - in the future - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future --script-valid Assertion that the script is valid. (default) --script-invalid Assertion that the script is invalid. If a transaction is submitted with such a script, the @@ -412,7 +425,72 @@ Available options: Filepath of the metadata, in raw CBOR format. --protocol-params-file FILEPATH Filepath of the JSON-encoded protocol parameters file - --update-proposal-file FILEPATH - Filepath of the update proposal. + --vote-file FILEPATH Filepath of the vote. + --vote-script-file FILEPATH + The file containing the script to witness a vote + --vote-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-execution-units (INT, INT) + The time and space units needed by the script. + --vote-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --vote-plutus-script-v3 Specify a plutus script v3 reference script. + --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-file FILEPATH Filepath of the proposal. + --proposal-script-file FILEPATH + The file containing the script to witness a proposal + --proposal-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --proposal-plutus-script-v3 + Specify a plutus script v3 reference script. + --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --current-treasury-value LOVELACE + The current treasury value. + --treasury-donation LOVELACE + The donation to the treasury to perform. --out-file FILEPATH Output filepath of the JSON TxBody. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli index 9bcbf7c72a..1aa087a420 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli @@ -1,10 +1,4 @@ Usage: cardano-cli transaction build --socket-path SOCKET_PATH - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) [--script-valid | --script-invalid] @@ -114,7 +108,6 @@ Usage: cardano-cli transaction build --socket-path SOCKET_PATH [ --metadata-json-file FILEPATH | --metadata-cbor-file FILEPATH ] - [--update-proposal-file FILEPATH] [--vote-file FILEPATH [ --vote-script-file FILEPATH [ --vote-redeemer-cbor-file CBOR_FILE @@ -156,16 +149,6 @@ Available options: CARDANO_NODE_SOCKET_PATH environment variable. The argument is optional if CARDANO_NODE_SOCKET_PATH is defined and mandatory otherwise. - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future --cardano-mode For talking to a node running in full Cardano mode (default). --epoch-slots SLOTS The number of slots per epoch for the Byron era. @@ -426,8 +409,6 @@ Available options: Filepath of the metadata file, in JSON format. --metadata-cbor-file FILEPATH Filepath of the metadata, in raw CBOR format. - --update-proposal-file FILEPATH - Filepath of the update proposal. --vote-file FILEPATH Filepath of the vote. --vote-script-file FILEPATH The file containing the script to witness a vote diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli index 6e7bb3deb5..6e6f04fa4b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli @@ -1,12 +1,4 @@ -Usage: cardano-cli transaction calculate-min-required-utxo - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --protocol-params-file FILEPATH +Usage: cardano-cli transaction calculate-min-required-utxo --protocol-params-file FILEPATH --tx-out ADDRESS VALUE [ --tx-out-datum-hash HASH | --tx-out-datum-hash-cbor-file CBOR_FILE @@ -24,17 +16,6 @@ Usage: cardano-cli transaction calculate-min-required-utxo Calculate the minimum required UTxO for a transaction output. Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --protocol-params-file FILEPATH Filepath of the JSON-encoded protocol parameters file --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli index cc90686150..6749ce5a25 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli @@ -1,12 +1,4 @@ -Usage: cardano-cli transaction calculate-min-value - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --protocol-params-file FILEPATH +Usage: cardano-cli transaction calculate-min-value --protocol-params-file FILEPATH --tx-out ADDRESS VALUE [ --tx-out-datum-hash HASH | --tx-out-datum-hash-cbor-file CBOR_FILE @@ -24,17 +16,6 @@ Usage: cardano-cli transaction calculate-min-value DEPRECATED: Use 'calculate-min-required-utxo' instead. Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --protocol-params-file FILEPATH Filepath of the JSON-encoded protocol parameters file --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS