From c67451a906580b4d71b15576e267f6b6c91dfca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Wed, 18 Sep 2024 11:54:20 +0200 Subject: [PATCH] Changes to golden files WITH change to optparse-applicative --- .../cardano-cli-golden/files/golden/help.cli | 14671 ++++++++++------ .../files/golden/help/address_key-hash.cli | 6 +- .../golden/help/allegra_address_build.cli | 18 +- .../golden/help/allegra_address_key-gen.cli | 9 +- .../golden/help/allegra_address_key-hash.cli | 7 +- .../help/allegra_genesis_create-cardano.cli | 22 +- .../help/allegra_genesis_create-staked.cli | 22 +- .../allegra_genesis_create-testnet-data.cli | 26 +- .../golden/help/allegra_genesis_create.cli | 11 +- .../help/allegra_genesis_get-ver-key.cli | 4 +- .../help/allegra_genesis_initial-addr.cli | 7 +- .../help/allegra_genesis_initial-txin.cli | 7 +- .../help/allegra_genesis_key-gen-delegate.cli | 6 +- .../help/allegra_genesis_key-gen-genesis.cli | 4 +- .../help/allegra_genesis_key-gen-utxo.cli | 4 +- .../files/golden/help/allegra_governance.cli | 6 +- ...tion_create-protocol-parameters-update.cli | 36 +- ...ate-genesis-key-delegation-certificate.cli | 25 +- ...egra_governance_create-mir-certificate.cli | 15 +- ...create-mir-certificate_stake-addresses.cli | 9 +- ...te-mir-certificate_transfer-to-rewards.cli | 4 +- ...e-mir-certificate_transfer-to-treasury.cli | 4 +- ...allegra_key_convert-byron-genesis-vkey.cli | 4 +- .../help/allegra_key_convert-byron-key.cli | 21 +- ...llegra_key_convert-cardano-address-key.cli | 16 +- .../allegra_key_convert-itn-bip32-key.cli | 4 +- .../allegra_key_convert-itn-extended-key.cli | 4 +- .../help/allegra_key_convert-itn-key.cli | 7 +- .../help/allegra_key_non-extended-key.cli | 5 +- .../help/allegra_key_verification-key.cli | 4 +- .../help/allegra_node_issue-op-cert.cli | 11 +- .../golden/help/allegra_node_key-gen-KES.cli | 6 +- .../golden/help/allegra_node_key-gen-VRF.cli | 6 +- .../golden/help/allegra_node_key-gen.cli | 8 +- .../golden/help/allegra_node_key-hash-VRF.cli | 6 +- .../golden/help/allegra_node_new-counter.cli | 12 +- .../help/allegra_query_kes-period-info.cli | 11 +- .../allegra_query_leadership-schedule.cli | 24 +- .../help/allegra_query_ledger-state.cli | 9 +- .../golden/help/allegra_query_pool-params.cli | 13 +- .../golden/help/allegra_query_pool-state.cli | 13 +- .../allegra_query_protocol-parameters.cli | 9 +- .../help/allegra_query_protocol-state.cli | 9 +- .../help/allegra_query_ref-script-size.cli | 12 +- .../golden/help/allegra_query_slot-number.cli | 9 +- .../help/allegra_query_stake-address-info.cli | 11 +- .../help/allegra_query_stake-distribution.cli | 12 +- .../golden/help/allegra_query_stake-pools.cli | 11 +- .../help/allegra_query_stake-snapshot.cli | 13 +- .../files/golden/help/allegra_query_tip.cli | 7 +- .../golden/help/allegra_query_tx-mempool.cli | 11 +- .../help/allegra_query_tx-mempool_info.cli | 11 +- .../help/allegra_query_tx-mempool_next-tx.cli | 11 +- ...legra_query_tx-mempool_tx-exists_TX_ID.cli | 11 +- .../files/golden/help/allegra_query_utxo.cli | 12 +- .../golden/help/allegra_stake-address.cli | 7 +- .../help/allegra_stake-address_build.cli | 13 +- ...ake-address_deregistration-certificate.cli | 15 +- .../help/allegra_stake-address_key-gen.cli | 6 +- .../help/allegra_stake-address_key-hash.cli | 7 +- ...stake-address_registration-certificate.cli | 15 +- ...e-address_stake-delegation-certificate.cli | 22 +- .../files/golden/help/allegra_stake-pool.cli | 6 +- ..._stake-pool_deregistration-certificate.cli | 9 +- .../golden/help/allegra_stake-pool_id.cli | 9 +- .../help/allegra_stake-pool_metadata-hash.cli | 4 +- ...ra_stake-pool_registration-certificate.cli | 44 +- .../help/allegra_text-view_decode-cbor.cli | 4 +- .../files/golden/help/allegra_transaction.cli | 9 +- .../help/allegra_transaction_assemble.cli | 5 +- .../help/allegra_transaction_build-raw.cli | 220 +- .../golden/help/allegra_transaction_build.cli | 202 +- .../allegra_transaction_calculate-min-fee.cli | 18 +- ...ransaction_calculate-min-required-utxo.cli | 34 +- ...llegra_transaction_calculate-min-value.cli | 34 +- .../allegra_transaction_hash-script-data.cli | 8 +- .../help/allegra_transaction_sign-witness.cli | 5 +- .../golden/help/allegra_transaction_sign.cli | 11 +- .../help/allegra_transaction_submit.cli | 9 +- .../golden/help/allegra_transaction_txid.cli | 4 +- .../help/allegra_transaction_witness.cli | 9 +- .../golden/help/alonzo_address_build.cli | 18 +- .../golden/help/alonzo_address_key-gen.cli | 9 +- .../golden/help/alonzo_address_key-hash.cli | 6 +- .../help/alonzo_genesis_create-cardano.cli | 22 +- .../help/alonzo_genesis_create-staked.cli | 22 +- .../alonzo_genesis_create-testnet-data.cli | 25 +- .../golden/help/alonzo_genesis_create.cli | 11 +- .../help/alonzo_genesis_get-ver-key.cli | 4 +- .../help/alonzo_genesis_initial-addr.cli | 7 +- .../help/alonzo_genesis_initial-txin.cli | 7 +- .../help/alonzo_genesis_key-gen-delegate.cli | 6 +- .../help/alonzo_genesis_key-gen-genesis.cli | 4 +- .../help/alonzo_genesis_key-gen-utxo.cli | 4 +- .../files/golden/help/alonzo_governance.cli | 6 +- ...tion_create-protocol-parameters-update.cli | 46 +- ...ate-genesis-key-delegation-certificate.cli | 25 +- ...onzo_governance_create-mir-certificate.cli | 14 +- ...create-mir-certificate_stake-addresses.cli | 9 +- ...te-mir-certificate_transfer-to-rewards.cli | 4 +- ...e-mir-certificate_transfer-to-treasury.cli | 4 +- .../alonzo_key_convert-byron-genesis-vkey.cli | 4 +- .../help/alonzo_key_convert-byron-key.cli | 21 +- ...alonzo_key_convert-cardano-address-key.cli | 15 +- .../help/alonzo_key_convert-itn-bip32-key.cli | 4 +- .../alonzo_key_convert-itn-extended-key.cli | 4 +- .../help/alonzo_key_convert-itn-key.cli | 7 +- .../help/alonzo_key_non-extended-key.cli | 5 +- .../help/alonzo_key_verification-key.cli | 4 +- .../golden/help/alonzo_node_issue-op-cert.cli | 11 +- .../golden/help/alonzo_node_key-gen-KES.cli | 6 +- .../golden/help/alonzo_node_key-gen-VRF.cli | 6 +- .../files/golden/help/alonzo_node_key-gen.cli | 8 +- .../golden/help/alonzo_node_key-hash-VRF.cli | 6 +- .../golden/help/alonzo_node_new-counter.cli | 12 +- .../help/alonzo_query_kes-period-info.cli | 11 +- .../help/alonzo_query_leadership-schedule.cli | 24 +- .../golden/help/alonzo_query_ledger-state.cli | 9 +- .../golden/help/alonzo_query_pool-params.cli | 13 +- .../golden/help/alonzo_query_pool-state.cli | 12 +- .../help/alonzo_query_protocol-parameters.cli | 9 +- .../help/alonzo_query_protocol-state.cli | 9 +- .../help/alonzo_query_ref-script-size.cli | 12 +- .../golden/help/alonzo_query_slot-number.cli | 8 +- .../help/alonzo_query_stake-address-info.cli | 11 +- .../help/alonzo_query_stake-distribution.cli | 12 +- .../golden/help/alonzo_query_stake-pools.cli | 11 +- .../help/alonzo_query_stake-snapshot.cli | 13 +- .../files/golden/help/alonzo_query_tip.cli | 7 +- .../golden/help/alonzo_query_tx-mempool.cli | 10 +- .../help/alonzo_query_tx-mempool_info.cli | 10 +- .../help/alonzo_query_tx-mempool_next-tx.cli | 10 +- ...lonzo_query_tx-mempool_tx-exists_TX_ID.cli | 10 +- .../files/golden/help/alonzo_query_utxo.cli | 12 +- .../golden/help/alonzo_stake-address.cli | 7 +- .../help/alonzo_stake-address_build.cli | 13 +- ...ake-address_deregistration-certificate.cli | 15 +- .../help/alonzo_stake-address_key-gen.cli | 6 +- .../help/alonzo_stake-address_key-hash.cli | 7 +- ...stake-address_registration-certificate.cli | 15 +- ...e-address_stake-delegation-certificate.cli | 22 +- .../files/golden/help/alonzo_stake-pool.cli | 6 +- ..._stake-pool_deregistration-certificate.cli | 9 +- .../golden/help/alonzo_stake-pool_id.cli | 8 +- .../help/alonzo_stake-pool_metadata-hash.cli | 4 +- ...zo_stake-pool_registration-certificate.cli | 44 +- .../help/alonzo_text-view_decode-cbor.cli | 4 +- .../files/golden/help/alonzo_transaction.cli | 9 +- .../help/alonzo_transaction_assemble.cli | 5 +- .../alonzo_transaction_build-estimate.cli | 232 +- .../help/alonzo_transaction_build-raw.cli | 217 +- .../golden/help/alonzo_transaction_build.cli | 200 +- .../alonzo_transaction_calculate-min-fee.cli | 18 +- ...ransaction_calculate-min-required-utxo.cli | 34 +- ...alonzo_transaction_calculate-min-value.cli | 34 +- .../alonzo_transaction_hash-script-data.cli | 8 +- .../help/alonzo_transaction_sign-witness.cli | 5 +- .../golden/help/alonzo_transaction_sign.cli | 10 +- .../golden/help/alonzo_transaction_submit.cli | 9 +- .../golden/help/alonzo_transaction_txid.cli | 4 +- .../help/alonzo_transaction_witness.cli | 9 +- .../golden/help/babbage_address_build.cli | 18 +- .../golden/help/babbage_address_key-gen.cli | 9 +- .../golden/help/babbage_address_key-hash.cli | 7 +- .../help/babbage_genesis_create-cardano.cli | 22 +- .../help/babbage_genesis_create-staked.cli | 22 +- .../babbage_genesis_create-testnet-data.cli | 26 +- .../golden/help/babbage_genesis_create.cli | 11 +- .../help/babbage_genesis_get-ver-key.cli | 4 +- .../help/babbage_genesis_initial-addr.cli | 7 +- .../help/babbage_genesis_initial-txin.cli | 7 +- .../help/babbage_genesis_key-gen-delegate.cli | 6 +- .../help/babbage_genesis_key-gen-genesis.cli | 4 +- .../help/babbage_genesis_key-gen-utxo.cli | 4 +- .../files/golden/help/babbage_governance.cli | 7 +- ...tion_create-protocol-parameters-update.cli | 43 +- .../help/babbage_governance_answer-poll.cli | 5 +- ...ate-genesis-key-delegation-certificate.cli | 25 +- ...bage_governance_create-mir-certificate.cli | 15 +- ...create-mir-certificate_stake-addresses.cli | 9 +- ...te-mir-certificate_transfer-to-rewards.cli | 4 +- ...e-mir-certificate_transfer-to-treasury.cli | 4 +- .../help/babbage_governance_create-poll.cli | 6 +- .../help/babbage_governance_verify-poll.cli | 5 +- ...babbage_key_convert-byron-genesis-vkey.cli | 4 +- .../help/babbage_key_convert-byron-key.cli | 21 +- ...abbage_key_convert-cardano-address-key.cli | 16 +- .../babbage_key_convert-itn-bip32-key.cli | 4 +- .../babbage_key_convert-itn-extended-key.cli | 4 +- .../help/babbage_key_convert-itn-key.cli | 7 +- .../help/babbage_key_non-extended-key.cli | 5 +- .../help/babbage_key_verification-key.cli | 4 +- .../help/babbage_node_issue-op-cert.cli | 11 +- .../golden/help/babbage_node_key-gen-KES.cli | 6 +- .../golden/help/babbage_node_key-gen-VRF.cli | 6 +- .../golden/help/babbage_node_key-gen.cli | 8 +- .../golden/help/babbage_node_key-hash-VRF.cli | 6 +- .../golden/help/babbage_node_new-counter.cli | 12 +- .../help/babbage_query_kes-period-info.cli | 11 +- .../babbage_query_leadership-schedule.cli | 24 +- .../help/babbage_query_ledger-state.cli | 9 +- .../golden/help/babbage_query_pool-params.cli | 13 +- .../golden/help/babbage_query_pool-state.cli | 13 +- .../babbage_query_protocol-parameters.cli | 9 +- .../help/babbage_query_protocol-state.cli | 9 +- .../help/babbage_query_ref-script-size.cli | 12 +- .../golden/help/babbage_query_slot-number.cli | 9 +- .../help/babbage_query_stake-address-info.cli | 11 +- .../help/babbage_query_stake-distribution.cli | 12 +- .../golden/help/babbage_query_stake-pools.cli | 11 +- .../help/babbage_query_stake-snapshot.cli | 13 +- .../files/golden/help/babbage_query_tip.cli | 7 +- .../golden/help/babbage_query_tx-mempool.cli | 11 +- .../help/babbage_query_tx-mempool_info.cli | 11 +- .../help/babbage_query_tx-mempool_next-tx.cli | 11 +- ...bbage_query_tx-mempool_tx-exists_TX_ID.cli | 11 +- .../files/golden/help/babbage_query_utxo.cli | 12 +- .../golden/help/babbage_stake-address.cli | 7 +- .../help/babbage_stake-address_build.cli | 13 +- ...ake-address_deregistration-certificate.cli | 15 +- .../help/babbage_stake-address_key-gen.cli | 6 +- .../help/babbage_stake-address_key-hash.cli | 7 +- ...stake-address_registration-certificate.cli | 15 +- ...e-address_stake-delegation-certificate.cli | 22 +- .../files/golden/help/babbage_stake-pool.cli | 6 +- ..._stake-pool_deregistration-certificate.cli | 9 +- .../golden/help/babbage_stake-pool_id.cli | 9 +- .../help/babbage_stake-pool_metadata-hash.cli | 4 +- ...ge_stake-pool_registration-certificate.cli | 44 +- .../help/babbage_text-view_decode-cbor.cli | 4 +- .../files/golden/help/babbage_transaction.cli | 9 +- .../help/babbage_transaction_assemble.cli | 5 +- .../babbage_transaction_build-estimate.cli | 232 +- .../help/babbage_transaction_build-raw.cli | 220 +- .../golden/help/babbage_transaction_build.cli | 202 +- .../babbage_transaction_calculate-min-fee.cli | 18 +- ...ransaction_calculate-min-required-utxo.cli | 34 +- ...abbage_transaction_calculate-min-value.cli | 34 +- .../babbage_transaction_hash-script-data.cli | 8 +- .../help/babbage_transaction_sign-witness.cli | 5 +- .../golden/help/babbage_transaction_sign.cli | 11 +- .../help/babbage_transaction_submit.cli | 9 +- .../golden/help/babbage_transaction_txid.cli | 4 +- .../help/babbage_transaction_witness.cli | 9 +- .../help/byron_create-proposal-vote.cli | 10 +- .../help/byron_create-update-proposal.cli | 43 +- .../golden/help/byron_genesis_genesis.cli | 18 +- .../byron_governance_create-proposal-vote.cli | 11 +- ...yron_governance_create-update-proposal.cli | 43 +- .../byron_governance_submit-proposal-vote.cli | 7 +- ...yron_governance_submit-update-proposal.cli | 7 +- .../byron_key_migrate-delegate-key-from.cli | 4 +- .../help/byron_key_signing-key-address.cli | 8 +- .../help/byron_key_signing-key-public.cli | 5 +- .../golden/help/byron_key_to-verification.cli | 6 +- .../byron_miscellaneous_validate-cbor.cli | 9 +- .../help/byron_submit-proposal-vote.cli | 7 +- .../help/byron_submit-update-proposal.cli | 7 +- .../files/golden/help/byron_transaction.cli | 6 +- ...saction_issue-genesis-utxo-expenditure.cli | 16 +- ...ron_transaction_issue-utxo-expenditure.cli | 13 +- .../help/byron_transaction_submit-tx.cli | 7 +- .../golden/help/conway_address_build.cli | 18 +- .../golden/help/conway_address_key-gen.cli | 9 +- .../golden/help/conway_address_key-hash.cli | 6 +- .../help/conway_genesis_create-cardano.cli | 22 +- .../help/conway_genesis_create-staked.cli | 22 +- .../conway_genesis_create-testnet-data.cli | 25 +- .../golden/help/conway_genesis_create.cli | 11 +- .../help/conway_genesis_get-ver-key.cli | 4 +- .../help/conway_genesis_initial-addr.cli | 7 +- .../help/conway_genesis_initial-txin.cli | 7 +- .../help/conway_genesis_key-gen-delegate.cli | 6 +- .../help/conway_genesis_key-gen-genesis.cli | 4 +- .../help/conway_genesis_key-gen-utxo.cli | 4 +- .../golden/help/conway_governance_action.cli | 10 +- ..._governance_action_create-constitution.cli | 32 +- ...nway_governance_action_create-hardfork.cli | 30 +- .../conway_governance_action_create-info.cli | 22 +- ...governance_action_create-no-confidence.cli | 27 +- ...tion_create-protocol-parameters-update.cli | 105 +- ...ance_action_create-treasury-withdrawal.cli | 36 +- ...way_governance_action_update-committee.cli | 54 +- .../help/conway_governance_action_view.cli | 6 +- .../help/conway_governance_committee.cli | 9 +- ...reate-cold-key-resignation-certificate.cli | 19 +- ...eate-hot-key-authorization-certificate.cli | 27 +- ...nway_governance_committee_key-gen-cold.cli | 4 +- ...onway_governance_committee_key-gen-hot.cli | 4 +- .../conway_governance_committee_key-hash.cli | 5 +- .../golden/help/conway_governance_drep.cli | 7 +- .../golden/help/conway_governance_drep_id.cli | 8 +- .../help/conway_governance_drep_key-gen.cli | 4 +- .../conway_governance_drep_metadata-hash.cli | 4 +- ...vernance_drep_registration-certificate.cli | 17 +- ...governance_drep_retirement-certificate.cli | 13 +- ...way_governance_drep_update-certificate.cli | 15 +- .../help/conway_governance_vote_create.cli | 33 +- .../help/conway_governance_vote_view.cli | 6 +- .../conway_key_convert-byron-genesis-vkey.cli | 4 +- .../help/conway_key_convert-byron-key.cli | 21 +- ...conway_key_convert-cardano-address-key.cli | 15 +- .../help/conway_key_convert-itn-bip32-key.cli | 4 +- .../conway_key_convert-itn-extended-key.cli | 4 +- .../help/conway_key_convert-itn-key.cli | 7 +- .../help/conway_key_non-extended-key.cli | 5 +- .../help/conway_key_verification-key.cli | 4 +- .../golden/help/conway_node_issue-op-cert.cli | 11 +- .../golden/help/conway_node_key-gen-KES.cli | 6 +- .../golden/help/conway_node_key-gen-VRF.cli | 6 +- .../files/golden/help/conway_node_key-gen.cli | 8 +- .../golden/help/conway_node_key-hash-VRF.cli | 6 +- .../golden/help/conway_node_new-counter.cli | 12 +- .../help/conway_query_committee-state.cli | 29 +- .../golden/help/conway_query_constitution.cli | 11 +- .../conway_query_drep-stake-distribution.cli | 23 +- .../golden/help/conway_query_drep-state.cli | 20 +- .../golden/help/conway_query_gov-state.cli | 9 +- .../help/conway_query_kes-period-info.cli | 13 +- .../help/conway_query_leadership-schedule.cli | 26 +- .../golden/help/conway_query_ledger-state.cli | 11 +- .../golden/help/conway_query_pool-params.cli | 14 +- .../golden/help/conway_query_pool-state.cli | 13 +- .../help/conway_query_protocol-parameters.cli | 9 +- .../help/conway_query_protocol-state.cli | 12 +- .../help/conway_query_ref-script-size.cli | 15 +- .../golden/help/conway_query_slot-number.cli | 11 +- .../conway_query_spo-stake-distribution.cli | 20 +- .../help/conway_query_stake-address-info.cli | 13 +- .../help/conway_query_stake-distribution.cli | 15 +- .../golden/help/conway_query_stake-pools.cli | 13 +- .../help/conway_query_stake-snapshot.cli | 15 +- .../files/golden/help/conway_query_tip.cli | 9 +- .../golden/help/conway_query_treasury.cli | 9 +- .../golden/help/conway_query_tx-mempool.cli | 10 +- .../help/conway_query_tx-mempool_info.cli | 10 +- .../help/conway_query_tx-mempool_next-tx.cli | 10 +- ...onway_query_tx-mempool_tx-exists_TX_ID.cli | 10 +- .../files/golden/help/conway_query_utxo.cli | 14 +- .../golden/help/conway_stake-address.cli | 10 +- .../help/conway_stake-address_build.cli | 13 +- ...ake-address_deregistration-certificate.cli | 16 +- .../help/conway_stake-address_key-gen.cli | 6 +- .../help/conway_stake-address_key-hash.cli | 7 +- ...stake-address_registration-certificate.cli | 16 +- ..._stake-and-vote-delegation-certificate.cli | 36 +- ...e-address_stake-delegation-certificate.cli | 22 +- ...ke-address_vote-delegation-certificate.cli | 28 +- .../files/golden/help/conway_stake-pool.cli | 6 +- ..._stake-pool_deregistration-certificate.cli | 9 +- .../golden/help/conway_stake-pool_id.cli | 8 +- .../help/conway_stake-pool_metadata-hash.cli | 4 +- ...ay_stake-pool_registration-certificate.cli | 44 +- .../help/conway_text-view_decode-cbor.cli | 4 +- .../files/golden/help/conway_transaction.cli | 9 +- .../help/conway_transaction_assemble.cli | 5 +- .../conway_transaction_build-estimate.cli | 294 +- .../help/conway_transaction_build-raw.cli | 278 +- .../golden/help/conway_transaction_build.cli | 246 +- .../conway_transaction_calculate-min-fee.cli | 18 +- ...ransaction_calculate-min-required-utxo.cli | 34 +- ...conway_transaction_calculate-min-value.cli | 34 +- .../conway_transaction_hash-script-data.cli | 8 +- .../help/conway_transaction_sign-witness.cli | 5 +- .../golden/help/conway_transaction_sign.cli | 10 +- .../golden/help/conway_transaction_submit.cli | 9 +- .../golden/help/conway_transaction_txid.cli | 4 +- .../help/conway_transaction_witness.cli | 9 +- .../golden/help/debug_log-epoch-state.cli | 6 +- .../golden/help/debug_transaction_view.cli | 7 +- .../golden/help/genesis_create-cardano.cli | 26 +- .../golden/help/genesis_create-staked.cli | 25 +- .../files/golden/help/genesis_get-ver-key.cli | 4 +- .../golden/help/genesis_initial-addr.cli | 6 +- .../golden/help/genesis_initial-txin.cli | 6 +- .../golden/help/genesis_key-gen-delegate.cli | 6 +- .../golden/help/genesis_key-gen-genesis.cli | 4 +- .../golden/help/genesis_key-gen-utxo.cli | 4 +- .../golden/help/governance_answer-poll.cli | 4 +- ...ate-genesis-key-delegation-certificate.cli | 36 +- .../governance_create-mir-certificate.cli | 19 +- ...create-mir-certificate_stake-addresses.cli | 19 +- ...te-mir-certificate_transfer-to-rewards.cli | 14 +- ...e-mir-certificate_transfer-to-treasury.cli | 14 +- .../golden/help/governance_create-poll.cli | 4 +- .../governance_create-update-proposal.cli | 49 +- .../golden/help/governance_verify-poll.cli | 5 +- .../files/golden/help/hash_anchor-data.cli | 6 +- .../help/issue-genesis-utxo-expenditure.cli | 14 +- .../golden/help/issue-utxo-expenditure.cli | 11 +- .../help/key_convert-byron-genesis-vkey.cli | 4 +- .../golden/help/key_convert-byron-key.cli | 18 +- .../help/key_convert-cardano-address-key.cli | 12 +- .../golden/help/key_convert-itn-bip32-key.cli | 4 +- .../help/key_convert-itn-extended-key.cli | 4 +- .../files/golden/help/key_convert-itn-key.cli | 6 +- .../golden/help/key_non-extended-key.cli | 5 +- .../golden/help/key_verification-key.cli | 4 +- .../golden/help/latest_address_build.cli | 18 +- .../golden/help/latest_address_key-gen.cli | 9 +- .../golden/help/latest_address_key-hash.cli | 6 +- .../help/latest_genesis_create-cardano.cli | 22 +- .../help/latest_genesis_create-staked.cli | 22 +- .../latest_genesis_create-testnet-data.cli | 25 +- .../golden/help/latest_genesis_create.cli | 11 +- .../help/latest_genesis_get-ver-key.cli | 4 +- .../help/latest_genesis_initial-addr.cli | 7 +- .../help/latest_genesis_initial-txin.cli | 7 +- .../help/latest_genesis_key-gen-delegate.cli | 6 +- .../help/latest_genesis_key-gen-genesis.cli | 4 +- .../help/latest_genesis_key-gen-utxo.cli | 4 +- .../files/golden/help/latest_governance.cli | 7 +- ...tion_create-protocol-parameters-update.cli | 43 +- .../help/latest_governance_answer-poll.cli | 5 +- ...ate-genesis-key-delegation-certificate.cli | 25 +- ...test_governance_create-mir-certificate.cli | 14 +- ...create-mir-certificate_stake-addresses.cli | 9 +- ...te-mir-certificate_transfer-to-rewards.cli | 4 +- ...e-mir-certificate_transfer-to-treasury.cli | 4 +- .../help/latest_governance_create-poll.cli | 6 +- .../help/latest_governance_verify-poll.cli | 5 +- .../latest_key_convert-byron-genesis-vkey.cli | 4 +- .../help/latest_key_convert-byron-key.cli | 21 +- ...latest_key_convert-cardano-address-key.cli | 15 +- .../help/latest_key_convert-itn-bip32-key.cli | 4 +- .../latest_key_convert-itn-extended-key.cli | 4 +- .../help/latest_key_convert-itn-key.cli | 7 +- .../help/latest_key_non-extended-key.cli | 5 +- .../help/latest_key_verification-key.cli | 4 +- .../golden/help/latest_node_issue-op-cert.cli | 11 +- .../golden/help/latest_node_key-gen-KES.cli | 6 +- .../golden/help/latest_node_key-gen-VRF.cli | 6 +- .../files/golden/help/latest_node_key-gen.cli | 8 +- .../golden/help/latest_node_key-hash-VRF.cli | 6 +- .../golden/help/latest_node_new-counter.cli | 12 +- .../help/latest_query_kes-period-info.cli | 11 +- .../help/latest_query_leadership-schedule.cli | 24 +- .../golden/help/latest_query_ledger-state.cli | 9 +- .../golden/help/latest_query_pool-params.cli | 13 +- .../golden/help/latest_query_pool-state.cli | 12 +- .../help/latest_query_protocol-parameters.cli | 9 +- .../help/latest_query_protocol-state.cli | 9 +- .../help/latest_query_ref-script-size.cli | 12 +- .../golden/help/latest_query_slot-number.cli | 8 +- .../help/latest_query_stake-address-info.cli | 11 +- .../help/latest_query_stake-distribution.cli | 12 +- .../golden/help/latest_query_stake-pools.cli | 11 +- .../help/latest_query_stake-snapshot.cli | 13 +- .../files/golden/help/latest_query_tip.cli | 7 +- .../golden/help/latest_query_tx-mempool.cli | 10 +- .../help/latest_query_tx-mempool_info.cli | 10 +- .../help/latest_query_tx-mempool_next-tx.cli | 10 +- ...atest_query_tx-mempool_tx-exists_TX_ID.cli | 10 +- .../files/golden/help/latest_query_utxo.cli | 12 +- .../golden/help/latest_stake-address.cli | 7 +- .../help/latest_stake-address_build.cli | 13 +- ...ake-address_deregistration-certificate.cli | 15 +- .../help/latest_stake-address_key-gen.cli | 6 +- .../help/latest_stake-address_key-hash.cli | 7 +- ...stake-address_registration-certificate.cli | 15 +- ...e-address_stake-delegation-certificate.cli | 22 +- .../files/golden/help/latest_stake-pool.cli | 6 +- ..._stake-pool_deregistration-certificate.cli | 9 +- .../golden/help/latest_stake-pool_id.cli | 8 +- .../help/latest_stake-pool_metadata-hash.cli | 4 +- ...st_stake-pool_registration-certificate.cli | 44 +- .../help/latest_text-view_decode-cbor.cli | 4 +- .../files/golden/help/latest_transaction.cli | 9 +- .../help/latest_transaction_assemble.cli | 5 +- .../latest_transaction_build-estimate.cli | 232 +- .../help/latest_transaction_build-raw.cli | 217 +- .../golden/help/latest_transaction_build.cli | 200 +- .../latest_transaction_calculate-min-fee.cli | 18 +- ...ransaction_calculate-min-required-utxo.cli | 34 +- ...latest_transaction_calculate-min-value.cli | 34 +- .../latest_transaction_hash-script-data.cli | 8 +- .../help/latest_transaction_sign-witness.cli | 5 +- .../golden/help/latest_transaction_sign.cli | 10 +- .../golden/help/latest_transaction_submit.cli | 9 +- .../golden/help/latest_transaction_txid.cli | 4 +- .../help/latest_transaction_witness.cli | 9 +- .../golden/help/legacy_address_build.cli | 18 +- .../golden/help/legacy_address_key-gen.cli | 9 +- .../golden/help/legacy_address_key-hash.cli | 6 +- .../help/legacy_genesis_create-cardano.cli | 28 +- .../help/legacy_genesis_create-staked.cli | 27 +- .../golden/help/legacy_genesis_create.cli | 16 +- .../help/legacy_genesis_get-ver-key.cli | 4 +- .../help/legacy_genesis_initial-addr.cli | 7 +- .../help/legacy_genesis_initial-txin.cli | 7 +- .../help/legacy_genesis_key-gen-delegate.cli | 6 +- .../help/legacy_genesis_key-gen-genesis.cli | 4 +- .../help/legacy_genesis_key-gen-utxo.cli | 4 +- .../files/golden/help/legacy_governance.cli | 7 +- .../help/legacy_governance_answer-poll.cli | 5 +- ...ate-genesis-key-delegation-certificate.cli | 36 +- ...gacy_governance_create-mir-certificate.cli | 21 +- ...create-mir-certificate_stake-addresses.cli | 19 +- ...te-mir-certificate_transfer-to-rewards.cli | 14 +- ...e-mir-certificate_transfer-to-treasury.cli | 14 +- .../help/legacy_governance_create-poll.cli | 6 +- ...gacy_governance_create-update-proposal.cli | 50 +- .../help/legacy_governance_verify-poll.cli | 5 +- .../legacy_key_convert-byron-genesis-vkey.cli | 4 +- .../help/legacy_key_convert-byron-key.cli | 21 +- ...legacy_key_convert-cardano-address-key.cli | 15 +- .../help/legacy_key_convert-itn-bip32-key.cli | 4 +- .../legacy_key_convert-itn-extended-key.cli | 4 +- .../help/legacy_key_convert-itn-key.cli | 7 +- .../help/legacy_key_non-extended-key.cli | 5 +- .../help/legacy_key_verification-key.cli | 4 +- .../golden/help/legacy_node_issue-op-cert.cli | 11 +- .../golden/help/legacy_node_key-gen-KES.cli | 6 +- .../golden/help/legacy_node_key-gen-VRF.cli | 6 +- .../files/golden/help/legacy_node_key-gen.cli | 8 +- .../golden/help/legacy_node_key-hash-VRF.cli | 6 +- .../golden/help/legacy_node_new-counter.cli | 12 +- .../help/legacy_query_kes-period-info.cli | 11 +- .../help/legacy_query_leadership-schedule.cli | 24 +- .../golden/help/legacy_query_ledger-state.cli | 9 +- .../golden/help/legacy_query_pool-params.cli | 13 +- .../golden/help/legacy_query_pool-state.cli | 12 +- .../help/legacy_query_protocol-parameters.cli | 9 +- .../help/legacy_query_protocol-state.cli | 9 +- .../golden/help/legacy_query_slot-number.cli | 8 +- .../help/legacy_query_stake-address-info.cli | 11 +- .../help/legacy_query_stake-distribution.cli | 12 +- .../golden/help/legacy_query_stake-pools.cli | 11 +- .../help/legacy_query_stake-snapshot.cli | 13 +- .../files/golden/help/legacy_query_tip.cli | 7 +- .../golden/help/legacy_query_tx-mempool.cli | 10 +- .../help/legacy_query_tx-mempool_info.cli | 10 +- .../help/legacy_query_tx-mempool_next-tx.cli | 10 +- ...egacy_query_tx-mempool_tx-exists_TX_ID.cli | 10 +- .../files/golden/help/legacy_query_utxo.cli | 12 +- .../golden/help/legacy_stake-address.cli | 7 +- .../help/legacy_stake-address_build.cli | 13 +- ...y_stake-address_delegation-certificate.cli | 30 +- ...ake-address_deregistration-certificate.cli | 29 +- .../help/legacy_stake-address_key-gen.cli | 6 +- .../help/legacy_stake-address_key-hash.cli | 7 +- ...stake-address_registration-certificate.cli | 26 +- .../files/golden/help/legacy_stake-pool.cli | 6 +- ..._stake-pool_deregistration-certificate.cli | 19 +- .../golden/help/legacy_stake-pool_id.cli | 8 +- .../help/legacy_stake-pool_metadata-hash.cli | 4 +- ...cy_stake-pool_registration-certificate.cli | 52 +- .../help/legacy_text-view_decode-cbor.cli | 4 +- .../files/golden/help/legacy_transaction.cli | 9 +- .../help/legacy_transaction_assemble.cli | 5 +- .../help/legacy_transaction_build-raw.cli | 222 +- .../golden/help/legacy_transaction_build.cli | 253 +- .../legacy_transaction_calculate-min-fee.cli | 18 +- ...ransaction_calculate-min-required-utxo.cli | 46 +- ...legacy_transaction_calculate-min-value.cli | 42 +- .../legacy_transaction_hash-script-data.cli | 8 +- .../help/legacy_transaction_sign-witness.cli | 5 +- .../golden/help/legacy_transaction_sign.cli | 10 +- .../golden/help/legacy_transaction_submit.cli | 9 +- .../golden/help/legacy_transaction_txid.cli | 4 +- .../help/legacy_transaction_witness.cli | 9 +- .../files/golden/help/mary_address_build.cli | 18 +- .../golden/help/mary_address_key-gen.cli | 9 +- .../golden/help/mary_address_key-hash.cli | 6 +- .../help/mary_genesis_create-cardano.cli | 22 +- .../help/mary_genesis_create-staked.cli | 22 +- .../help/mary_genesis_create-testnet-data.cli | 25 +- .../files/golden/help/mary_genesis_create.cli | 11 +- .../golden/help/mary_genesis_get-ver-key.cli | 4 +- .../golden/help/mary_genesis_initial-addr.cli | 7 +- .../golden/help/mary_genesis_initial-txin.cli | 7 +- .../help/mary_genesis_key-gen-delegate.cli | 6 +- .../help/mary_genesis_key-gen-genesis.cli | 4 +- .../golden/help/mary_genesis_key-gen-utxo.cli | 4 +- ...tion_create-protocol-parameters-update.cli | 36 +- ...ate-genesis-key-delegation-certificate.cli | 25 +- ...mary_governance_create-mir-certificate.cli | 13 +- ...create-mir-certificate_stake-addresses.cli | 9 +- ...te-mir-certificate_transfer-to-rewards.cli | 4 +- ...e-mir-certificate_transfer-to-treasury.cli | 4 +- .../mary_key_convert-byron-genesis-vkey.cli | 4 +- .../help/mary_key_convert-byron-key.cli | 21 +- .../mary_key_convert-cardano-address-key.cli | 13 +- .../help/mary_key_convert-itn-bip32-key.cli | 4 +- .../mary_key_convert-itn-extended-key.cli | 4 +- .../golden/help/mary_key_convert-itn-key.cli | 6 +- .../golden/help/mary_key_non-extended-key.cli | 5 +- .../golden/help/mary_key_verification-key.cli | 4 +- .../golden/help/mary_node_issue-op-cert.cli | 11 +- .../golden/help/mary_node_key-gen-KES.cli | 6 +- .../golden/help/mary_node_key-gen-VRF.cli | 6 +- .../files/golden/help/mary_node_key-gen.cli | 8 +- .../golden/help/mary_node_key-hash-VRF.cli | 6 +- .../golden/help/mary_node_new-counter.cli | 12 +- .../help/mary_query_kes-period-info.cli | 11 +- .../help/mary_query_leadership-schedule.cli | 24 +- .../golden/help/mary_query_ledger-state.cli | 8 +- .../golden/help/mary_query_pool-params.cli | 11 +- .../golden/help/mary_query_pool-state.cli | 11 +- .../help/mary_query_protocol-parameters.cli | 9 +- .../golden/help/mary_query_protocol-state.cli | 9 +- .../help/mary_query_ref-script-size.cli | 12 +- .../golden/help/mary_query_slot-number.cli | 7 +- .../help/mary_query_stake-address-info.cli | 11 +- .../help/mary_query_stake-distribution.cli | 11 +- .../golden/help/mary_query_stake-pools.cli | 9 +- .../golden/help/mary_query_stake-snapshot.cli | 13 +- .../golden/help/mary_query_tx-mempool.cli | 9 +- .../help/mary_query_tx-mempool_info.cli | 9 +- .../help/mary_query_tx-mempool_next-tx.cli | 9 +- .../mary_query_tx-mempool_tx-exists_TX_ID.cli | 9 +- .../files/golden/help/mary_stake-address.cli | 7 +- .../golden/help/mary_stake-address_build.cli | 12 +- ...ake-address_deregistration-certificate.cli | 15 +- .../help/mary_stake-address_key-gen.cli | 6 +- .../help/mary_stake-address_key-hash.cli | 7 +- ...stake-address_registration-certificate.cli | 15 +- ...e-address_stake-delegation-certificate.cli | 22 +- ..._stake-pool_deregistration-certificate.cli | 9 +- .../files/golden/help/mary_stake-pool_id.cli | 8 +- .../help/mary_stake-pool_metadata-hash.cli | 4 +- ...ry_stake-pool_registration-certificate.cli | 44 +- .../help/mary_text-view_decode-cbor.cli | 4 +- .../files/golden/help/mary_transaction.cli | 9 +- .../golden/help/mary_transaction_assemble.cli | 5 +- .../help/mary_transaction_build-estimate.cli | 230 +- .../help/mary_transaction_build-raw.cli | 216 +- .../golden/help/mary_transaction_build.cli | 194 +- .../mary_transaction_calculate-min-fee.cli | 18 +- ...ransaction_calculate-min-required-utxo.cli | 34 +- .../mary_transaction_calculate-min-value.cli | 34 +- .../mary_transaction_hash-script-data.cli | 8 +- .../help/mary_transaction_sign-witness.cli | 5 +- .../golden/help/mary_transaction_sign.cli | 10 +- .../golden/help/mary_transaction_submit.cli | 8 +- .../golden/help/mary_transaction_txid.cli | 4 +- .../golden/help/mary_transaction_witness.cli | 9 +- .../files/golden/help/node_issue-op-cert.cli | 10 +- .../files/golden/help/node_key-gen-KES.cli | 6 +- .../files/golden/help/node_key-gen-VRF.cli | 6 +- .../files/golden/help/node_key-hash-VRF.cli | 6 +- .../files/golden/help/node_new-counter.cli | 10 +- .../golden/help/query_kes-period-info.cli | 9 +- .../golden/help/query_leadership-schedule.cli | 22 +- .../files/golden/help/query_ledger-state.cli | 7 +- .../files/golden/help/query_pool-params.cli | 11 +- .../files/golden/help/query_pool-state.cli | 11 +- .../golden/help/query_protocol-parameters.cli | 9 +- .../golden/help/query_protocol-state.cli | 7 +- .../files/golden/help/query_slot-number.cli | 7 +- .../golden/help/query_stake-address-info.cli | 11 +- .../golden/help/query_stake-distribution.cli | 11 +- .../files/golden/help/query_stake-pools.cli | 9 +- .../golden/help/query_stake-snapshot.cli | 11 +- .../files/golden/help/query_tx-mempool.cli | 9 +- .../golden/help/query_tx-mempool_info.cli | 9 +- .../golden/help/query_tx-mempool_next-tx.cli | 9 +- .../help/query_tx-mempool_tx-exists_TX_ID.cli | 9 +- .../golden/help/shelley_address_build.cli | 18 +- .../golden/help/shelley_address_key-gen.cli | 9 +- .../golden/help/shelley_address_key-hash.cli | 7 +- .../help/shelley_genesis_create-cardano.cli | 22 +- .../help/shelley_genesis_create-staked.cli | 22 +- .../shelley_genesis_create-testnet-data.cli | 26 +- .../golden/help/shelley_genesis_create.cli | 11 +- .../help/shelley_genesis_get-ver-key.cli | 4 +- .../help/shelley_genesis_initial-addr.cli | 7 +- .../help/shelley_genesis_initial-txin.cli | 7 +- .../help/shelley_genesis_key-gen-delegate.cli | 6 +- .../help/shelley_genesis_key-gen-genesis.cli | 4 +- .../help/shelley_genesis_key-gen-utxo.cli | 4 +- .../files/golden/help/shelley_governance.cli | 6 +- ...tion_create-protocol-parameters-update.cli | 35 +- ...ate-genesis-key-delegation-certificate.cli | 25 +- ...lley_governance_create-mir-certificate.cli | 15 +- ...create-mir-certificate_stake-addresses.cli | 9 +- ...te-mir-certificate_transfer-to-rewards.cli | 4 +- ...e-mir-certificate_transfer-to-treasury.cli | 4 +- ...shelley_key_convert-byron-genesis-vkey.cli | 4 +- .../help/shelley_key_convert-byron-key.cli | 21 +- ...helley_key_convert-cardano-address-key.cli | 16 +- .../shelley_key_convert-itn-bip32-key.cli | 4 +- .../shelley_key_convert-itn-extended-key.cli | 4 +- .../help/shelley_key_convert-itn-key.cli | 7 +- .../help/shelley_key_non-extended-key.cli | 5 +- .../help/shelley_key_verification-key.cli | 4 +- .../help/shelley_node_issue-op-cert.cli | 11 +- .../golden/help/shelley_node_key-gen-KES.cli | 6 +- .../golden/help/shelley_node_key-gen-VRF.cli | 6 +- .../golden/help/shelley_node_key-gen.cli | 8 +- .../golden/help/shelley_node_key-hash-VRF.cli | 6 +- .../golden/help/shelley_node_new-counter.cli | 12 +- .../help/shelley_query_kes-period-info.cli | 11 +- .../shelley_query_leadership-schedule.cli | 24 +- .../help/shelley_query_ledger-state.cli | 9 +- .../golden/help/shelley_query_pool-params.cli | 13 +- .../golden/help/shelley_query_pool-state.cli | 13 +- .../shelley_query_protocol-parameters.cli | 9 +- .../help/shelley_query_protocol-state.cli | 9 +- .../help/shelley_query_ref-script-size.cli | 12 +- .../golden/help/shelley_query_slot-number.cli | 9 +- .../help/shelley_query_stake-address-info.cli | 11 +- .../help/shelley_query_stake-distribution.cli | 12 +- .../golden/help/shelley_query_stake-pools.cli | 11 +- .../help/shelley_query_stake-snapshot.cli | 13 +- .../files/golden/help/shelley_query_tip.cli | 7 +- .../golden/help/shelley_query_tx-mempool.cli | 11 +- .../help/shelley_query_tx-mempool_info.cli | 11 +- .../help/shelley_query_tx-mempool_next-tx.cli | 11 +- ...elley_query_tx-mempool_tx-exists_TX_ID.cli | 11 +- .../files/golden/help/shelley_query_utxo.cli | 12 +- .../golden/help/shelley_stake-address.cli | 7 +- .../help/shelley_stake-address_build.cli | 13 +- ...ake-address_deregistration-certificate.cli | 15 +- .../help/shelley_stake-address_key-gen.cli | 6 +- .../help/shelley_stake-address_key-hash.cli | 7 +- ...stake-address_registration-certificate.cli | 15 +- ...e-address_stake-delegation-certificate.cli | 22 +- .../files/golden/help/shelley_stake-pool.cli | 6 +- ..._stake-pool_deregistration-certificate.cli | 9 +- .../golden/help/shelley_stake-pool_id.cli | 9 +- .../help/shelley_stake-pool_metadata-hash.cli | 4 +- ...ey_stake-pool_registration-certificate.cli | 44 +- .../help/shelley_text-view_decode-cbor.cli | 4 +- .../files/golden/help/shelley_transaction.cli | 9 +- .../help/shelley_transaction_assemble.cli | 5 +- .../help/shelley_transaction_build-raw.cli | 220 +- .../golden/help/shelley_transaction_build.cli | 202 +- .../shelley_transaction_calculate-min-fee.cli | 18 +- ...ransaction_calculate-min-required-utxo.cli | 34 +- ...helley_transaction_calculate-min-value.cli | 34 +- .../shelley_transaction_hash-script-data.cli | 8 +- .../help/shelley_transaction_sign-witness.cli | 5 +- .../golden/help/shelley_transaction_sign.cli | 11 +- .../help/shelley_transaction_submit.cli | 9 +- .../golden/help/shelley_transaction_txid.cli | 4 +- .../help/shelley_transaction_witness.cli | 9 +- .../files/golden/help/signing-key-address.cli | 7 +- .../files/golden/help/signing-key-public.cli | 4 +- .../files/golden/help/stake-address_build.cli | 11 +- .../stake-address_delegation-certificate.cli | 30 +- ...ake-address_deregistration-certificate.cli | 24 +- .../golden/help/stake-address_key-gen.cli | 6 +- .../golden/help/stake-address_key-hash.cli | 6 +- ...stake-address_registration-certificate.cli | 24 +- .../stake-pool_deregistration-certificate.cli | 17 +- .../golden/help/stake-pool_metadata-hash.cli | 4 +- .../stake-pool_registration-certificate.cli | 52 +- .../golden/help/text-view_decode-cbor.cli | 4 +- .../golden/help/transaction_assemble.cli | 5 +- .../golden/help/transaction_build-raw.cli | 213 +- .../files/golden/help/transaction_build.cli | 230 +- .../help/transaction_calculate-min-fee.cli | 17 +- ...ransaction_calculate-min-required-utxo.cli | 42 +- .../help/transaction_calculate-min-value.cli | 40 +- .../help/transaction_hash-script-data.cli | 7 +- .../golden/help/transaction_sign-witness.cli | 5 +- .../files/golden/help/transaction_sign.cli | 10 +- .../files/golden/help/transaction_submit.cli | 7 +- .../files/golden/help/transaction_txid.cli | 4 +- .../files/golden/help/transaction_witness.cli | 8 +- 761 files changed, 17851 insertions(+), 10888 deletions(-) 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 eaf742eab4..fdc752f547 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -12,27 +12,31 @@ Usage: cardano-cli shelley address (key-gen | key-hash | build | info) Payment address commands. -Usage: cardano-cli shelley address key-gen - [--key-output-format STRING] - [--normal-key | --extended-key | --byron-key] - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli shelley 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 shelley address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli shelley 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 shelley 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 shelley 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. @@ -49,59 +53,72 @@ Usage: cardano-cli shelley key (verification-key | non-extended-key | Key utility commands. -Usage: cardano-cli shelley key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH +Usage: cardano-cli shelley 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 shelley key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli shelley 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 shelley 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 shelley 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 shelley key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH +Usage: cardano-cli shelley 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 shelley key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH +Usage: cardano-cli shelley 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 shelley key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli shelley 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 shelley key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli shelley 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 shelley 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 shelley 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. @@ -114,19 +131,19 @@ Usage: cardano-cli shelley genesis (key-gen-genesis | key-gen-delegate | Genesis block commands. -Usage: cardano-cli shelley genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli shelley genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair -Usage: cardano-cli shelley genesis key-gen-delegate - --verification-key-file FILEPATH --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli shelley 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 shelley genesis key-gen-utxo - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli shelley genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair @@ -134,61 +151,92 @@ Usage: cardano-cli shelley genesis key-hash --verification-key-file FILEPATH Print the identifier (hash) of a public key -Usage: cardano-cli shelley genesis get-ver-key - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli shelley genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key -Usage: cardano-cli shelley genesis initial-addr - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli shelley 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 shelley genesis initial-txin - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli shelley 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 shelley 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] +Usage: cardano-cli shelley 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 shelley 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) +Usage: cardano-cli shelley 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 shelley 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) - [--bulk-pool-cred-files INT] [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] +Usage: cardano-cli shelley 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) + [--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 shelley 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 +Usage: cardano-cli shelley 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. @@ -196,46 +244,63 @@ Usage: cardano-cli shelley genesis hash --genesis FILEPATH Compute the hash of a genesis file -Usage: cardano-cli shelley governance - (create-mir-certificate | create-genesis-key-delegation-certificate | - action) +Usage: cardano-cli shelley governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action) Governance commands. -Usage: cardano-cli shelley governance create-mir-certificate - ((--reserves | --treasury) (--stake-address ADDRESS) - (--reward LOVELACE) --out-file FILEPATH | - stake-addresses | transfer-to-treasury | transfer-to-rewards) +Usage: cardano-cli shelley 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 shelley governance create-mir-certificate stake-addresses - (--reserves | --treasury) (--stake-address ADDRESS) (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli shelley governance create-mir-certificate stake-addresses (--reserves | + + --treasury) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH Create an MIR certificate to pay stake addresses -Usage: cardano-cli shelley governance create-mir-certificate transfer-to-treasury - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli shelley governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot -Usage: cardano-cli shelley governance create-mir-certificate transfer-to-rewards - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli shelley governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot -Usage: cardano-cli shelley 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 shelley 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 Create a genesis key delegation certificate @@ -243,18 +308,29 @@ Usage: cardano-cli shelley governance action create-protocol-parameters-update Governance action commands. -Usage: cardano-cli shelley governance action create-protocol-parameters-update - --epoch NATURAL (--genesis-verification-key-file FILEPATH) - [--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] [--min-utxo-value NATURAL] - [--protocol-major-version MAJOR --protocol-minor-version MINOR] - [--extra-entropy HEX | --reset-extra-entropy] - [--decentralization-parameter RATIONAL] --out-file FILEPATH +Usage: cardano-cli shelley governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--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] + [--min-utxo-value NATURAL] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + [--extra-entropy HEX | + + --reset-extra-entropy] + [--decentralization-parameter RATIONAL] + --out-file FILEPATH Create a protocol parameters update. @@ -263,45 +339,48 @@ Usage: cardano-cli shelley node (key-gen | key-gen-KES | key-gen-VRF | Node operation commands. -Usage: cardano-cli shelley 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 shelley 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 shelley node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli shelley 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 shelley node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli shelley 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 shelley node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli shelley 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 shelley 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 shelley 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 shelley 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 shelley 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 @@ -315,111 +394,156 @@ Usage: cardano-cli shelley query (protocol-parameters | tip | stake-pools | Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli shelley query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli shelley query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters -Usage: cardano-cli shelley query tip - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli shelley query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) -Usage: cardano-cli shelley 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 shelley query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids -Usage: cardano-cli shelley 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 shelley query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | + --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution -Usage: cardano-cli shelley 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 shelley query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. -Usage: cardano-cli shelley 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 shelley 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] Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli shelley query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli shelley 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 shelley query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli shelley query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) -Usage: cardano-cli shelley 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] +Usage: cardano-cli shelley 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] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) -Usage: cardano-cli shelley 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] +Usage: cardano-cli shelley 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] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced command) -Usage: cardano-cli shelley 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] +Usage: cardano-cli shelley 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] Get the slots the node is expected to mint a block in (advanced command) -Usage: cardano-cli shelley query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli shelley query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + --op-cert-file FILEPATH + [--out-file FILEPATH] Get information about the current KES period and your node's operational certificate. -Usage: cardano-cli shelley 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] +Usage: cardano-cli shelley 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] Dump the pool state -Usage: cardano-cli shelley query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli shelley query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info @@ -435,113 +559,159 @@ Usage: cardano-cli shelley query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool -Usage: cardano-cli shelley query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) TIMESTAMP +Usage: cardano-cli shelley query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + TIMESTAMP Query slot number for UTC timestamp -Usage: cardano-cli shelley query ref-script-size - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--tx-in TX-IN) (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] [--out-file FILEPATH] +Usage: cardano-cli shelley query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Calculate the reference input scripts size in bytes for provided transaction inputs. -Usage: cardano-cli shelley stake-address - (key-gen | key-hash | build | registration-certificate | - deregistration-certificate | stake-delegation-certificate) +Usage: cardano-cli shelley stake-address (key-gen | key-hash | build | + registration-certificate | + deregistration-certificate | + stake-delegation-certificate) Stake address commands. -Usage: cardano-cli shelley stake-address key-gen - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli shelley 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 shelley stake-address key-hash - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli shelley 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 shelley 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 shelley 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 shelley stake-address registration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli shelley stake-address registration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address registration certificate -Usage: cardano-cli shelley stake-address deregistration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli shelley stake-address deregistration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address deregistration certificate -Usage: cardano-cli shelley 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 +Usage: cardano-cli shelley 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 shelley stake-pool - (registration-certificate | deregistration-certificate | id | - metadata-hash) +Usage: cardano-cli shelley stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) Stake pool commands. -Usage: cardano-cli shelley stake-pool registration-certificate - (--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 +Usage: cardano-cli shelley stake-pool registration-certificate (--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 Create a stake pool registration certificate -Usage: cardano-cli shelley stake-pool deregistration-certificate - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) --epoch NATURAL - --out-file FILEPATH +Usage: cardano-cli shelley stake-pool deregistration-certificate (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + --epoch NATURAL + --out-file FILEPATH Create a stake pool deregistration certificate -Usage: cardano-cli shelley stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli shelley stake-pool id (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] Build pool id from the offline key -Usage: cardano-cli shelley stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli shelley stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. @@ -550,210 +720,332 @@ Usage: cardano-cli shelley text-view decode-cbor Commands for dealing with Shelley TextView files. Transactions, addresses etc are stored on disk as TextView files. -Usage: cardano-cli shelley text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli shelley text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. -Usage: cardano-cli shelley transaction - (build-raw | build | sign | witness | assemble | submit | policyid | - calculate-min-fee | calculate-min-required-utxo | hash-script-data | - txid | view) +Usage: cardano-cli shelley 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 shelley transaction build-raw - [--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 +Usage: cardano-cli shelley transaction build-raw [--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 of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. -Usage: cardano-cli shelley transaction build - --socket-path SOCKET_PATH [--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] - (--out-file FILEPATH | --calculate-plutus-script-cost FILEPATH) +Usage: cardano-cli shelley transaction build --socket-path SOCKET_PATH + [--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] + (--out-file FILEPATH | + --calculate-plutus-script-cost FILEPATH) Build a balanced transaction (automatically calculates fees) Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. -Usage: cardano-cli shelley transaction sign - (--tx-body-file FILEPATH | --tx-file FILEPATH) - [--signing-key-file FILEPATH [--address STRING]] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli shelley 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 shelley transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli shelley 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 shelley transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli shelley 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 shelley transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli shelley 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 shelley transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH +Usage: cardano-cli shelley 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. @@ -762,53 +1054,81 @@ Usage: cardano-cli shelley transaction policyid --script-file FILEPATH Calculate the PolicyId from the monetary policy script. -Usage: cardano-cli shelley 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] +Usage: cardano-cli shelley 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 shelley 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 | - --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] +Usage: cardano-cli shelley 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 | + + --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 shelley 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 | - --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] +Usage: cardano-cli shelley 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 | + + --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 shelley transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) +Usage: cardano-cli shelley 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 shelley transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli shelley transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. @@ -826,27 +1146,31 @@ Usage: cardano-cli allegra address (key-gen | key-hash | build | info) Payment address commands. -Usage: cardano-cli allegra address key-gen - [--key-output-format STRING] - [--normal-key | --extended-key | --byron-key] - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli allegra 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 allegra address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli allegra 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 allegra 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 allegra 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. @@ -863,59 +1187,72 @@ Usage: cardano-cli allegra key (verification-key | non-extended-key | Key utility commands. -Usage: cardano-cli allegra key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH +Usage: cardano-cli allegra 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 allegra key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli allegra 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 allegra 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 allegra 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 allegra key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH +Usage: cardano-cli allegra 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 allegra key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH +Usage: cardano-cli allegra 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 allegra key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli allegra 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 allegra key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli allegra 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 allegra 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 allegra 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. @@ -928,19 +1265,19 @@ Usage: cardano-cli allegra genesis (key-gen-genesis | key-gen-delegate | Genesis block commands. -Usage: cardano-cli allegra genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli allegra genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair -Usage: cardano-cli allegra genesis key-gen-delegate - --verification-key-file FILEPATH --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli allegra 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 allegra genesis key-gen-utxo - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli allegra genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair @@ -948,61 +1285,92 @@ Usage: cardano-cli allegra genesis key-hash --verification-key-file FILEPATH Print the identifier (hash) of a public key -Usage: cardano-cli allegra genesis get-ver-key - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli allegra genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key -Usage: cardano-cli allegra genesis initial-addr - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli allegra 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 allegra genesis initial-txin - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli allegra 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 allegra 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] +Usage: cardano-cli allegra 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 allegra 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) +Usage: cardano-cli allegra 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 allegra 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) - [--bulk-pool-cred-files INT] [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] +Usage: cardano-cli allegra 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) + [--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 allegra 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 +Usage: cardano-cli allegra 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. @@ -1010,46 +1378,63 @@ Usage: cardano-cli allegra genesis hash --genesis FILEPATH Compute the hash of a genesis file -Usage: cardano-cli allegra governance - (create-mir-certificate | create-genesis-key-delegation-certificate | - action) +Usage: cardano-cli allegra governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action) Governance commands. -Usage: cardano-cli allegra governance create-mir-certificate - ((--reserves | --treasury) (--stake-address ADDRESS) - (--reward LOVELACE) --out-file FILEPATH | - stake-addresses | transfer-to-treasury | transfer-to-rewards) +Usage: cardano-cli allegra 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 allegra governance create-mir-certificate stake-addresses - (--reserves | --treasury) (--stake-address ADDRESS) (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli allegra governance create-mir-certificate stake-addresses (--reserves | + + --treasury) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH Create an MIR certificate to pay stake addresses -Usage: cardano-cli allegra governance create-mir-certificate transfer-to-treasury - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli allegra governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot -Usage: cardano-cli allegra governance create-mir-certificate transfer-to-rewards - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli allegra governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot -Usage: cardano-cli allegra 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 allegra 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 Create a genesis key delegation certificate @@ -1057,19 +1442,29 @@ Usage: cardano-cli allegra governance action create-protocol-parameters-update Governance action commands. -Usage: cardano-cli allegra governance action create-protocol-parameters-update - --epoch NATURAL (--genesis-verification-key-file FILEPATH) - [--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] [--min-utxo-value NATURAL] - [--extra-entropy HEX | --reset-extra-entropy] - [--decentralization-parameter RATIONAL] - [--protocol-major-version MAJOR --protocol-minor-version MINOR] - --out-file FILEPATH +Usage: cardano-cli allegra governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--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] + [--min-utxo-value NATURAL] + [--extra-entropy HEX | + + --reset-extra-entropy] + [--decentralization-parameter RATIONAL] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + --out-file FILEPATH Create a protocol parameters update. @@ -1078,45 +1473,48 @@ Usage: cardano-cli allegra node (key-gen | key-gen-KES | key-gen-VRF | Node operation commands. -Usage: cardano-cli allegra 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 allegra 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 allegra node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli allegra 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 allegra node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli allegra 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 allegra node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli allegra 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 allegra 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 allegra 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 allegra 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 allegra 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 @@ -1130,111 +1528,156 @@ Usage: cardano-cli allegra query (protocol-parameters | tip | stake-pools | Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli allegra query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli allegra query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters -Usage: cardano-cli allegra query tip - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli allegra query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) -Usage: cardano-cli allegra 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 allegra query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids -Usage: cardano-cli allegra 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 allegra query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | + --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution -Usage: cardano-cli allegra 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 allegra query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. -Usage: cardano-cli allegra 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 allegra 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] Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli allegra query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli allegra 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 allegra query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli allegra query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) -Usage: cardano-cli allegra 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] +Usage: cardano-cli allegra 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] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) -Usage: cardano-cli allegra 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] +Usage: cardano-cli allegra 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] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced command) -Usage: cardano-cli allegra 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] +Usage: cardano-cli allegra 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] Get the slots the node is expected to mint a block in (advanced command) -Usage: cardano-cli allegra query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli allegra query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + --op-cert-file FILEPATH + [--out-file FILEPATH] Get information about the current KES period and your node's operational certificate. -Usage: cardano-cli allegra 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] +Usage: cardano-cli allegra 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] Dump the pool state -Usage: cardano-cli allegra query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli allegra query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info @@ -1250,113 +1693,159 @@ Usage: cardano-cli allegra query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool -Usage: cardano-cli allegra query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) TIMESTAMP +Usage: cardano-cli allegra query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + TIMESTAMP Query slot number for UTC timestamp -Usage: cardano-cli allegra query ref-script-size - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--tx-in TX-IN) (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] [--out-file FILEPATH] +Usage: cardano-cli allegra query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Calculate the reference input scripts size in bytes for provided transaction inputs. -Usage: cardano-cli allegra stake-address - (key-gen | key-hash | build | registration-certificate | - deregistration-certificate | stake-delegation-certificate) +Usage: cardano-cli allegra stake-address (key-gen | key-hash | build | + registration-certificate | + deregistration-certificate | + stake-delegation-certificate) Stake address commands. -Usage: cardano-cli allegra stake-address key-gen - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli allegra 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 allegra stake-address key-hash - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli allegra 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 allegra 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 allegra 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 allegra stake-address registration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli allegra stake-address registration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address registration certificate -Usage: cardano-cli allegra stake-address deregistration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli allegra stake-address deregistration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address deregistration certificate -Usage: cardano-cli allegra 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 +Usage: cardano-cli allegra 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 allegra stake-pool - (registration-certificate | deregistration-certificate | id | - metadata-hash) +Usage: cardano-cli allegra stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) Stake pool commands. -Usage: cardano-cli allegra stake-pool registration-certificate - (--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 +Usage: cardano-cli allegra stake-pool registration-certificate (--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 Create a stake pool registration certificate -Usage: cardano-cli allegra stake-pool deregistration-certificate - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) --epoch NATURAL - --out-file FILEPATH +Usage: cardano-cli allegra stake-pool deregistration-certificate (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + --epoch NATURAL + --out-file FILEPATH Create a stake pool deregistration certificate -Usage: cardano-cli allegra stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli allegra stake-pool id (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] Build pool id from the offline key -Usage: cardano-cli allegra stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli allegra stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. @@ -1365,457 +1854,649 @@ Usage: cardano-cli allegra text-view decode-cbor Commands for dealing with Shelley TextView files. Transactions, addresses etc are stored on disk as TextView files. -Usage: cardano-cli allegra text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli allegra text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. -Usage: cardano-cli allegra transaction - (build-raw | build | sign | witness | assemble | submit | policyid | - calculate-min-fee | calculate-min-required-utxo | hash-script-data | - txid | view) +Usage: cardano-cli allegra 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 allegra transaction build-raw - [--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 +Usage: cardano-cli allegra transaction build-raw [--script-valid | + --script-invalid] + (--tx-in TX-IN + [--spending-tx-in-reference TX-IN + (--spending-plutus-script-v2 | - Build a transaction (low-level, inconvenient) + --spending-plutus-script-v3) + (--spending-reference-tx-in-datum-cbor-file CBOR_FILE | - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + --spending-reference-tx-in-datum-file JSON_FILE | -Usage: cardano-cli allegra transaction build - --socket-path SOCKET_PATH [--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] - (--out-file FILEPATH | --calculate-plutus-script-cost FILEPATH) + --spending-reference-tx-in-datum-value JSON_VALUE | - Build a balanced transaction (automatically calculates fees) + --spending-reference-tx-in-inline-datum-present) + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + --spending-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli allegra transaction sign - (--tx-body-file FILEPATH | --tx-file FILEPATH) - [--signing-key-file FILEPATH [--address STRING]] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH + --spending-reference-tx-in-redeemer-value JSON_VALUE) + --spending-reference-tx-in-execution-units (INT, INT) | - Sign a transaction + --simple-script-tx-in-reference TX-IN | + --tx-in-script-file FILEPATH + [ + (--tx-in-datum-cbor-file CBOR_FILE | -Usage: cardano-cli allegra transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH + --tx-in-datum-file JSON_FILE | - Create a transaction witness + --tx-in-datum-value JSON_VALUE | -Usage: cardano-cli allegra transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH + --tx-in-inline-datum-present) + (--tx-in-redeemer-cbor-file CBOR_FILE | - Assemble a tx body and witness(es) to form a transaction + --tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli allegra transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH + --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 | - Assemble a tx body and witness(es) to form a transaction + --tx-out-datum-hash-file JSON_FILE | -Usage: cardano-cli allegra transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH + --tx-out-datum-hash-value JSON_VALUE | - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. + --tx-out-datum-embed-cbor-file CBOR_FILE | -Usage: cardano-cli allegra transaction policyid --script-file FILEPATH + --tx-out-datum-embed-file JSON_FILE | - Calculate the PolicyId from the monetary policy script. + --tx-out-datum-embed-value JSON_VALUE | -Usage: cardano-cli allegra 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] + --tx-out-inline-datum-cbor-file CBOR_FILE | - Calculate the minimum fee for a transaction. + --tx-out-inline-datum-file JSON_FILE | -Usage: cardano-cli allegra 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 | - --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] + --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 | - Calculate the minimum required UTxO for a transaction output. + --mint-redeemer-file JSON_FILE | -Usage: cardano-cli allegra 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 | - --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-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | - DEPRECATED: Use 'calculate-min-required-utxo' instead. + --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH | -Usage: cardano-cli allegra transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) + --mint-tx-in-reference TX-IN + (--mint-plutus-script-v2 | + --mint-plutus-script-v3) + (--mint-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Calculate the hash of script data. + --mint-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli allegra transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) + --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 | - Print a transaction identifier. + --certificate-redeemer-file JSON_FILE | -Usage: cardano-cli allegra transaction view + --certificate-redeemer-value JSON_VALUE) + --certificate-execution-units (INT, INT)] | - This command has been removed. Please use "debug transaction view" instead. + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | -Usage: cardano-cli mary (address | key | genesis | governance | node | query | - stake-address | stake-pool | text-view | transaction) + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Mary era commands - DEPRECATED - will be removed in the future + --certificate-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli mary address (key-gen | key-hash | build | info) + --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 | - Payment address commands. + --withdrawal-redeemer-file JSON_FILE | -Usage: cardano-cli mary address key-gen - [--key-output-format STRING] - [--normal-key | --extended-key | --byron-key] - --verification-key-file FILEPATH --signing-key-file FILEPATH + --withdrawal-redeemer-value JSON_VALUE) + --withdrawal-execution-units (INT, INT)] | - Create an address key pair. + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | -Usage: cardano-cli mary address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Print the hash of an address key. + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli mary 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] + --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 | - Build a Shelley payment address, with optional delegation to a stake address. + --metadata-cbor-file FILEPATH] + [--protocol-params-file FILEPATH] + [--update-proposal-file FILEPATH] + --out-file FILEPATH -Usage: cardano-cli mary address info --address ADDRESS [--out-file FILEPATH] + Build a transaction (low-level, inconvenient) - Print information about an address. + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. -Usage: cardano-cli mary 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) +Usage: cardano-cli allegra transaction build --socket-path SOCKET_PATH + [--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 | - Key utility commands. + --spending-reference-tx-in-datum-file JSON_FILE | -Usage: cardano-cli mary key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH + --spending-reference-tx-in-datum-value JSON_VALUE | - Get a verification key from a signing key. This supports all key types. + --spending-reference-tx-in-inline-datum-present) + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli mary key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH + --spending-reference-tx-in-redeemer-file JSON_FILE | - Get a non-extended verification key from an extended verification key. This - supports all extended key types. + --spending-reference-tx-in-redeemer-value JSON_VALUE) | -Usage: cardano-cli mary 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 + --simple-script-tx-in-reference TX-IN | + --tx-in-script-file FILEPATH + [ + (--tx-in-datum-cbor-file CBOR_FILE | - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. + --tx-in-datum-file JSON_FILE | -Usage: cardano-cli mary key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH + --tx-in-datum-value JSON_VALUE | + --tx-in-inline-datum-present) + (--tx-in-redeemer-cbor-file CBOR_FILE | - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key + --tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli mary key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH + --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 | - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key + --tx-out-datum-hash-file JSON_FILE | -Usage: cardano-cli mary key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH + --tx-out-datum-hash-value JSON_VALUE | - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key + --tx-out-datum-embed-cbor-file CBOR_FILE | -Usage: cardano-cli mary key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH + --tx-out-datum-embed-file JSON_FILE | - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key + --tx-out-datum-embed-value JSON_VALUE | -Usage: cardano-cli mary 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 + --tx-out-inline-datum-cbor-file CBOR_FILE | - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. + --tx-out-inline-datum-file JSON_FILE | -Usage: cardano-cli mary 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) + --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 | - Genesis block commands. + --mint-redeemer-file JSON_FILE | -Usage: cardano-cli mary genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH + --mint-redeemer-value JSON_VALUE] | - Create a Shelley genesis key pair + --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 | -Usage: cardano-cli mary genesis key-gen-delegate - --verification-key-file FILEPATH --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH + --mint-reference-tx-in-redeemer-file JSON_FILE | - Create a Shelley genesis delegate key pair + --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 | -Usage: cardano-cli mary genesis key-gen-utxo - --verification-key-file FILEPATH --signing-key-file FILEPATH + --certificate-redeemer-file JSON_FILE | - Create a Shelley genesis UTxO key pair + --certificate-redeemer-value JSON_VALUE] | -Usage: cardano-cli mary genesis key-hash --verification-key-file FILEPATH + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | - Print the identifier (hash) of a public key + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli mary genesis get-ver-key - --verification-key-file FILEPATH --signing-key-file FILEPATH + --certificate-reference-tx-in-redeemer-file JSON_FILE | - Derive the verification key from a signing key + --certificate-reference-tx-in-redeemer-value JSON_VALUE)]] + [--withdrawal WITHDRAWAL + [--withdrawal-script-file FILEPATH + [--withdrawal-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli mary genesis initial-addr - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] + --withdrawal-redeemer-file JSON_FILE | - Get the address for an initial UTxO based on the verification key + --withdrawal-redeemer-value JSON_VALUE] | -Usage: cardano-cli mary genesis initial-txin - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | - Get the TxIn for an initial UTxO based on the verification key + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli mary 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] + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + --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] + (--out-file FILEPATH | + --calculate-plutus-script-cost FILEPATH) -Usage: cardano-cli mary 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) + Build a balanced transaction (automatically calculates fees) - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. -Usage: cardano-cli mary 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) - [--bulk-pool-cred-files INT] [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] +Usage: cardano-cli allegra 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 allegra 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 allegra 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 allegra 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 allegra 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 allegra transaction policyid --script-file FILEPATH + + Calculate the PolicyId from the monetary policy script. + +Usage: cardano-cli allegra 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 allegra 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 | + + --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 allegra 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 | + + --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 allegra 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 allegra transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) + + Print a transaction identifier. + +Usage: cardano-cli allegra transaction view + + This command has been removed. Please use "debug transaction view" instead. + +Usage: cardano-cli mary (address | key | genesis | governance | node | query | + stake-address | stake-pool | text-view | transaction) + + Mary era commands - DEPRECATED - will be removed in the future + +Usage: cardano-cli mary address (key-gen | key-hash | build | info) + + Payment address commands. + +Usage: cardano-cli mary 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 mary 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 mary 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 mary address info --address ADDRESS [--out-file FILEPATH] + + Print information about an address. + +Usage: cardano-cli mary 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 mary 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 mary 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 mary 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 mary 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 mary 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 mary 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 mary 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 mary 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 mary 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 mary genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a Shelley genesis key pair + +Usage: cardano-cli mary 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 mary genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a Shelley genesis UTxO key pair + +Usage: cardano-cli mary genesis key-hash --verification-key-file FILEPATH + + Print the identifier (hash) of a public key + +Usage: cardano-cli mary genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Derive the verification key from a signing key + +Usage: cardano-cli mary 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 mary 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 mary 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 mary 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 mary 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) + [--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 mary 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 +Usage: cardano-cli mary 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. @@ -1829,40 +2510,55 @@ Usage: cardano-cli mary governance (create-mir-certificate | Governance commands. -Usage: cardano-cli mary governance create-mir-certificate - ((--reserves | --treasury) (--stake-address ADDRESS) - (--reward LOVELACE) --out-file FILEPATH | - stake-addresses | transfer-to-treasury | transfer-to-rewards) +Usage: cardano-cli mary 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 mary governance create-mir-certificate stake-addresses - (--reserves | --treasury) (--stake-address ADDRESS) (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli mary governance create-mir-certificate stake-addresses (--reserves | + + --treasury) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH Create an MIR certificate to pay stake addresses -Usage: cardano-cli mary governance create-mir-certificate transfer-to-treasury - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli mary governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot -Usage: cardano-cli mary governance create-mir-certificate transfer-to-rewards - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli mary governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot -Usage: cardano-cli mary 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 mary 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 Create a genesis key delegation certificate @@ -1870,19 +2566,29 @@ Usage: cardano-cli mary governance action create-protocol-parameters-update Governance action commands. -Usage: cardano-cli mary governance action create-protocol-parameters-update - --epoch NATURAL (--genesis-verification-key-file FILEPATH) - [--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] [--min-utxo-value NATURAL] - [--extra-entropy HEX | --reset-extra-entropy] - [--decentralization-parameter RATIONAL] - [--protocol-major-version MAJOR --protocol-minor-version MINOR] - --out-file FILEPATH +Usage: cardano-cli mary governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--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] + [--min-utxo-value NATURAL] + [--extra-entropy HEX | + + --reset-extra-entropy] + [--decentralization-parameter RATIONAL] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + --out-file FILEPATH Create a protocol parameters update. @@ -1891,45 +2597,48 @@ Usage: cardano-cli mary node (key-gen | key-gen-KES | key-gen-VRF | Node operation commands. -Usage: cardano-cli mary 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 mary 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 mary node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli mary 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 mary node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli mary 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 mary node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli mary 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 mary 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 mary 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 mary 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 mary 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 @@ -1943,9 +2652,12 @@ Usage: cardano-cli mary query (protocol-parameters | tip | stake-pools | Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli mary query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli mary query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters @@ -1956,24 +2668,31 @@ Usage: cardano-cli mary query tip --socket-path SOCKET_PATH Get the node's current tip (slot no, hash, block no) -Usage: cardano-cli mary 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 mary query stake-pools --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids -Usage: cardano-cli mary 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 mary query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution -Usage: cardano-cli mary 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 mary query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. @@ -1987,70 +2706,92 @@ Usage: cardano-cli mary query utxo --socket-path SOCKET_PATH Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli mary query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli mary 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 mary query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli mary query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) -Usage: cardano-cli mary 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] +Usage: cardano-cli mary 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] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) -Usage: cardano-cli mary 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] +Usage: cardano-cli mary 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] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced command) -Usage: cardano-cli mary 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] +Usage: cardano-cli mary 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] Get the slots the node is expected to mint a block in (advanced command) -Usage: cardano-cli mary query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli mary query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + --op-cert-file FILEPATH + [--out-file FILEPATH] Get information about the current KES period and your node's operational certificate. -Usage: cardano-cli mary 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] +Usage: cardano-cli mary 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] Dump the pool state -Usage: cardano-cli mary query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli mary query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info @@ -2066,69 +2807,96 @@ Usage: cardano-cli mary query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool -Usage: cardano-cli mary query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) TIMESTAMP +Usage: cardano-cli mary query slot-number --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + TIMESTAMP Query slot number for UTC timestamp -Usage: cardano-cli mary query ref-script-size - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--tx-in TX-IN) (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] [--out-file FILEPATH] +Usage: cardano-cli mary query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Calculate the reference input scripts size in bytes for provided transaction inputs. -Usage: cardano-cli mary stake-address - (key-gen | key-hash | build | registration-certificate | - deregistration-certificate | stake-delegation-certificate) +Usage: cardano-cli mary stake-address (key-gen | key-hash | build | + registration-certificate | + deregistration-certificate | + stake-delegation-certificate) Stake address commands. -Usage: cardano-cli mary stake-address key-gen - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli mary 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 mary stake-address key-hash - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli mary 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 mary 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 mary 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 mary stake-address registration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli mary stake-address registration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address registration certificate -Usage: cardano-cli mary stake-address deregistration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli mary stake-address deregistration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address deregistration certificate -Usage: cardano-cli mary 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 +Usage: cardano-cli mary 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. @@ -2139,40 +2907,55 @@ Usage: cardano-cli mary stake-pool (registration-certificate | Stake pool commands. -Usage: cardano-cli mary stake-pool registration-certificate - (--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 +Usage: cardano-cli mary stake-pool registration-certificate (--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 Create a stake pool registration certificate -Usage: cardano-cli mary stake-pool deregistration-certificate - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) --epoch NATURAL - --out-file FILEPATH +Usage: cardano-cli mary stake-pool deregistration-certificate (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + --epoch NATURAL + --out-file FILEPATH Create a stake pool deregistration certificate -Usage: cardano-cli mary stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli mary stake-pool id (--stake-pool-verification-key STRING | + --cold-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] Build pool id from the offline key -Usage: cardano-cli mary stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli mary stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. @@ -2181,484 +2964,699 @@ Usage: cardano-cli mary text-view decode-cbor Commands for dealing with Shelley TextView files. Transactions, addresses etc are stored on disk as TextView files. -Usage: cardano-cli mary text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli mary text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. -Usage: cardano-cli mary transaction - (build-raw | build | build-estimate | sign | witness | assemble | - submit | policyid | calculate-min-fee | calculate-min-required-utxo | - hash-script-data | txid | view) +Usage: cardano-cli mary transaction (build-raw | build | build-estimate | sign | + witness | assemble | submit | policyid | + calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid | view) Transaction commands. -Usage: cardano-cli mary transaction build-raw - [--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 +Usage: cardano-cli mary transaction build-raw [--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 | - Build a transaction (low-level, inconvenient) + --spending-reference-tx-in-datum-file JSON_FILE | - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + --spending-reference-tx-in-datum-value JSON_VALUE | -Usage: cardano-cli mary transaction build - --socket-path SOCKET_PATH [--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] - (--out-file FILEPATH | --calculate-plutus-script-cost FILEPATH) + --spending-reference-tx-in-inline-datum-present) + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Build a balanced transaction (automatically calculates fees) + --spending-reference-tx-in-redeemer-file JSON_FILE | - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + --spending-reference-tx-in-redeemer-value JSON_VALUE) + --spending-reference-tx-in-execution-units (INT, INT) | -Usage: cardano-cli mary 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] - [--update-proposal-file FILEPATH] --out-file FILEPATH + --simple-script-tx-in-reference TX-IN | + --tx-in-script-file FILEPATH + [ + (--tx-in-datum-cbor-file CBOR_FILE | - Build a balanced transaction without access to a live node (automatically estimates fees) + --tx-in-datum-file JSON_FILE | - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + --tx-in-datum-value JSON_VALUE | -Usage: cardano-cli mary transaction sign - (--tx-body-file FILEPATH | --tx-file FILEPATH) - [--signing-key-file FILEPATH [--address STRING]] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH + --tx-in-inline-datum-present) + (--tx-in-redeemer-cbor-file CBOR_FILE | - Sign a transaction + --tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli mary transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH + --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 | - Create a transaction witness + --tx-out-datum-hash-file JSON_FILE | -Usage: cardano-cli mary transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH + --tx-out-datum-hash-value JSON_VALUE | - Assemble a tx body and witness(es) to form a transaction + --tx-out-datum-embed-cbor-file CBOR_FILE | -Usage: cardano-cli mary transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH + --tx-out-datum-embed-file JSON_FILE | - Assemble a tx body and witness(es) to form a transaction + --tx-out-datum-embed-value JSON_VALUE | -Usage: cardano-cli mary transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH + --tx-out-inline-datum-cbor-file CBOR_FILE | - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. + --tx-out-inline-datum-file JSON_FILE | -Usage: cardano-cli mary transaction policyid --script-file FILEPATH + --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 | - Calculate the PolicyId from the monetary policy script. + --mint-redeemer-file JSON_FILE | -Usage: cardano-cli mary 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] + --mint-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | - Calculate the minimum fee for a transaction. + --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 | -Usage: cardano-cli mary 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 | - --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-reference-tx-in-redeemer-file JSON_FILE | - Calculate the minimum required UTxO for a transaction output. + --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 | -Usage: cardano-cli mary 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 | - --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] + --certificate-redeemer-file JSON_FILE | - DEPRECATED: Use 'calculate-min-required-utxo' instead. + --certificate-redeemer-value JSON_VALUE) + --certificate-execution-units (INT, INT)] | -Usage: cardano-cli mary transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | - Calculate the hash of script data. + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli mary transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) + --certificate-reference-tx-in-redeemer-file JSON_FILE | - Print a transaction identifier. + --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 | -Usage: cardano-cli mary transaction view + --withdrawal-redeemer-file JSON_FILE | - This command has been removed. Please use "debug transaction view" instead. + --withdrawal-redeemer-value JSON_VALUE) + --withdrawal-execution-units (INT, INT)] | -Usage: cardano-cli alonzo (address | key | genesis | governance | node | query | - stake-address | stake-pool | text-view | - transaction) + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | - Alonzo era commands - DEPRECATED - will be removed in the future + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli alonzo address (key-gen | key-hash | build | info) + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | - Payment address commands. + --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 -Usage: cardano-cli alonzo address key-gen - [--key-output-format STRING] - [--normal-key | --extended-key | --byron-key] - --verification-key-file FILEPATH --signing-key-file FILEPATH + Build a transaction (low-level, inconvenient) - Create an address key pair. + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. -Usage: cardano-cli alonzo address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli mary transaction build --socket-path SOCKET_PATH + [--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 | - Print the hash of an address key. + --spending-reference-tx-in-datum-file JSON_FILE | -Usage: cardano-cli alonzo 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] + --spending-reference-tx-in-datum-value JSON_VALUE | - Build a Shelley payment address, with optional delegation to a stake address. + --spending-reference-tx-in-inline-datum-present) + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli alonzo address info --address ADDRESS [--out-file FILEPATH] + --spending-reference-tx-in-redeemer-file JSON_FILE | - Print information about an address. + --spending-reference-tx-in-redeemer-value JSON_VALUE) | -Usage: cardano-cli alonzo 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) + --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 | - Key utility commands. + --tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli alonzo key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH + --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 | - Get a verification key from a signing key. This supports all key types. + --tx-out-datum-hash-file JSON_FILE | -Usage: cardano-cli alonzo key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH + --tx-out-datum-hash-value JSON_VALUE | - Get a non-extended verification key from an extended verification key. This - supports all extended key types. + --tx-out-datum-embed-cbor-file CBOR_FILE | -Usage: cardano-cli alonzo 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 + --tx-out-datum-embed-file JSON_FILE | - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. + --tx-out-datum-embed-value JSON_VALUE | -Usage: cardano-cli alonzo key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH + --tx-out-inline-datum-cbor-file CBOR_FILE | - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key + --tx-out-inline-datum-file JSON_FILE | -Usage: cardano-cli alonzo key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH + --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 | - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key + --mint-redeemer-value JSON_VALUE] | -Usage: cardano-cli alonzo key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH + --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 | - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key + --mint-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli alonzo key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH + --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 | - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key + --certificate-redeemer-file JSON_FILE | -Usage: cardano-cli alonzo 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 + --certificate-redeemer-value JSON_VALUE] | - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli alonzo 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) + --certificate-reference-tx-in-redeemer-file JSON_FILE | - Genesis block commands. + --certificate-reference-tx-in-redeemer-value JSON_VALUE)]] + [--withdrawal WITHDRAWAL + [--withdrawal-script-file FILEPATH + [--withdrawal-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli alonzo genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH + --withdrawal-redeemer-file JSON_FILE | - Create a Shelley genesis key pair + --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 | -Usage: cardano-cli alonzo genesis key-gen-delegate - --verification-key-file FILEPATH --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH + --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] + (--out-file FILEPATH | + --calculate-plutus-script-cost FILEPATH) + + Build a balanced transaction (automatically calculates fees) + + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + +Usage: cardano-cli mary 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] + [--update-proposal-file FILEPATH] + --out-file FILEPATH + + Build a balanced transaction without access to a live node (automatically estimates fees) + + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + +Usage: cardano-cli mary 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 mary 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 mary 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 mary 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 mary 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 mary transaction policyid --script-file FILEPATH + + Calculate the PolicyId from the monetary policy script. + +Usage: cardano-cli mary 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 mary 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 | + + --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 mary 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 | + + --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 mary 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 mary transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) + + Print a transaction identifier. + +Usage: cardano-cli mary transaction view + + This command has been removed. Please use "debug transaction view" instead. + +Usage: cardano-cli alonzo (address | key | genesis | governance | node | query | + stake-address | stake-pool | text-view | + transaction) + + Alonzo era commands - DEPRECATED - will be removed in the future + +Usage: cardano-cli alonzo address (key-gen | key-hash | build | info) + + Payment address commands. + +Usage: cardano-cli alonzo 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 alonzo 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 alonzo 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 alonzo address info --address ADDRESS [--out-file FILEPATH] + + Print information about an address. + +Usage: cardano-cli alonzo 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 alonzo 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 alonzo 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 alonzo 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 alonzo 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 alonzo 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 alonzo 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 alonzo 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 alonzo 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 alonzo 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 alonzo genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a Shelley genesis key pair + +Usage: cardano-cli alonzo 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 alonzo genesis key-gen-utxo - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli alonzo genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair @@ -2666,61 +3664,91 @@ Usage: cardano-cli alonzo genesis key-hash --verification-key-file FILEPATH Print the identifier (hash) of a public key -Usage: cardano-cli alonzo genesis get-ver-key - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli alonzo genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key -Usage: cardano-cli alonzo genesis initial-addr - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli alonzo 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 alonzo genesis initial-txin - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli alonzo 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 alonzo 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] +Usage: cardano-cli alonzo 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 alonzo 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) +Usage: cardano-cli alonzo 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 alonzo 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) - [--bulk-pool-cred-files INT] [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] +Usage: cardano-cli alonzo 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) + [--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 alonzo 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 +Usage: cardano-cli alonzo 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. @@ -2728,46 +3756,62 @@ Usage: cardano-cli alonzo genesis hash --genesis FILEPATH Compute the hash of a genesis file -Usage: cardano-cli alonzo governance - (create-mir-certificate | create-genesis-key-delegation-certificate | - action) +Usage: cardano-cli alonzo governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action) Governance commands. -Usage: cardano-cli alonzo governance create-mir-certificate - ((--reserves | --treasury) (--stake-address ADDRESS) - (--reward LOVELACE) --out-file FILEPATH | - stake-addresses | transfer-to-treasury | transfer-to-rewards) +Usage: cardano-cli alonzo 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 alonzo governance create-mir-certificate stake-addresses - (--reserves | --treasury) (--stake-address ADDRESS) (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli alonzo governance create-mir-certificate stake-addresses (--reserves | + + --treasury) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH Create an MIR certificate to pay stake addresses -Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-treasury - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot -Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-rewards - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot -Usage: cardano-cli alonzo 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 alonzo 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 Create a genesis key delegation certificate @@ -2775,22 +3819,36 @@ Usage: cardano-cli alonzo governance action create-protocol-parameters-update Governance action commands. -Usage: cardano-cli alonzo governance action create-protocol-parameters-update - --epoch NATURAL (--genesis-verification-key-file FILEPATH) - [--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] [--extra-entropy HEX | --reset-extra-entropy] - [--decentralization-parameter 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] - [--protocol-major-version MAJOR --protocol-minor-version MINOR] - [--cost-model-file FILE] --out-file FILEPATH +Usage: cardano-cli alonzo governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--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] + [--extra-entropy HEX | + + --reset-extra-entropy] + [--decentralization-parameter 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] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + [--cost-model-file FILE] + --out-file FILEPATH Create a protocol parameters update. @@ -2799,45 +3857,48 @@ Usage: cardano-cli alonzo node (key-gen | key-gen-KES | key-gen-VRF | Node operation commands. -Usage: cardano-cli alonzo 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 alonzo 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 alonzo node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli alonzo 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 alonzo node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli alonzo 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 alonzo node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli alonzo 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 alonzo 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 alonzo 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 alonzo 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 alonzo 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 @@ -2851,111 +3912,154 @@ Usage: cardano-cli alonzo query (protocol-parameters | tip | stake-pools | Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli alonzo query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli alonzo query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters -Usage: cardano-cli alonzo query tip - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli alonzo query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) -Usage: cardano-cli alonzo 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 alonzo query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids -Usage: cardano-cli alonzo 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 alonzo query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | + --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution -Usage: cardano-cli alonzo 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 alonzo query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. -Usage: cardano-cli alonzo 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 alonzo 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] Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli alonzo query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli alonzo 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 alonzo query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli alonzo query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) -Usage: cardano-cli alonzo 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] +Usage: cardano-cli alonzo 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] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) -Usage: cardano-cli alonzo 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] +Usage: cardano-cli alonzo 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] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced command) -Usage: cardano-cli alonzo 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] +Usage: cardano-cli alonzo 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] Get the slots the node is expected to mint a block in (advanced command) -Usage: cardano-cli alonzo query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli alonzo query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + --op-cert-file FILEPATH + [--out-file FILEPATH] Get information about the current KES period and your node's operational certificate. -Usage: cardano-cli alonzo 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] +Usage: cardano-cli alonzo 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] Dump the pool state -Usage: cardano-cli alonzo query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli alonzo query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info @@ -2971,113 +4075,157 @@ Usage: cardano-cli alonzo query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool -Usage: cardano-cli alonzo query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) TIMESTAMP +Usage: cardano-cli alonzo query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) TIMESTAMP Query slot number for UTC timestamp -Usage: cardano-cli alonzo query ref-script-size - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--tx-in TX-IN) (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] [--out-file FILEPATH] +Usage: cardano-cli alonzo query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Calculate the reference input scripts size in bytes for provided transaction inputs. -Usage: cardano-cli alonzo stake-address - (key-gen | key-hash | build | registration-certificate | - deregistration-certificate | stake-delegation-certificate) +Usage: cardano-cli alonzo stake-address (key-gen | key-hash | build | + registration-certificate | + deregistration-certificate | + stake-delegation-certificate) Stake address commands. -Usage: cardano-cli alonzo stake-address key-gen - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli alonzo 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 alonzo stake-address key-hash - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli alonzo 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 alonzo 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 alonzo 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 alonzo stake-address registration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli alonzo stake-address registration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address registration certificate -Usage: cardano-cli alonzo stake-address deregistration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli alonzo stake-address deregistration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address deregistration certificate -Usage: cardano-cli alonzo 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 +Usage: cardano-cli alonzo 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 alonzo stake-pool - (registration-certificate | deregistration-certificate | id | - metadata-hash) +Usage: cardano-cli alonzo stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) Stake pool commands. -Usage: cardano-cli alonzo stake-pool registration-certificate - (--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 +Usage: cardano-cli alonzo stake-pool registration-certificate (--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 Create a stake pool registration certificate -Usage: cardano-cli alonzo stake-pool deregistration-certificate - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) --epoch NATURAL - --out-file FILEPATH +Usage: cardano-cli alonzo stake-pool deregistration-certificate (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + --epoch NATURAL + --out-file FILEPATH Create a stake pool deregistration certificate -Usage: cardano-cli alonzo stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli alonzo stake-pool id (--stake-pool-verification-key STRING | + --cold-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] Build pool id from the offline key -Usage: cardano-cli alonzo stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli alonzo stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. @@ -3086,391 +4234,605 @@ Usage: cardano-cli alonzo text-view decode-cbor Commands for dealing with Shelley TextView files. Transactions, addresses etc are stored on disk as TextView files. -Usage: cardano-cli alonzo text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli alonzo text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. -Usage: cardano-cli alonzo transaction - (build-raw | build | build-estimate | sign | witness | assemble | - submit | policyid | calculate-min-fee | calculate-min-required-utxo | - hash-script-data | txid | view) +Usage: cardano-cli alonzo transaction (build-raw | build | build-estimate | + sign | witness | assemble | submit | + policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid | view) Transaction commands. -Usage: cardano-cli alonzo transaction build-raw - [--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 +Usage: cardano-cli alonzo transaction build-raw [--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 | - Build a transaction (low-level, inconvenient) + --spending-reference-tx-in-datum-file JSON_FILE | - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + --spending-reference-tx-in-datum-value JSON_VALUE | -Usage: cardano-cli alonzo transaction build - --socket-path SOCKET_PATH [--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] - (--out-file FILEPATH | --calculate-plutus-script-cost FILEPATH) + --spending-reference-tx-in-inline-datum-present) + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Build a balanced transaction (automatically calculates fees) + --spending-reference-tx-in-redeemer-file JSON_FILE | - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + --spending-reference-tx-in-redeemer-value JSON_VALUE) + --spending-reference-tx-in-execution-units (INT, INT) | -Usage: cardano-cli alonzo 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] - [--update-proposal-file FILEPATH] --out-file FILEPATH + --simple-script-tx-in-reference TX-IN | + --tx-in-script-file FILEPATH + [ + (--tx-in-datum-cbor-file CBOR_FILE | - Build a balanced transaction without access to a live node (automatically estimates fees) + --tx-in-datum-file JSON_FILE | - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + --tx-in-datum-value JSON_VALUE | -Usage: cardano-cli alonzo transaction sign - (--tx-body-file FILEPATH | --tx-file FILEPATH) - [--signing-key-file FILEPATH [--address STRING]] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH + --tx-in-inline-datum-present) + (--tx-in-redeemer-cbor-file CBOR_FILE | - Sign a transaction + --tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli alonzo transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH + --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 | - Create a transaction witness + --tx-out-datum-hash-file JSON_FILE | -Usage: cardano-cli alonzo transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH + --tx-out-datum-hash-value JSON_VALUE | - Assemble a tx body and witness(es) to form a transaction + --tx-out-datum-embed-cbor-file CBOR_FILE | -Usage: cardano-cli alonzo transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH + --tx-out-datum-embed-file JSON_FILE | - Assemble a tx body and witness(es) to form a transaction + --tx-out-datum-embed-value JSON_VALUE | -Usage: cardano-cli alonzo transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH + --tx-out-inline-datum-cbor-file CBOR_FILE | - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. + --tx-out-inline-datum-file JSON_FILE | -Usage: cardano-cli alonzo transaction policyid --script-file FILEPATH + --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 | - Calculate the PolicyId from the monetary policy script. + --mint-redeemer-file JSON_FILE | -Usage: cardano-cli alonzo 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] + --mint-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | - Calculate the minimum fee for a transaction. + --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 | -Usage: cardano-cli alonzo 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 | - --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-reference-tx-in-redeemer-file JSON_FILE | - Calculate the minimum required UTxO for a transaction output. + --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 | -Usage: cardano-cli alonzo 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 | - --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] + --certificate-redeemer-file JSON_FILE | - DEPRECATED: Use 'calculate-min-required-utxo' instead. + --certificate-redeemer-value JSON_VALUE) + --certificate-execution-units (INT, INT)] | -Usage: cardano-cli alonzo transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | - Calculate the hash of script data. + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli alonzo transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) + --certificate-reference-tx-in-redeemer-file JSON_FILE | - Print a transaction identifier. + --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 | -Usage: cardano-cli alonzo transaction view + --withdrawal-redeemer-file JSON_FILE | - This command has been removed. Please use "debug transaction view" instead. + --withdrawal-redeemer-value JSON_VALUE) + --withdrawal-execution-units (INT, INT)] | -Usage: cardano-cli babbage (address | key | genesis | governance | node | - query | stake-address | stake-pool | text-view | - transaction) + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | - Babbage era commands - DEPRECATED - will be removed in the future + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli babbage address (key-gen | key-hash | build | info) + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | - Payment address commands. + --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 -Usage: cardano-cli babbage address key-gen - [--key-output-format STRING] - [--normal-key | --extended-key | --byron-key] - --verification-key-file FILEPATH --signing-key-file FILEPATH + Build a transaction (low-level, inconvenient) - Create an address key pair. + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + +Usage: cardano-cli alonzo transaction build --socket-path SOCKET_PATH + [--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] + (--out-file FILEPATH | + --calculate-plutus-script-cost FILEPATH) + + Build a balanced transaction (automatically calculates fees) + + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + +Usage: cardano-cli alonzo 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] + [--update-proposal-file FILEPATH] + --out-file FILEPATH + + Build a balanced transaction without access to a live node (automatically estimates fees) + + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + +Usage: cardano-cli alonzo 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 alonzo 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 alonzo 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 alonzo 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 alonzo 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 alonzo transaction policyid --script-file FILEPATH + + Calculate the PolicyId from the monetary policy script. + +Usage: cardano-cli alonzo 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 alonzo 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 | + + --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 alonzo 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 | + + --tx-out-datum-hash-file JSON_FILE | + + --tx-out-datum-hash-value JSON_VALUE | + + --tx-out-datum-embed-cbor-file CBOR_FILE | -Usage: cardano-cli babbage address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] + --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 alonzo 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 alonzo transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) + + Print a transaction identifier. + +Usage: cardano-cli alonzo transaction view + + This command has been removed. Please use "debug transaction view" instead. + +Usage: cardano-cli babbage (address | key | genesis | governance | node | + query | stake-address | stake-pool | text-view | + transaction) + + Babbage era commands - DEPRECATED - will be removed in the future + +Usage: cardano-cli babbage address (key-gen | key-hash | build | info) + + Payment address commands. + +Usage: cardano-cli babbage 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 babbage 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 babbage 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 babbage 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. @@ -3487,59 +4849,72 @@ Usage: cardano-cli babbage key (verification-key | non-extended-key | Key utility commands. -Usage: cardano-cli babbage key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH +Usage: cardano-cli babbage 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 babbage key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli babbage 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 babbage 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 babbage 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 babbage key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH +Usage: cardano-cli babbage 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 babbage key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH +Usage: cardano-cli babbage 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 babbage key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli babbage 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 babbage key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli babbage 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 babbage 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 babbage 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. @@ -3552,19 +4927,19 @@ Usage: cardano-cli babbage genesis (key-gen-genesis | key-gen-delegate | Genesis block commands. -Usage: cardano-cli babbage genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli babbage genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair -Usage: cardano-cli babbage genesis key-gen-delegate - --verification-key-file FILEPATH --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli babbage 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 babbage genesis key-gen-utxo - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli babbage genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair @@ -3572,61 +4947,92 @@ Usage: cardano-cli babbage genesis key-hash --verification-key-file FILEPATH Print the identifier (hash) of a public key -Usage: cardano-cli babbage genesis get-ver-key - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli babbage genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key -Usage: cardano-cli babbage genesis initial-addr - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli babbage 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 babbage genesis initial-txin - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli babbage 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 babbage 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] +Usage: cardano-cli babbage 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 babbage 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) +Usage: cardano-cli babbage 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 babbage 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) - [--bulk-pool-cred-files INT] [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] +Usage: cardano-cli babbage 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) + [--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 babbage 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 +Usage: cardano-cli babbage 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. @@ -3634,1947 +5040,2845 @@ Usage: cardano-cli babbage genesis hash --genesis FILEPATH Compute the hash of a genesis file -Usage: cardano-cli babbage governance - (create-mir-certificate | create-genesis-key-delegation-certificate | - action | create-poll | answer-poll | verify-poll) +Usage: cardano-cli babbage governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action | create-poll | answer-poll | + verify-poll) Governance commands. -Usage: cardano-cli babbage governance create-mir-certificate - ((--reserves | --treasury) (--stake-address ADDRESS) - (--reward LOVELACE) --out-file FILEPATH | - stake-addresses | transfer-to-treasury | transfer-to-rewards) +Usage: cardano-cli babbage 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 babbage governance create-mir-certificate stake-addresses - (--reserves | --treasury) (--stake-address ADDRESS) (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli babbage governance create-mir-certificate stake-addresses (--reserves | + + --treasury) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH Create an MIR certificate to pay stake addresses -Usage: cardano-cli babbage governance create-mir-certificate transfer-to-treasury - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli babbage governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot -Usage: cardano-cli babbage governance create-mir-certificate transfer-to-rewards - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli babbage governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH + + Create an MIR certificate to transfer from the treasury pot to the reserves + pot + +Usage: cardano-cli babbage 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 + + Create a genesis key delegation certificate + +Usage: cardano-cli babbage governance action create-protocol-parameters-update + + Governance action commands. + +Usage: cardano-cli babbage governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--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] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + [--utxo-cost-per-byte LOVELACE] + [--cost-model-file FILE] + --out-file FILEPATH + + Create a protocol parameters update. + +Usage: cardano-cli babbage governance create-poll --question STRING + (--answer STRING) + [--nonce UINT] + --out-file FILEPATH + + Create an SPO poll + +Usage: cardano-cli babbage governance answer-poll --poll-file FILEPATH + [--answer INT] + [--out-file FILEPATH] + + Answer an SPO poll + +Usage: cardano-cli babbage governance verify-poll --poll-file FILEPATH + --tx-file FILEPATH + [--out-file FILEPATH] + + Verify an answer to a given SPO poll + +Usage: cardano-cli babbage node (key-gen | key-gen-KES | key-gen-VRF | + key-hash-VRF | new-counter | issue-op-cert) + + Node operation commands. + +Usage: cardano-cli babbage 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 babbage 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 babbage 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 babbage 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 babbage 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 babbage 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 babbage 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 | ref-script-size) + + Node query commands. Will query the local node whose Unix domain socket is + obtained from the CARDANO_NODE_SOCKET_PATH environment variable. + +Usage: cardano-cli babbage query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] + + Get the node's current protocol parameters + +Usage: cardano-cli babbage query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] + + Get the node's current tip (slot no, hash, block no) + +Usage: cardano-cli babbage query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] + + Get the node's current set of stake pool ids + +Usage: cardano-cli babbage query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | + --output-text] + [--out-file FILEPATH] + + Get the node's current aggregated stake distribution + +Usage: cardano-cli babbage query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] + + Get the current delegations and reward accounts filtered by stake address. + +Usage: cardano-cli babbage 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] + + Get a portion of the current UTxO: by tx in, by address or the whole. + +Usage: cardano-cli babbage 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 babbage query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] + + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced + command) + +Usage: cardano-cli babbage 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] + + Obtain the three stake snapshots for a pool, plus the total active stake + (advanced command) + +Usage: cardano-cli babbage 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] + + DEPRECATED. Use query pool-state instead. Dump the pool parameters + (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced + command) + +Usage: cardano-cli babbage 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] + + Get the slots the node is expected to mint a block in (advanced command) + +Usage: cardano-cli babbage query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + --op-cert-file FILEPATH + [--out-file FILEPATH] + + Get information about the current KES period and your node's operational + certificate. + +Usage: cardano-cli babbage 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] + + Dump the pool state + +Usage: cardano-cli babbage query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] + + Local Mempool info + +Usage: cardano-cli babbage query tx-mempool info + + Ask the node about the current mempool's capacity and sizes + +Usage: cardano-cli babbage query tx-mempool next-tx + + Requests the next transaction from the mempool's current list + +Usage: cardano-cli babbage query tx-mempool tx-exists TX_ID + + Query if a particular transaction exists in the mempool + +Usage: cardano-cli babbage query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + TIMESTAMP + + Query slot number for UTC timestamp + +Usage: cardano-cli babbage query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] + + Calculate the reference input scripts size in bytes for provided transaction + inputs. + +Usage: cardano-cli babbage stake-address (key-gen | key-hash | build | + registration-certificate | + deregistration-certificate | + stake-delegation-certificate) + + Stake address commands. + +Usage: cardano-cli babbage 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 babbage 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 babbage 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 babbage stake-address registration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH + + Create a stake address registration certificate + +Usage: cardano-cli babbage stake-address deregistration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH + + Create a stake address deregistration certificate + +Usage: cardano-cli babbage 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 babbage stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) + + Stake pool commands. + +Usage: cardano-cli babbage stake-pool registration-certificate (--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 + + Create a stake pool registration certificate + +Usage: cardano-cli babbage stake-pool deregistration-certificate (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + --epoch NATURAL + --out-file FILEPATH + + Create a stake pool deregistration certificate + +Usage: cardano-cli babbage stake-pool id (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] + + Build pool id from the offline key + +Usage: cardano-cli babbage stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] + + Print the hash of pool metadata. + +Usage: cardano-cli babbage text-view decode-cbor + + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. + +Usage: cardano-cli babbage text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] + + Print a TextView file as decoded CBOR. + +Usage: cardano-cli babbage transaction (build-raw | build | build-estimate | + sign | witness | assemble | submit | + policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid | view) + + Transaction commands. + +Usage: cardano-cli babbage transaction build-raw [--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 of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + +Usage: cardano-cli babbage transaction build --socket-path SOCKET_PATH + [--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] + (--out-file FILEPATH | + --calculate-plutus-script-cost FILEPATH) + + Build a balanced transaction (automatically calculates fees) + + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + +Usage: cardano-cli babbage 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] + [--update-proposal-file FILEPATH] + --out-file FILEPATH + + Build a balanced transaction without access to a live node (automatically estimates fees) + + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + +Usage: cardano-cli babbage 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 babbage 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 babbage 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 babbage 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 babbage 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 babbage transaction policyid --script-file FILEPATH + + Calculate the PolicyId from the monetary policy script. + +Usage: cardano-cli babbage 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 babbage 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 | + + --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 babbage 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 | + + --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 babbage 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 babbage transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) + + Print a transaction identifier. + +Usage: cardano-cli babbage transaction view + + This command has been removed. Please use "debug transaction view" instead. + +Usage: cardano-cli conway (address | key | genesis | governance | node | query | + stake-address | stake-pool | text-view | + transaction) + + Conway era commands + +Usage: cardano-cli conway address (key-gen | key-hash | build | info) + + Payment address commands. + +Usage: cardano-cli conway 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 conway 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 conway 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 conway address info --address ADDRESS [--out-file FILEPATH] + + Print information about an address. + +Usage: cardano-cli conway 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 conway 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 conway 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 conway 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 conway 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 conway 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 conway 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 conway 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 conway 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 conway 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 conway genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a Shelley genesis key pair + +Usage: cardano-cli conway 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 conway genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a Shelley genesis UTxO key pair + +Usage: cardano-cli conway genesis key-hash --verification-key-file FILEPATH + + Print the identifier (hash) of a public key + +Usage: cardano-cli conway genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Derive the verification key from a signing key + +Usage: cardano-cli conway 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 conway 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 conway 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 conway 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 conway 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) + [--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 conway 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. + +Usage: cardano-cli conway genesis hash --genesis FILEPATH + + Compute the hash of a genesis file + +Usage: cardano-cli conway governance (action | committee | drep | vote) + + Governance commands. + +Usage: cardano-cli conway governance action (create-constitution | + update-committee | create-info | + create-no-confidence | + create-protocol-parameters-update | + create-treasury-withdrawal | + create-hardfork | view) + + Governance action commands. + +Usage: cardano-cli conway 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. + +Usage: cardano-cli conway 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. + +Usage: cardano-cli conway 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. + +Usage: cardano-cli conway 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. + +Usage: cardano-cli conway 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. + +Usage: cardano-cli conway 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. + +Usage: cardano-cli conway 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. + +Usage: cardano-cli conway governance action view --action-file FILEPATH + [--output-json | --output-yaml] + [--out-file FILEPATH] + + View a governance action. + +Usage: cardano-cli conway governance committee (key-gen-cold | key-gen-hot | + key-hash | + create-hot-key-authorization-certificate | + + create-cold-key-resignation-certificate) + + Committee member commands. + +Usage: cardano-cli conway 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 + +Usage: cardano-cli conway governance committee key-gen-hot --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a hot key pair for a Constitutional Committee Member + +Usage: cardano-cli conway governance committee key-hash (--verification-key STRING | + + --verification-key-file FILEPATH) + + Print the identifier (hash) of a public key + +Usage: cardano-cli conway 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 conway 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 conway governance drep (key-gen | id | + registration-certificate | + retirement-certificate | + update-certificate | metadata-hash) + + DRep member commands. + +Usage: cardano-cli conway governance drep key-gen --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Generate Delegated Representative verification and signing keys. + +Usage: cardano-cli conway 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 conway 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 conway 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 conway 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. - Create an MIR certificate to transfer from the treasury pot to the reserves - pot +Usage: cardano-cli conway governance drep metadata-hash --drep-metadata-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli babbage 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 + Calculate the hash of a metadata file. - Create a genesis key delegation certificate +Usage: cardano-cli conway governance vote (create | view) -Usage: cardano-cli babbage governance action create-protocol-parameters-update + Vote commands. - Governance action commands. +Usage: cardano-cli conway governance vote create (--yes | --no | --abstain) + --governance-action-tx-id TXID + --governance-action-index WORD16 + (--drep-verification-key STRING | -Usage: cardano-cli babbage governance action create-protocol-parameters-update - --epoch NATURAL (--genesis-verification-key-file FILEPATH) - [--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] - [--protocol-major-version MAJOR --protocol-minor-version MINOR] - [--utxo-cost-per-byte LOVELACE] [--cost-model-file FILE] - --out-file FILEPATH + --drep-verification-key-file FILEPATH | + --drep-key-hash HASH | + --drep-script-hash HASH | + --stake-pool-verification-key STRING | - Create a protocol parameters update. + --cold-verification-key-file FILEPATH | -Usage: cardano-cli babbage governance create-poll - --question STRING (--answer STRING) [--nonce UINT] --out-file FILEPATH + --stake-pool-id STAKE_POOL_ID | - Create an SPO poll + --cc-hot-verification-key STRING | -Usage: cardano-cli babbage governance answer-poll - --poll-file FILEPATH [--answer INT] [--out-file FILEPATH] + --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 - Answer an SPO poll + Vote creation. -Usage: cardano-cli babbage governance verify-poll - --poll-file FILEPATH --tx-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli conway governance vote view [--output-json | --output-yaml] + --vote-file FILEPATH + [--out-file FILEPATH] - Verify an answer to a given SPO poll + Vote viewing. -Usage: cardano-cli babbage node (key-gen | key-gen-KES | key-gen-VRF | - key-hash-VRF | new-counter | issue-op-cert) +Usage: cardano-cli conway node (key-gen | key-gen-KES | key-gen-VRF | + key-hash-VRF | new-counter | issue-op-cert) Node operation commands. -Usage: cardano-cli babbage 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 conway 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 babbage node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli conway 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 babbage node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli conway 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 babbage node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli conway 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 babbage 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 conway 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 babbage 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 conway 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 babbage 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 | ref-script-size) +Usage: cardano-cli conway 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 | 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 obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli babbage query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli conway query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters -Usage: cardano-cli babbage query tip - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli conway 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) -Usage: cardano-cli babbage 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 conway 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] Get the node's current set of stake pool ids -Usage: cardano-cli babbage 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 conway query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--volatile-tip | + --immutable-tip] + [--output-json | + --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution -Usage: cardano-cli babbage 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 conway query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--volatile-tip | + --immutable-tip] + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. -Usage: cardano-cli babbage 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 conway query utxo --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--whole-utxo | (--address ADDRESS) | + (--tx-in TX-IN)) + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--output-json | --output-text] + [--out-file FILEPATH] Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli babbage query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli conway 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 command) -Usage: cardano-cli babbage query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli conway 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 command) -Usage: cardano-cli babbage 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] +Usage: cardano-cli conway 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)) + [--volatile-tip | + --immutable-tip] + [--out-file FILEPATH] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) -Usage: cardano-cli babbage 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] +Usage: cardano-cli conway 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)) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced command) -Usage: cardano-cli babbage 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] +Usage: cardano-cli conway 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) + [--volatile-tip | + --immutable-tip] + [--output-json | + --output-text] + [--out-file FILEPATH] Get the slots the node is expected to mint a block in (advanced command) -Usage: cardano-cli babbage query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli conway query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--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 certificate. -Usage: cardano-cli babbage 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] +Usage: cardano-cli conway 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)) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Dump the pool state -Usage: cardano-cli babbage query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli conway query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info -Usage: cardano-cli babbage query tx-mempool info +Usage: cardano-cli conway query tx-mempool info Ask the node about the current mempool's capacity and sizes -Usage: cardano-cli babbage query tx-mempool next-tx +Usage: cardano-cli conway query tx-mempool next-tx Requests the next transaction from the mempool's current list -Usage: cardano-cli babbage query tx-mempool tx-exists TX_ID +Usage: cardano-cli conway query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool -Usage: cardano-cli babbage query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) TIMESTAMP +Usage: cardano-cli conway 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 babbage query ref-script-size - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--tx-in TX-IN) (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] [--out-file FILEPATH] +Usage: cardano-cli conway 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 babbage stake-address - (key-gen | key-hash | build | registration-certificate | - deregistration-certificate | stake-delegation-certificate) - - Stake address commands. - -Usage: cardano-cli babbage 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 babbage 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 babbage 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 babbage stake-address registration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH - - Create a stake address registration certificate - -Usage: cardano-cli babbage stake-address deregistration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH - - Create a stake address deregistration certificate - -Usage: cardano-cli babbage 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 babbage stake-pool - (registration-certificate | deregistration-certificate | id | - metadata-hash) +Usage: cardano-cli conway query constitution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] - Stake pool commands. - -Usage: cardano-cli babbage stake-pool registration-certificate - (--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 - - Create a stake pool registration certificate - -Usage: cardano-cli babbage stake-pool deregistration-certificate - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) --epoch NATURAL - --out-file FILEPATH - - Create a stake pool deregistration certificate - -Usage: cardano-cli babbage stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] - - Build pool id from the offline key - -Usage: cardano-cli babbage stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] - - Print the hash of pool metadata. - -Usage: cardano-cli babbage text-view decode-cbor - - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. - -Usage: cardano-cli babbage text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] - - Print a TextView file as decoded CBOR. - -Usage: cardano-cli babbage transaction - (build-raw | build | build-estimate | sign | witness | assemble | - submit | policyid | calculate-min-fee | calculate-min-required-utxo | - hash-script-data | txid | view) - - Transaction commands. - -Usage: cardano-cli babbage transaction build-raw - [--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 of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. - -Usage: cardano-cli babbage transaction build - --socket-path SOCKET_PATH [--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] - (--out-file FILEPATH | --calculate-plutus-script-cost FILEPATH) - - Build a balanced transaction (automatically calculates fees) - - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. - -Usage: cardano-cli babbage 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] - [--update-proposal-file FILEPATH] --out-file FILEPATH - - Build a balanced transaction without access to a live node (automatically estimates fees) - - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. - -Usage: cardano-cli babbage 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 + Get the constitution -Usage: cardano-cli babbage transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli conway query gov-state --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] - Create a transaction witness + Get the governance state -Usage: cardano-cli babbage transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli conway 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] - Assemble a tx body and witness(es) to form a transaction + Get the DRep state. -Usage: cardano-cli babbage transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli conway query drep-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (--all-dreps | + (--drep-script-hash HASH | - Assemble a tx body and witness(es) to form a transaction + --drep-verification-key STRING | -Usage: cardano-cli babbage transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH + --drep-verification-key-file FILEPATH | - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. + --drep-key-hash HASH)) + [--volatile-tip | + --immutable-tip] + [--out-file FILEPATH] -Usage: cardano-cli babbage transaction policyid --script-file FILEPATH + Get the DRep stake distribution. - Calculate the PolicyId from the monetary policy script. +Usage: cardano-cli conway query spo-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (--all-spos | + (--spo-verification-key STRING | -Usage: cardano-cli babbage 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] + --spo-verification-key-file FILEPATH | + --spo-key-hash HASH)) + [--volatile-tip | + --immutable-tip] + [--out-file FILEPATH] - Calculate the minimum fee for a transaction. + Get the SPO stake distribution. -Usage: cardano-cli babbage 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 | - --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] +Usage: cardano-cli conway 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] - Calculate the minimum required UTxO for a transaction output. + Get the committee state -Usage: cardano-cli babbage 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 | - --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] +Usage: cardano-cli conway query treasury --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] - DEPRECATED: Use 'calculate-min-required-utxo' instead. + Get the treasury value -Usage: cardano-cli babbage transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) +Usage: cardano-cli conway stake-address (key-gen | key-hash | build | + registration-certificate | + deregistration-certificate | + stake-delegation-certificate | + stake-and-vote-delegation-certificate | + vote-delegation-certificate) - Calculate the hash of script data. + Stake address commands. -Usage: cardano-cli babbage transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli conway stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Print a transaction identifier. + Create a stake address key pair -Usage: cardano-cli babbage transaction view +Usage: cardano-cli conway stake-address key-hash (--stake-verification-key STRING | - This command has been removed. Please use "debug transaction view" instead. + --stake-verification-key-file FILEPATH) + [--out-file FILEPATH] -Usage: cardano-cli conway (address | key | genesis | governance | node | query | - stake-address | stake-pool | text-view | - transaction) + Print the hash of a stake address key - Conway era commands +Usage: cardano-cli conway stake-address build (--stake-verification-key STRING | -Usage: cardano-cli conway address (key-gen | key-hash | build | info) + --stake-verification-key-file FILEPATH | + --stake-key-hash HASH | + --stake-script-file FILEPATH) + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] - Payment address commands. + Build a stake address -Usage: cardano-cli conway address key-gen - [--key-output-format STRING] - [--normal-key | --extended-key | --byron-key] - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli conway stake-address registration-certificate (--stake-verification-key STRING | - Create an address key pair. + --stake-verification-key-file FILEPATH | -Usage: cardano-cli conway address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] + --stake-key-hash HASH | - Print the hash of an address key. + --stake-script-file FILEPATH | -Usage: cardano-cli conway 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] + --stake-address ADDRESS) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH - Build a Shelley payment address, with optional delegation to a stake address. + Create a stake address registration certificate -Usage: cardano-cli conway address info --address ADDRESS [--out-file FILEPATH] +Usage: cardano-cli conway stake-address deregistration-certificate (--stake-verification-key STRING | - Print information about an address. + --stake-verification-key-file FILEPATH | -Usage: cardano-cli conway 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) + --stake-key-hash HASH | - Key utility commands. + --stake-script-file FILEPATH | -Usage: cardano-cli conway key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH + --stake-address ADDRESS) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH - Get a verification key from a signing key. This supports all key types. + Create a stake address deregistration certificate -Usage: cardano-cli conway key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli conway stake-address stake-delegation-certificate (--stake-verification-key STRING | - Get a non-extended verification key from an extended verification key. This - supports all extended key types. + --stake-verification-key-file FILEPATH | -Usage: cardano-cli conway 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 + --stake-key-hash HASH | - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. + --stake-script-file FILEPATH | -Usage: cardano-cli conway key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH + --stake-address ADDRESS) + (--stake-pool-verification-key STRING | - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key + --cold-verification-key-file FILEPATH | -Usage: cardano-cli conway key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH + --stake-pool-id STAKE_POOL_ID) + --out-file FILEPATH - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. -Usage: cardano-cli conway key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli conway stake-address stake-and-vote-delegation-certificate (--stake-verification-key STRING | - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key + --stake-verification-key-file FILEPATH | -Usage: cardano-cli conway key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH + --stake-key-hash HASH | - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key + --stake-script-file FILEPATH | -Usage: cardano-cli conway 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 + --stake-address ADDRESS) + (--stake-pool-verification-key STRING | - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. + --cold-verification-key-file FILEPATH | -Usage: cardano-cli conway 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) + --stake-pool-id STAKE_POOL_ID) + (--drep-script-hash HASH | - Genesis block commands. + --drep-verification-key STRING | -Usage: cardano-cli conway genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH + --drep-verification-key-file FILEPATH | - Create a Shelley genesis key pair + --drep-key-hash HASH | -Usage: cardano-cli conway genesis key-gen-delegate - --verification-key-file FILEPATH --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH + --always-abstain | - Create a Shelley genesis delegate key pair + --always-no-confidence) + --out-file FILEPATH -Usage: cardano-cli conway genesis key-gen-utxo - --verification-key-file FILEPATH --signing-key-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. - Create a Shelley genesis UTxO key pair +Usage: cardano-cli conway stake-address vote-delegation-certificate (--stake-verification-key STRING | -Usage: cardano-cli conway genesis key-hash --verification-key-file FILEPATH + --stake-verification-key-file FILEPATH | - Print the identifier (hash) of a public key + --stake-key-hash HASH | -Usage: cardano-cli conway genesis get-ver-key - --verification-key-file FILEPATH --signing-key-file FILEPATH + --stake-script-file FILEPATH | - Derive the verification key from a signing key + --stake-address ADDRESS) + (--drep-script-hash HASH | -Usage: cardano-cli conway genesis initial-addr - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] + --drep-verification-key STRING | - Get the address for an initial UTxO based on the verification key + --drep-verification-key-file FILEPATH | -Usage: cardano-cli conway genesis initial-txin - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] + --drep-key-hash HASH | - Get the TxIn for an initial UTxO based on the verification key + --always-abstain | -Usage: cardano-cli conway 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] + --always-no-confidence) + --out-file FILEPATH - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Create a stake address vote delegation certificate, which when submitted in a + transaction delegates stake to a DRep. -Usage: cardano-cli conway 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) +Usage: cardano-cli conway stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Stake pool commands. -Usage: cardano-cli conway 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) - [--bulk-pool-cred-files INT] [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] +Usage: cardano-cli conway stake-pool registration-certificate (--stake-pool-verification-key STRING | - Create a staked Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + --cold-verification-key-file FILEPATH) + (--vrf-verification-key STRING | -Usage: cardano-cli conway 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 + --vrf-verification-key-file FILEPATH) + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + (--pool-reward-account-verification-key STRING | - Create data to use for starting a testnet. + --pool-reward-account-verification-key-file FILEPATH) + (--pool-owner-verification-key STRING | -Usage: cardano-cli conway genesis hash --genesis FILEPATH + --pool-owner-stake-verification-key-file FILEPATH) + [ + [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT | - Compute the hash of a genesis file + --single-host-pool-relay STRING + [--pool-relay-port INT] | -Usage: cardano-cli conway governance (action | committee | drep | vote) + --multi-host-pool-relay STRING] + [--metadata-url URL + --metadata-hash HASH] + (--mainnet | + --testnet-magic NATURAL) + --out-file FILEPATH - Governance commands. + Create a stake pool registration certificate -Usage: cardano-cli conway governance action - (create-constitution | update-committee | create-info | - create-no-confidence | create-protocol-parameters-update | - create-treasury-withdrawal | create-hardfork | view) +Usage: cardano-cli conway stake-pool deregistration-certificate (--stake-pool-verification-key STRING | - Governance action commands. + --cold-verification-key-file FILEPATH) + --epoch NATURAL + --out-file FILEPATH -Usage: cardano-cli conway 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 stake pool deregistration certificate - Create a constitution. +Usage: cardano-cli conway stake-pool id (--stake-pool-verification-key STRING | + --cold-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] -Usage: cardano-cli conway 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 + Build pool id from the offline key - Create or update a new committee proposal. +Usage: cardano-cli conway stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli conway 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 + Print the hash of pool metadata. - Create an info action. +Usage: cardano-cli conway text-view decode-cbor -Usage: cardano-cli conway 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 + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. - Create a no confidence proposal. +Usage: cardano-cli conway text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli conway 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 + Print a TextView file as decoded CBOR. - Create a protocol parameters update. +Usage: cardano-cli conway transaction (build-raw | build | build-estimate | + sign | witness | assemble | submit | + policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid | view) -Usage: cardano-cli conway 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 + Transaction commands. - Create a treasury withdrawal. +Usage: cardano-cli conway transaction build-raw [--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 | -Usage: cardano-cli conway 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 + --spending-reference-tx-in-datum-file JSON_FILE | - Create a hardfork initiation proposal. + --spending-reference-tx-in-datum-value JSON_VALUE | -Usage: cardano-cli conway governance action view - --action-file FILEPATH [--output-json | --output-yaml] - [--out-file FILEPATH] + --spending-reference-tx-in-inline-datum-present] + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | - View a governance action. + --spending-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli conway governance committee - (key-gen-cold | key-gen-hot | key-hash | - create-hot-key-authorization-certificate | - create-cold-key-resignation-certificate) + --spending-reference-tx-in-redeemer-value JSON_VALUE) + --spending-reference-tx-in-execution-units (INT, INT) | - Committee member commands. + --simple-script-tx-in-reference TX-IN | + --tx-in-script-file FILEPATH + [ + [--tx-in-datum-cbor-file CBOR_FILE | -Usage: cardano-cli conway governance committee key-gen-cold - --cold-verification-key-file FILEPATH --cold-signing-key-file FILEPATH + --tx-in-datum-file JSON_FILE | - Create a cold key pair for a Constitutional Committee Member + --tx-in-datum-value JSON_VALUE | -Usage: cardano-cli conway governance committee key-gen-hot - --verification-key-file FILEPATH --signing-key-file FILEPATH + --tx-in-inline-datum-present] + (--tx-in-redeemer-cbor-file CBOR_FILE | - Create a hot key pair for a Constitutional Committee Member + --tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli conway governance committee key-hash - (--verification-key STRING | --verification-key-file FILEPATH) + --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 | - Print the identifier (hash) of a public key + --tx-out-datum-hash-file JSON_FILE | -Usage: cardano-cli conway 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 + --tx-out-datum-hash-value JSON_VALUE | - Create hot key authorization certificate for a Constitutional Committee Member + --tx-out-datum-embed-cbor-file CBOR_FILE | -Usage: cardano-cli conway 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 + --tx-out-datum-embed-file JSON_FILE | - Create cold key resignation certificate for a Constitutional Committee Member + --tx-out-datum-embed-value JSON_VALUE | -Usage: cardano-cli conway governance drep - (key-gen | id | registration-certificate | retirement-certificate | - update-certificate | metadata-hash) + --tx-out-inline-datum-cbor-file CBOR_FILE | - DRep member commands. + --tx-out-inline-datum-file JSON_FILE | -Usage: cardano-cli conway governance drep key-gen - --verification-key-file FILEPATH --signing-key-file FILEPATH + --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 | - Generate Delegated Representative verification and signing keys. + --mint-redeemer-file JSON_FILE | -Usage: cardano-cli conway governance drep id - (--drep-verification-key STRING | - --drep-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] + --mint-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | - Generate a drep id. + --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 | -Usage: cardano-cli conway 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 + --mint-reference-tx-in-redeemer-file JSON_FILE | - Create a registration certificate. + --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 | -Usage: cardano-cli conway 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 + --certificate-redeemer-file JSON_FILE | - Create a DRep retirement certificate. + --certificate-redeemer-value JSON_VALUE) + --certificate-execution-units (INT, INT)] | -Usage: cardano-cli conway 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 + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | - Create a DRep update certificate. + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli conway governance drep metadata-hash - --drep-metadata-file FILEPATH [--out-file FILEPATH] + --certificate-reference-tx-in-redeemer-file JSON_FILE | - Calculate the hash of a metadata 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 | -Usage: cardano-cli conway governance vote (create | view) + --withdrawal-redeemer-file JSON_FILE | - Vote commands. + --withdrawal-redeemer-value JSON_VALUE) + --withdrawal-execution-units (INT, INT)] | -Usage: cardano-cli conway 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 + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | - Vote creation. + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli conway governance vote view - [--output-json | --output-yaml] --vote-file FILEPATH - [--out-file FILEPATH] + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | - Vote viewing. + --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] + [--vote-file FILEPATH + [--vote-script-file FILEPATH + [ + (--vote-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli conway node (key-gen | key-gen-KES | key-gen-VRF | - key-hash-VRF | new-counter | issue-op-cert) + --vote-redeemer-file JSON_FILE | - Node operation commands. + --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 | -Usage: cardano-cli conway node key-gen - [--key-output-format STRING] --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH + --vote-reference-tx-in-redeemer-file JSON_FILE | - Create a key pair for a node operator's offline key and a new certificate - issue counter + --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 | -Usage: cardano-cli conway node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH + --proposal-redeemer-file JSON_FILE | - Create a key pair for a node KES operational key + --proposal-redeemer-value JSON_VALUE) + --proposal-execution-units (INT, INT)] | -Usage: cardano-cli conway node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH + --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + (--proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Create a key pair for a node VRF operational key + --proposal-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli conway node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] + --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 - Print hash of a node's operational VRF key. + Build a transaction (low-level, inconvenient) -Usage: cardano-cli conway 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 + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. - Create a new certificate issue counter +Usage: cardano-cli conway transaction build --socket-path SOCKET_PATH + [--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 | -Usage: cardano-cli conway 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 + --spending-reference-tx-in-datum-file JSON_FILE | - Issue a node operational certificate + --spending-reference-tx-in-datum-value JSON_VALUE | -Usage: cardano-cli conway 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 | ref-script-size | constitution | - gov-state | drep-state | - drep-stake-distribution | - spo-stake-distribution | committee-state | - treasury) + --spending-reference-tx-in-inline-datum-present] + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Node query commands. Will query the local node whose Unix domain socket is - obtained from the CARDANO_NODE_SOCKET_PATH environment variable. + --spending-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli conway query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] + --spending-reference-tx-in-redeemer-value JSON_VALUE) | - Get the node's current protocol parameters + --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 | -Usage: cardano-cli conway query tip - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + --tx-in-datum-value JSON_VALUE | + --tx-in-inline-datum-present] + (--tx-in-redeemer-cbor-file CBOR_FILE | - Get the node's current tip (slot no, hash, block no) + --tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli conway 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] + --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 | - Get the node's current set of stake pool ids + --tx-out-datum-hash-file JSON_FILE | -Usage: cardano-cli conway query stake-distribution - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--output-json | --output-text] - [--out-file FILEPATH] + --tx-out-datum-hash-value JSON_VALUE | - Get the node's current aggregated stake distribution + --tx-out-datum-embed-cbor-file CBOR_FILE | -Usage: cardano-cli conway query stake-address-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - --address ADDRESS (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + --tx-out-datum-embed-file JSON_FILE | - Get the current delegations and reward accounts filtered by stake address. + --tx-out-datum-embed-value JSON_VALUE | -Usage: cardano-cli conway query utxo - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--whole-utxo | (--address ADDRESS) | (--tx-in TX-IN)) - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--output-json | --output-text] - [--out-file FILEPATH] + --tx-out-inline-datum-cbor-file CBOR_FILE | - Get a portion of the current UTxO: by tx in, by address or the whole. + --tx-out-inline-datum-file JSON_FILE | -Usage: cardano-cli conway query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + --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 | - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) + --mint-redeemer-file JSON_FILE | -Usage: cardano-cli conway query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + --mint-redeemer-value JSON_VALUE] | - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) + --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 | -Usage: cardano-cli conway 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)) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + --mint-reference-tx-in-redeemer-file JSON_FILE | - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) + --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 | -Usage: cardano-cli conway 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)) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + --certificate-redeemer-file JSON_FILE | - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced - command) + --certificate-redeemer-value JSON_VALUE] | -Usage: cardano-cli conway 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) [--volatile-tip | --immutable-tip] - [--output-json | --output-text] [--out-file FILEPATH] + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | - Get the slots the node is expected to mint a block in (advanced command) + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli conway query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + --certificate-reference-tx-in-redeemer-file JSON_FILE | - Get information about the current KES period and your node's operational - certificate. + --certificate-reference-tx-in-redeemer-value JSON_VALUE)]] + [--withdrawal WITHDRAWAL + [--withdrawal-script-file FILEPATH + [--withdrawal-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli conway 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)) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + --withdrawal-redeemer-file JSON_FILE | - Dump the pool state + --withdrawal-redeemer-value JSON_VALUE] | -Usage: cardano-cli conway query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Local Mempool info + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli conway query tx-mempool info + --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] + [--vote-file FILEPATH + [--vote-script-file FILEPATH + [--vote-redeemer-cbor-file CBOR_FILE | - Ask the node about the current mempool's capacity and sizes + --vote-redeemer-file JSON_FILE | -Usage: cardano-cli conway query tx-mempool next-tx + --vote-redeemer-value JSON_VALUE] | + --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + (--vote-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Requests the next transaction from the mempool's current list + --vote-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli conway query tx-mempool tx-exists TX_ID + --vote-reference-tx-in-redeemer-value JSON_VALUE)]] + [--proposal-file FILEPATH + [--proposal-script-file FILEPATH + [--proposal-redeemer-cbor-file CBOR_FILE | - Query if a particular transaction exists in the mempool + --proposal-redeemer-file JSON_FILE | -Usage: cardano-cli conway query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] TIMESTAMP + --proposal-redeemer-value JSON_VALUE] | + --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + (--proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Query slot number for UTC timestamp + --proposal-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli conway 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] + --proposal-reference-tx-in-redeemer-value JSON_VALUE)]] + [--treasury-donation LOVELACE] + (--out-file FILEPATH | + --calculate-plutus-script-cost FILEPATH) - Calculate the reference input scripts size in bytes for provided transaction - inputs. + Build a balanced transaction (automatically calculates fees) -Usage: cardano-cli conway query constitution - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. - Get the constitution +Usage: cardano-cli conway 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 | -Usage: cardano-cli conway query gov-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + --spending-plutus-script-v3) + [--spending-reference-tx-in-datum-cbor-file CBOR_FILE | - Get the governance state + --spending-reference-tx-in-datum-file JSON_FILE | -Usage: cardano-cli conway 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] + --spending-reference-tx-in-datum-value JSON_VALUE | - Get the DRep state. + --spending-reference-tx-in-inline-datum-present] + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli conway 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] + --spending-reference-tx-in-redeemer-file JSON_FILE | - Get the DRep stake distribution. + --spending-reference-tx-in-redeemer-value JSON_VALUE) + --spending-reference-tx-in-execution-units (INT, INT) | -Usage: cardano-cli conway 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] + --simple-script-tx-in-reference TX-IN | - Get the SPO stake distribution. + --tx-in-script-file FILEPATH + [ + [--tx-in-datum-cbor-file CBOR_FILE | -Usage: cardano-cli conway 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] + --tx-in-datum-file JSON_FILE | - Get the committee state + --tx-in-datum-value JSON_VALUE | -Usage: cardano-cli conway query treasury - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + --tx-in-inline-datum-present] + (--tx-in-redeemer-cbor-file CBOR_FILE | - Get the treasury value + --tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli conway stake-address - (key-gen | key-hash | build | registration-certificate | - deregistration-certificate | stake-delegation-certificate | - stake-and-vote-delegation-certificate | vote-delegation-certificate) + --tx-in-redeemer-value JSON_VALUE) + --tx-in-execution-units (INT, INT)]]) + [--read-only-tx-in-reference TX-IN] + [--required-signer FILEPATH | - Stake address commands. + --required-signer-hash HASH] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-out ADDRESS VALUE + [--tx-out-datum-hash HASH | -Usage: cardano-cli conway stake-address key-gen - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH + --tx-out-datum-hash-cbor-file CBOR_FILE | - Create a stake address key pair + --tx-out-datum-hash-file JSON_FILE | -Usage: cardano-cli conway stake-address key-hash - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH) [--out-file FILEPATH] + --tx-out-datum-hash-value JSON_VALUE | - Print the hash of a stake address key + --tx-out-datum-embed-cbor-file CBOR_FILE | -Usage: cardano-cli conway 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] + --tx-out-datum-embed-file JSON_FILE | - Build a stake address + --tx-out-datum-embed-value JSON_VALUE | -Usage: cardano-cli conway 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 + --tx-out-inline-datum-cbor-file CBOR_FILE | - Create a stake address registration certificate + --tx-out-inline-datum-file JSON_FILE | -Usage: cardano-cli conway 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 + --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 | - Create a stake address deregistration certificate + --mint-redeemer-file JSON_FILE | -Usage: cardano-cli conway 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 + --mint-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. + --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH | -Usage: cardano-cli conway 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 + --mint-tx-in-reference TX-IN + (--mint-plutus-script-v2 | - Create a stake address stake and vote delegation certificate, which when - submitted in a transaction delegates stake to a stake pool and a DRep. + --mint-plutus-script-v3) + (--mint-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli conway 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 + --mint-reference-tx-in-redeemer-file JSON_FILE | - Create a stake address vote delegation certificate, which when submitted in a - transaction delegates stake to a DRep. + --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 | -Usage: cardano-cli conway stake-pool - (registration-certificate | deregistration-certificate | id | - metadata-hash) + --certificate-redeemer-file JSON_FILE | - Stake pool commands. + --certificate-redeemer-value JSON_VALUE) + --certificate-execution-units (INT, INT)] | -Usage: cardano-cli conway stake-pool registration-certificate - (--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 + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | - Create a stake pool registration certificate + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli conway stake-pool deregistration-certificate - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) --epoch NATURAL - --out-file FILEPATH + --certificate-reference-tx-in-redeemer-file JSON_FILE | - Create a stake pool deregistration certificate + --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 | -Usage: cardano-cli conway stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] + --withdrawal-redeemer-file JSON_FILE | - Build pool id from the offline key + --withdrawal-redeemer-value JSON_VALUE) + --withdrawal-execution-units (INT, INT)] | -Usage: cardano-cli conway stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | - Print the hash of pool metadata. + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli conway text-view decode-cbor + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + --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 | -Usage: cardano-cli conway text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] + --json-metadata-detailed-schema] + [--auxiliary-script-file FILEPATH] + [--metadata-json-file FILEPATH | - Print a TextView file as decoded CBOR. + --metadata-cbor-file FILEPATH] + [--vote-file FILEPATH + [--vote-script-file FILEPATH + [ + (--vote-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli conway transaction - (build-raw | build | build-estimate | sign | witness | assemble | - submit | policyid | calculate-min-fee | calculate-min-required-utxo | - hash-script-data | txid | view) + --vote-redeemer-file JSON_FILE | - Transaction commands. + --vote-redeemer-value JSON_VALUE) + --vote-execution-units (INT, INT)] | -Usage: cardano-cli conway transaction build-raw - [--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] - [--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 + --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + (--vote-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Build a transaction (low-level, inconvenient) + --vote-reference-tx-in-redeemer-file JSON_FILE | - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + --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 | -Usage: cardano-cli conway transaction build - --socket-path SOCKET_PATH [--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] - [--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) + --proposal-redeemer-file JSON_FILE | - Build a balanced transaction (automatically calculates fees) + --proposal-redeemer-value JSON_VALUE) + --proposal-execution-units (INT, INT)] | - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + (--proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli conway 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 + --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 of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. -Usage: cardano-cli conway transaction sign - (--tx-body-file FILEPATH | --tx-file FILEPATH) - [--signing-key-file FILEPATH [--address STRING]] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli conway 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 conway transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli conway 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 conway transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli conway 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 conway transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli conway 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 conway transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH +Usage: cardano-cli conway 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. @@ -5583,53 +7887,81 @@ Usage: cardano-cli conway transaction policyid --script-file FILEPATH Calculate the PolicyId from the monetary policy script. -Usage: cardano-cli conway 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] +Usage: cardano-cli conway 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 conway 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 | - --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] +Usage: cardano-cli conway 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 | + + --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 conway 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 | - --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] +Usage: cardano-cli conway 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 | + + --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 conway transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) +Usage: cardano-cli conway 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 conway transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli conway transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. @@ -5647,27 +7979,30 @@ Usage: cardano-cli latest address (key-gen | key-hash | build | info) Payment address commands. -Usage: cardano-cli latest address key-gen - [--key-output-format STRING] - [--normal-key | --extended-key | --byron-key] - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli latest 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 latest address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli latest 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 latest 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 latest 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. @@ -5683,59 +8018,71 @@ Usage: cardano-cli latest key (verification-key | non-extended-key | Key utility commands. -Usage: cardano-cli latest key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH +Usage: cardano-cli latest 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 latest key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli latest 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 latest 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 latest 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 latest key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH +Usage: cardano-cli latest 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 latest key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH +Usage: cardano-cli latest 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 latest key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli latest 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 latest key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli latest 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 latest 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 latest 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. @@ -5748,19 +8095,19 @@ Usage: cardano-cli latest genesis (key-gen-genesis | key-gen-delegate | Genesis block commands. -Usage: cardano-cli latest genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli latest genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair -Usage: cardano-cli latest genesis key-gen-delegate - --verification-key-file FILEPATH --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli latest 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 latest genesis key-gen-utxo - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli latest genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair @@ -5768,61 +8115,91 @@ Usage: cardano-cli latest genesis key-hash --verification-key-file FILEPATH Print the identifier (hash) of a public key -Usage: cardano-cli latest genesis get-ver-key - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli latest genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key -Usage: cardano-cli latest genesis initial-addr - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli latest 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 latest genesis initial-txin - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli latest 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 latest 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] +Usage: cardano-cli latest 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 latest 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) +Usage: cardano-cli latest 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 latest 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) - [--bulk-pool-cred-files INT] [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] +Usage: cardano-cli latest 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) + [--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 latest 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 +Usage: cardano-cli latest 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. @@ -5830,46 +8207,63 @@ 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 (create-mir-certificate | + create-genesis-key-delegation-certificate | + action | create-poll | answer-poll | + verify-poll) 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) +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 create-mir-certificate stake-addresses (--reserves | + + --treasury) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH Create an MIR certificate to pay stake addresses -Usage: cardano-cli latest governance create-mir-certificate transfer-to-treasury - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli latest governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot -Usage: cardano-cli latest governance create-mir-certificate transfer-to-rewards - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli latest governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot -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 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 Create a genesis key delegation certificate @@ -5877,37 +8271,52 @@ Usage: cardano-cli latest governance action create-protocol-parameters-update Governance action commands. -Usage: cardano-cli latest governance action create-protocol-parameters-update - --epoch NATURAL (--genesis-verification-key-file FILEPATH) - [--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] - [--protocol-major-version MAJOR --protocol-minor-version MINOR] - [--utxo-cost-per-byte LOVELACE] [--cost-model-file FILE] - --out-file FILEPATH +Usage: cardano-cli latest governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--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] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + [--utxo-cost-per-byte LOVELACE] + [--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 create-poll --question STRING + (--answer STRING) + [--nonce UINT] + --out-file FILEPATH Create an SPO poll -Usage: cardano-cli latest governance answer-poll - --poll-file FILEPATH [--answer INT] [--out-file FILEPATH] +Usage: cardano-cli latest governance answer-poll --poll-file FILEPATH + [--answer INT] + [--out-file FILEPATH] Answer an SPO poll -Usage: cardano-cli latest governance verify-poll - --poll-file FILEPATH --tx-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli latest governance verify-poll --poll-file FILEPATH + --tx-file FILEPATH + [--out-file FILEPATH] Verify an answer to a given SPO poll @@ -5916,45 +8325,48 @@ Usage: cardano-cli latest node (key-gen | key-gen-KES | key-gen-VRF | 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 +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 +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 +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 | --verification-key-file FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli latest 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 latest 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 latest 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 latest 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 latest 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 @@ -5968,111 +8380,154 @@ Usage: cardano-cli latest query (protocol-parameters | tip | stake-pools | Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli latest query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli latest query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters -Usage: cardano-cli latest query tip - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli latest query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) -Usage: cardano-cli latest 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 latest query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids -Usage: cardano-cli latest 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 latest query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | + --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution -Usage: cardano-cli latest 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 latest query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. -Usage: cardano-cli latest 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 latest 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] Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli latest query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli latest 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 latest query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli latest query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) -Usage: cardano-cli latest 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] +Usage: cardano-cli latest 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] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) -Usage: cardano-cli latest 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] +Usage: cardano-cli latest 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] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced command) -Usage: cardano-cli latest 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] +Usage: cardano-cli latest 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] Get the slots the node is expected to mint a block in (advanced command) -Usage: cardano-cli latest query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli latest query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + --op-cert-file FILEPATH + [--out-file FILEPATH] Get information about the current KES period and your node's operational certificate. -Usage: cardano-cli latest 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] +Usage: cardano-cli latest 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] Dump the pool state -Usage: cardano-cli latest query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli latest query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info @@ -6088,413 +8543,639 @@ Usage: cardano-cli latest query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool -Usage: cardano-cli latest query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) TIMESTAMP +Usage: cardano-cli latest query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) TIMESTAMP Query slot number for UTC timestamp -Usage: cardano-cli latest query ref-script-size - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--tx-in TX-IN) (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] [--out-file FILEPATH] +Usage: cardano-cli latest query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] 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) +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 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] +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] +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) - --out-file FILEPATH +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) + --out-file FILEPATH Create a stake address registration certificate -Usage: cardano-cli latest stake-address deregistration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli latest stake-address deregistration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH + + Create a stake address deregistration certificate + +Usage: cardano-cli latest 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 latest stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) + + Stake pool commands. + +Usage: cardano-cli latest stake-pool registration-certificate (--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 + + Create a stake pool registration certificate + +Usage: cardano-cli latest stake-pool deregistration-certificate (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + --epoch NATURAL + --out-file FILEPATH + + Create a stake pool deregistration certificate + +Usage: cardano-cli latest stake-pool id (--stake-pool-verification-key STRING | + --cold-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] + + Build pool id from the offline key + +Usage: cardano-cli latest stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] + + Print the hash of pool metadata. + +Usage: cardano-cli latest text-view decode-cbor + + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. + +Usage: cardano-cli latest text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] + + Print a TextView file as decoded CBOR. + +Usage: cardano-cli latest transaction (build-raw | build | build-estimate | + sign | witness | assemble | submit | + policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid | view) + + Transaction commands. + +Usage: cardano-cli latest transaction build-raw [--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 of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + +Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH + [--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] + (--out-file FILEPATH | + --calculate-plutus-script-cost FILEPATH) + + Build a balanced transaction (automatically calculates fees) + + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + +Usage: cardano-cli latest 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 | - Create a stake address deregistration certificate + --tx-out-datum-embed-file JSON_FILE | -Usage: cardano-cli latest 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 + --tx-out-datum-embed-value JSON_VALUE | - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. + --tx-out-inline-datum-cbor-file CBOR_FILE | -Usage: cardano-cli latest stake-pool - (registration-certificate | deregistration-certificate | id | - metadata-hash) + --tx-out-inline-datum-file JSON_FILE | - Stake pool commands. + --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 | -Usage: cardano-cli latest stake-pool registration-certificate - (--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 + --mint-redeemer-file JSON_FILE | - Create a stake pool registration certificate + --mint-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | -Usage: cardano-cli latest stake-pool deregistration-certificate - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) --epoch NATURAL - --out-file FILEPATH + --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH | - Create a stake pool deregistration certificate + --mint-tx-in-reference TX-IN + (--mint-plutus-script-v2 | -Usage: cardano-cli latest stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] + --mint-plutus-script-v3) + (--mint-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Build pool id from the offline key + --mint-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli latest stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] + --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 | - Print the hash of pool metadata. + --certificate-redeemer-file JSON_FILE | -Usage: cardano-cli latest text-view decode-cbor + --certificate-redeemer-value JSON_VALUE) + --certificate-execution-units (INT, INT)] | - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | -Usage: cardano-cli latest text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Print a TextView file as decoded CBOR. + --certificate-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli latest transaction - (build-raw | build | build-estimate | sign | witness | assemble | - submit | policyid | calculate-min-fee | calculate-min-required-utxo | - hash-script-data | txid | view) + --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 | - Transaction commands. + --withdrawal-redeemer-file JSON_FILE | -Usage: cardano-cli latest transaction build-raw - [--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 + --withdrawal-redeemer-value JSON_VALUE) + --withdrawal-execution-units (INT, INT)] | - Build a transaction (low-level, inconvenient) + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli latest transaction build - --socket-path SOCKET_PATH [--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] - (--out-file FILEPATH | --calculate-plutus-script-cost FILEPATH) + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | - Build a balanced transaction (automatically calculates fees) + --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 | - Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. + --json-metadata-detailed-schema] + [--auxiliary-script-file FILEPATH] + [--metadata-json-file FILEPATH | -Usage: cardano-cli latest 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] - [--update-proposal-file FILEPATH] --out-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 of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. -Usage: cardano-cli latest transaction sign - (--tx-body-file FILEPATH | --tx-file FILEPATH) - [--signing-key-file FILEPATH [--address STRING]] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli latest 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 latest transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli latest 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 latest transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli latest 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 latest transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli latest 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 latest transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH +Usage: cardano-cli latest 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. @@ -6503,53 +9184,81 @@ Usage: cardano-cli latest transaction policyid --script-file FILEPATH Calculate the PolicyId from the monetary policy script. -Usage: cardano-cli latest 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] +Usage: cardano-cli latest 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 latest 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 | - --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] +Usage: cardano-cli latest 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 | + + --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 latest 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 | - --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] +Usage: cardano-cli latest 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 | + + --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 latest transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) +Usage: cardano-cli latest 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 latest transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli latest transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. @@ -6566,94 +9275,163 @@ Usage: cardano-cli legacy text-view decode-cbor Commands for dealing with Shelley TextView files. Transactions, addresses etc are stored on disk as TextView files. -Usage: cardano-cli legacy text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli legacy text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. -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 legacy governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + create-update-proposal | create-poll | + answer-poll | verify-poll) Governance commands -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 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) Create an MIR (Move Instantaneous Rewards) certificate -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 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 Create an MIR certificate to pay stake addresses -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 legacy 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 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 legacy 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 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 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 Create a genesis key delegation certificate -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 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] Create an update proposal -Usage: cardano-cli legacy governance create-poll - --question STRING (--answer STRING) [--nonce UINT] --out-file FILEPATH +Usage: cardano-cli legacy governance create-poll --question STRING + (--answer STRING) + [--nonce UINT] + --out-file FILEPATH Create an SPO poll -Usage: cardano-cli legacy governance answer-poll - --poll-file FILEPATH [--answer INT] [--out-file FILEPATH] +Usage: cardano-cli legacy governance answer-poll --poll-file FILEPATH + [--answer INT] + [--out-file FILEPATH] Answer an SPO poll -Usage: cardano-cli legacy governance verify-poll - --poll-file FILEPATH --tx-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli legacy governance verify-poll --poll-file FILEPATH + --tx-file FILEPATH + [--out-file FILEPATH] Verify an answer to a given SPO poll @@ -6665,19 +9443,19 @@ Usage: cardano-cli legacy genesis (key-gen-genesis | key-gen-delegate | Genesis block commands -Usage: cardano-cli legacy genesis key-gen-genesis - --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 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 legacy 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 legacy genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair @@ -6685,55 +9463,80 @@ Usage: cardano-cli legacy 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 legacy 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 legacy 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 legacy 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 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 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] - --genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT] - [--start-time UTC-TIME] [--supply LOVELACE] - (--mainnet | --testnet-magic NATURAL) +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) 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] +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] Create a staked Shelley genesis file from a genesis template and genesis/delegation/spending keys. @@ -6752,111 +9555,154 @@ Usage: cardano-cli legacy query (protocol-parameters | tip | stake-pools | Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -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 legacy query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters -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 legacy query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) -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 legacy query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids -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 legacy query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | + --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution -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 legacy query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. -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 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] Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli legacy query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +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 legacy query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--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] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) -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] +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] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) -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] +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] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced command) -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] +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] Get the slots the node is expected to mint a block in (advanced command) -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] +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] Get information about the current KES period and your node's operational certificate. -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] +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] Dump the pool state -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] +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] Local Mempool info @@ -6872,56 +9718,83 @@ Usage: cardano-cli legacy query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool -Usage: cardano-cli legacy query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) TIMESTAMP +Usage: cardano-cli legacy query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) TIMESTAMP Query slot number for UTC timestamp -Usage: cardano-cli legacy stake-pool - (registration-certificate | deregistration-certificate | id | - metadata-hash) +Usage: cardano-cli legacy stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) Stake pool commands -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 +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 Create a stake pool registration certificate -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 +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 stake pool deregistration certificate -Usage: cardano-cli legacy stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--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] Build pool id from the offline key -Usage: cardano-cli legacy stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli legacy stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. @@ -6930,270 +9803,401 @@ Usage: cardano-cli legacy node (key-gen | key-gen-KES | key-gen-VRF | Node operation commands -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 +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 Create a key pair for a node operator's offline key and a new certificate issue counter -Usage: cardano-cli legacy node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli legacy 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 legacy node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli legacy 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 legacy node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli legacy 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 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 +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 +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) +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 +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 of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. -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) +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 of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. -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 +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 +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 +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 +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 +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. @@ -7202,57 +10206,97 @@ 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] +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] +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] +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) +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) +Usage: cardano-cli legacy transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. @@ -7268,118 +10312,174 @@ Usage: cardano-cli legacy key (verification-key | non-extended-key | Key utility commands -Usage: cardano-cli legacy key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH +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 +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 +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 +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 +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 +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 +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 +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) +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 +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] +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] +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 +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 +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 +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 @@ -7387,27 +10487,30 @@ 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 +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] +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] +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. @@ -7420,8 +10523,8 @@ 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] +Usage: cardano-cli text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. @@ -7432,83 +10535,145 @@ Usage: cardano-cli governance (create-mir-certificate | 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) +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 +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 +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 +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 +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] +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 +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] +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] +Usage: cardano-cli governance verify-poll --poll-file FILEPATH + --tx-file FILEPATH + [--out-file FILEPATH] Verify an answer to a given SPO poll @@ -7519,19 +10684,19 @@ Usage: cardano-cli genesis (key-gen-genesis | key-gen-delegate | key-gen-utxo | Genesis block commands -Usage: cardano-cli genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH +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 +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 +Usage: cardano-cli genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair @@ -7539,32 +10704,40 @@ 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 +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 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 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 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 [--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 a Byron and Shelley genesis file from a genesis template and genesis/delegation/spending keys. @@ -7579,15 +10752,22 @@ Usage: cardano-cli genesis create [--shelley-era | --allegra-era | --mary-era | Create a Shelley genesis file from a genesis template and genesis/delegation/spending keys. -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 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] Create a staked Shelley genesis file from a genesis template and genesis/delegation/spending keys. @@ -7605,9 +10785,12 @@ Usage: cardano-cli query (protocol-parameters | tip | stake-pools | Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters @@ -7618,24 +10801,31 @@ Usage: cardano-cli query tip --socket-path SOCKET_PATH Get the node's current tip (slot no, hash, block no) -Usage: cardano-cli 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 query stake-pools --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids -Usage: cardano-cli 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 query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution -Usage: cardano-cli 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 query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. @@ -7649,70 +10839,83 @@ Usage: cardano-cli query utxo --socket-path SOCKET_PATH Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli 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 query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli query protocol-state --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) -Usage: cardano-cli 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] +Usage: cardano-cli 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] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) -Usage: cardano-cli 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] +Usage: cardano-cli 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] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced command) -Usage: cardano-cli 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] +Usage: cardano-cli 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] Get the slots the node is expected to mint a block in (advanced command) -Usage: cardano-cli query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + --op-cert-file FILEPATH + [--out-file FILEPATH] Get information about the current KES period and your node's operational certificate. -Usage: cardano-cli 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] +Usage: cardano-cli 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] Dump the pool state -Usage: cardano-cli query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info @@ -7728,9 +10931,10 @@ Usage: cardano-cli query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool -Usage: cardano-cli query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) TIMESTAMP +Usage: cardano-cli query slot-number --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + TIMESTAMP Query slot number for UTC timestamp @@ -7739,32 +10943,55 @@ Usage: cardano-cli stake-pool (registration-certificate | 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) - (--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 +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) + (--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 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) --epoch NATURAL - --out-file FILEPATH +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) + --epoch NATURAL + --out-file FILEPATH Create a stake pool deregistration certificate @@ -7774,8 +11001,8 @@ Usage: cardano-cli stake-pool id (--stake-pool-verification-key STRING | Build pool id from the offline key -Usage: cardano-cli stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. @@ -7792,37 +11019,37 @@ Usage: cardano-cli node key-gen [--key-output-format STRING] 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 +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 +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] +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 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 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 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 @@ -7833,221 +11060,313 @@ Usage: cardano-cli transaction (build-raw | build | sign | witness | assemble | Transaction commands -Usage: cardano-cli 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 +Usage: cardano-cli 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 of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. -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] [--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) +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] + [--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 of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. -Usage: cardano-cli transaction sign - (--tx-body-file FILEPATH | --tx-file FILEPATH) - [--signing-key-file FILEPATH [--address STRING]] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli 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 transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli 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 transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli 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 transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli 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 transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH +Usage: cardano-cli 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. @@ -8056,57 +11375,89 @@ Usage: cardano-cli transaction policyid --script-file FILEPATH Calculate the PolicyId from the monetary policy script. -Usage: cardano-cli 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] +Usage: cardano-cli 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 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] +Usage: cardano-cli 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 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] +Usage: cardano-cli 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 transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) +Usage: cardano-cli 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 transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. @@ -8121,59 +11472,64 @@ Usage: cardano-cli key (verification-key | non-extended-key | Key utility commands -Usage: cardano-cli key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH +Usage: cardano-cli 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 key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli 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 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 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 key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH +Usage: cardano-cli 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 key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH +Usage: cardano-cli 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 key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli 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 key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli 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 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 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. @@ -8185,55 +11541,88 @@ Usage: cardano-cli stake-address (key-gen | build | key-hash | Stake address commands -Usage: cardano-cli stake-address key-gen - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +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 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 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 key-hash - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH) [--out-file FILEPATH] +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 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 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 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 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 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 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 @@ -8248,9 +11637,9 @@ Usage: cardano-cli address key-gen [--key-output-format STRING] Create an address key pair. -Usage: cardano-cli address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli address key-hash (--payment-verification-key STRING | + --payment-verification-key-file FILEPATH) + [--out-file FILEPATH] Print the hash of an address key. @@ -8285,53 +11674,66 @@ Usage: cardano-cli byron key keygen --secret FILEPATH Generate a signing key. -Usage: cardano-cli byron key to-verification - [--byron-legacy-formats | --byron-formats] --secret FILEPATH - --to FILEPATH +Usage: cardano-cli byron key to-verification [--byron-legacy-formats | + --byron-formats] + --secret FILEPATH --to FILEPATH Extract a verification key in its base64 form. -Usage: cardano-cli byron key signing-key-public - [--byron-legacy-formats | --byron-formats] --secret FILEPATH +Usage: cardano-cli byron key signing-key-public [--byron-legacy-formats | + --byron-formats] + --secret FILEPATH Pretty-print a signing key's verification key (not a secret). -Usage: cardano-cli byron key signing-key-address - [--byron-legacy-formats | --byron-formats] - (--mainnet | --testnet-magic NATURAL) --secret FILEPATH +Usage: cardano-cli byron key signing-key-address [--byron-legacy-formats | + --byron-formats] + (--mainnet | + --testnet-magic NATURAL) + --secret FILEPATH Print address of a signing key. -Usage: cardano-cli byron key migrate-delegate-key-from - --from FILEPATH --to FILEPATH +Usage: cardano-cli byron key migrate-delegate-key-from --from FILEPATH + --to FILEPATH Migrate a delegate key from an older version. -Usage: cardano-cli byron transaction - (submit-tx | issue-genesis-utxo-expenditure | issue-utxo-expenditure | - txid) +Usage: cardano-cli byron transaction (submit-tx | + issue-genesis-utxo-expenditure | + issue-utxo-expenditure | txid) Byron transaction commands -Usage: cardano-cli byron transaction submit-tx - --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) - --tx FILEPATH +Usage: cardano-cli byron transaction submit-tx --socket-path SOCKET_PATH + (--mainnet | + --testnet-magic NATURAL) + --tx FILEPATH Submit a raw, signed transaction, in its on-wire representation. -Usage: cardano-cli byron transaction issue-genesis-utxo-expenditure - --genesis-json FILEPATH (--mainnet | --testnet-magic NATURAL) - [--byron-legacy-formats | --byron-formats] --tx FILEPATH - --wallet-key FILEPATH --rich-addr-from ADDR - (--txout '("ADDR", LOVELACE)') +Usage: cardano-cli byron transaction issue-genesis-utxo-expenditure --genesis-json FILEPATH + (--mainnet | + + --testnet-magic NATURAL) + [--byron-legacy-formats | + + --byron-formats] + --tx FILEPATH + --wallet-key FILEPATH + --rich-addr-from ADDR + (--txout '("ADDR", LOVELACE)') Write a file with a signed transaction, spending genesis UTxO. -Usage: cardano-cli byron transaction issue-utxo-expenditure - (--mainnet | --testnet-magic NATURAL) - [--byron-legacy-formats | --byron-formats] --tx FILEPATH - --wallet-key FILEPATH (--txin (TXID,INDEX)) - (--txout '("ADDR", LOVELACE)') +Usage: cardano-cli byron transaction issue-utxo-expenditure (--mainnet | + --testnet-magic NATURAL) + [--byron-legacy-formats | + --byron-formats] + --tx FILEPATH + --wallet-key FILEPATH + (--txin (TXID,INDEX)) + (--txout '("ADDR", LOVELACE)') Write a file with a signed transaction, spending normal UTxO. @@ -8343,12 +11745,18 @@ Usage: cardano-cli byron genesis (genesis | print-genesis-hash) Byron genesis block commands -Usage: cardano-cli byron genesis genesis - --genesis-output-dir FILEPATH --start-time POSIXSECONDS - --protocol-parameters-file FILEPATH --k INT --protocol-magic INT - --n-poor-addresses INT --n-delegate-addresses INT --total-balance INT - --delegate-share DOUBLE --avvm-entry-count INT --avvm-entry-balance INT - [--avvm-balance-factor DOUBLE] [--secret-seed INT] +Usage: cardano-cli byron genesis genesis --genesis-output-dir FILEPATH + --start-time POSIXSECONDS + --protocol-parameters-file FILEPATH + --k INT --protocol-magic INT + --n-poor-addresses INT + --n-delegate-addresses INT + --total-balance INT + --delegate-share DOUBLE + --avvm-entry-count INT + --avvm-entry-balance INT + [--avvm-balance-factor DOUBLE] + [--secret-seed INT] Create genesis. @@ -8360,40 +11768,58 @@ Usage: cardano-cli byron governance COMMAND Byron governance commands -Usage: cardano-cli byron governance submit-proposal-vote - --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) - --filepath FILEPATH +Usage: cardano-cli byron governance submit-proposal-vote --socket-path SOCKET_PATH + (--mainnet | + --testnet-magic NATURAL) + --filepath FILEPATH Submit a proposal vote. -Usage: cardano-cli byron governance submit-update-proposal - --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) - --filepath FILEPATH +Usage: cardano-cli byron governance submit-update-proposal --socket-path SOCKET_PATH + (--mainnet | + --testnet-magic NATURAL) + --filepath FILEPATH Submit an update proposal. -Usage: cardano-cli byron governance create-proposal-vote - (--mainnet | --testnet-magic NATURAL) --signing-key FILEPATH - --proposal-filepath FILEPATH (--vote-yes | --vote-no) - --output-filepath FILEPATH +Usage: cardano-cli byron governance create-proposal-vote (--mainnet | + --testnet-magic NATURAL) + --signing-key FILEPATH + --proposal-filepath FILEPATH + (--vote-yes | + --vote-no) + --output-filepath FILEPATH Create an update proposal vote. -Usage: cardano-cli byron governance create-update-proposal - (--mainnet | --testnet-magic NATURAL) --signing-key FILEPATH - --protocol-version-major WORD16 --protocol-version-minor WORD16 - --protocol-version-alt WORD8 --application-name STRING - --software-version-num WORD32 --system-tag STRING --installer-hash HASH - --filepath FILEPATH [--script-version WORD16] [--slot-duration NATURAL] - [--max-block-size NATURAL] [--max-header-size NATURAL] - [--max-tx-size NATURAL] [--max-proposal-size NATURAL] - [--max-mpc-thd DOUBLE] [--heavy-del-thd DOUBLE] - [--update-vote-thd DOUBLE] [--update-proposal-thd DOUBLE] - [--time-to-live WORD64] - [--softfork-init-thd DOUBLE --softfork-min-thd DOUBLE - --softfork-thd-dec DOUBLE] - [--tx-fee-a-constant INT --tx-fee-b-constant DOUBLE] - [--unlock-stake-epoch WORD64] +Usage: cardano-cli byron governance create-update-proposal (--mainnet | + --testnet-magic NATURAL) + --signing-key FILEPATH + --protocol-version-major WORD16 + --protocol-version-minor WORD16 + --protocol-version-alt WORD8 + --application-name STRING + --software-version-num WORD32 + --system-tag STRING + --installer-hash HASH + --filepath FILEPATH + [--script-version WORD16] + [--slot-duration NATURAL] + [--max-block-size NATURAL] + [--max-header-size NATURAL] + [--max-tx-size NATURAL] + [--max-proposal-size NATURAL] + [--max-mpc-thd DOUBLE] + [--heavy-del-thd DOUBLE] + [--update-vote-thd DOUBLE] + [--update-proposal-thd DOUBLE] + [--time-to-live WORD64] + [--softfork-init-thd DOUBLE + --softfork-min-thd DOUBLE + --softfork-thd-dec DOUBLE] + [--tx-fee-a-constant INT + --tx-fee-b-constant DOUBLE] + [--unlock-stake-epoch WORD64] Create an update proposal. @@ -8401,9 +11827,12 @@ Usage: cardano-cli byron miscellaneous (validate-cbor | pretty-print-cbor) Byron miscellaneous commands -Usage: cardano-cli byron miscellaneous validate-cbor - [--byron-block INT | --byron-delegation-certificate | --byron-tx | - --byron-update-proposal | --byron-vote] --filepath FILEPATH +Usage: cardano-cli byron miscellaneous validate-cbor [--byron-block INT | + --byron-delegation-certificate | + --byron-tx | + --byron-update-proposal | + --byron-vote] + --filepath FILEPATH Validate a CBOR blockchain object. @@ -8411,40 +11840,57 @@ Usage: cardano-cli byron miscellaneous pretty-print-cbor --filepath FILEPATH Pretty print a CBOR file. -Usage: cardano-cli byron submit-proposal-vote - --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) - --filepath FILEPATH +Usage: cardano-cli byron submit-proposal-vote --socket-path SOCKET_PATH + (--mainnet | + --testnet-magic NATURAL) + --filepath FILEPATH Submit a proposal vote. -Usage: cardano-cli byron submit-update-proposal - --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) - --filepath FILEPATH +Usage: cardano-cli byron submit-update-proposal --socket-path SOCKET_PATH + (--mainnet | + --testnet-magic NATURAL) + --filepath FILEPATH Submit an update proposal. -Usage: cardano-cli byron create-proposal-vote - (--mainnet | --testnet-magic NATURAL) --signing-key FILEPATH - --proposal-filepath FILEPATH (--vote-yes | --vote-no) - --output-filepath FILEPATH +Usage: cardano-cli byron create-proposal-vote (--mainnet | + --testnet-magic NATURAL) + --signing-key FILEPATH + --proposal-filepath FILEPATH + (--vote-yes | --vote-no) + --output-filepath FILEPATH Create an update proposal vote. -Usage: cardano-cli byron create-update-proposal - (--mainnet | --testnet-magic NATURAL) --signing-key FILEPATH - --protocol-version-major WORD16 --protocol-version-minor WORD16 - --protocol-version-alt WORD8 --application-name STRING - --software-version-num WORD32 --system-tag STRING --installer-hash HASH - --filepath FILEPATH [--script-version WORD16] [--slot-duration NATURAL] - [--max-block-size NATURAL] [--max-header-size NATURAL] - [--max-tx-size NATURAL] [--max-proposal-size NATURAL] - [--max-mpc-thd DOUBLE] [--heavy-del-thd DOUBLE] - [--update-vote-thd DOUBLE] [--update-proposal-thd DOUBLE] - [--time-to-live WORD64] - [--softfork-init-thd DOUBLE --softfork-min-thd DOUBLE - --softfork-thd-dec DOUBLE] - [--tx-fee-a-constant INT --tx-fee-b-constant DOUBLE] - [--unlock-stake-epoch WORD64] +Usage: cardano-cli byron create-update-proposal (--mainnet | + --testnet-magic NATURAL) + --signing-key FILEPATH + --protocol-version-major WORD16 + --protocol-version-minor WORD16 + --protocol-version-alt WORD8 + --application-name STRING + --software-version-num WORD32 + --system-tag STRING + --installer-hash HASH + --filepath FILEPATH + [--script-version WORD16] + [--slot-duration NATURAL] + [--max-block-size NATURAL] + [--max-header-size NATURAL] + [--max-tx-size NATURAL] + [--max-proposal-size NATURAL] + [--max-mpc-thd DOUBLE] + [--heavy-del-thd DOUBLE] + [--update-vote-thd DOUBLE] + [--update-proposal-thd DOUBLE] + [--time-to-live WORD64] + [--softfork-init-thd DOUBLE + --softfork-min-thd DOUBLE + --softfork-thd-dec DOUBLE] + [--tx-fee-a-constant INT + --tx-fee-b-constant DOUBLE] + [--unlock-stake-epoch WORD64] Create an update proposal. @@ -8452,9 +11898,9 @@ Usage: cardano-cli hash (anchor-data | script) Compute the hash to pass to the various --*-hash arguments of commands. -Usage: cardano-cli hash anchor-data - (--text TEXT | --file-binary FILEPATH | --file-text FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli hash anchor-data (--text TEXT | --file-binary FILEPATH | + --file-text FILEPATH) + [--out-file FILEPATH] Compute the hash of some anchor data (to then pass it to other commands). @@ -8473,9 +11919,9 @@ Usage: cardano-cli debug (log-epoch-state | transaction) Debug commands -Usage: cardano-cli debug log-epoch-state - --socket-path SOCKET_PATH --node-configuration-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli debug log-epoch-state --socket-path SOCKET_PATH + --node-configuration-file FILEPATH + --out-file FILEPATH Log epoch state of a running node. This command will connect to a local node and log the epoch state to a file. The log file format is line delimited JSON. @@ -8485,9 +11931,10 @@ Usage: cardano-cli debug transaction view Transaction commands -Usage: cardano-cli debug transaction view - [--output-json | --output-yaml] [--out-file FILEPATH] - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli debug transaction view [--output-json | --output-yaml] + [--out-file FILEPATH] + (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction. @@ -8515,14 +11962,15 @@ Usage: cardano-cli to-verification [--byron-legacy-formats | --byron-formats] Extract a verification key in its base64 form. -Usage: cardano-cli signing-key-public - [--byron-legacy-formats | --byron-formats] --secret FILEPATH +Usage: cardano-cli signing-key-public [--byron-legacy-formats | --byron-formats] + --secret FILEPATH Pretty-print a signing key's verification key (not a secret). -Usage: cardano-cli signing-key-address - [--byron-legacy-formats | --byron-formats] - (--mainnet | --testnet-magic NATURAL) --secret FILEPATH +Usage: cardano-cli signing-key-address [--byron-legacy-formats | + --byron-formats] + (--mainnet | --testnet-magic NATURAL) + --secret FILEPATH Print address of a signing key. @@ -8535,19 +11983,24 @@ Usage: cardano-cli submit-tx --socket-path SOCKET_PATH Submit a raw, signed transaction, in its on-wire representation. -Usage: cardano-cli issue-genesis-utxo-expenditure - --genesis-json FILEPATH (--mainnet | --testnet-magic NATURAL) - [--byron-legacy-formats | --byron-formats] --tx FILEPATH - --wallet-key FILEPATH --rich-addr-from ADDR - (--txout '("ADDR", LOVELACE)') +Usage: cardano-cli issue-genesis-utxo-expenditure --genesis-json FILEPATH + (--mainnet | + --testnet-magic NATURAL) + [--byron-legacy-formats | + --byron-formats] + --tx FILEPATH + --wallet-key FILEPATH + --rich-addr-from ADDR + (--txout '("ADDR", LOVELACE)') Write a file with a signed transaction, spending genesis UTxO. -Usage: cardano-cli issue-utxo-expenditure - (--mainnet | --testnet-magic NATURAL) - [--byron-legacy-formats | --byron-formats] --tx FILEPATH - --wallet-key FILEPATH (--txin (TXID,INDEX)) - (--txout '("ADDR", LOVELACE)') +Usage: cardano-cli issue-utxo-expenditure (--mainnet | --testnet-magic NATURAL) + [--byron-legacy-formats | + --byron-formats] --tx FILEPATH + --wallet-key FILEPATH + (--txin (TXID,INDEX)) + (--txout '("ADDR", LOVELACE)') Write a file with a signed transaction, spending normal UTxO. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-hash.cli index f182029f87..542dfc5642 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-hash.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli address key-hash (--payment-verification-key STRING | + --payment-verification-key-file FILEPATH) + [--out-file FILEPATH] Print the hash of an address key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_address_build.cli index 0ea86a1767..6c2e4f1eea 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_address_build.cli @@ -1,11 +1,13 @@ -Usage: cardano-cli allegra 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 allegra 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_address_key-gen.cli index e5b2dd589d..0269c511ff 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_address_key-gen.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli allegra address key-gen - [--key-output-format STRING] - [--normal-key | --extended-key | --byron-key] - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli allegra 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_address_key-hash.cli index 8808917eb4..42600f8cc9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_address_key-hash.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli allegra address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli allegra address key-hash (--payment-verification-key STRING | + + --payment-verification-key-file FILEPATH) + [--out-file FILEPATH] Print the hash of an address key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-cardano.cli index 5e0b220b55..735ea400fa 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-cardano.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-cardano.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli allegra 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] +Usage: cardano-cli allegra 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-staked.cli index 4a50edc1c2..97eb0925c0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-staked.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-staked.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli allegra 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) - [--bulk-pool-cred-files INT] [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] +Usage: cardano-cli allegra 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) + [--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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-testnet-data.cli index 85535cb0d0..39b39f361c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-testnet-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create-testnet-data.cli @@ -1,11 +1,21 @@ -Usage: cardano-cli allegra 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 +Usage: cardano-cli allegra 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create.cli index f823cec175..43b2b55f74 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_create.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli allegra 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) +Usage: cardano-cli allegra 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_get-ver-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_get-ver-key.cli index 7c1f5bc756..2041827562 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_get-ver-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_get-ver-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli allegra genesis get-ver-key - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli allegra genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_initial-addr.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_initial-addr.cli index 3438afc515..d62b659e3b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_initial-addr.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_initial-addr.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli allegra genesis initial-addr - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli allegra 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_initial-txin.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_initial-txin.cli index 5862e9a529..c6e593b0fc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_initial-txin.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_initial-txin.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli allegra genesis initial-txin - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli allegra 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_key-gen-delegate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_key-gen-delegate.cli index 5fb8ef5f41..8d99ef6b04 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_key-gen-delegate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_key-gen-delegate.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli allegra genesis key-gen-delegate - --verification-key-file FILEPATH --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli allegra 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_key-gen-genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_key-gen-genesis.cli index 901f4ae0b3..15c0296e99 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_key-gen-genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_key-gen-genesis.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli allegra genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli allegra genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_key-gen-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_key-gen-utxo.cli index dd6df788c3..90b0454bca 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_key-gen-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis_key-gen-utxo.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli allegra genesis key-gen-utxo - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli allegra genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance.cli index 4d2ea446e9..156c925dd7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli allegra governance - (create-mir-certificate | create-genesis-key-delegation-certificate | - action) +Usage: cardano-cli allegra governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action) Governance commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_action_create-protocol-parameters-update.cli index 46248107bb..1cc5c6e865 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_action_create-protocol-parameters-update.cli @@ -1,16 +1,26 @@ -Usage: cardano-cli allegra governance action create-protocol-parameters-update - --epoch NATURAL (--genesis-verification-key-file FILEPATH) - [--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] [--min-utxo-value NATURAL] - [--extra-entropy HEX | --reset-extra-entropy] - [--decentralization-parameter RATIONAL] - [--protocol-major-version MAJOR --protocol-minor-version MINOR] - --out-file FILEPATH +Usage: cardano-cli allegra governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--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] + [--min-utxo-value NATURAL] + [--extra-entropy HEX | + + --reset-extra-entropy] + [--decentralization-parameter RATIONAL] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + --out-file FILEPATH Create a protocol parameters update. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-genesis-key-delegation-certificate.cli index a3190d7de9..e344bd0dd1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-genesis-key-delegation-certificate.cli @@ -1,12 +1,19 @@ -Usage: cardano-cli allegra 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 allegra 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 Create a genesis key delegation certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate.cli index 6f5673cb68..7410fab330 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate.cli @@ -1,7 +1,14 @@ -Usage: cardano-cli allegra governance create-mir-certificate - ((--reserves | --treasury) (--stake-address ADDRESS) - (--reward LOVELACE) --out-file FILEPATH | - stake-addresses | transfer-to-treasury | transfer-to-rewards) +Usage: cardano-cli allegra 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate_stake-addresses.cli index 9ec7d19327..7a24d72c4f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate_stake-addresses.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli allegra governance create-mir-certificate stake-addresses - (--reserves | --treasury) (--stake-address ADDRESS) (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli allegra governance create-mir-certificate stake-addresses (--reserves | + + --treasury) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH Create an MIR certificate to pay stake addresses diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate_transfer-to-rewards.cli index 77c41ef883..e0df5c6fe6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli allegra governance create-mir-certificate transfer-to-rewards - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli allegra governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate_transfer-to-treasury.cli index 8c226410a8..c325c30d77 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli allegra governance create-mir-certificate transfer-to-treasury - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli allegra governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-byron-genesis-vkey.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-byron-genesis-vkey.cli index bc626145eb..502a64c09c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-byron-genesis-vkey.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-byron-genesis-vkey.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli allegra key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH +Usage: cardano-cli allegra 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-byron-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-byron-key.cli index c4064c0262..808afb5eff 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-byron-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-byron-key.cli @@ -1,11 +1,16 @@ -Usage: cardano-cli allegra 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 allegra 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-cardano-address-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-cardano-address-key.cli index 96848fb166..55e6687b71 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-cardano-address-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-cardano-address-key.cli @@ -1,7 +1,15 @@ -Usage: cardano-cli allegra 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 allegra 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-itn-bip32-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-itn-bip32-key.cli index 15f82ab2c7..4e15bf34dc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-itn-bip32-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-itn-bip32-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli allegra key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli allegra 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-itn-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-itn-extended-key.cli index 68cdf9b7eb..71ff84c23c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-itn-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-itn-extended-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli allegra key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli allegra 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-itn-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-itn-key.cli index dbbe6f0484..5bf11afd59 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-itn-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_convert-itn-key.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli allegra key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH +Usage: cardano-cli allegra 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_non-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_non-extended-key.cli index a1f686f245..0aef32d213 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_non-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_non-extended-key.cli @@ -1,6 +1,5 @@ -Usage: cardano-cli allegra key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli allegra 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_verification-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_verification-key.cli index 85a8b57a68..0c325707dd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_verification-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key_verification-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli allegra key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH +Usage: cardano-cli allegra key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH Get a verification key from a signing key. This supports all key types. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_issue-op-cert.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_issue-op-cert.cli index b784bf9180..8c9d88c9e8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_issue-op-cert.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_issue-op-cert.cli @@ -1,8 +1,9 @@ -Usage: cardano-cli allegra 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 allegra 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-gen-KES.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-gen-KES.cli index 1b181e133a..fd6fb169cd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-gen-KES.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-gen-KES.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli allegra node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli allegra 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-gen-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-gen-VRF.cli index 089a69430e..0ff08a223b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-gen-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-gen-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli allegra node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli allegra 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-gen.cli index f9b5e64eab..c1e77ebfce 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-gen.cli @@ -1,7 +1,7 @@ -Usage: cardano-cli allegra 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 allegra 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-hash-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-hash-VRF.cli index 9746d339b8..6c74af1716 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-hash-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_key-hash-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli allegra node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli allegra node key-hash-VRF (--verification-key STRING | + --verification-key-file FILEPATH) + [--out-file FILEPATH] Print hash of a node's operational VRF key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_new-counter.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_new-counter.cli index 20d219814d..e58bf538ca 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_new-counter.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node_new-counter.cli @@ -1,8 +1,10 @@ -Usage: cardano-cli allegra 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 allegra 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_kes-period-info.cli index 6818846517..dcd80ce78d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_kes-period-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_kes-period-info.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli allegra query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli allegra query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + --op-cert-file FILEPATH + [--out-file FILEPATH] Get information about the current KES period and your node's operational certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_leadership-schedule.cli index acdfaf7249..f485642759 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_leadership-schedule.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_leadership-schedule.cli @@ -1,11 +1,19 @@ -Usage: cardano-cli allegra 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] +Usage: cardano-cli allegra 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] Get the slots the node is expected to mint a block in (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_ledger-state.cli index 9b24963f49..792c1a43ad 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_ledger-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_ledger-state.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli allegra query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli allegra 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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_pool-params.cli index 0eb562af76..adb3f65d7b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_pool-params.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_pool-params.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli allegra 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] +Usage: cardano-cli allegra 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] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_pool-state.cli index 9bfb588f97..8e563798c3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_pool-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_pool-state.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli allegra 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] +Usage: cardano-cli allegra 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] Dump the pool state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_protocol-parameters.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_protocol-parameters.cli index bd37a433e7..a1371a6aad 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_protocol-parameters.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_protocol-parameters.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli allegra query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli allegra query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_protocol-state.cli index 814877498b..f5494e7163 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_protocol-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_protocol-state.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli allegra query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli allegra query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_ref-script-size.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_ref-script-size.cli index a83878091e..55fe7f58c9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_ref-script-size.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_ref-script-size.cli @@ -1,7 +1,11 @@ -Usage: cardano-cli allegra query ref-script-size - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--tx-in TX-IN) (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] [--out-file FILEPATH] +Usage: cardano-cli allegra query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Calculate the reference input scripts size in bytes for provided transaction inputs. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_slot-number.cli index f356526483..b0202be604 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_slot-number.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_slot-number.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli allegra query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) TIMESTAMP +Usage: cardano-cli allegra query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + TIMESTAMP Query slot number for UTC timestamp diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-address-info.cli index 19f1966f6c..414fd29ef3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-address-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-address-info.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli allegra 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 allegra query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-distribution.cli index 09a9a200c1..af6da8ae8c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-distribution.cli @@ -1,7 +1,11 @@ -Usage: cardano-cli allegra 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 allegra query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | + --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-pools.cli index 3751e02b13..ed9f398802 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-pools.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-pools.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli allegra 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 allegra query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-snapshot.cli index 6424da6180..0c7c2a8869 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-snapshot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_stake-snapshot.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli allegra 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] +Usage: cardano-cli allegra 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] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tip.cli index 8bdc8e0784..abc32cdaca 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tip.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tip.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli allegra query tip - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli allegra query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool.cli index f513ba2662..2468be783a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli allegra query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli allegra query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool_info.cli index c2530e7d60..e4e60227ce 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool_info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool_info.cli @@ -1,8 +1,11 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli allegra query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli allegra query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool_next-tx.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool_next-tx.cli index c2530e7d60..e4e60227ce 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool_next-tx.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool_next-tx.cli @@ -1,8 +1,11 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli allegra query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli allegra query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool_tx-exists_TX_ID.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool_tx-exists_TX_ID.cli index c2530e7d60..e4e60227ce 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool_tx-exists_TX_ID.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_tx-mempool_tx-exists_TX_ID.cli @@ -1,8 +1,11 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli allegra query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli allegra query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_utxo.cli index 5a7446385e..69d9ba73e8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query_utxo.cli @@ -1,8 +1,10 @@ -Usage: cardano-cli allegra 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 allegra 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] Get a portion of the current UTxO: by tx in, by address or the whole. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address.cli index be63916aef..b8364c5448 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli allegra stake-address - (key-gen | key-hash | build | registration-certificate | - deregistration-certificate | stake-delegation-certificate) +Usage: cardano-cli allegra stake-address (key-gen | key-hash | build | + registration-certificate | + deregistration-certificate | + stake-delegation-certificate) Stake address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_build.cli index 899556c010..515e98fc31 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_build.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli allegra 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 allegra 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_deregistration-certificate.cli index 462006e05f..ce02227fd1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_deregistration-certificate.cli @@ -1,8 +1,13 @@ -Usage: cardano-cli allegra stake-address deregistration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli allegra stake-address deregistration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_key-gen.cli index 17b4f11a30..761ada154e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_key-gen.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli allegra stake-address key-gen - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli allegra stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a stake address key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_key-hash.cli index c609a37e7a..cf1a41f577 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_key-hash.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli allegra stake-address key-hash - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli allegra stake-address key-hash (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH) + [--out-file FILEPATH] Print the hash of a stake address key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_registration-certificate.cli index 0622920d32..f784c2a6da 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_registration-certificate.cli @@ -1,8 +1,13 @@ -Usage: cardano-cli allegra stake-address registration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli allegra stake-address registration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_stake-delegation-certificate.cli index d4cbbe9cb3..fd083f1644 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_stake-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-address_stake-delegation-certificate.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli allegra 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 +Usage: cardano-cli allegra 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool.cli index 374a7750b8..09946ac206 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli allegra stake-pool - (registration-certificate | deregistration-certificate | id | - metadata-hash) +Usage: cardano-cli allegra stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) Stake pool commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_deregistration-certificate.cli index 87c704fad9..c4156095e6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_deregistration-certificate.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli allegra stake-pool deregistration-certificate - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) --epoch NATURAL - --out-file FILEPATH +Usage: cardano-cli allegra stake-pool deregistration-certificate (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + --epoch NATURAL + --out-file FILEPATH Create a stake pool deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_id.cli index 99b1daf335..9f6950d494 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_id.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli allegra stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli allegra stake-pool id (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] Build pool id from the offline key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_metadata-hash.cli index 11fce1b0f1..8da0aa0c9e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_metadata-hash.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli allegra stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli allegra stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_registration-certificate.cli index 68a7fb8e29..480a8edcca 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_stake-pool_registration-certificate.cli @@ -1,18 +1,32 @@ -Usage: cardano-cli allegra stake-pool registration-certificate - (--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 +Usage: cardano-cli allegra stake-pool registration-certificate (--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 Create a stake pool registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_text-view_decode-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_text-view_decode-cbor.cli index 9eba3e2983..3547465e5b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_text-view_decode-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_text-view_decode-cbor.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli allegra text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli allegra text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction.cli index 3e8e7ddcd0..5e7a88061f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli allegra transaction - (build-raw | build | sign | witness | assemble | submit | policyid | - calculate-min-fee | calculate-min-required-utxo | hash-script-data | - txid | view) +Usage: cardano-cli allegra transaction (build-raw | build | sign | witness | + assemble | submit | policyid | + calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid | view) Transaction commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_assemble.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_assemble.cli index 2910940607..70d2c15008 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_assemble.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_assemble.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli allegra transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli allegra transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_build-raw.cli index 3e6d348f0b..29ffe71f16 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_build-raw.cli @@ -1,85 +1,141 @@ -Usage: cardano-cli allegra transaction build-raw - [--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 +Usage: cardano-cli allegra transaction build-raw [--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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_build.cli index 5e1c086a53..600a509281 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_build.cli @@ -1,77 +1,131 @@ -Usage: cardano-cli allegra transaction build - --socket-path SOCKET_PATH [--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] - (--out-file FILEPATH | --calculate-plutus-script-cost FILEPATH) +Usage: cardano-cli allegra transaction build --socket-path SOCKET_PATH + [--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] + (--out-file FILEPATH | + --calculate-plutus-script-cost FILEPATH) Build a balanced transaction (automatically calculates fees) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-fee.cli index e391619d75..b94526b6d2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-fee.cli @@ -1,9 +1,15 @@ -Usage: cardano-cli allegra 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] +Usage: cardano-cli allegra 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-required-utxo.cli index 3a4f1196e0..7f72bae0cd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-required-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-required-utxo.cli @@ -1,15 +1,25 @@ -Usage: cardano-cli allegra 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 | - --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] +Usage: cardano-cli allegra 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 | + + --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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-value.cli index ae6a41709d..59e34ff810 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-value.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-value.cli @@ -1,15 +1,25 @@ -Usage: cardano-cli allegra 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 | - --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] +Usage: cardano-cli allegra 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 | + + --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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_hash-script-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_hash-script-data.cli index b3d2001a4b..5cc3f3efa7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_hash-script-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_hash-script-data.cli @@ -1,6 +1,8 @@ -Usage: cardano-cli allegra transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) +Usage: cardano-cli allegra 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_sign-witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_sign-witness.cli index cdb2993e64..bbaf730505 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_sign-witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_sign-witness.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli allegra transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli allegra transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_sign.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_sign.cli index 54d800a806..deff09cb79 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_sign.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_sign.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli allegra transaction sign - (--tx-body-file FILEPATH | --tx-file FILEPATH) - [--signing-key-file FILEPATH [--address STRING]] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli allegra 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_submit.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_submit.cli index d504061923..c7c553f14d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_submit.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_submit.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli allegra transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH +Usage: cardano-cli allegra 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_txid.cli index 7baeb6a1fe..bd82aec5e7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_txid.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_txid.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli allegra transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli allegra transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_witness.cli index f1d4758380..f1d53cd057 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_witness.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli allegra transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli allegra transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [--mainnet | + --testnet-magic NATURAL] + --out-file FILEPATH Create a transaction witness diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_address_build.cli index 924d25669c..34fe58346f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_address_build.cli @@ -1,11 +1,13 @@ -Usage: cardano-cli alonzo 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 alonzo 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_address_key-gen.cli index 03a867528f..3b5cd9c983 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_address_key-gen.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli alonzo address key-gen - [--key-output-format STRING] - [--normal-key | --extended-key | --byron-key] - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli alonzo 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_address_key-hash.cli index c074208389..26940b8a81 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_address_key-hash.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli alonzo address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli alonzo address key-hash (--payment-verification-key STRING | + --payment-verification-key-file FILEPATH) + [--out-file FILEPATH] Print the hash of an address key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-cardano.cli index 50ec5dc579..58abfff96a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-cardano.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-cardano.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli alonzo 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] +Usage: cardano-cli alonzo 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-staked.cli index b4e143622f..80f70faaf7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-staked.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-staked.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli alonzo 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) - [--bulk-pool-cred-files INT] [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] +Usage: cardano-cli alonzo 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) + [--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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-testnet-data.cli index aab26e8da0..d692e6988a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-testnet-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create-testnet-data.cli @@ -1,11 +1,20 @@ -Usage: cardano-cli alonzo 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 +Usage: cardano-cli alonzo 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create.cli index 49f17c27cf..4d90729074 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_create.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli alonzo 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) +Usage: cardano-cli alonzo 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_get-ver-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_get-ver-key.cli index 821783772f..0d40a7a2ee 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_get-ver-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_get-ver-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli alonzo genesis get-ver-key - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli alonzo genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_initial-addr.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_initial-addr.cli index 0930b311cf..dc06d40365 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_initial-addr.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_initial-addr.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli alonzo genesis initial-addr - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli alonzo 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_initial-txin.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_initial-txin.cli index 9570934cf4..5d5c39e61d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_initial-txin.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_initial-txin.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli alonzo genesis initial-txin - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli alonzo 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_key-gen-delegate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_key-gen-delegate.cli index baa6e6a6dc..3417429e68 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_key-gen-delegate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_key-gen-delegate.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli alonzo genesis key-gen-delegate - --verification-key-file FILEPATH --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli alonzo 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_key-gen-genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_key-gen-genesis.cli index 8dfa8af6cc..c2c4219c42 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_key-gen-genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_key-gen-genesis.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli alonzo genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli alonzo genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_key-gen-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_key-gen-utxo.cli index f0e45013e6..d47b4ec243 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_key-gen-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis_key-gen-utxo.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli alonzo genesis key-gen-utxo - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli alonzo genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance.cli index 46ddc14203..03038f89d6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli alonzo governance - (create-mir-certificate | create-genesis-key-delegation-certificate | - action) +Usage: cardano-cli alonzo governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action) Governance commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_action_create-protocol-parameters-update.cli index c6199c4d36..bc2de5e209 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_action_create-protocol-parameters-update.cli @@ -1,19 +1,33 @@ -Usage: cardano-cli alonzo governance action create-protocol-parameters-update - --epoch NATURAL (--genesis-verification-key-file FILEPATH) - [--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] [--extra-entropy HEX | --reset-extra-entropy] - [--decentralization-parameter 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] - [--protocol-major-version MAJOR --protocol-minor-version MINOR] - [--cost-model-file FILE] --out-file FILEPATH +Usage: cardano-cli alonzo governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--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] + [--extra-entropy HEX | + + --reset-extra-entropy] + [--decentralization-parameter 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] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + [--cost-model-file FILE] + --out-file FILEPATH Create a protocol parameters update. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-genesis-key-delegation-certificate.cli index 268130f510..13e55c90a5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-genesis-key-delegation-certificate.cli @@ -1,12 +1,19 @@ -Usage: cardano-cli alonzo 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 alonzo 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 Create a genesis key delegation certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate.cli index c12eda8f03..8a041357b6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate.cli @@ -1,7 +1,13 @@ -Usage: cardano-cli alonzo governance create-mir-certificate - ((--reserves | --treasury) (--stake-address ADDRESS) - (--reward LOVELACE) --out-file FILEPATH | - stake-addresses | transfer-to-treasury | transfer-to-rewards) +Usage: cardano-cli alonzo 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate_stake-addresses.cli index e14f003cc0..321e190bbf 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate_stake-addresses.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli alonzo governance create-mir-certificate stake-addresses - (--reserves | --treasury) (--stake-address ADDRESS) (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli alonzo governance create-mir-certificate stake-addresses (--reserves | + + --treasury) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH Create an MIR certificate to pay stake addresses diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate_transfer-to-rewards.cli index b9a811a439..5d642568ba 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-rewards - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate_transfer-to-treasury.cli index 9da39be353..af33a59979 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-treasury - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-byron-genesis-vkey.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-byron-genesis-vkey.cli index a4175e8a5b..04c634e64e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-byron-genesis-vkey.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-byron-genesis-vkey.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli alonzo key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH +Usage: cardano-cli alonzo 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-byron-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-byron-key.cli index 14a098d1e4..4204edf8f7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-byron-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-byron-key.cli @@ -1,11 +1,16 @@ -Usage: cardano-cli alonzo 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 alonzo 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-cardano-address-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-cardano-address-key.cli index 9139b8445c..64d1627525 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-cardano-address-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-cardano-address-key.cli @@ -1,7 +1,14 @@ -Usage: cardano-cli alonzo 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 alonzo 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-itn-bip32-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-itn-bip32-key.cli index 6f2c9a8037..7eb919eb74 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-itn-bip32-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-itn-bip32-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli alonzo key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli alonzo 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-itn-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-itn-extended-key.cli index b6c1625380..437fd50584 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-itn-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-itn-extended-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli alonzo key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli alonzo 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-itn-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-itn-key.cli index 1bd257dfab..dd4156d719 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-itn-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_convert-itn-key.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli alonzo key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH +Usage: cardano-cli alonzo 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_non-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_non-extended-key.cli index 61615a936e..9d342866c9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_non-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_non-extended-key.cli @@ -1,6 +1,5 @@ -Usage: cardano-cli alonzo key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli alonzo 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_verification-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_verification-key.cli index 93c5bb11fd..bede2d4ffd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_verification-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key_verification-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli alonzo key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH +Usage: cardano-cli alonzo key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH Get a verification key from a signing key. This supports all key types. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_issue-op-cert.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_issue-op-cert.cli index 49133dc093..3800d9df9d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_issue-op-cert.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_issue-op-cert.cli @@ -1,8 +1,9 @@ -Usage: cardano-cli alonzo 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 alonzo 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-gen-KES.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-gen-KES.cli index 06bfb8cc8e..a5daa89cac 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-gen-KES.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-gen-KES.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli alonzo node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli alonzo 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-gen-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-gen-VRF.cli index ce4a24dfeb..a825c69116 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-gen-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-gen-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli alonzo node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli alonzo 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-gen.cli index 7e2f2eae25..230b970c74 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-gen.cli @@ -1,7 +1,7 @@ -Usage: cardano-cli alonzo 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 alonzo 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-hash-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-hash-VRF.cli index b447b6b5b1..395bccf68a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-hash-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_key-hash-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli alonzo node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli alonzo node key-hash-VRF (--verification-key STRING | + --verification-key-file FILEPATH) + [--out-file FILEPATH] Print hash of a node's operational VRF key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_new-counter.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_new-counter.cli index 1c2e41b033..badb078fb5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_new-counter.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node_new-counter.cli @@ -1,8 +1,10 @@ -Usage: cardano-cli alonzo 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 alonzo 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_kes-period-info.cli index 1f1a241177..77a1bdb11e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_kes-period-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_kes-period-info.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli alonzo query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli alonzo query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + --op-cert-file FILEPATH + [--out-file FILEPATH] Get information about the current KES period and your node's operational certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_leadership-schedule.cli index d205ffbb2e..b255dc5365 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_leadership-schedule.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_leadership-schedule.cli @@ -1,11 +1,19 @@ -Usage: cardano-cli alonzo 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] +Usage: cardano-cli alonzo 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] Get the slots the node is expected to mint a block in (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_ledger-state.cli index bf81a1d5cc..ccefa63ea2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_ledger-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_ledger-state.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli alonzo query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli alonzo 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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_pool-params.cli index b04346bc80..06b7da1ce0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_pool-params.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_pool-params.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli alonzo 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] +Usage: cardano-cli alonzo 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] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_pool-state.cli index 112ee53445..bf79239d93 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_pool-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_pool-state.cli @@ -1,8 +1,10 @@ -Usage: cardano-cli alonzo 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] +Usage: cardano-cli alonzo 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] Dump the pool state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_protocol-parameters.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_protocol-parameters.cli index 84953082dc..517aafa873 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_protocol-parameters.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_protocol-parameters.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli alonzo query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli alonzo query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_protocol-state.cli index 22556c4339..bb17c92c46 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_protocol-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_protocol-state.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli alonzo query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli alonzo query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_ref-script-size.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_ref-script-size.cli index ed085f3109..06ef29b98e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_ref-script-size.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_ref-script-size.cli @@ -1,7 +1,11 @@ -Usage: cardano-cli alonzo query ref-script-size - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--tx-in TX-IN) (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] [--out-file FILEPATH] +Usage: cardano-cli alonzo query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Calculate the reference input scripts size in bytes for provided transaction inputs. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_slot-number.cli index 041981f1bb..18dad24cc7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_slot-number.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_slot-number.cli @@ -1,6 +1,8 @@ -Usage: cardano-cli alonzo query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) TIMESTAMP +Usage: cardano-cli alonzo query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) TIMESTAMP Query slot number for UTC timestamp diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-address-info.cli index 90eba43fbe..276864cfbf 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-address-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-address-info.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli alonzo 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 alonzo query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-distribution.cli index afda953bc3..c1ddffc8d3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-distribution.cli @@ -1,7 +1,11 @@ -Usage: cardano-cli alonzo 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 alonzo query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | + --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-pools.cli index e88f26dc65..e63e72d1b2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-pools.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-pools.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli alonzo 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 alonzo query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-snapshot.cli index 4808f7f735..5eccbce42b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-snapshot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_stake-snapshot.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli alonzo 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] +Usage: cardano-cli alonzo 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] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tip.cli index bb9994accd..4fe287e471 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tip.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tip.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli alonzo query tip - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli alonzo query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool.cli index 37fd8e2351..0fa3b59804 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool.cli @@ -1,7 +1,9 @@ -Usage: cardano-cli alonzo query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli alonzo query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool_info.cli index 391f0cab42..bd0209e04c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool_info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool_info.cli @@ -1,8 +1,10 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli alonzo query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli alonzo query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool_next-tx.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool_next-tx.cli index 391f0cab42..bd0209e04c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool_next-tx.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool_next-tx.cli @@ -1,8 +1,10 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli alonzo query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli alonzo query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool_tx-exists_TX_ID.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool_tx-exists_TX_ID.cli index 391f0cab42..bd0209e04c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool_tx-exists_TX_ID.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_tx-mempool_tx-exists_TX_ID.cli @@ -1,8 +1,10 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli alonzo query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli alonzo query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_utxo.cli index 19598daf78..746b4e9752 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query_utxo.cli @@ -1,8 +1,10 @@ -Usage: cardano-cli alonzo 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 alonzo 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] Get a portion of the current UTxO: by tx in, by address or the whole. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address.cli index 0704b72d0c..cef04010be 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli alonzo stake-address - (key-gen | key-hash | build | registration-certificate | - deregistration-certificate | stake-delegation-certificate) +Usage: cardano-cli alonzo stake-address (key-gen | key-hash | build | + registration-certificate | + deregistration-certificate | + stake-delegation-certificate) Stake address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_build.cli index 0d6d970908..a9f8d671e2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_build.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli alonzo 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 alonzo 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_deregistration-certificate.cli index e3d4a383b1..84243659d4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_deregistration-certificate.cli @@ -1,8 +1,13 @@ -Usage: cardano-cli alonzo stake-address deregistration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli alonzo stake-address deregistration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_key-gen.cli index f1cdabebcb..2278b79dee 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_key-gen.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli alonzo stake-address key-gen - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli alonzo stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a stake address key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_key-hash.cli index 0b4081ae0a..c2e2ab93be 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_key-hash.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli alonzo stake-address key-hash - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli alonzo stake-address key-hash (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH) + [--out-file FILEPATH] Print the hash of a stake address key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_registration-certificate.cli index 3c2aa7b61d..fa678083cb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_registration-certificate.cli @@ -1,8 +1,13 @@ -Usage: cardano-cli alonzo stake-address registration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli alonzo stake-address registration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_stake-delegation-certificate.cli index 4380d82358..81f6529a47 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_stake-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-address_stake-delegation-certificate.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli alonzo 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 +Usage: cardano-cli alonzo 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool.cli index 7d58e1981a..dad7ee7a3b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli alonzo stake-pool - (registration-certificate | deregistration-certificate | id | - metadata-hash) +Usage: cardano-cli alonzo stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) Stake pool commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_deregistration-certificate.cli index 1cd4781e54..754a2242a4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_deregistration-certificate.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli alonzo stake-pool deregistration-certificate - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) --epoch NATURAL - --out-file FILEPATH +Usage: cardano-cli alonzo stake-pool deregistration-certificate (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + --epoch NATURAL + --out-file FILEPATH Create a stake pool deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_id.cli index 555fa7e470..d8423eedaf 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_id.cli @@ -1,7 +1,7 @@ -Usage: cardano-cli alonzo stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli alonzo stake-pool id (--stake-pool-verification-key STRING | + --cold-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] Build pool id from the offline key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_metadata-hash.cli index 980ae352f5..de171ceed4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_metadata-hash.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli alonzo stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli alonzo stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_registration-certificate.cli index 0c448479be..746453bde8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_stake-pool_registration-certificate.cli @@ -1,18 +1,32 @@ -Usage: cardano-cli alonzo stake-pool registration-certificate - (--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 +Usage: cardano-cli alonzo stake-pool registration-certificate (--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 Create a stake pool registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_text-view_decode-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_text-view_decode-cbor.cli index 61ba8c3b09..426843939c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_text-view_decode-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_text-view_decode-cbor.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli alonzo text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli alonzo text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction.cli index e55b82c1a3..b5584c7c31 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli alonzo transaction - (build-raw | build | build-estimate | sign | witness | assemble | - submit | policyid | calculate-min-fee | calculate-min-required-utxo | - hash-script-data | txid | view) +Usage: cardano-cli alonzo transaction (build-raw | build | build-estimate | + sign | witness | assemble | submit | + policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid | view) Transaction commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_assemble.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_assemble.cli index b42b697526..5a37edcaa9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_assemble.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_assemble.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli alonzo transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli alonzo transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build-estimate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build-estimate.cli index 28ec497fd2..298c8837c3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build-estimate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build-estimate.cli @@ -1,86 +1,152 @@ -Usage: cardano-cli alonzo 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] - [--update-proposal-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli alonzo 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] + [--update-proposal-file FILEPATH] + --out-file FILEPATH Build a balanced transaction without access to a live node (automatically estimates fees) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build-raw.cli index ce2e55211f..7cd8262701 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build-raw.cli @@ -1,85 +1,138 @@ -Usage: cardano-cli alonzo transaction build-raw - [--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 +Usage: cardano-cli alonzo transaction build-raw [--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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build.cli index c7e641ae2f..ae056eea27 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build.cli @@ -1,77 +1,129 @@ -Usage: cardano-cli alonzo transaction build - --socket-path SOCKET_PATH [--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] - (--out-file FILEPATH | --calculate-plutus-script-cost FILEPATH) +Usage: cardano-cli alonzo transaction build --socket-path SOCKET_PATH + [--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] + (--out-file FILEPATH | + --calculate-plutus-script-cost FILEPATH) Build a balanced transaction (automatically calculates fees) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-fee.cli index 18821ced8c..6cc183d02d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-fee.cli @@ -1,9 +1,15 @@ -Usage: cardano-cli alonzo 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] +Usage: cardano-cli alonzo 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-required-utxo.cli index 96d6f607c0..6a0d18d8fb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-required-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-required-utxo.cli @@ -1,15 +1,25 @@ -Usage: cardano-cli alonzo 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 | - --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] +Usage: cardano-cli alonzo 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 | + + --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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-value.cli index d0ac9c973e..13a765e6e0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-value.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-value.cli @@ -1,15 +1,25 @@ -Usage: cardano-cli alonzo 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 | - --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] +Usage: cardano-cli alonzo 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 | + + --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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_hash-script-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_hash-script-data.cli index f76a9c1cc8..f749168456 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_hash-script-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_hash-script-data.cli @@ -1,6 +1,8 @@ -Usage: cardano-cli alonzo transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) +Usage: cardano-cli alonzo 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_sign-witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_sign-witness.cli index 947592e068..cccd4837e9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_sign-witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_sign-witness.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli alonzo transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli alonzo transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_sign.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_sign.cli index 9f5cb7d071..c8987f8202 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_sign.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_sign.cli @@ -1,7 +1,9 @@ -Usage: cardano-cli alonzo transaction sign - (--tx-body-file FILEPATH | --tx-file FILEPATH) - [--signing-key-file FILEPATH [--address STRING]] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli alonzo 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_submit.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_submit.cli index ba53dfcf37..c8d36a0c3f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_submit.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_submit.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli alonzo transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH +Usage: cardano-cli alonzo 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_txid.cli index 9ce23f2ce3..bc7697789f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_txid.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_txid.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli alonzo transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli alonzo transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_witness.cli index c1b5c8c6c4..d0d1d374cf 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_witness.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli alonzo transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli alonzo transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [--mainnet | + --testnet-magic NATURAL] + --out-file FILEPATH Create a transaction witness diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_address_build.cli index d1f222a9ad..cac2879084 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_address_build.cli @@ -1,11 +1,13 @@ -Usage: cardano-cli babbage 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 babbage 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_address_key-gen.cli index def64e3c78..fbd91175bf 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_address_key-gen.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli babbage address key-gen - [--key-output-format STRING] - [--normal-key | --extended-key | --byron-key] - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli babbage 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_address_key-hash.cli index 36fbde5948..9a93be0a5a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_address_key-hash.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli babbage address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli babbage address key-hash (--payment-verification-key STRING | + + --payment-verification-key-file FILEPATH) + [--out-file FILEPATH] Print the hash of an address key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-cardano.cli index d1101596dd..06d38fe483 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-cardano.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-cardano.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli babbage 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] +Usage: cardano-cli babbage 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-staked.cli index fa19352d17..6f6d60f433 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-staked.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-staked.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli babbage 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) - [--bulk-pool-cred-files INT] [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] +Usage: cardano-cli babbage 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) + [--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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-testnet-data.cli index fe47bf5d12..23d3f37d54 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-testnet-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create-testnet-data.cli @@ -1,11 +1,21 @@ -Usage: cardano-cli babbage 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 +Usage: cardano-cli babbage 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create.cli index 68d43ee018..7ffe31fa58 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_create.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli babbage 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) +Usage: cardano-cli babbage 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_get-ver-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_get-ver-key.cli index 3b5bbaa974..aed7c9284f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_get-ver-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_get-ver-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli babbage genesis get-ver-key - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli babbage genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_initial-addr.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_initial-addr.cli index f2a773aed8..e0629567f2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_initial-addr.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_initial-addr.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli babbage genesis initial-addr - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli babbage 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_initial-txin.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_initial-txin.cli index 2b7a30e393..9a23d5cfca 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_initial-txin.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_initial-txin.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli babbage genesis initial-txin - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli babbage 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_key-gen-delegate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_key-gen-delegate.cli index 8bf642f832..981699d69a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_key-gen-delegate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_key-gen-delegate.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli babbage genesis key-gen-delegate - --verification-key-file FILEPATH --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli babbage 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_key-gen-genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_key-gen-genesis.cli index d65928542e..e8c24dc59e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_key-gen-genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_key-gen-genesis.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli babbage genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli babbage genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_key-gen-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_key-gen-utxo.cli index 854632e802..4bff578b51 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_key-gen-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis_key-gen-utxo.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli babbage genesis key-gen-utxo - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli babbage genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance.cli index efce941818..9826678b5b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli babbage governance - (create-mir-certificate | create-genesis-key-delegation-certificate | - action | create-poll | answer-poll | verify-poll) +Usage: cardano-cli babbage governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action | create-poll | answer-poll | + verify-poll) Governance commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_action_create-protocol-parameters-update.cli index ba57c82170..a931c71dfc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_action_create-protocol-parameters-update.cli @@ -1,19 +1,30 @@ -Usage: cardano-cli babbage governance action create-protocol-parameters-update - --epoch NATURAL (--genesis-verification-key-file FILEPATH) - [--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] - [--protocol-major-version MAJOR --protocol-minor-version MINOR] - [--utxo-cost-per-byte LOVELACE] [--cost-model-file FILE] - --out-file FILEPATH +Usage: cardano-cli babbage governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--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] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + [--utxo-cost-per-byte LOVELACE] + [--cost-model-file FILE] + --out-file FILEPATH Create a protocol parameters update. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_answer-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_answer-poll.cli index daa23cd007..a7896f2da4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_answer-poll.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_answer-poll.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli babbage governance answer-poll - --poll-file FILEPATH [--answer INT] [--out-file FILEPATH] +Usage: cardano-cli babbage governance answer-poll --poll-file FILEPATH + [--answer INT] + [--out-file FILEPATH] Answer an SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-genesis-key-delegation-certificate.cli index c7515ace27..649bfa748e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-genesis-key-delegation-certificate.cli @@ -1,12 +1,19 @@ -Usage: cardano-cli babbage 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 babbage 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 Create a genesis key delegation certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate.cli index ade1ba0f50..fb22c685a7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate.cli @@ -1,7 +1,14 @@ -Usage: cardano-cli babbage governance create-mir-certificate - ((--reserves | --treasury) (--stake-address ADDRESS) - (--reward LOVELACE) --out-file FILEPATH | - stake-addresses | transfer-to-treasury | transfer-to-rewards) +Usage: cardano-cli babbage 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate_stake-addresses.cli index 20023bdf16..1d0d928a09 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate_stake-addresses.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli babbage governance create-mir-certificate stake-addresses - (--reserves | --treasury) (--stake-address ADDRESS) (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli babbage governance create-mir-certificate stake-addresses (--reserves | + + --treasury) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH Create an MIR certificate to pay stake addresses diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate_transfer-to-rewards.cli index 4a3038c68a..da553233d3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli babbage governance create-mir-certificate transfer-to-rewards - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli babbage governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate_transfer-to-treasury.cli index 9ba4bafad1..b3e4469454 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli babbage governance create-mir-certificate transfer-to-treasury - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli babbage governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-poll.cli index 6ed4dec8c0..3252434f01 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-poll.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_create-poll.cli @@ -1,5 +1,7 @@ -Usage: cardano-cli babbage governance create-poll - --question STRING (--answer STRING) [--nonce UINT] --out-file FILEPATH +Usage: cardano-cli babbage governance create-poll --question STRING + (--answer STRING) + [--nonce UINT] + --out-file FILEPATH Create an SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_verify-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_verify-poll.cli index fb3f6523c1..eb9f7cec79 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_verify-poll.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_governance_verify-poll.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli babbage governance verify-poll - --poll-file FILEPATH --tx-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli babbage governance verify-poll --poll-file FILEPATH + --tx-file FILEPATH + [--out-file FILEPATH] Verify an answer to a given SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-byron-genesis-vkey.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-byron-genesis-vkey.cli index fddaf9df51..7a0d2c4853 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-byron-genesis-vkey.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-byron-genesis-vkey.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli babbage key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH +Usage: cardano-cli babbage 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-byron-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-byron-key.cli index f84bf1eff2..3e88947e95 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-byron-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-byron-key.cli @@ -1,11 +1,16 @@ -Usage: cardano-cli babbage 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 babbage 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-cardano-address-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-cardano-address-key.cli index fab15150e6..bef9345ce0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-cardano-address-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-cardano-address-key.cli @@ -1,7 +1,15 @@ -Usage: cardano-cli babbage 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 babbage 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-itn-bip32-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-itn-bip32-key.cli index c9e711a450..e57a392093 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-itn-bip32-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-itn-bip32-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli babbage key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli babbage 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-itn-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-itn-extended-key.cli index 1c3bec0747..0d06a7d73c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-itn-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-itn-extended-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli babbage key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli babbage 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-itn-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-itn-key.cli index 63634eaaee..aefa05f472 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-itn-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_convert-itn-key.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli babbage key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH +Usage: cardano-cli babbage 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_non-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_non-extended-key.cli index dfc4fd936e..f689fbbcac 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_non-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_non-extended-key.cli @@ -1,6 +1,5 @@ -Usage: cardano-cli babbage key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli babbage 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_verification-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_verification-key.cli index 4e59fd39c9..d61666939d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_verification-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key_verification-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli babbage key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH +Usage: cardano-cli babbage key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH Get a verification key from a signing key. This supports all key types. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_issue-op-cert.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_issue-op-cert.cli index 8e6db9bb2b..48698677a7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_issue-op-cert.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_issue-op-cert.cli @@ -1,8 +1,9 @@ -Usage: cardano-cli babbage 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 babbage 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-gen-KES.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-gen-KES.cli index 676741faa8..f8d54efb4a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-gen-KES.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-gen-KES.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli babbage node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli babbage 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-gen-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-gen-VRF.cli index 94d5a3da4c..fb85764d21 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-gen-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-gen-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli babbage node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli babbage 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-gen.cli index 7b0f10f6bd..0cc81785a9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-gen.cli @@ -1,7 +1,7 @@ -Usage: cardano-cli babbage 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 babbage 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-hash-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-hash-VRF.cli index 52b82687c8..3f221eb73c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-hash-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_key-hash-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli babbage node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli babbage node key-hash-VRF (--verification-key STRING | + --verification-key-file FILEPATH) + [--out-file FILEPATH] Print hash of a node's operational VRF key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_new-counter.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_new-counter.cli index d34c73ba6c..3416def2c2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_new-counter.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node_new-counter.cli @@ -1,8 +1,10 @@ -Usage: cardano-cli babbage 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 babbage 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_kes-period-info.cli index 8d3dda07f7..cf7cda6f10 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_kes-period-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_kes-period-info.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli babbage query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli babbage query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + --op-cert-file FILEPATH + [--out-file FILEPATH] Get information about the current KES period and your node's operational certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_leadership-schedule.cli index 37c3d72a58..f534954f82 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_leadership-schedule.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_leadership-schedule.cli @@ -1,11 +1,19 @@ -Usage: cardano-cli babbage 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] +Usage: cardano-cli babbage 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] Get the slots the node is expected to mint a block in (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_ledger-state.cli index e8a2dde362..3901e9ca3c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_ledger-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_ledger-state.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli babbage query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli babbage 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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_pool-params.cli index f96b2c2721..c040eb9632 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_pool-params.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_pool-params.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli babbage 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] +Usage: cardano-cli babbage 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] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_pool-state.cli index eb2df3fa37..57644658c8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_pool-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_pool-state.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli babbage 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] +Usage: cardano-cli babbage 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] Dump the pool state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_protocol-parameters.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_protocol-parameters.cli index 6c42fff9f6..7e8630fc83 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_protocol-parameters.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_protocol-parameters.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli babbage query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli babbage query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_protocol-state.cli index 6b9b09b695..aa361b8f5d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_protocol-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_protocol-state.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli babbage query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli babbage query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_ref-script-size.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_ref-script-size.cli index b734162b5e..36c31ac5b2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_ref-script-size.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_ref-script-size.cli @@ -1,7 +1,11 @@ -Usage: cardano-cli babbage query ref-script-size - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--tx-in TX-IN) (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] [--out-file FILEPATH] +Usage: cardano-cli babbage query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Calculate the reference input scripts size in bytes for provided transaction inputs. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_slot-number.cli index 3b848e77d8..93f57b8b2a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_slot-number.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_slot-number.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli babbage query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) TIMESTAMP +Usage: cardano-cli babbage query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + TIMESTAMP Query slot number for UTC timestamp diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-address-info.cli index ed3a8e8320..dd00ef94de 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-address-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-address-info.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli babbage 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 babbage query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-distribution.cli index 343231edbb..f872730ec8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-distribution.cli @@ -1,7 +1,11 @@ -Usage: cardano-cli babbage 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 babbage query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | + --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-pools.cli index 8dec98d056..3948d21da7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-pools.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-pools.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli babbage 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 babbage query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-snapshot.cli index 69d078f421..ffc4757049 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-snapshot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_stake-snapshot.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli babbage 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] +Usage: cardano-cli babbage 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] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tip.cli index cf28631f8b..c5def0fba2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tip.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tip.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli babbage query tip - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli babbage query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool.cli index 860c59ece6..5e599246b1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli babbage query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli babbage query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool_info.cli index 694b8a5458..3f48f0bc62 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool_info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool_info.cli @@ -1,8 +1,11 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli babbage query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli babbage query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool_next-tx.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool_next-tx.cli index 694b8a5458..3f48f0bc62 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool_next-tx.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool_next-tx.cli @@ -1,8 +1,11 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli babbage query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli babbage query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool_tx-exists_TX_ID.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool_tx-exists_TX_ID.cli index 694b8a5458..3f48f0bc62 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool_tx-exists_TX_ID.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_tx-mempool_tx-exists_TX_ID.cli @@ -1,8 +1,11 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli babbage query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli babbage query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_utxo.cli index c6f15f6c6e..f239f31d96 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query_utxo.cli @@ -1,8 +1,10 @@ -Usage: cardano-cli babbage 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 babbage 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] Get a portion of the current UTxO: by tx in, by address or the whole. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address.cli index 1db9703f1d..5b772acf1f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli babbage stake-address - (key-gen | key-hash | build | registration-certificate | - deregistration-certificate | stake-delegation-certificate) +Usage: cardano-cli babbage stake-address (key-gen | key-hash | build | + registration-certificate | + deregistration-certificate | + stake-delegation-certificate) Stake address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_build.cli index 9463394ec6..c5774c06d8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_build.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli babbage 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 babbage 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_deregistration-certificate.cli index de8d754d53..6676960b77 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_deregistration-certificate.cli @@ -1,8 +1,13 @@ -Usage: cardano-cli babbage stake-address deregistration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli babbage stake-address deregistration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_key-gen.cli index d62985c855..3ffe97ef2f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_key-gen.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli babbage stake-address key-gen - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli babbage stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a stake address key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_key-hash.cli index 914d8bcfbd..53b871c3a1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_key-hash.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli babbage stake-address key-hash - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli babbage stake-address key-hash (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH) + [--out-file FILEPATH] Print the hash of a stake address key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_registration-certificate.cli index e9adcb5b32..fd395c72b7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_registration-certificate.cli @@ -1,8 +1,13 @@ -Usage: cardano-cli babbage stake-address registration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli babbage stake-address registration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_stake-delegation-certificate.cli index 82936a0073..75e3793521 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_stake-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-address_stake-delegation-certificate.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli babbage 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 +Usage: cardano-cli babbage 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool.cli index ee6e42fa68..a3ec55d26c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli babbage stake-pool - (registration-certificate | deregistration-certificate | id | - metadata-hash) +Usage: cardano-cli babbage stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) Stake pool commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_deregistration-certificate.cli index 538384a09f..d1ac0812fd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_deregistration-certificate.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli babbage stake-pool deregistration-certificate - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) --epoch NATURAL - --out-file FILEPATH +Usage: cardano-cli babbage stake-pool deregistration-certificate (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + --epoch NATURAL + --out-file FILEPATH Create a stake pool deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_id.cli index 9e37a783ca..704ba16d47 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_id.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli babbage stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli babbage stake-pool id (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] Build pool id from the offline key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_metadata-hash.cli index 3e8d3bc109..fead4c6bd0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_metadata-hash.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli babbage stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli babbage stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_registration-certificate.cli index 8924ed53d4..57eab06f13 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_stake-pool_registration-certificate.cli @@ -1,18 +1,32 @@ -Usage: cardano-cli babbage stake-pool registration-certificate - (--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 +Usage: cardano-cli babbage stake-pool registration-certificate (--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 Create a stake pool registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_text-view_decode-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_text-view_decode-cbor.cli index 2c7e4d27fa..bbe35ae926 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_text-view_decode-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_text-view_decode-cbor.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli babbage text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli babbage text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction.cli index 3e4c11fac1..bf6499bdb4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli babbage transaction - (build-raw | build | build-estimate | sign | witness | assemble | - submit | policyid | calculate-min-fee | calculate-min-required-utxo | - hash-script-data | txid | view) +Usage: cardano-cli babbage transaction (build-raw | build | build-estimate | + sign | witness | assemble | submit | + policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid | view) Transaction commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_assemble.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_assemble.cli index 40ba3b7f5b..d5ac42061e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_assemble.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_assemble.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli babbage transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli babbage transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build-estimate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build-estimate.cli index 83d6812fa9..b3bcaaa42b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build-estimate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build-estimate.cli @@ -1,86 +1,152 @@ -Usage: cardano-cli babbage 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] - [--update-proposal-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli babbage 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] + [--update-proposal-file FILEPATH] + --out-file FILEPATH Build a balanced transaction without access to a live node (automatically estimates fees) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build-raw.cli index ed60dcec35..e9ff94fce1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build-raw.cli @@ -1,85 +1,141 @@ -Usage: cardano-cli babbage transaction build-raw - [--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 +Usage: cardano-cli babbage transaction build-raw [--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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build.cli index 26189f95d9..c16ff11834 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_build.cli @@ -1,77 +1,131 @@ -Usage: cardano-cli babbage transaction build - --socket-path SOCKET_PATH [--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] - (--out-file FILEPATH | --calculate-plutus-script-cost FILEPATH) +Usage: cardano-cli babbage transaction build --socket-path SOCKET_PATH + [--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] + (--out-file FILEPATH | + --calculate-plutus-script-cost FILEPATH) Build a balanced transaction (automatically calculates fees) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-fee.cli index 9d4aa97fec..c629e27ceb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-fee.cli @@ -1,9 +1,15 @@ -Usage: cardano-cli babbage 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] +Usage: cardano-cli babbage 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-required-utxo.cli index d33e8e6cc3..00c1e387b5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-required-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-required-utxo.cli @@ -1,15 +1,25 @@ -Usage: cardano-cli babbage 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 | - --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] +Usage: cardano-cli babbage 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 | + + --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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-value.cli index a631046618..ab4ee9d440 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-value.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-value.cli @@ -1,15 +1,25 @@ -Usage: cardano-cli babbage 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 | - --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] +Usage: cardano-cli babbage 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 | + + --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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_hash-script-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_hash-script-data.cli index 8bce9e8135..48a019685e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_hash-script-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_hash-script-data.cli @@ -1,6 +1,8 @@ -Usage: cardano-cli babbage transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) +Usage: cardano-cli babbage 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_sign-witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_sign-witness.cli index 19679f6b2f..8e20ed8524 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_sign-witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_sign-witness.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli babbage transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli babbage transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_sign.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_sign.cli index bb3589583c..6827861be8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_sign.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_sign.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli babbage transaction sign - (--tx-body-file FILEPATH | --tx-file FILEPATH) - [--signing-key-file FILEPATH [--address STRING]] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli babbage 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_submit.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_submit.cli index 928398a9f0..f95db3c63f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_submit.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_submit.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli babbage transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH +Usage: cardano-cli babbage 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_txid.cli index bb15f2853b..c615c1bf41 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_txid.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_txid.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli babbage transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli babbage transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_witness.cli index ef4bfab683..3e2806d939 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_witness.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli babbage transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli babbage transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [--mainnet | + --testnet-magic NATURAL] + --out-file FILEPATH Create a transaction witness diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-proposal-vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-proposal-vote.cli index 8a85724099..01f092b6a9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-proposal-vote.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-proposal-vote.cli @@ -1,7 +1,9 @@ -Usage: cardano-cli byron create-proposal-vote - (--mainnet | --testnet-magic NATURAL) --signing-key FILEPATH - --proposal-filepath FILEPATH (--vote-yes | --vote-no) - --output-filepath FILEPATH +Usage: cardano-cli byron create-proposal-vote (--mainnet | + --testnet-magic NATURAL) + --signing-key FILEPATH + --proposal-filepath FILEPATH + (--vote-yes | --vote-no) + --output-filepath FILEPATH Create an update proposal vote. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-update-proposal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-update-proposal.cli index 1b88f2615d..f3744b8be4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-update-proposal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-update-proposal.cli @@ -1,18 +1,31 @@ -Usage: cardano-cli byron create-update-proposal - (--mainnet | --testnet-magic NATURAL) --signing-key FILEPATH - --protocol-version-major WORD16 --protocol-version-minor WORD16 - --protocol-version-alt WORD8 --application-name STRING - --software-version-num WORD32 --system-tag STRING --installer-hash HASH - --filepath FILEPATH [--script-version WORD16] [--slot-duration NATURAL] - [--max-block-size NATURAL] [--max-header-size NATURAL] - [--max-tx-size NATURAL] [--max-proposal-size NATURAL] - [--max-mpc-thd DOUBLE] [--heavy-del-thd DOUBLE] - [--update-vote-thd DOUBLE] [--update-proposal-thd DOUBLE] - [--time-to-live WORD64] - [--softfork-init-thd DOUBLE --softfork-min-thd DOUBLE - --softfork-thd-dec DOUBLE] - [--tx-fee-a-constant INT --tx-fee-b-constant DOUBLE] - [--unlock-stake-epoch WORD64] +Usage: cardano-cli byron create-update-proposal (--mainnet | + --testnet-magic NATURAL) + --signing-key FILEPATH + --protocol-version-major WORD16 + --protocol-version-minor WORD16 + --protocol-version-alt WORD8 + --application-name STRING + --software-version-num WORD32 + --system-tag STRING + --installer-hash HASH + --filepath FILEPATH + [--script-version WORD16] + [--slot-duration NATURAL] + [--max-block-size NATURAL] + [--max-header-size NATURAL] + [--max-tx-size NATURAL] + [--max-proposal-size NATURAL] + [--max-mpc-thd DOUBLE] + [--heavy-del-thd DOUBLE] + [--update-vote-thd DOUBLE] + [--update-proposal-thd DOUBLE] + [--time-to-live WORD64] + [--softfork-init-thd DOUBLE + --softfork-min-thd DOUBLE + --softfork-thd-dec DOUBLE] + [--tx-fee-a-constant INT + --tx-fee-b-constant DOUBLE] + [--unlock-stake-epoch WORD64] Create an update proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis_genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis_genesis.cli index 036a263655..5e7354787f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis_genesis.cli @@ -1,9 +1,15 @@ -Usage: cardano-cli byron genesis genesis - --genesis-output-dir FILEPATH --start-time POSIXSECONDS - --protocol-parameters-file FILEPATH --k INT --protocol-magic INT - --n-poor-addresses INT --n-delegate-addresses INT --total-balance INT - --delegate-share DOUBLE --avvm-entry-count INT --avvm-entry-balance INT - [--avvm-balance-factor DOUBLE] [--secret-seed INT] +Usage: cardano-cli byron genesis genesis --genesis-output-dir FILEPATH + --start-time POSIXSECONDS + --protocol-parameters-file FILEPATH + --k INT --protocol-magic INT + --n-poor-addresses INT + --n-delegate-addresses INT + --total-balance INT + --delegate-share DOUBLE + --avvm-entry-count INT + --avvm-entry-balance INT + [--avvm-balance-factor DOUBLE] + [--secret-seed INT] Create genesis. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-proposal-vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-proposal-vote.cli index b42e107cfa..d58101c495 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-proposal-vote.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-proposal-vote.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli byron governance create-proposal-vote - (--mainnet | --testnet-magic NATURAL) --signing-key FILEPATH - --proposal-filepath FILEPATH (--vote-yes | --vote-no) - --output-filepath FILEPATH +Usage: cardano-cli byron governance create-proposal-vote (--mainnet | + --testnet-magic NATURAL) + --signing-key FILEPATH + --proposal-filepath FILEPATH + (--vote-yes | + --vote-no) + --output-filepath FILEPATH Create an update proposal vote. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-update-proposal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-update-proposal.cli index e14a804b0f..03360d27c2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-update-proposal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-update-proposal.cli @@ -1,18 +1,31 @@ -Usage: cardano-cli byron governance create-update-proposal - (--mainnet | --testnet-magic NATURAL) --signing-key FILEPATH - --protocol-version-major WORD16 --protocol-version-minor WORD16 - --protocol-version-alt WORD8 --application-name STRING - --software-version-num WORD32 --system-tag STRING --installer-hash HASH - --filepath FILEPATH [--script-version WORD16] [--slot-duration NATURAL] - [--max-block-size NATURAL] [--max-header-size NATURAL] - [--max-tx-size NATURAL] [--max-proposal-size NATURAL] - [--max-mpc-thd DOUBLE] [--heavy-del-thd DOUBLE] - [--update-vote-thd DOUBLE] [--update-proposal-thd DOUBLE] - [--time-to-live WORD64] - [--softfork-init-thd DOUBLE --softfork-min-thd DOUBLE - --softfork-thd-dec DOUBLE] - [--tx-fee-a-constant INT --tx-fee-b-constant DOUBLE] - [--unlock-stake-epoch WORD64] +Usage: cardano-cli byron governance create-update-proposal (--mainnet | + --testnet-magic NATURAL) + --signing-key FILEPATH + --protocol-version-major WORD16 + --protocol-version-minor WORD16 + --protocol-version-alt WORD8 + --application-name STRING + --software-version-num WORD32 + --system-tag STRING + --installer-hash HASH + --filepath FILEPATH + [--script-version WORD16] + [--slot-duration NATURAL] + [--max-block-size NATURAL] + [--max-header-size NATURAL] + [--max-tx-size NATURAL] + [--max-proposal-size NATURAL] + [--max-mpc-thd DOUBLE] + [--heavy-del-thd DOUBLE] + [--update-vote-thd DOUBLE] + [--update-proposal-thd DOUBLE] + [--time-to-live WORD64] + [--softfork-init-thd DOUBLE + --softfork-min-thd DOUBLE + --softfork-thd-dec DOUBLE] + [--tx-fee-a-constant INT + --tx-fee-b-constant DOUBLE] + [--unlock-stake-epoch WORD64] Create an update proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-proposal-vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-proposal-vote.cli index 8e656b10ee..2dc7fa845f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-proposal-vote.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-proposal-vote.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli byron governance submit-proposal-vote - --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) - --filepath FILEPATH +Usage: cardano-cli byron governance submit-proposal-vote --socket-path SOCKET_PATH + (--mainnet | + --testnet-magic NATURAL) + --filepath FILEPATH Submit a proposal vote. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-update-proposal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-update-proposal.cli index 66258ce946..3154bd2abd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-update-proposal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-update-proposal.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli byron governance submit-update-proposal - --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) - --filepath FILEPATH +Usage: cardano-cli byron governance submit-update-proposal --socket-path SOCKET_PATH + (--mainnet | + --testnet-magic NATURAL) + --filepath FILEPATH Submit an update proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_migrate-delegate-key-from.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_migrate-delegate-key-from.cli index 86366f9d70..1ed3656023 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_migrate-delegate-key-from.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_migrate-delegate-key-from.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli byron key migrate-delegate-key-from - --from FILEPATH --to FILEPATH +Usage: cardano-cli byron key migrate-delegate-key-from --from FILEPATH + --to FILEPATH Migrate a delegate key from an older version. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-address.cli index b069f4bb49..a9f5f37410 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-address.cli @@ -1,6 +1,8 @@ -Usage: cardano-cli byron key signing-key-address - [--byron-legacy-formats | --byron-formats] - (--mainnet | --testnet-magic NATURAL) --secret FILEPATH +Usage: cardano-cli byron key signing-key-address [--byron-legacy-formats | + --byron-formats] + (--mainnet | + --testnet-magic NATURAL) + --secret FILEPATH Print address of a signing key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-public.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-public.cli index 0e74483195..a44ab04628 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-public.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-public.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli byron key signing-key-public - [--byron-legacy-formats | --byron-formats] --secret FILEPATH +Usage: cardano-cli byron key signing-key-public [--byron-legacy-formats | + --byron-formats] + --secret FILEPATH Pretty-print a signing key's verification key (not a secret). diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_to-verification.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_to-verification.cli index d9b945df21..ab600eff8f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_to-verification.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_to-verification.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli byron key to-verification - [--byron-legacy-formats | --byron-formats] --secret FILEPATH - --to FILEPATH +Usage: cardano-cli byron key to-verification [--byron-legacy-formats | + --byron-formats] + --secret FILEPATH --to FILEPATH Extract a verification key in its base64 form. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous_validate-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous_validate-cbor.cli index 5915370500..ce7f065f5d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous_validate-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous_validate-cbor.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli byron miscellaneous validate-cbor - [--byron-block INT | --byron-delegation-certificate | --byron-tx | - --byron-update-proposal | --byron-vote] --filepath FILEPATH +Usage: cardano-cli byron miscellaneous validate-cbor [--byron-block INT | + --byron-delegation-certificate | + --byron-tx | + --byron-update-proposal | + --byron-vote] + --filepath FILEPATH Validate a CBOR blockchain object. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-proposal-vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-proposal-vote.cli index 09efe5c503..1e621365bd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-proposal-vote.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-proposal-vote.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli byron submit-proposal-vote - --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) - --filepath FILEPATH +Usage: cardano-cli byron submit-proposal-vote --socket-path SOCKET_PATH + (--mainnet | + --testnet-magic NATURAL) + --filepath FILEPATH Submit a proposal vote. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-update-proposal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-update-proposal.cli index 75254b531d..328c070299 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-update-proposal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-update-proposal.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli byron submit-update-proposal - --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) - --filepath FILEPATH +Usage: cardano-cli byron submit-update-proposal --socket-path SOCKET_PATH + (--mainnet | + --testnet-magic NATURAL) + --filepath FILEPATH Submit an update proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction.cli index 189f585706..be38883916 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli byron transaction - (submit-tx | issue-genesis-utxo-expenditure | issue-utxo-expenditure | - txid) +Usage: cardano-cli byron transaction (submit-tx | + issue-genesis-utxo-expenditure | + issue-utxo-expenditure | txid) Byron transaction commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-genesis-utxo-expenditure.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-genesis-utxo-expenditure.cli index 7e704aa125..9cdecb7d20 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-genesis-utxo-expenditure.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-genesis-utxo-expenditure.cli @@ -1,8 +1,14 @@ -Usage: cardano-cli byron transaction issue-genesis-utxo-expenditure - --genesis-json FILEPATH (--mainnet | --testnet-magic NATURAL) - [--byron-legacy-formats | --byron-formats] --tx FILEPATH - --wallet-key FILEPATH --rich-addr-from ADDR - (--txout '("ADDR", LOVELACE)') +Usage: cardano-cli byron transaction issue-genesis-utxo-expenditure --genesis-json FILEPATH + (--mainnet | + + --testnet-magic NATURAL) + [--byron-legacy-formats | + + --byron-formats] + --tx FILEPATH + --wallet-key FILEPATH + --rich-addr-from ADDR + (--txout '("ADDR", LOVELACE)') Write a file with a signed transaction, spending genesis UTxO. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-utxo-expenditure.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-utxo-expenditure.cli index 615d27d30a..88476505e7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-utxo-expenditure.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-utxo-expenditure.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli byron transaction issue-utxo-expenditure - (--mainnet | --testnet-magic NATURAL) - [--byron-legacy-formats | --byron-formats] --tx FILEPATH - --wallet-key FILEPATH (--txin (TXID,INDEX)) - (--txout '("ADDR", LOVELACE)') +Usage: cardano-cli byron transaction issue-utxo-expenditure (--mainnet | + --testnet-magic NATURAL) + [--byron-legacy-formats | + --byron-formats] + --tx FILEPATH + --wallet-key FILEPATH + (--txin (TXID,INDEX)) + (--txout '("ADDR", LOVELACE)') Write a file with a signed transaction, spending normal UTxO. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_submit-tx.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_submit-tx.cli index 6433df0ea9..ba815a9d5d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_submit-tx.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_submit-tx.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli byron transaction submit-tx - --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) - --tx FILEPATH +Usage: cardano-cli byron transaction submit-tx --socket-path SOCKET_PATH + (--mainnet | + --testnet-magic NATURAL) + --tx FILEPATH Submit a raw, signed transaction, in its on-wire representation. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_build.cli index a8aa407765..5360aadea9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_build.cli @@ -1,11 +1,13 @@ -Usage: cardano-cli conway 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 conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-gen.cli index ce69eb01b2..0bbfa806be 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-gen.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli conway address key-gen - [--key-output-format STRING] - [--normal-key | --extended-key | --byron-key] - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-hash.cli index 62fb851aa2..5cb28f39ce 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-hash.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli conway address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli conway address key-hash (--payment-verification-key STRING | + --payment-verification-key-file FILEPATH) + [--out-file FILEPATH] Print the hash of an address key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-cardano.cli index 88d82864f3..4cebbd886d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-cardano.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-cardano.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli conway 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] +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-staked.cli index 55b465a5f5..9763f45965 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-staked.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-staked.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli conway 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) - [--bulk-pool-cred-files INT] [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] +Usage: cardano-cli conway 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) + [--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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-testnet-data.cli index a57b52279b..c768137d8b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-testnet-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-testnet-data.cli @@ -1,11 +1,20 @@ -Usage: cardano-cli conway 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 +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create.cli index 1b827ff321..12a33bc0fa 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli conway 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) +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_get-ver-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_get-ver-key.cli index 3b313c3adf..f5dd670ad0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_get-ver-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_get-ver-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli conway genesis get-ver-key - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli conway genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-addr.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-addr.cli index c3c410fc84..bae3f2c264 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-addr.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-addr.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli conway genesis initial-addr - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-txin.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-txin.cli index 8c8aa69009..90e8e1bb71 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-txin.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-txin.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli conway genesis initial-txin - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-delegate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-delegate.cli index 01a2a3bdbb..f912c44058 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-delegate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-delegate.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli conway genesis key-gen-delegate - --verification-key-file FILEPATH --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-genesis.cli index ec04f1659b..aa65359cea 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-genesis.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli conway genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli conway genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-utxo.cli index 0533c13a4e..8f2b6479cb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-utxo.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli conway genesis key-gen-utxo - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli conway genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action.cli index d67a93376a..9275e7f229 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action.cli @@ -1,7 +1,9 @@ -Usage: cardano-cli conway governance action - (create-constitution | update-committee | create-info | - create-no-confidence | create-protocol-parameters-update | - create-treasury-withdrawal | create-hardfork | view) +Usage: cardano-cli conway governance action (create-constitution | + update-committee | create-info | + create-no-confidence | + create-protocol-parameters-update | + create-treasury-withdrawal | + create-hardfork | view) Governance action commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-constitution.cli index 5a7987270b..6638dea69e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-constitution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-constitution.cli @@ -1,15 +1,23 @@ -Usage: cardano-cli conway 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 +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-hardfork.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-hardfork.cli index c40265ee8a..df25f9a9c5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-hardfork.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-hardfork.cli @@ -1,14 +1,22 @@ -Usage: cardano-cli conway 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 conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-info.cli index 3508b76a0c..1c1ba08463 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-info.cli @@ -1,11 +1,17 @@ -Usage: cardano-cli conway 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 +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-no-confidence.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-no-confidence.cli index 8e026c671f..01a998d5eb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-no-confidence.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-no-confidence.cli @@ -1,13 +1,20 @@ -Usage: cardano-cli conway 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 +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli index b2e8ccdf26..c489dd4480 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli @@ -1,45 +1,66 @@ -Usage: cardano-cli conway 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 conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-treasury-withdrawal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-treasury-withdrawal.cli index 30a4328e74..ff2d23c229 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-treasury-withdrawal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-treasury-withdrawal.cli @@ -1,15 +1,27 @@ -Usage: cardano-cli conway 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 conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_update-committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_update-committee.cli index 979da3d17e..0ba16d1293 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_update-committee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_update-committee.cli @@ -1,23 +1,37 @@ -Usage: cardano-cli conway 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 +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_view.cli index 38e025ff56..a82372293a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_view.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli conway governance action view - --action-file FILEPATH [--output-json | --output-yaml] - [--out-file FILEPATH] +Usage: cardano-cli conway governance action view --action-file FILEPATH + [--output-json | --output-yaml] + [--out-file FILEPATH] View a governance action. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee.cli index 2101abf3f2..12487f5598 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli conway governance committee - (key-gen-cold | key-gen-hot | key-hash | - create-hot-key-authorization-certificate | - create-cold-key-resignation-certificate) +Usage: cardano-cli conway governance committee (key-gen-cold | key-gen-hot | + key-hash | + create-hot-key-authorization-certificate | + + create-cold-key-resignation-certificate) Committee member commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-cold-key-resignation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-cold-key-resignation-certificate.cli index e98f02fcca..52b24cc898 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-cold-key-resignation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-cold-key-resignation-certificate.cli @@ -1,10 +1,15 @@ -Usage: cardano-cli conway 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 conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-hot-key-authorization-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-hot-key-authorization-certificate.cli index 52b0c0d810..ee9cca3054 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-hot-key-authorization-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-hot-key-authorization-certificate.cli @@ -1,11 +1,22 @@ -Usage: cardano-cli conway 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 conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-cold.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-cold.cli index b24a157b2b..f5d26fade4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-cold.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-cold.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli conway governance committee key-gen-cold - --cold-verification-key-file FILEPATH --cold-signing-key-file FILEPATH +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-hot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-hot.cli index 1cc69fbea6..9b14c2d081 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-hot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-hot.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli conway governance committee key-gen-hot - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli conway governance committee key-gen-hot --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a hot key pair for a Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-hash.cli index f4255ac9b9..74f1660ea0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-hash.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli conway governance committee key-hash - (--verification-key STRING | --verification-key-file FILEPATH) +Usage: cardano-cli conway governance committee key-hash (--verification-key STRING | + + --verification-key-file FILEPATH) Print the identifier (hash) of a public key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep.cli index 466a1e5b7d..c6c38e66bc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli conway governance drep - (key-gen | id | registration-certificate | retirement-certificate | - update-certificate | metadata-hash) +Usage: cardano-cli conway governance drep (key-gen | id | + registration-certificate | + retirement-certificate | + update-certificate | metadata-hash) DRep member commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_id.cli index df06287925..4bf69c3844 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_id.cli @@ -1,7 +1,7 @@ -Usage: cardano-cli conway governance drep id - (--drep-verification-key STRING | - --drep-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli conway governance drep id (--drep-verification-key STRING | + --drep-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] Generate a drep id. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_key-gen.cli index 7b2250085f..862486a495 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_key-gen.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli conway governance drep key-gen - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli conway governance drep key-gen --verification-key-file FILEPATH + --signing-key-file FILEPATH Generate Delegated Representative verification and signing keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_metadata-hash.cli index 9676987169..8f33af70f7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_metadata-hash.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli conway governance drep metadata-hash - --drep-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli conway governance drep metadata-hash --drep-metadata-file FILEPATH + [--out-file FILEPATH] Calculate the hash of a metadata file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_registration-certificate.cli index bca5435558..3c8e3254c2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_registration-certificate.cli @@ -1,9 +1,14 @@ -Usage: cardano-cli conway 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 conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_retirement-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_retirement-certificate.cli index 65b017e277..673080bfe0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_retirement-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_retirement-certificate.cli @@ -1,7 +1,12 @@ -Usage: cardano-cli conway 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 conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_update-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_update-certificate.cli index cdaf396386..1c2fdbdfeb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_update-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_update-certificate.cli @@ -1,8 +1,13 @@ -Usage: cardano-cli conway 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 conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_create.cli index a3f576a4db..5970d11cc4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_create.cli @@ -1,14 +1,25 @@ -Usage: cardano-cli conway 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 conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_view.cli index 5a5b194f4d..20f18d73ae 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_view.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli conway governance vote view - [--output-json | --output-yaml] --vote-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli conway governance vote view [--output-json | --output-yaml] + --vote-file FILEPATH + [--out-file FILEPATH] Vote viewing. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-genesis-vkey.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-genesis-vkey.cli index fc36eba715..aa0e8793cc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-genesis-vkey.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-genesis-vkey.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli conway key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-key.cli index 338ae43c8a..a9b290390a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-key.cli @@ -1,11 +1,16 @@ -Usage: cardano-cli conway 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 conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-cardano-address-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-cardano-address-key.cli index a4a4f34198..5a64a32c7e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-cardano-address-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-cardano-address-key.cli @@ -1,7 +1,14 @@ -Usage: cardano-cli conway 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 conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-bip32-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-bip32-key.cli index 88cd64833c..7226ba3e34 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-bip32-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-bip32-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli conway key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-extended-key.cli index 6d8f3820d7..9f2c11bd92 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-extended-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli conway key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-key.cli index b35659cf7e..fc2a6c08e4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-key.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli conway key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_non-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_non-extended-key.cli index 27d8bf6ee8..b68bbb415d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_non-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_non-extended-key.cli @@ -1,6 +1,5 @@ -Usage: cardano-cli conway key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_verification-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_verification-key.cli index 5557ca1280..affae1c922 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_verification-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_verification-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli conway key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH +Usage: cardano-cli conway key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH Get a verification key from a signing key. This supports all key types. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_issue-op-cert.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_issue-op-cert.cli index ebdfa7d7a1..3a5aea0b8a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_issue-op-cert.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_issue-op-cert.cli @@ -1,8 +1,9 @@ -Usage: cardano-cli conway 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 conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-KES.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-KES.cli index f75b3e5195..30130b75b7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-KES.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-KES.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli conway node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-VRF.cli index 3e5a6c10e9..9c0d9386ab 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli conway node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen.cli index b06cacc562..1d6a796e56 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen.cli @@ -1,7 +1,7 @@ -Usage: cardano-cli conway 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 conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-hash-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-hash-VRF.cli index be88a27797..afd143a909 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-hash-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-hash-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli conway node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli conway node key-hash-VRF (--verification-key STRING | + --verification-key-file FILEPATH) + [--out-file FILEPATH] Print hash of a node's operational VRF key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_new-counter.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_new-counter.cli index 4223be7bea..1d4f0f359e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_new-counter.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_new-counter.cli @@ -1,8 +1,10 @@ -Usage: cardano-cli conway 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 conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_committee-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_committee-state.cli index 7f6b9cade5..c59e54da41 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_committee-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_committee-state.cli @@ -1,12 +1,23 @@ -Usage: cardano-cli conway 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] +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_constitution.cli index b3f59adbc0..f0f3b3687e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_constitution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_constitution.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli conway query constitution - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli index a3ab678dd7..9f7149dafc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli @@ -1,10 +1,19 @@ -Usage: cardano-cli conway 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] +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli index ce8bd994fa..f17fe0b20b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli @@ -1,11 +1,15 @@ -Usage: cardano-cli conway 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] +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_gov-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_gov-state.cli index 5bab564bab..0517068cf5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_gov-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_gov-state.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli conway query gov-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_kes-period-info.cli index 7bc789fb5b..9455fb023e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_kes-period-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_kes-period-info.cli @@ -1,7 +1,12 @@ -Usage: cardano-cli conway query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] +Usage: cardano-cli conway query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--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 certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_leadership-schedule.cli index a516fe625b..8f522822c9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_leadership-schedule.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_leadership-schedule.cli @@ -1,11 +1,21 @@ -Usage: cardano-cli conway 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) [--volatile-tip | --immutable-tip] - [--output-json | --output-text] [--out-file FILEPATH] +Usage: cardano-cli conway 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) + [--volatile-tip | + --immutable-tip] + [--output-json | + --output-text] + [--out-file FILEPATH] Get the slots the node is expected to mint a block in (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ledger-state.cli index 425311e0bf..8989d7c01b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ledger-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ledger-state.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli conway query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] +Usage: cardano-cli conway 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 command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-params.cli index f189772023..ca46fd035c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-params.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-params.cli @@ -1,8 +1,12 @@ -Usage: cardano-cli conway 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)) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] +Usage: cardano-cli conway 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)) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-state.cli index 67c1fcd26c..a7c5d293e9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-state.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli conway 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)) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] +Usage: cardano-cli conway 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)) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Dump the pool state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-parameters.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-parameters.cli index b32e1fe775..0bfedbed95 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-parameters.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-parameters.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli conway query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli conway query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-state.cli index dc13300fe5..5c20e2d14c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-state.cli @@ -1,7 +1,11 @@ -Usage: cardano-cli conway query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] +Usage: cardano-cli conway 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 command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ref-script-size.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ref-script-size.cli index d308b681c6..30c01b6cb0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ref-script-size.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ref-script-size.cli @@ -1,8 +1,13 @@ -Usage: cardano-cli conway 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] +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_slot-number.cli index 069bd91028..d04a1873cb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_slot-number.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_slot-number.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli conway query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] TIMESTAMP +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_spo-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_spo-stake-distribution.cli index 7fcb466f9a..5b1fab917e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_spo-stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_spo-stake-distribution.cli @@ -1,10 +1,16 @@ -Usage: cardano-cli conway 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] +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-address-info.cli index 05ac9e4108..565332793f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-address-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-address-info.cli @@ -1,7 +1,12 @@ -Usage: cardano-cli conway query stake-address-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - --address ADDRESS (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] +Usage: cardano-cli conway query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--volatile-tip | + --immutable-tip] + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-distribution.cli index c1e4834a59..ddfbef1826 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-distribution.cli @@ -1,8 +1,13 @@ -Usage: cardano-cli conway query stake-distribution - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli conway query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--volatile-tip | + --immutable-tip] + [--output-json | + --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-pools.cli index 1b696eb773..509cd0b195 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-pools.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-pools.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli conway 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] +Usage: cardano-cli conway 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] Get the node's current set of stake pool ids diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-snapshot.cli index 9ff7ca5852..9d8482c6e4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-snapshot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-snapshot.cli @@ -1,8 +1,13 @@ -Usage: cardano-cli conway 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)) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] +Usage: cardano-cli conway 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)) + [--volatile-tip | + --immutable-tip] + [--out-file FILEPATH] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tip.cli index d1f33a7e50..27a5bf219d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tip.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tip.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli conway query tip - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] +Usage: cardano-cli conway 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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_treasury.cli index 65674e1cfb..492f44cefe 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_treasury.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli conway query treasury - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool.cli index b90965fae9..991a3d870f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool.cli @@ -1,7 +1,9 @@ -Usage: cardano-cli conway query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli conway query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_info.cli index 9ba3466765..fd1facb420 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_info.cli @@ -1,8 +1,10 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli conway query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli conway query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_next-tx.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_next-tx.cli index 9ba3466765..fd1facb420 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_next-tx.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_next-tx.cli @@ -1,8 +1,10 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli conway query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli conway query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_tx-exists_TX_ID.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_tx-exists_TX_ID.cli index 9ba3466765..fd1facb420 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_tx-exists_TX_ID.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_tx-exists_TX_ID.cli @@ -1,8 +1,10 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli conway query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli conway query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_utxo.cli index f660e619a6..144f2dee9d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_utxo.cli @@ -1,9 +1,11 @@ -Usage: cardano-cli conway query utxo - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--whole-utxo | (--address ADDRESS) | (--tx-in TX-IN)) - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli conway query utxo --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--whole-utxo | (--address ADDRESS) | + (--tx-in TX-IN)) + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--output-json | --output-text] + [--out-file FILEPATH] Get a portion of the current UTxO: by tx in, by address or the whole. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address.cli index 6d19287c46..ff2b089821 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address.cli @@ -1,7 +1,9 @@ -Usage: cardano-cli conway stake-address - (key-gen | key-hash | build | registration-certificate | - deregistration-certificate | stake-delegation-certificate | - stake-and-vote-delegation-certificate | vote-delegation-certificate) +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_build.cli index dc236a4bdd..7c0a8c8ef0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_build.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli conway 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 conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_deregistration-certificate.cli index adde5fab7b..8ec88fc850 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_deregistration-certificate.cli @@ -1,8 +1,14 @@ -Usage: cardano-cli conway 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 +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-gen.cli index 935b38d3e8..9accb9eb32 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-gen.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli conway stake-address key-gen - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli conway stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a stake address key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-hash.cli index 957fe145ed..701f9b4e00 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-hash.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli conway stake-address key-hash - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli conway stake-address key-hash (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH) + [--out-file FILEPATH] Print the hash of a stake address key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-certificate.cli index 9f6debeebc..8061fe7222 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-certificate.cli @@ -1,8 +1,14 @@ -Usage: cardano-cli conway 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 +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-and-vote-delegation-certificate.cli index 1e21e4d122..4c5471ce5e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-and-vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-and-vote-delegation-certificate.cli @@ -1,13 +1,29 @@ -Usage: cardano-cli conway 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 +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-delegation-certificate.cli index 2e00da8705..a1bef317e7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-delegation-certificate.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli conway 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 +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_vote-delegation-certificate.cli index 02bb3a7689..081520d572 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_vote-delegation-certificate.cli @@ -1,10 +1,24 @@ -Usage: cardano-cli conway 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 +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool.cli index 1d73f0d11b..7df3dafa00 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli conway stake-pool - (registration-certificate | deregistration-certificate | id | - metadata-hash) +Usage: cardano-cli conway stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) Stake pool commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_deregistration-certificate.cli index 450a4985a6..ab3c9b6d2d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_deregistration-certificate.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli conway stake-pool deregistration-certificate - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) --epoch NATURAL - --out-file FILEPATH +Usage: cardano-cli conway stake-pool deregistration-certificate (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + --epoch NATURAL + --out-file FILEPATH Create a stake pool deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_id.cli index 375bf7df19..138c9b8280 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_id.cli @@ -1,7 +1,7 @@ -Usage: cardano-cli conway stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli conway stake-pool id (--stake-pool-verification-key STRING | + --cold-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] Build pool id from the offline key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_metadata-hash.cli index 0eacc0138d..a1e674f67e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_metadata-hash.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli conway stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli conway stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_registration-certificate.cli index 12ec2fb6ce..6c26a611c5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_registration-certificate.cli @@ -1,18 +1,32 @@ -Usage: cardano-cli conway stake-pool registration-certificate - (--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 +Usage: cardano-cli conway stake-pool registration-certificate (--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 Create a stake pool registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_text-view_decode-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_text-view_decode-cbor.cli index 7b33654784..12160b0295 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_text-view_decode-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_text-view_decode-cbor.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli conway text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli conway text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction.cli index b7e1d48aa3..7e0cfccc90 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli conway transaction - (build-raw | build | build-estimate | sign | witness | assemble | - submit | policyid | calculate-min-fee | calculate-min-required-utxo | - hash-script-data | txid | view) +Usage: cardano-cli conway transaction (build-raw | build | build-estimate | + sign | witness | assemble | submit | + policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid | view) Transaction commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_assemble.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_assemble.cli index 5e5ecfe495..0d5ef66bc7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_assemble.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_assemble.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli conway transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli conway transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-estimate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-estimate.cli index f488cd54bd..0c22758235 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-estimate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-estimate.cli @@ -1,111 +1,189 @@ -Usage: cardano-cli conway 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 +Usage: cardano-cli conway 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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli index 56f6988fc6..cf03985b99 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli @@ -1,110 +1,174 @@ -Usage: cardano-cli conway transaction build-raw - [--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] - [--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 +Usage: cardano-cli conway transaction build-raw [--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] + [--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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build.cli index c17ee424ac..7f1d8486c3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build.cli @@ -1,95 +1,157 @@ -Usage: cardano-cli conway transaction build - --socket-path SOCKET_PATH [--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] - [--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) +Usage: cardano-cli conway transaction build --socket-path SOCKET_PATH + [--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] + [--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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli index 22388e5490..eac0553747 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli @@ -1,9 +1,15 @@ -Usage: cardano-cli conway 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] +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-required-utxo.cli index 2352a6fcfd..0dd6f254d2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-required-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-required-utxo.cli @@ -1,15 +1,25 @@ -Usage: cardano-cli conway 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 | - --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] +Usage: cardano-cli conway 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 | + + --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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-value.cli index 655203c15c..7fb8e5ae53 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-value.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-value.cli @@ -1,15 +1,25 @@ -Usage: cardano-cli conway 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 | - --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] +Usage: cardano-cli conway 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 | + + --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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_hash-script-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_hash-script-data.cli index ec7487c93d..c1efa1ba87 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_hash-script-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_hash-script-data.cli @@ -1,6 +1,8 @@ -Usage: cardano-cli conway transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign-witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign-witness.cli index 55cc68b802..43e20a956a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign-witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign-witness.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli conway transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli conway transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign.cli index 0bd767b07e..e7aded62e6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign.cli @@ -1,7 +1,9 @@ -Usage: cardano-cli conway transaction sign - (--tx-body-file FILEPATH | --tx-file FILEPATH) - [--signing-key-file FILEPATH [--address STRING]] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_submit.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_submit.cli index 34598e3d59..231ecacabd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_submit.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_submit.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli conway transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH +Usage: cardano-cli conway 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_txid.cli index 6d1db759cc..f04906fb72 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_txid.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_txid.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli conway transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli conway transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_witness.cli index 3cd6977da6..b05986614e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_witness.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli conway transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli conway transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [--mainnet | + --testnet-magic NATURAL] + --out-file FILEPATH Create a transaction witness diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_log-epoch-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_log-epoch-state.cli index ccca76a144..b8343928bc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_log-epoch-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_log-epoch-state.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli debug log-epoch-state - --socket-path SOCKET_PATH --node-configuration-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli debug log-epoch-state --socket-path SOCKET_PATH + --node-configuration-file FILEPATH + --out-file FILEPATH Log epoch state of a running node. This command will connect to a local node and log the epoch state to a file. The log file format is line delimited JSON. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_transaction_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_transaction_view.cli index e3251c3415..26cae90928 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_transaction_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_transaction_view.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli debug transaction view - [--output-json | --output-yaml] [--out-file FILEPATH] - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli debug transaction view [--output-json | --output-yaml] + [--out-file FILEPATH] + (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction. 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 2ecf6de1be..a996dff491 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,20 @@ -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 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 a Byron and Shelley genesis file from a genesis template and genesis/delegation/spending keys. 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 d268391ce9..67770a455e 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,19 @@ -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 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] Create a staked Shelley genesis file from a genesis template and genesis/delegation/spending keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_get-ver-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_get-ver-key.cli index c610e9ac41..51b6826173 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_get-ver-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_get-ver-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-addr.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-addr.cli index 74bd138c65..2650265b32 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-addr.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-addr.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-txin.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-txin.cli index f314213aba..e4aa8073d5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-txin.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-txin.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-delegate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-delegate.cli index dcfd57829b..cde67ff9c2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-delegate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-delegate.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-genesis.cli index 5de67e262e..26936b862a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-genesis.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-utxo.cli index 7933e4ce90..0327dc902e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-utxo.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_answer-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_answer-poll.cli index f4f310e63e..7bfa4adc8b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_answer-poll.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_answer-poll.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli governance answer-poll - --poll-file FILEPATH [--answer INT] [--out-file FILEPATH] +Usage: cardano-cli governance answer-poll --poll-file FILEPATH [--answer INT] + [--out-file FILEPATH] Answer an SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-genesis-key-delegation-certificate.cli index 8a59b58bd5..bbc3f8ed34 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-genesis-key-delegation-certificate.cli @@ -1,14 +1,28 @@ -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 +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate.cli index 85c676ccd1..2bada45abc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate.cli @@ -1,9 +1,16 @@ -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) +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_stake-addresses.cli index a6b746935b..cbb4557cec 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_stake-addresses.cli @@ -1,7 +1,18 @@ -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 +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-rewards.cli index 1358747bcb..dbbe59c6ac 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,6 +1,14 @@ -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 +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-treasury.cli index 834c7e3a90..bfc5d3bf9c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,6 +1,14 @@ -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 +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-poll.cli index 30baf4c4f0..c40d43a472 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-poll.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-poll.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli governance create-poll - --question STRING (--answer STRING) [--nonce UINT] --out-file FILEPATH +Usage: cardano-cli governance create-poll --question STRING (--answer STRING) + [--nonce UINT] --out-file FILEPATH Create an SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-update-proposal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-update-proposal.cli index 183e06ebc9..2ad4744a90 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-update-proposal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-update-proposal.cli @@ -1,21 +1,34 @@ -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] +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_verify-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_verify-poll.cli index a954d34fd3..04db97fdc7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_verify-poll.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_verify-poll.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli governance verify-poll - --poll-file FILEPATH --tx-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli governance verify-poll --poll-file FILEPATH + --tx-file FILEPATH + [--out-file FILEPATH] Verify an answer to a given SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_anchor-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_anchor-data.cli index 99b5267784..7e3c29c835 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_anchor-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_anchor-data.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli hash anchor-data - (--text TEXT | --file-binary FILEPATH | --file-text FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli hash anchor-data (--text TEXT | --file-binary FILEPATH | + --file-text FILEPATH) + [--out-file FILEPATH] Compute the hash of some anchor data (to then pass it to other commands). diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-genesis-utxo-expenditure.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-genesis-utxo-expenditure.cli index 47430d0085..b838650a70 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-genesis-utxo-expenditure.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-genesis-utxo-expenditure.cli @@ -1,8 +1,12 @@ -Usage: cardano-cli issue-genesis-utxo-expenditure - --genesis-json FILEPATH (--mainnet | --testnet-magic NATURAL) - [--byron-legacy-formats | --byron-formats] --tx FILEPATH - --wallet-key FILEPATH --rich-addr-from ADDR - (--txout '("ADDR", LOVELACE)') +Usage: cardano-cli issue-genesis-utxo-expenditure --genesis-json FILEPATH + (--mainnet | + --testnet-magic NATURAL) + [--byron-legacy-formats | + --byron-formats] + --tx FILEPATH + --wallet-key FILEPATH + --rich-addr-from ADDR + (--txout '("ADDR", LOVELACE)') Write a file with a signed transaction, spending genesis UTxO. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-utxo-expenditure.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-utxo-expenditure.cli index cb389c1630..53f1520213 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-utxo-expenditure.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-utxo-expenditure.cli @@ -1,8 +1,9 @@ -Usage: cardano-cli issue-utxo-expenditure - (--mainnet | --testnet-magic NATURAL) - [--byron-legacy-formats | --byron-formats] --tx FILEPATH - --wallet-key FILEPATH (--txin (TXID,INDEX)) - (--txout '("ADDR", LOVELACE)') +Usage: cardano-cli issue-utxo-expenditure (--mainnet | --testnet-magic NATURAL) + [--byron-legacy-formats | + --byron-formats] --tx FILEPATH + --wallet-key FILEPATH + (--txin (TXID,INDEX)) + (--txout '("ADDR", LOVELACE)') Write a file with a signed transaction, spending normal UTxO. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-genesis-vkey.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-genesis-vkey.cli index d42eaace7d..b311e9a6ce 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-genesis-vkey.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-genesis-vkey.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH +Usage: cardano-cli 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-key.cli index 9e918773dd..231637fa49 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-key.cli @@ -1,11 +1,13 @@ -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 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-cardano-address-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-cardano-address-key.cli index bafcb4fc08..3b38cdd6e5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-cardano-address-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-cardano-address-key.cli @@ -1,7 +1,11 @@ -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 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-bip32-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-bip32-key.cli index f09a2269ee..832582a67a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-bip32-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-bip32-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-extended-key.cli index d619f2c547..cb9c224cea 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-extended-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-key.cli index 7e55f9d8f5..e5e5044848 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-key.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH +Usage: cardano-cli 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_non-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_non-extended-key.cli index b62ccff337..27b50607ff 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_non-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_non-extended-key.cli @@ -1,6 +1,5 @@ -Usage: cardano-cli key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_verification-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_verification-key.cli index 1607627604..0747aa1d8b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_verification-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_verification-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH +Usage: cardano-cli key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH Get a verification key from a signing key. This supports all key types. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_build.cli index 8d9b56870b..19793371a9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_build.cli @@ -1,11 +1,13 @@ -Usage: cardano-cli latest 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 latest 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-gen.cli index e3f6e32ab8..28c493b092 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-gen.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli latest address key-gen - [--key-output-format STRING] - [--normal-key | --extended-key | --byron-key] - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli latest 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-hash.cli index e9bc4417ce..dff8430d52 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-hash.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli latest address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli latest address key-hash (--payment-verification-key STRING | + --payment-verification-key-file FILEPATH) + [--out-file FILEPATH] Print the hash of an address key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-cardano.cli index 9588d0d7c2..bef21f0c00 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-cardano.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-cardano.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli latest 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] +Usage: cardano-cli latest 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-staked.cli index 2aa7c37a75..4f9fd790d3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-staked.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-staked.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli latest 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) - [--bulk-pool-cred-files INT] [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] +Usage: cardano-cli latest 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) + [--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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-testnet-data.cli index 8eeb5cd052..f91bfa6ea9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-testnet-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-testnet-data.cli @@ -1,11 +1,20 @@ -Usage: cardano-cli latest 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 +Usage: cardano-cli latest 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create.cli index 1e7404ed0b..b796c1ca7e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli latest 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) +Usage: cardano-cli latest 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_get-ver-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_get-ver-key.cli index b33b1310d5..b51293deda 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_get-ver-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_get-ver-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli latest genesis get-ver-key - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli latest genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-addr.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-addr.cli index 0980f93685..c5ffa855f6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-addr.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-addr.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli latest genesis initial-addr - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli latest 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-txin.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-txin.cli index 4c17090e05..d11f6d87ca 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-txin.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-txin.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli latest genesis initial-txin - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli latest 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-delegate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-delegate.cli index 60e932faf0..bc922bf0e4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-delegate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-delegate.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli latest genesis key-gen-delegate - --verification-key-file FILEPATH --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli latest 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-genesis.cli index 887851055e..23300086d6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-genesis.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli latest genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli latest genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-utxo.cli index d3d6714210..273cbec7e9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-utxo.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli latest genesis key-gen-utxo - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli latest genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair 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 59e49ff24d..4a7f4ad6aa 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,6 +1,7 @@ -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 (create-mir-certificate | + create-genesis-key-delegation-certificate | + action | create-poll | answer-poll | + verify-poll) Governance commands. 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 23491b2bb5..fe9077a932 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,19 +1,30 @@ -Usage: cardano-cli latest governance action create-protocol-parameters-update - --epoch NATURAL (--genesis-verification-key-file FILEPATH) - [--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] - [--protocol-major-version MAJOR --protocol-minor-version MINOR] - [--utxo-cost-per-byte LOVELACE] [--cost-model-file FILE] - --out-file FILEPATH +Usage: cardano-cli latest governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--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] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + [--utxo-cost-per-byte LOVELACE] + [--cost-model-file FILE] + --out-file FILEPATH Create a protocol parameters update. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_answer-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_answer-poll.cli index b4a4af797f..b4e4889b2f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_answer-poll.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_answer-poll.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli latest governance answer-poll - --poll-file FILEPATH [--answer INT] [--out-file FILEPATH] +Usage: cardano-cli latest governance answer-poll --poll-file FILEPATH + [--answer INT] + [--out-file FILEPATH] Answer an SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-genesis-key-delegation-certificate.cli index df97e1361a..df3130ebc3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-genesis-key-delegation-certificate.cli @@ -1,12 +1,19 @@ -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 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 Create a genesis key delegation certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate.cli index 7551a8fd5f..b04fa3dc75 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate.cli @@ -1,7 +1,13 @@ -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) +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_stake-addresses.cli index df98154edb..98510fe13b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_stake-addresses.cli @@ -1,6 +1,9 @@ -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 create-mir-certificate stake-addresses (--reserves | + + --treasury) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH Create an MIR certificate to pay stake addresses diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-rewards.cli index 22d0163ea5..e1ab0547ac 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli latest governance create-mir-certificate transfer-to-rewards - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli latest governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-treasury.cli index dc1863afae..9ef76e9f15 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli latest governance create-mir-certificate transfer-to-treasury - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli latest governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-poll.cli index a6f4b1bb3f..8c5f331a5c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-poll.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-poll.cli @@ -1,5 +1,7 @@ -Usage: cardano-cli latest governance create-poll - --question STRING (--answer STRING) [--nonce UINT] --out-file FILEPATH +Usage: cardano-cli latest governance create-poll --question STRING + (--answer STRING) + [--nonce UINT] + --out-file FILEPATH Create an SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_verify-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_verify-poll.cli index 178636c285..6ab7713459 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_verify-poll.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_verify-poll.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli latest governance verify-poll - --poll-file FILEPATH --tx-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli latest governance verify-poll --poll-file FILEPATH + --tx-file FILEPATH + [--out-file FILEPATH] Verify an answer to a given SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-genesis-vkey.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-genesis-vkey.cli index 11082a463b..f498a3e654 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-genesis-vkey.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-genesis-vkey.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli latest key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH +Usage: cardano-cli latest 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-key.cli index 19d56729f9..2a2d39d1ff 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-key.cli @@ -1,11 +1,16 @@ -Usage: cardano-cli latest 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 latest 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-cardano-address-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-cardano-address-key.cli index 2722e0848c..530e58ab2f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-cardano-address-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-cardano-address-key.cli @@ -1,7 +1,14 @@ -Usage: cardano-cli latest 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 latest 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-bip32-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-bip32-key.cli index b9fdbfaabf..b6d2ba1fbd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-bip32-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-bip32-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli latest key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli latest 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-extended-key.cli index c32f81c325..57f4a17f36 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-extended-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli latest key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli latest 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-key.cli index 89c7322801..e7c8727f6d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-key.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli latest key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH +Usage: cardano-cli latest 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_non-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_non-extended-key.cli index 6ece73d905..39719a8ae9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_non-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_non-extended-key.cli @@ -1,6 +1,5 @@ -Usage: cardano-cli latest key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli latest 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_verification-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_verification-key.cli index c2714eeb94..4133ea08ad 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_verification-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_verification-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli latest key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH +Usage: cardano-cli latest key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH Get a verification key from a signing key. This supports all key types. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_issue-op-cert.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_issue-op-cert.cli index 1a1ebfd426..2ca07bafc5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_issue-op-cert.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_issue-op-cert.cli @@ -1,8 +1,9 @@ -Usage: cardano-cli latest 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 latest 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-KES.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-KES.cli index 910c792de2..a2603e8db5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-KES.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-KES.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli latest node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-VRF.cli index baa44b5ac5..2d2ca2e6d2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli latest node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen.cli index 7beaec9ad6..69cec93358 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen.cli @@ -1,7 +1,7 @@ -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 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-hash-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-hash-VRF.cli index 677a9ef4e7..a168569e85 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-hash-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-hash-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli latest node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli latest node key-hash-VRF (--verification-key STRING | + --verification-key-file FILEPATH) + [--out-file FILEPATH] Print hash of a node's operational VRF key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_new-counter.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_new-counter.cli index a219e86cd0..2d9233a606 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_new-counter.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_new-counter.cli @@ -1,8 +1,10 @@ -Usage: cardano-cli latest 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 latest 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 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 93f76b47fd..7da250763c 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 @@ -1,7 +1,10 @@ -Usage: cardano-cli latest query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli latest query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + --op-cert-file FILEPATH + [--out-file FILEPATH] Get information about the current KES period and your node's operational certificate. 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 4f0fa9aeec..25a45f23db 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 @@ -1,11 +1,19 @@ -Usage: cardano-cli latest 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] +Usage: cardano-cli latest 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] Get the slots the node is expected to mint a block in (advanced command) 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 c5f8076da7..5ddff67802 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 @@ -1,6 +1,9 @@ -Usage: cardano-cli latest query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli latest 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) 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 1cb1dd8041..1fe375d06a 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 @@ -1,8 +1,11 @@ -Usage: cardano-cli latest 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] +Usage: cardano-cli latest 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] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced 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 b330e5748e..6d73e25fcc 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 @@ -1,8 +1,10 @@ -Usage: cardano-cli latest 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] +Usage: cardano-cli latest 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] Dump the pool state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-parameters.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-parameters.cli index 63ba00947b..62feddd776 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-parameters.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-parameters.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli latest query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli latest query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters 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 76384a7377..55a9d48d0c 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 @@ -1,6 +1,9 @@ -Usage: cardano-cli latest query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli latest query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) 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 4de23896cf..d5ba9cab8f 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 @@ -1,7 +1,11 @@ -Usage: cardano-cli latest query ref-script-size - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--tx-in TX-IN) (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] [--out-file FILEPATH] +Usage: cardano-cli latest query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Calculate the reference input scripts size in bytes for provided transaction inputs. 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 63231b2e78..70a74b4c94 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 @@ -1,6 +1,8 @@ -Usage: cardano-cli latest query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) TIMESTAMP +Usage: cardano-cli latest query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) TIMESTAMP Query slot number for UTC timestamp 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 7eb76c878c..81aa5e137d 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 @@ -1,7 +1,10 @@ -Usage: cardano-cli latest 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 latest query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. 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 3f6f9cfaaa..221c31f8d4 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 @@ -1,7 +1,11 @@ -Usage: cardano-cli latest 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 latest query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | + --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution 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 4781c30c36..2fcd6204a6 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 @@ -1,7 +1,10 @@ -Usage: cardano-cli latest 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 latest query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids 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 0f408a872e..5c84e45e7a 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 @@ -1,8 +1,11 @@ -Usage: cardano-cli latest 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] +Usage: cardano-cli latest 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] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) 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 d98f65f8c7..be844e7c9b 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) [--out-file FILEPATH] +Usage: cardano-cli latest query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool.cli index 55860fe173..5a9a49cd87 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool.cli @@ -1,7 +1,9 @@ -Usage: cardano-cli latest query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli latest query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_info.cli index c3b2391391..17f8ae3301 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_info.cli @@ -1,8 +1,10 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli latest query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli latest query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_next-tx.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_next-tx.cli index c3b2391391..17f8ae3301 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_next-tx.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_next-tx.cli @@ -1,8 +1,10 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli latest query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli latest query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_tx-exists_TX_ID.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_tx-exists_TX_ID.cli index c3b2391391..17f8ae3301 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_tx-exists_TX_ID.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_tx-exists_TX_ID.cli @@ -1,8 +1,10 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli latest query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli latest query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info 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 92c88ab70c..1824d1a5d0 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 @@ -1,8 +1,10 @@ -Usage: cardano-cli latest 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 latest 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] Get a portion of the current UTxO: by tx in, by address or the whole. 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 2ef48ad47e..eefc698b4f 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 @@ -1,6 +1,7 @@ -Usage: cardano-cli latest stake-address - (key-gen | key-hash | build | registration-certificate | - deregistration-certificate | stake-delegation-certificate) +Usage: cardano-cli latest stake-address (key-gen | key-hash | build | + registration-certificate | + deregistration-certificate | + stake-delegation-certificate) Stake address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_build.cli index 6e1e34c4a9..cf89155e05 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_build.cli @@ -1,8 +1,11 @@ -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 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 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 43a3eb9784..d6be97b97d 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 @@ -1,8 +1,13 @@ -Usage: cardano-cli latest stake-address deregistration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli latest stake-address deregistration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-gen.cli index e11d3dae5c..55125ee1bc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-gen.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli latest stake-address key-gen - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-hash.cli index ac89aaf74a..99787de3ba 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-hash.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli latest stake-address key-hash - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH) [--out-file FILEPATH] +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 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 514e10faa3..d69c54d393 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 @@ -1,8 +1,13 @@ -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) - --out-file FILEPATH +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) + --out-file FILEPATH Create a stake address registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-delegation-certificate.cli index 533f902352..0b1c5000c6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-delegation-certificate.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli latest 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 +Usage: cardano-cli latest 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool.cli index 0b6c6fb2e0..49026953f1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli latest stake-pool - (registration-certificate | deregistration-certificate | id | - metadata-hash) +Usage: cardano-cli latest stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) Stake pool commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_deregistration-certificate.cli index ce143d5b38..708b5f186f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_deregistration-certificate.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli latest stake-pool deregistration-certificate - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) --epoch NATURAL - --out-file FILEPATH +Usage: cardano-cli latest stake-pool deregistration-certificate (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + --epoch NATURAL + --out-file FILEPATH Create a stake pool deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_id.cli index c5b9cecd3e..3fcb6b5e7a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_id.cli @@ -1,7 +1,7 @@ -Usage: cardano-cli latest stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli latest stake-pool id (--stake-pool-verification-key STRING | + --cold-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] Build pool id from the offline key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_metadata-hash.cli index 1bd3dc1218..4a7f09a053 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_metadata-hash.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli latest stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli latest stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_registration-certificate.cli index 18c192a68e..8d2776c320 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_registration-certificate.cli @@ -1,18 +1,32 @@ -Usage: cardano-cli latest stake-pool registration-certificate - (--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 +Usage: cardano-cli latest stake-pool registration-certificate (--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 Create a stake pool registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_text-view_decode-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_text-view_decode-cbor.cli index b86228aaa4..9e8cf9a537 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_text-view_decode-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_text-view_decode-cbor.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli latest text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli latest text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction.cli index 648136a278..ae52c69cb1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli latest transaction - (build-raw | build | build-estimate | sign | witness | assemble | - submit | policyid | calculate-min-fee | calculate-min-required-utxo | - hash-script-data | txid | view) +Usage: cardano-cli latest transaction (build-raw | build | build-estimate | + sign | witness | assemble | submit | + policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid | view) Transaction commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_assemble.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_assemble.cli index dc673f6779..0ddf61316a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_assemble.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_assemble.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli latest transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli latest transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction 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 83e1473b78..de13f14abf 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 @@ -1,86 +1,152 @@ -Usage: cardano-cli latest 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] - [--update-proposal-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli latest 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] + [--update-proposal-file FILEPATH] + --out-file FILEPATH Build a balanced transaction without access to a live node (automatically estimates fees) 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 6a2523221c..4eee55e5db 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 @@ -1,85 +1,138 @@ -Usage: cardano-cli latest transaction build-raw - [--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 +Usage: cardano-cli latest transaction build-raw [--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) 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 412b838a10..985373258c 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 @@ -1,77 +1,129 @@ -Usage: cardano-cli latest transaction build - --socket-path SOCKET_PATH [--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] - (--out-file FILEPATH | --calculate-plutus-script-cost FILEPATH) +Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH + [--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] + (--out-file FILEPATH | + --calculate-plutus-script-cost FILEPATH) Build a balanced transaction (automatically calculates fees) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli index f5168baaa4..b0af081241 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli @@ -1,9 +1,15 @@ -Usage: cardano-cli latest 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] +Usage: cardano-cli latest 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-required-utxo.cli index 9c3c8498e3..b787a07d33 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-required-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-required-utxo.cli @@ -1,15 +1,25 @@ -Usage: cardano-cli latest 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 | - --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] +Usage: cardano-cli latest 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 | + + --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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-value.cli index ffec36738d..d324252639 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-value.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-value.cli @@ -1,15 +1,25 @@ -Usage: cardano-cli latest 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 | - --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] +Usage: cardano-cli latest 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 | + + --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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_hash-script-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_hash-script-data.cli index 08571478f8..8b053e2b9f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_hash-script-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_hash-script-data.cli @@ -1,6 +1,8 @@ -Usage: cardano-cli latest transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) +Usage: cardano-cli latest 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign-witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign-witness.cli index 4b11bfc2a6..a18351d16a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign-witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign-witness.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli latest transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli latest transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign.cli index ee2f1ed0b3..c52c8d7d9f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign.cli @@ -1,7 +1,9 @@ -Usage: cardano-cli latest transaction sign - (--tx-body-file FILEPATH | --tx-file FILEPATH) - [--signing-key-file FILEPATH [--address STRING]] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli latest 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_submit.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_submit.cli index 8ec6a32783..f606623caa 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_submit.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_submit.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli latest transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH +Usage: cardano-cli latest 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_txid.cli index 943adb6194..c8b6615ddb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_txid.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_txid.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli latest transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli latest transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_witness.cli index 43a0770f08..9a902ea622 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_witness.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli latest transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli latest transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [--mainnet | + --testnet-magic NATURAL] + --out-file FILEPATH Create a transaction witness diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_build.cli index c88d217a74..5c6e07f07f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_build.cli @@ -1,11 +1,13 @@ -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] +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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-gen.cli index 2520e5d935..10b739591c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-gen.cli @@ -1,7 +1,8 @@ -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 +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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-hash.cli index ed9c6f0964..f2be7a2fbd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-hash.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli legacy address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] +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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-cardano.cli index 44404fe59f..32e161d011 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-cardano.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-cardano.cli @@ -1,12 +1,22 @@ -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 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 a Byron and Shelley genesis file from a genesis template and genesis/delegation/spending keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-staked.cli index 62d75059c0..55d6d78144 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-staked.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-staked.cli @@ -1,12 +1,21 @@ -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] +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] Create a staked Shelley genesis file from a genesis template and genesis/delegation/spending keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create.cli index 845b1406a9..6a9bcc9f4f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create.cli @@ -1,9 +1,13 @@ -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) +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) Create a Shelley genesis file from a genesis template and genesis/delegation/spending keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_get-ver-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_get-ver-key.cli index 107880bb87..fdc8861f44 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_get-ver-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_get-ver-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli legacy genesis get-ver-key - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli legacy genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-addr.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-addr.cli index 05aab062e2..ba05d1aa1c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-addr.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-addr.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli legacy genesis initial-addr - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli legacy 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-txin.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-txin.cli index 9b6f1dd4bb..c3df853ba6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-txin.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-txin.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli legacy genesis initial-txin - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli legacy 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-delegate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-delegate.cli index 33409b10b4..9d2a627537 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-delegate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-delegate.cli @@ -1,6 +1,6 @@ -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 legacy 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-genesis.cli index 9254a19e86..ba5f78fbb5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-genesis.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli legacy genesis key-gen-genesis - --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 Shelley genesis key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-utxo.cli index 917621c332..8ad13206d0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-utxo.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli legacy genesis key-gen-utxo - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli legacy genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair 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 d6696c41e4..8a52b6b81e 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 @@ -1,6 +1,7 @@ -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 legacy governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + create-update-proposal | create-poll | + answer-poll | verify-poll) Governance commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_answer-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_answer-poll.cli index 34a8c879a9..77e7f6952d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_answer-poll.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_answer-poll.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli legacy governance answer-poll - --poll-file FILEPATH [--answer INT] [--out-file FILEPATH] +Usage: cardano-cli legacy governance answer-poll --poll-file FILEPATH + [--answer INT] + [--out-file FILEPATH] Answer an SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-genesis-key-delegation-certificate.cli index 80182fb349..2da06f8f49 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-genesis-key-delegation-certificate.cli @@ -1,14 +1,28 @@ -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 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 Create a genesis key delegation certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate.cli index 3763df360f..7b66d4fd85 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate.cli @@ -1,9 +1,18 @@ -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 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) Create an MIR (Move Instantaneous Rewards) certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_stake-addresses.cli index 25009190fb..0d7bd8dee1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_stake-addresses.cli @@ -1,7 +1,18 @@ -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 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 Create an MIR certificate to pay stake addresses diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-rewards.cli index 4ed94b1b8d..7fdae682e0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,6 +1,14 @@ -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 legacy 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-treasury.cli index 92f1e5a258..e33d8fb581 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,6 +1,14 @@ -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 legacy 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-poll.cli index 5b42e52b22..61d717d6ea 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-poll.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-poll.cli @@ -1,5 +1,7 @@ -Usage: cardano-cli legacy governance create-poll - --question STRING (--answer STRING) [--nonce UINT] --out-file FILEPATH +Usage: cardano-cli legacy governance create-poll --question STRING + (--answer STRING) + [--nonce UINT] + --out-file FILEPATH Create an SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-update-proposal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-update-proposal.cli index 6a16c38977..672456c989 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-update-proposal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-update-proposal.cli @@ -1,21 +1,35 @@ -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 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] Create an update proposal diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_verify-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_verify-poll.cli index fafc561e78..ec47b0c31d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_verify-poll.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_verify-poll.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli legacy governance verify-poll - --poll-file FILEPATH --tx-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli legacy governance verify-poll --poll-file FILEPATH + --tx-file FILEPATH + [--out-file FILEPATH] Verify an answer to a given SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-genesis-vkey.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-genesis-vkey.cli index 52ceaa3cc1..ea0e2a3879 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-genesis-vkey.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-genesis-vkey.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli legacy key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-key.cli index b2eed95a11..34249ce918 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-key.cli @@ -1,11 +1,16 @@ -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 +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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-cardano-address-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-cardano-address-key.cli index b6164b5885..8e2cc4f5b7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-cardano-address-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-cardano-address-key.cli @@ -1,7 +1,14 @@ -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 +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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-bip32-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-bip32-key.cli index 7015d931a7..2e6f5abdcc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-bip32-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-bip32-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli legacy key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-extended-key.cli index b3e0e734a1..ce79f3ac42 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-extended-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli legacy key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-key.cli index d61f295734..75dc2fb81c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-key.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli legacy key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_non-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_non-extended-key.cli index 0d8515bdff..74dd035535 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_non-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_non-extended-key.cli @@ -1,6 +1,5 @@ -Usage: cardano-cli legacy key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_verification-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_verification-key.cli index 700fb1afcc..c8be41646c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_verification-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_verification-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli legacy key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH +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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_issue-op-cert.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_issue-op-cert.cli index e44705cbf3..99dd8d4a74 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_issue-op-cert.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_issue-op-cert.cli @@ -1,8 +1,9 @@ -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 +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-KES.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-KES.cli index 853c0a4e8d..9e81759816 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-KES.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-KES.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli legacy node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli legacy 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-VRF.cli index bb0a0771a7..16f6252f06 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli legacy node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli legacy 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen.cli index 3e086ec41f..b0f4a55c09 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen.cli @@ -1,7 +1,7 @@ -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 +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 Create a key pair for a node operator's offline key and a new certificate issue counter diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-hash-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-hash-VRF.cli index ea59e61c4e..94eb86d467 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-hash-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-hash-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli legacy node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli legacy node key-hash-VRF (--verification-key STRING | + --verification-key-file FILEPATH) + [--out-file FILEPATH] Print hash of a node's operational VRF key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_new-counter.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_new-counter.cli index 36b2d259da..8e9723e440 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_new-counter.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_new-counter.cli @@ -1,8 +1,10 @@ -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 +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_kes-period-info.cli index f39896dd68..e0eb709d98 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_kes-period-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_kes-period-info.cli @@ -1,7 +1,10 @@ -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] +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] Get information about the current KES period and your node's operational certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_leadership-schedule.cli index ef33aebbd0..4ad646e496 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_leadership-schedule.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_leadership-schedule.cli @@ -1,11 +1,19 @@ -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] +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] Get the slots the node is expected to mint a block in (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_ledger-state.cli index 24d2d1aec6..f509f533c5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_ledger-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_ledger-state.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli legacy query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-params.cli index 66d59c3860..d01c0d1a19 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-params.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-params.cli @@ -1,8 +1,11 @@ -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] +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] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-state.cli index 5c2dac49d4..550d1ff852 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-state.cli @@ -1,8 +1,10 @@ -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] +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] Dump the pool state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-parameters.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-parameters.cli index db358aa5d7..9b4317de57 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-parameters.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-parameters.cli @@ -1,6 +1,9 @@ -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 legacy query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-state.cli index 2571cb9db7..6c5f39a55f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-state.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli legacy query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--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] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_slot-number.cli index 6214d648bb..13f102bd0a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_slot-number.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_slot-number.cli @@ -1,6 +1,8 @@ -Usage: cardano-cli legacy query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) TIMESTAMP +Usage: cardano-cli legacy query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) TIMESTAMP Query slot number for UTC timestamp diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-address-info.cli index 347631b736..3633f42234 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-address-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-address-info.cli @@ -1,7 +1,10 @@ -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 legacy query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-distribution.cli index 4235ab09ab..7aeeaa7b1e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-distribution.cli @@ -1,7 +1,11 @@ -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 legacy query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | + --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-pools.cli index b562338c85..bd59470217 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-pools.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-pools.cli @@ -1,7 +1,10 @@ -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 legacy query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-snapshot.cli index dcebd9a83b..378943d371 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-snapshot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-snapshot.cli @@ -1,8 +1,11 @@ -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] +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] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tip.cli index 96c1fad775..a1d69ae1d2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tip.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tip.cli @@ -1,6 +1,7 @@ -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 legacy query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool.cli index ea0cdeef4f..28163f554c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool.cli @@ -1,7 +1,9 @@ -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] +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] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_info.cli index 4fca3196de..e73b4a0b42 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_info.cli @@ -1,8 +1,10 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -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] +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] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_next-tx.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_next-tx.cli index 4fca3196de..e73b4a0b42 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_next-tx.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_next-tx.cli @@ -1,8 +1,10 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -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] +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] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_tx-exists_TX_ID.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_tx-exists_TX_ID.cli index 4fca3196de..e73b4a0b42 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_tx-exists_TX_ID.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_tx-exists_TX_ID.cli @@ -1,8 +1,10 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -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] +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] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_utxo.cli index aea3699b63..c949da966d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_utxo.cli @@ -1,8 +1,10 @@ -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 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] Get a portion of the current UTxO: by tx in, by address or the whole. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address.cli index a1973dd2f0..560c69291e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli legacy stake-address - (key-gen | build | key-hash | registration-certificate | - deregistration-certificate | delegation-certificate) +Usage: cardano-cli legacy stake-address (key-gen | build | key-hash | + registration-certificate | + deregistration-certificate | + delegation-certificate) Stake address commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_build.cli index 8a46ab3e30..23661628c4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_build.cli @@ -1,8 +1,11 @@ -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] +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_delegation-certificate.cli index 5e27304961..af6938a969 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_delegation-certificate.cli @@ -1,12 +1,24 @@ -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 +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_deregistration-certificate.cli index 69e30ac0ff..0f8655ed19 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_deregistration-certificate.cli @@ -1,10 +1,25 @@ -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 +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-gen.cli index c6c22bb854..dda5b60758 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-gen.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli legacy stake-address key-gen - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-hash.cli index 6437284ab6..ea07f8c331 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-hash.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli legacy stake-address key-hash - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH) [--out-file FILEPATH] +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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_registration-certificate.cli index e579391e9f..186f8af58c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_registration-certificate.cli @@ -1,10 +1,22 @@ -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 +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool.cli index 37948b8a22..71b480fbda 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli legacy stake-pool - (registration-certificate | deregistration-certificate | id | - metadata-hash) +Usage: cardano-cli legacy stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) Stake pool commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_deregistration-certificate.cli index a8c85631eb..569c46d6ef 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_deregistration-certificate.cli @@ -1,9 +1,16 @@ -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 +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 stake pool deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_id.cli index 83a46f858b..cd2790f4cf 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_id.cli @@ -1,7 +1,7 @@ -Usage: cardano-cli legacy stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--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] Build pool id from the offline key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_metadata-hash.cli index 5fa65b2d24..e6d6e6c754 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_metadata-hash.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli legacy stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli legacy stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_registration-certificate.cli index 97e8777e3b..d37482c552 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_registration-certificate.cli @@ -1,20 +1,38 @@ -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 +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 Create a stake pool registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_text-view_decode-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_text-view_decode-cbor.cli index 8ac780597c..baf41e1a3e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_text-view_decode-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_text-view_decode-cbor.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli legacy text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli legacy text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction.cli index 6e3673876d..62d078e075 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction.cli @@ -1,7 +1,8 @@ -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) +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_assemble.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_assemble.cli index 1186516ece..f39fd8a906 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_assemble.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_assemble.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli legacy transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli index 12849b6582..67e6f67bda 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli @@ -1,87 +1,141 @@ -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 +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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli index 63ac3bb12d..3973848128 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli @@ -1,98 +1,161 @@ -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) +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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli index 7c5f8d9356..d4fab097bb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli @@ -1,9 +1,15 @@ -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] +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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-required-utxo.cli index 364986e43d..0a751e20bf 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-required-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-required-utxo.cli @@ -1,17 +1,35 @@ -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] +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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-value.cli index 442cb5c1a5..1438adb209 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-value.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-value.cli @@ -1,17 +1,31 @@ -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] +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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_hash-script-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_hash-script-data.cli index 124d63c302..fcdf251030 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_hash-script-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_hash-script-data.cli @@ -1,6 +1,8 @@ -Usage: cardano-cli legacy transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) +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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign-witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign-witness.cli index 6e1d599159..1f24fba532 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign-witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign-witness.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli legacy transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign.cli index 127b2cd3be..2314c5c7e4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign.cli @@ -1,7 +1,9 @@ -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 +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_submit.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_submit.cli index b1280390ab..2cb79558e3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_submit.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_submit.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli legacy transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH +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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_txid.cli index 9092991a83..bc70f2df91 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_txid.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_txid.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli legacy transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli legacy transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_witness.cli index c790c970ac..b8d233197f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_witness.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli legacy transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_address_build.cli index 52eaa00fe2..8863aabc87 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_address_build.cli @@ -1,11 +1,13 @@ -Usage: cardano-cli mary 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 mary 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_address_key-gen.cli index 7f5f5bd42d..96b0d912cb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_address_key-gen.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli mary address key-gen - [--key-output-format STRING] - [--normal-key | --extended-key | --byron-key] - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli mary 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_address_key-hash.cli index af1fafd388..1c2cf72703 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_address_key-hash.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli mary address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli mary address key-hash (--payment-verification-key STRING | + --payment-verification-key-file FILEPATH) + [--out-file FILEPATH] Print the hash of an address key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-cardano.cli index e3ca9871a6..d0897970e7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-cardano.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-cardano.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli mary 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] +Usage: cardano-cli mary 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-staked.cli index 0dd23b0318..1323d3e6b2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-staked.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-staked.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli mary 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) - [--bulk-pool-cred-files INT] [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] +Usage: cardano-cli mary 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) + [--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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-testnet-data.cli index ac896aedf7..8d71a12d1e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-testnet-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create-testnet-data.cli @@ -1,11 +1,20 @@ -Usage: cardano-cli mary 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 +Usage: cardano-cli mary 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create.cli index 87f1a47ef0..441c291a43 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_create.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli mary 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) +Usage: cardano-cli mary 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_get-ver-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_get-ver-key.cli index 6dd0f4b9b2..b364470d04 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_get-ver-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_get-ver-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli mary genesis get-ver-key - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli mary genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_initial-addr.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_initial-addr.cli index bf77e6cc03..25ab3126da 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_initial-addr.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_initial-addr.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli mary genesis initial-addr - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli mary 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_initial-txin.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_initial-txin.cli index 9398130a79..0ca2020b06 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_initial-txin.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_initial-txin.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli mary genesis initial-txin - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli mary 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_key-gen-delegate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_key-gen-delegate.cli index 3e0cb258ab..c86abaeeb6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_key-gen-delegate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_key-gen-delegate.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli mary genesis key-gen-delegate - --verification-key-file FILEPATH --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli mary 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_key-gen-genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_key-gen-genesis.cli index 4ce2a3ede3..a2d02e679b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_key-gen-genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_key-gen-genesis.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli mary genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli mary genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_key-gen-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_key-gen-utxo.cli index b54824f700..ccd8938222 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_key-gen-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis_key-gen-utxo.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli mary genesis key-gen-utxo - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli mary genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_action_create-protocol-parameters-update.cli index f2ca225f73..56c7acdb4a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_action_create-protocol-parameters-update.cli @@ -1,16 +1,26 @@ -Usage: cardano-cli mary governance action create-protocol-parameters-update - --epoch NATURAL (--genesis-verification-key-file FILEPATH) - [--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] [--min-utxo-value NATURAL] - [--extra-entropy HEX | --reset-extra-entropy] - [--decentralization-parameter RATIONAL] - [--protocol-major-version MAJOR --protocol-minor-version MINOR] - --out-file FILEPATH +Usage: cardano-cli mary governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--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] + [--min-utxo-value NATURAL] + [--extra-entropy HEX | + + --reset-extra-entropy] + [--decentralization-parameter RATIONAL] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + --out-file FILEPATH Create a protocol parameters update. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-genesis-key-delegation-certificate.cli index b01f9f62d6..8cfd40a430 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-genesis-key-delegation-certificate.cli @@ -1,12 +1,19 @@ -Usage: cardano-cli mary 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 mary 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 Create a genesis key delegation certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate.cli index f89016ec6a..cd0176423e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate.cli @@ -1,7 +1,12 @@ -Usage: cardano-cli mary governance create-mir-certificate - ((--reserves | --treasury) (--stake-address ADDRESS) - (--reward LOVELACE) --out-file FILEPATH | - stake-addresses | transfer-to-treasury | transfer-to-rewards) +Usage: cardano-cli mary 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate_stake-addresses.cli index e25c3cff4b..f7f5a5896a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate_stake-addresses.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli mary governance create-mir-certificate stake-addresses - (--reserves | --treasury) (--stake-address ADDRESS) (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli mary governance create-mir-certificate stake-addresses (--reserves | + + --treasury) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH Create an MIR certificate to pay stake addresses diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate_transfer-to-rewards.cli index 1907619507..1d3b295bc4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli mary governance create-mir-certificate transfer-to-rewards - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli mary governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate_transfer-to-treasury.cli index b681d08576..19e3df04a0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli mary governance create-mir-certificate transfer-to-treasury - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli mary governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-byron-genesis-vkey.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-byron-genesis-vkey.cli index f0c0b68fab..4788291923 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-byron-genesis-vkey.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-byron-genesis-vkey.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli mary key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH +Usage: cardano-cli mary 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-byron-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-byron-key.cli index 2b4a327389..7dafe53371 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-byron-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-byron-key.cli @@ -1,11 +1,16 @@ -Usage: cardano-cli mary 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 mary 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-cardano-address-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-cardano-address-key.cli index f0386001e1..1e1889d422 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-cardano-address-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-cardano-address-key.cli @@ -1,7 +1,12 @@ -Usage: cardano-cli mary 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 mary 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-itn-bip32-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-itn-bip32-key.cli index 5fc44575d8..345e44017c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-itn-bip32-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-itn-bip32-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli mary key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli mary 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-itn-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-itn-extended-key.cli index 45e467c186..88c0992c59 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-itn-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-itn-extended-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli mary key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli mary 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-itn-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-itn-key.cli index 30e68b2c51..f6dce0e8d1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-itn-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_convert-itn-key.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli mary key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH +Usage: cardano-cli mary 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_non-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_non-extended-key.cli index 25f3601988..e36b25bfaa 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_non-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_non-extended-key.cli @@ -1,6 +1,5 @@ -Usage: cardano-cli mary key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli mary 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_verification-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_verification-key.cli index 154fc49f02..46565e1b5b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_verification-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key_verification-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli mary key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH +Usage: cardano-cli mary key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH Get a verification key from a signing key. This supports all key types. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_issue-op-cert.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_issue-op-cert.cli index 298112c82d..e69bd1fce5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_issue-op-cert.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_issue-op-cert.cli @@ -1,8 +1,9 @@ -Usage: cardano-cli mary 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 mary 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-gen-KES.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-gen-KES.cli index 6f25ca94a5..7fb3d5e267 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-gen-KES.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-gen-KES.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli mary node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli mary 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-gen-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-gen-VRF.cli index b69be1d639..7dcbd8f938 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-gen-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-gen-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli mary node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli mary 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-gen.cli index 9d2bc85ae4..ee26be7bf0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-gen.cli @@ -1,7 +1,7 @@ -Usage: cardano-cli mary 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 mary 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-hash-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-hash-VRF.cli index 12ba5bb2f7..3736af5db4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-hash-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_key-hash-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli mary node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli mary node key-hash-VRF (--verification-key STRING | + --verification-key-file FILEPATH) + [--out-file FILEPATH] Print hash of a node's operational VRF key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_new-counter.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_new-counter.cli index c352804095..382e919e5b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_new-counter.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node_new-counter.cli @@ -1,8 +1,10 @@ -Usage: cardano-cli mary 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 mary 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_kes-period-info.cli index c5e1e19152..2d8d0e45f6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_kes-period-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_kes-period-info.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli mary query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli mary query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + --op-cert-file FILEPATH + [--out-file FILEPATH] Get information about the current KES period and your node's operational certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_leadership-schedule.cli index 4f49c40fb4..8734c07cb9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_leadership-schedule.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_leadership-schedule.cli @@ -1,11 +1,19 @@ -Usage: cardano-cli mary 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] +Usage: cardano-cli mary 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] Get the slots the node is expected to mint a block in (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_ledger-state.cli index 57b50538ce..b362f0b99a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_ledger-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_ledger-state.cli @@ -1,6 +1,8 @@ -Usage: cardano-cli mary query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli mary 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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_pool-params.cli index 7ec4798093..95aa2a115a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_pool-params.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_pool-params.cli @@ -1,8 +1,9 @@ -Usage: cardano-cli mary 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] +Usage: cardano-cli mary 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] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_pool-state.cli index 6d5724f593..da3a5751d0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_pool-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_pool-state.cli @@ -1,8 +1,9 @@ -Usage: cardano-cli mary 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] +Usage: cardano-cli mary 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] Dump the pool state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_protocol-parameters.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_protocol-parameters.cli index c536fc23e1..fe22a1543b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_protocol-parameters.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_protocol-parameters.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli mary query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli mary query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_protocol-state.cli index bb7da12ef0..30a1b78917 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_protocol-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_protocol-state.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli mary query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli mary query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_ref-script-size.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_ref-script-size.cli index 235bfe7ebb..463a9ab772 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_ref-script-size.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_ref-script-size.cli @@ -1,7 +1,11 @@ -Usage: cardano-cli mary query ref-script-size - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--tx-in TX-IN) (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] [--out-file FILEPATH] +Usage: cardano-cli mary query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Calculate the reference input scripts size in bytes for provided transaction inputs. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_slot-number.cli index 20635a76ff..7e522313ed 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_slot-number.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_slot-number.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli mary query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) TIMESTAMP +Usage: cardano-cli mary query slot-number --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + TIMESTAMP Query slot number for UTC timestamp diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-address-info.cli index 03acbb382e..d1d2d37381 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-address-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-address-info.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli mary 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 mary query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-distribution.cli index d17309e247..bd608d5216 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-distribution.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli mary 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 mary query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-pools.cli index a76bfdfb1e..09155f48c4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-pools.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-pools.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli mary 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 mary query stake-pools --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-snapshot.cli index 82ba944eb6..019745a443 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-snapshot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_stake-snapshot.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli mary 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] +Usage: cardano-cli mary 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] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool.cli index 177a987fe9..8405e9a58f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli mary query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli mary query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool_info.cli index dc4d8fd059..ae84c9b3ef 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool_info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool_info.cli @@ -1,8 +1,9 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli mary query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli mary query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool_next-tx.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool_next-tx.cli index dc4d8fd059..ae84c9b3ef 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool_next-tx.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool_next-tx.cli @@ -1,8 +1,9 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli mary query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli mary query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool_tx-exists_TX_ID.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool_tx-exists_TX_ID.cli index dc4d8fd059..ae84c9b3ef 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool_tx-exists_TX_ID.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool_tx-exists_TX_ID.cli @@ -1,8 +1,9 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli mary query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli mary query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address.cli index 3754c6705f..67fb7d1b5d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli mary stake-address - (key-gen | key-hash | build | registration-certificate | - deregistration-certificate | stake-delegation-certificate) +Usage: cardano-cli mary stake-address (key-gen | key-hash | build | + registration-certificate | + deregistration-certificate | + stake-delegation-certificate) Stake address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_build.cli index e9075be4e4..f083a5dc1f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_build.cli @@ -1,8 +1,10 @@ -Usage: cardano-cli mary 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 mary 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_deregistration-certificate.cli index afc7721ff7..b0a994bb7a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_deregistration-certificate.cli @@ -1,8 +1,13 @@ -Usage: cardano-cli mary stake-address deregistration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli mary stake-address deregistration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_key-gen.cli index bdcb61e91c..9ae8e037ea 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_key-gen.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli mary stake-address key-gen - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli mary stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a stake address key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_key-hash.cli index eb95d9e14a..dfd855f0f0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_key-hash.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli mary stake-address key-hash - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli mary stake-address key-hash (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH) + [--out-file FILEPATH] Print the hash of a stake address key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_registration-certificate.cli index accd0af392..8fd407ecbe 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_registration-certificate.cli @@ -1,8 +1,13 @@ -Usage: cardano-cli mary stake-address registration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli mary stake-address registration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_stake-delegation-certificate.cli index f1fd9b58a8..de4d52699d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_stake-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address_stake-delegation-certificate.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli mary 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 +Usage: cardano-cli mary 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_deregistration-certificate.cli index 63447eb4ab..0f820325e0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_deregistration-certificate.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli mary stake-pool deregistration-certificate - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) --epoch NATURAL - --out-file FILEPATH +Usage: cardano-cli mary stake-pool deregistration-certificate (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + --epoch NATURAL + --out-file FILEPATH Create a stake pool deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_id.cli index 4de61c1d1f..78ef91b2a5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_id.cli @@ -1,7 +1,7 @@ -Usage: cardano-cli mary stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli mary stake-pool id (--stake-pool-verification-key STRING | + --cold-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] Build pool id from the offline key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_metadata-hash.cli index bd6db31144..a9efc1444f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_metadata-hash.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli mary stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli mary stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_registration-certificate.cli index ec278240eb..7326f04bb8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool_registration-certificate.cli @@ -1,18 +1,32 @@ -Usage: cardano-cli mary stake-pool registration-certificate - (--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 +Usage: cardano-cli mary stake-pool registration-certificate (--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 Create a stake pool registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_text-view_decode-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_text-view_decode-cbor.cli index a576f29b6d..eb72874d82 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_text-view_decode-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_text-view_decode-cbor.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli mary text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli mary text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction.cli index a2f2dd1b6c..cd5c1fc6b1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli mary transaction - (build-raw | build | build-estimate | sign | witness | assemble | - submit | policyid | calculate-min-fee | calculate-min-required-utxo | - hash-script-data | txid | view) +Usage: cardano-cli mary transaction (build-raw | build | build-estimate | sign | + witness | assemble | submit | policyid | + calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid | view) Transaction commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_assemble.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_assemble.cli index 88913a49d4..be1a930662 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_assemble.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_assemble.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli mary transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli mary transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build-estimate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build-estimate.cli index 72cd51e230..4813b21557 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build-estimate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build-estimate.cli @@ -1,86 +1,150 @@ -Usage: cardano-cli mary 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] - [--update-proposal-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli mary 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] + [--update-proposal-file FILEPATH] + --out-file FILEPATH Build a balanced transaction without access to a live node (automatically estimates fees) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build-raw.cli index 808207fdb9..ed362b27cc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build-raw.cli @@ -1,85 +1,137 @@ -Usage: cardano-cli mary transaction build-raw - [--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 +Usage: cardano-cli mary transaction build-raw [--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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build.cli index d0ac1f9546..81cd5f49ae 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build.cli @@ -1,77 +1,123 @@ -Usage: cardano-cli mary transaction build - --socket-path SOCKET_PATH [--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] - (--out-file FILEPATH | --calculate-plutus-script-cost FILEPATH) +Usage: cardano-cli mary transaction build --socket-path SOCKET_PATH + [--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] + (--out-file FILEPATH | + --calculate-plutus-script-cost FILEPATH) Build a balanced transaction (automatically calculates fees) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-fee.cli index ce65a177ca..40e0777f5d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-fee.cli @@ -1,9 +1,15 @@ -Usage: cardano-cli mary 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] +Usage: cardano-cli mary 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-required-utxo.cli index ad286fd01c..9cab578e85 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-required-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-required-utxo.cli @@ -1,15 +1,25 @@ -Usage: cardano-cli mary 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 | - --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] +Usage: cardano-cli mary 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 | + + --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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-value.cli index 1f93776b6e..45e458612b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-value.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-value.cli @@ -1,15 +1,25 @@ -Usage: cardano-cli mary 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 | - --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] +Usage: cardano-cli mary 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 | + + --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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_hash-script-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_hash-script-data.cli index b308bddd0f..2912c586d1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_hash-script-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_hash-script-data.cli @@ -1,6 +1,8 @@ -Usage: cardano-cli mary transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) +Usage: cardano-cli mary 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_sign-witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_sign-witness.cli index dc9a24583f..3c1a00d06a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_sign-witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_sign-witness.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli mary transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli mary transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_sign.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_sign.cli index f63c3a519f..133b4042f4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_sign.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_sign.cli @@ -1,7 +1,9 @@ -Usage: cardano-cli mary transaction sign - (--tx-body-file FILEPATH | --tx-file FILEPATH) - [--signing-key-file FILEPATH [--address STRING]] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli mary 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_submit.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_submit.cli index 03ab223b3a..641d30f631 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_submit.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_submit.cli @@ -1,6 +1,8 @@ -Usage: cardano-cli mary transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH +Usage: cardano-cli mary 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_txid.cli index 9b1b967b02..116ec6d500 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_txid.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_txid.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli mary transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli mary transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_witness.cli index fd0b0cc740..dfdb90ea92 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_witness.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli mary transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli mary transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [--mainnet | + --testnet-magic NATURAL] + --out-file FILEPATH Create a transaction witness diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_issue-op-cert.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_issue-op-cert.cli index 5d2d03b17a..4186df4818 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_issue-op-cert.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_issue-op-cert.cli @@ -1,8 +1,8 @@ -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 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-KES.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-KES.cli index 194d18016e..1bf1d9931f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-KES.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-KES.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-VRF.cli index ba935f2da6..afe72543b7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-hash-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-hash-VRF.cli index 6eeefa3b7a..4aa04944e6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-hash-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-hash-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] +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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_new-counter.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_new-counter.cli index 6a98ba9857..b4a8d441b0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_new-counter.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_new-counter.cli @@ -1,8 +1,8 @@ -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 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 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 f6c1cf904c..0666b552a8 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 @@ -1,7 +1,8 @@ -Usage: cardano-cli query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + --op-cert-file FILEPATH + [--out-file FILEPATH] Get information about the current KES period and your node's operational certificate. 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 4720a78bda..0a63f6ad23 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 @@ -1,11 +1,17 @@ -Usage: cardano-cli 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] +Usage: cardano-cli 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] Get the slots the node is expected to mint a block in (advanced command) 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 2c9b811c16..10017c736d 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) [--out-file FILEPATH] +Usage: cardano-cli 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) 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 4e8c20a99e..ceb8ca7330 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 @@ -1,8 +1,9 @@ -Usage: cardano-cli 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] +Usage: cardano-cli 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] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced 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 61963fef19..9432a9a6f0 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 @@ -1,8 +1,9 @@ -Usage: cardano-cli 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] +Usage: cardano-cli 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] Dump the pool state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-parameters.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-parameters.cli index b4dfdb972c..c6b8bc0c1c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-parameters.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-parameters.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters 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 9f3266f167..83f30198c7 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) [--out-file FILEPATH] +Usage: cardano-cli query protocol-state --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) 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 9cb744f2bc..63d49b3221 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) TIMESTAMP +Usage: cardano-cli query slot-number --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + TIMESTAMP Query slot number for UTC timestamp 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 2a7b404446..b443ee0361 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 @@ -1,7 +1,10 @@ -Usage: cardano-cli 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 query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. 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 b6a3fcc2e6..af48700261 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 @@ -1,7 +1,10 @@ -Usage: cardano-cli 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 query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution 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 b205163a29..54181c8d58 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,7 +1,8 @@ -Usage: cardano-cli 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 query stake-pools --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids 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 2238253e92..fb488a55d1 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 @@ -1,8 +1,9 @@ -Usage: cardano-cli 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] +Usage: cardano-cli 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] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool.cli index d31964559a..e906aaf36a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_info.cli index 08d76caea1..8f98305e94 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_info.cli @@ -1,8 +1,9 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_next-tx.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_next-tx.cli index 08d76caea1..8f98305e94 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_next-tx.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_next-tx.cli @@ -1,8 +1,9 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_tx-exists_TX_ID.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_tx-exists_TX_ID.cli index 08d76caea1..8f98305e94 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_tx-exists_TX_ID.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_tx-exists_TX_ID.cli @@ -1,8 +1,9 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_address_build.cli index 18b03b7a6e..51a5c6a516 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_address_build.cli @@ -1,11 +1,13 @@ -Usage: cardano-cli shelley 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 shelley 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_address_key-gen.cli index ee8df9df89..c7a9b09f94 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_address_key-gen.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli shelley address key-gen - [--key-output-format STRING] - [--normal-key | --extended-key | --byron-key] - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli shelley 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_address_key-hash.cli index 48a96055b0..f5b9f98e1c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_address_key-hash.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli shelley address key-hash - (--payment-verification-key STRING | - --payment-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli shelley address key-hash (--payment-verification-key STRING | + + --payment-verification-key-file FILEPATH) + [--out-file FILEPATH] Print the hash of an address key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-cardano.cli index 06962732fd..0358aab4d6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-cardano.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-cardano.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli shelley 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] +Usage: cardano-cli shelley 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-staked.cli index 22b04dd94f..6d07440d53 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-staked.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-staked.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli shelley 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) - [--bulk-pool-cred-files INT] [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] +Usage: cardano-cli shelley 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) + [--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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-testnet-data.cli index 731e0aa857..b88e7b921f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-testnet-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create-testnet-data.cli @@ -1,11 +1,21 @@ -Usage: cardano-cli shelley 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 +Usage: cardano-cli shelley 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create.cli index 53a83e6427..883c115d9a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_create.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli shelley 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) +Usage: cardano-cli shelley 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_get-ver-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_get-ver-key.cli index b9d739c6eb..c4e2158fe4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_get-ver-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_get-ver-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli shelley genesis get-ver-key - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli shelley genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_initial-addr.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_initial-addr.cli index 5785f9c8d1..1bb87e77c5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_initial-addr.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_initial-addr.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli shelley genesis initial-addr - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli shelley 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_initial-txin.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_initial-txin.cli index d9170d095a..5ce4fdb559 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_initial-txin.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_initial-txin.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli shelley genesis initial-txin - --verification-key-file FILEPATH (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli shelley 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_key-gen-delegate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_key-gen-delegate.cli index bb345a527f..ecee1b8661 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_key-gen-delegate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_key-gen-delegate.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli shelley genesis key-gen-delegate - --verification-key-file FILEPATH --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli shelley 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_key-gen-genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_key-gen-genesis.cli index adafd80438..51e07f520d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_key-gen-genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_key-gen-genesis.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli shelley genesis key-gen-genesis - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli shelley genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_key-gen-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_key-gen-utxo.cli index 7e772c4fbd..319288f8bc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_key-gen-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis_key-gen-utxo.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli shelley genesis key-gen-utxo - --verification-key-file FILEPATH --signing-key-file FILEPATH +Usage: cardano-cli shelley genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance.cli index f5b636a45b..29ac126473 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli shelley governance - (create-mir-certificate | create-genesis-key-delegation-certificate | - action) +Usage: cardano-cli shelley governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action) Governance commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_action_create-protocol-parameters-update.cli index abc1081094..906c448207 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_action_create-protocol-parameters-update.cli @@ -1,15 +1,26 @@ -Usage: cardano-cli shelley governance action create-protocol-parameters-update - --epoch NATURAL (--genesis-verification-key-file FILEPATH) - [--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] [--min-utxo-value NATURAL] - [--protocol-major-version MAJOR --protocol-minor-version MINOR] - [--extra-entropy HEX | --reset-extra-entropy] - [--decentralization-parameter RATIONAL] --out-file FILEPATH +Usage: cardano-cli shelley governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--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] + [--min-utxo-value NATURAL] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + [--extra-entropy HEX | + + --reset-extra-entropy] + [--decentralization-parameter RATIONAL] + --out-file FILEPATH Create a protocol parameters update. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-genesis-key-delegation-certificate.cli index d36571b68b..206b7ce3a3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-genesis-key-delegation-certificate.cli @@ -1,12 +1,19 @@ -Usage: cardano-cli shelley 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 shelley 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 Create a genesis key delegation certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate.cli index 9a761df24d..a647b0ecb2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate.cli @@ -1,7 +1,14 @@ -Usage: cardano-cli shelley governance create-mir-certificate - ((--reserves | --treasury) (--stake-address ADDRESS) - (--reward LOVELACE) --out-file FILEPATH | - stake-addresses | transfer-to-treasury | transfer-to-rewards) +Usage: cardano-cli shelley 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate_stake-addresses.cli index 37f9f33c85..7e5a86da23 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate_stake-addresses.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli shelley governance create-mir-certificate stake-addresses - (--reserves | --treasury) (--stake-address ADDRESS) (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli shelley governance create-mir-certificate stake-addresses (--reserves | + + --treasury) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH Create an MIR certificate to pay stake addresses diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate_transfer-to-rewards.cli index 5572144c23..f51ace148b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli shelley governance create-mir-certificate transfer-to-rewards - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli shelley governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate_transfer-to-treasury.cli index e5fd452cd5..3b932dfa5c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli shelley governance create-mir-certificate transfer-to-treasury - --transfer LOVELACE --out-file FILEPATH +Usage: cardano-cli shelley governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-byron-genesis-vkey.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-byron-genesis-vkey.cli index ee15b2bc53..30ab56db01 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-byron-genesis-vkey.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-byron-genesis-vkey.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli shelley key convert-byron-genesis-vkey - --byron-genesis-verification-key BASE64 --out-file FILEPATH +Usage: cardano-cli shelley 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-byron-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-byron-key.cli index d0f9a7b3af..ae2556c22a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-byron-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-byron-key.cli @@ -1,11 +1,16 @@ -Usage: cardano-cli shelley 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 shelley 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-cardano-address-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-cardano-address-key.cli index 03e12ad009..46c5cf15a3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-cardano-address-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-cardano-address-key.cli @@ -1,7 +1,15 @@ -Usage: cardano-cli shelley 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 shelley 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-itn-bip32-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-itn-bip32-key.cli index e63a7ae01f..3f4b833125 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-itn-bip32-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-itn-bip32-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli shelley key convert-itn-bip32-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli shelley 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-itn-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-itn-extended-key.cli index b04471cf6f..748563daf7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-itn-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-itn-extended-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli shelley key convert-itn-extended-key - --itn-signing-key-file FILEPATH --out-file FILEPATH +Usage: cardano-cli shelley 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-itn-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-itn-key.cli index 6300d6ac23..d808baa1c8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-itn-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_convert-itn-key.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli shelley key convert-itn-key - (--itn-signing-key-file FILEPATH | - --itn-verification-key-file FILEPATH) --out-file FILEPATH +Usage: cardano-cli shelley 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_non-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_non-extended-key.cli index 6540f8a6a4..2b1cf9abf5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_non-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_non-extended-key.cli @@ -1,6 +1,5 @@ -Usage: cardano-cli shelley key non-extended-key - --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli shelley 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_verification-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_verification-key.cli index ac3be9ed93..fd3f5751a5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_verification-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key_verification-key.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli shelley key verification-key - --signing-key-file FILEPATH --verification-key-file FILEPATH +Usage: cardano-cli shelley key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH Get a verification key from a signing key. This supports all key types. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_issue-op-cert.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_issue-op-cert.cli index 55f1d06cbd..dc0839a9af 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_issue-op-cert.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_issue-op-cert.cli @@ -1,8 +1,9 @@ -Usage: cardano-cli shelley 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 shelley 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-gen-KES.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-gen-KES.cli index 90264c5c6c..e80b2f17bb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-gen-KES.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-gen-KES.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli shelley node key-gen-KES - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli shelley 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-gen-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-gen-VRF.cli index 3704ce8ec8..016a4b1f49 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-gen-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-gen-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli shelley node key-gen-VRF - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli shelley 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-gen.cli index 9f7155eb66..2acd2f4fbb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-gen.cli @@ -1,7 +1,7 @@ -Usage: cardano-cli shelley 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 shelley 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-hash-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-hash-VRF.cli index a290ad6155..0555998cd9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-hash-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_key-hash-VRF.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli shelley node key-hash-VRF - (--verification-key STRING | --verification-key-file FILEPATH) - [--out-file FILEPATH] +Usage: cardano-cli shelley node key-hash-VRF (--verification-key STRING | + --verification-key-file FILEPATH) + [--out-file FILEPATH] Print hash of a node's operational VRF key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_new-counter.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_new-counter.cli index a1369646ae..0b1b372455 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_new-counter.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node_new-counter.cli @@ -1,8 +1,10 @@ -Usage: cardano-cli shelley 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 shelley 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_kes-period-info.cli index 7a19696f80..3d5e937181 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_kes-period-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_kes-period-info.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli shelley query kes-period-info - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli shelley query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + --op-cert-file FILEPATH + [--out-file FILEPATH] Get information about the current KES period and your node's operational certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_leadership-schedule.cli index e368437289..6627c09137 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_leadership-schedule.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_leadership-schedule.cli @@ -1,11 +1,19 @@ -Usage: cardano-cli shelley 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] +Usage: cardano-cli shelley 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] Get the slots the node is expected to mint a block in (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_ledger-state.cli index 0ac7c3b00e..2ed070c307 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_ledger-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_ledger-state.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli shelley query ledger-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli shelley 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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_pool-params.cli index 08a28ba141..ea988b8dd7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_pool-params.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_pool-params.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli shelley 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] +Usage: cardano-cli shelley 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] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_pool-state.cli index 4bbe20cc4c..44f1bf62e3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_pool-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_pool-state.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli shelley 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] +Usage: cardano-cli shelley 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] Dump the pool state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_protocol-parameters.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_protocol-parameters.cli index c329a2bccd..eb1bf2c089 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_protocol-parameters.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_protocol-parameters.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli shelley query protocol-parameters - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli shelley query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current protocol parameters diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_protocol-state.cli index da94e4a277..381a85f63e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_protocol-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_protocol-state.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli shelley query protocol-state - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli shelley query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_ref-script-size.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_ref-script-size.cli index d058891cb1..b8513ee263 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_ref-script-size.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_ref-script-size.cli @@ -1,7 +1,11 @@ -Usage: cardano-cli shelley query ref-script-size - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--tx-in TX-IN) (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] [--out-file FILEPATH] +Usage: cardano-cli shelley query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Calculate the reference input scripts size in bytes for provided transaction inputs. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_slot-number.cli index 9f1b18c997..dc2297b05a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_slot-number.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_slot-number.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli shelley query slot-number - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) TIMESTAMP +Usage: cardano-cli shelley query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + TIMESTAMP Query slot number for UTC timestamp diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-address-info.cli index 6e51cd5c38..8a2238ac50 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-address-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-address-info.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli shelley 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 shelley query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-distribution.cli index bfafb90f0f..283915de47 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-distribution.cli @@ -1,7 +1,11 @@ -Usage: cardano-cli shelley 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 shelley query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | + --output-text] + [--out-file FILEPATH] Get the node's current aggregated stake distribution diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-pools.cli index 4a1d6e5a39..ef32805395 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-pools.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-pools.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli shelley 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 shelley query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-snapshot.cli index 0e5df5671c..4dd72c09b6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-snapshot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_stake-snapshot.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli shelley 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] +Usage: cardano-cli shelley 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] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tip.cli index d3e0617317..c39232e583 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tip.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tip.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli shelley query tip - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] +Usage: cardano-cli shelley query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool.cli index 16d9a555ac..3dd2446730 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli shelley query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli shelley query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool_info.cli index 0fd314d92c..b29e09cf8e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool_info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool_info.cli @@ -1,8 +1,11 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli shelley query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli shelley query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool_next-tx.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool_next-tx.cli index 0fd314d92c..b29e09cf8e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool_next-tx.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool_next-tx.cli @@ -1,8 +1,11 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli shelley query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli shelley query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool_tx-exists_TX_ID.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool_tx-exists_TX_ID.cli index 0fd314d92c..b29e09cf8e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool_tx-exists_TX_ID.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_tx-mempool_tx-exists_TX_ID.cli @@ -1,8 +1,11 @@ Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli shelley query tx-mempool - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli shelley query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_utxo.cli index b175e083cf..dfbadc89d4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query_utxo.cli @@ -1,8 +1,10 @@ -Usage: cardano-cli shelley 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 shelley 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] Get a portion of the current UTxO: by tx in, by address or the whole. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address.cli index b3262a8dfe..6fc2ec878a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli shelley stake-address - (key-gen | key-hash | build | registration-certificate | - deregistration-certificate | stake-delegation-certificate) +Usage: cardano-cli shelley stake-address (key-gen | key-hash | build | + registration-certificate | + deregistration-certificate | + stake-delegation-certificate) Stake address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_build.cli index 3ddb7c80d2..bd270645b9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_build.cli @@ -1,8 +1,11 @@ -Usage: cardano-cli shelley 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 shelley 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_deregistration-certificate.cli index ca08fe5514..9334ef980b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_deregistration-certificate.cli @@ -1,8 +1,13 @@ -Usage: cardano-cli shelley stake-address deregistration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli shelley stake-address deregistration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_key-gen.cli index 94848d20cf..82fc278d8b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_key-gen.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli shelley stake-address key-gen - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli shelley stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a stake address key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_key-hash.cli index b91ae29d7b..7c2018d6af 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_key-hash.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli shelley stake-address key-hash - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH) [--out-file FILEPATH] +Usage: cardano-cli shelley stake-address key-hash (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH) + [--out-file FILEPATH] Print the hash of a stake address key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_registration-certificate.cli index 45fb6b6421..e2d08a61d4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_registration-certificate.cli @@ -1,8 +1,13 @@ -Usage: cardano-cli shelley stake-address registration-certificate - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH | --stake-key-hash HASH | - --stake-script-file FILEPATH | --stake-address ADDRESS) - --out-file FILEPATH +Usage: cardano-cli shelley stake-address registration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --out-file FILEPATH Create a stake address registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_stake-delegation-certificate.cli index cec138ed3c..52c1b74073 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_stake-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-address_stake-delegation-certificate.cli @@ -1,10 +1,18 @@ -Usage: cardano-cli shelley 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 +Usage: cardano-cli shelley 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool.cli index b84f691ec5..e4efb38de8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli shelley stake-pool - (registration-certificate | deregistration-certificate | id | - metadata-hash) +Usage: cardano-cli shelley stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) Stake pool commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_deregistration-certificate.cli index 5988c84759..2aa2a65cff 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_deregistration-certificate.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli shelley stake-pool deregistration-certificate - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) --epoch NATURAL - --out-file FILEPATH +Usage: cardano-cli shelley stake-pool deregistration-certificate (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + --epoch NATURAL + --out-file FILEPATH Create a stake pool deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_id.cli index 6233904e20..fdb52cfb99 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_id.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli shelley stake-pool id - (--stake-pool-verification-key STRING | - --cold-verification-key-file FILEPATH) [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli shelley stake-pool id (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] Build pool id from the offline key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_metadata-hash.cli index c500b5ccf5..cb1745279d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_metadata-hash.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli shelley stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli shelley stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_registration-certificate.cli index f28f9d0846..fa272c6813 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_stake-pool_registration-certificate.cli @@ -1,18 +1,32 @@ -Usage: cardano-cli shelley stake-pool registration-certificate - (--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 +Usage: cardano-cli shelley stake-pool registration-certificate (--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 Create a stake pool registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_text-view_decode-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_text-view_decode-cbor.cli index 88497db31e..f925147ae7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_text-view_decode-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_text-view_decode-cbor.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli shelley text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli shelley text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction.cli index a4db6fb835..9d0a6870fa 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction.cli @@ -1,7 +1,8 @@ -Usage: cardano-cli shelley transaction - (build-raw | build | sign | witness | assemble | submit | policyid | - calculate-min-fee | calculate-min-required-utxo | hash-script-data | - txid | view) +Usage: cardano-cli shelley transaction (build-raw | build | sign | witness | + assemble | submit | policyid | + calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid | view) Transaction commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_assemble.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_assemble.cli index 1726fbf59c..770d7a4e99 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_assemble.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_assemble.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli shelley transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli shelley transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_build-raw.cli index 99414bdc66..a88359de96 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_build-raw.cli @@ -1,85 +1,141 @@ -Usage: cardano-cli shelley transaction build-raw - [--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 +Usage: cardano-cli shelley transaction build-raw [--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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_build.cli index 7762c8b26e..6a85249983 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_build.cli @@ -1,77 +1,131 @@ -Usage: cardano-cli shelley transaction build - --socket-path SOCKET_PATH [--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] - (--out-file FILEPATH | --calculate-plutus-script-cost FILEPATH) +Usage: cardano-cli shelley transaction build --socket-path SOCKET_PATH + [--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] + (--out-file FILEPATH | + --calculate-plutus-script-cost FILEPATH) Build a balanced transaction (automatically calculates fees) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-fee.cli index 950246a85a..4c0399c220 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-fee.cli @@ -1,9 +1,15 @@ -Usage: cardano-cli shelley 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] +Usage: cardano-cli shelley 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-required-utxo.cli index 832c68a41f..d7f1d21444 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-required-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-required-utxo.cli @@ -1,15 +1,25 @@ -Usage: cardano-cli shelley 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 | - --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] +Usage: cardano-cli shelley 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 | + + --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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-value.cli index bd32361fe4..5d24ebf9e6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-value.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-value.cli @@ -1,15 +1,25 @@ -Usage: cardano-cli shelley 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 | - --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] +Usage: cardano-cli shelley 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 | + + --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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_hash-script-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_hash-script-data.cli index 101baea053..e78d7a7d15 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_hash-script-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_hash-script-data.cli @@ -1,6 +1,8 @@ -Usage: cardano-cli shelley transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) +Usage: cardano-cli shelley 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_sign-witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_sign-witness.cli index 7943b0a8c9..bc4ec424c1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_sign-witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_sign-witness.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli shelley transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli shelley transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_sign.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_sign.cli index f641d84868..dbdb8dfc34 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_sign.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_sign.cli @@ -1,7 +1,10 @@ -Usage: cardano-cli shelley transaction sign - (--tx-body-file FILEPATH | --tx-file FILEPATH) - [--signing-key-file FILEPATH [--address STRING]] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli shelley 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_submit.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_submit.cli index 41ee632161..eade6e676d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_submit.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_submit.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli shelley transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH +Usage: cardano-cli shelley 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_txid.cli index 554ad98b08..a15f9af4ed 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_txid.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_txid.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli shelley transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli shelley transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_witness.cli index 94be5cabf4..67c5670e5d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_witness.cli @@ -1,6 +1,9 @@ -Usage: cardano-cli shelley transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli shelley transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [--mainnet | + --testnet-magic NATURAL] + --out-file FILEPATH Create a transaction witness diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-address.cli index c6997f2261..dae20d8751 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-address.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli signing-key-address - [--byron-legacy-formats | --byron-formats] - (--mainnet | --testnet-magic NATURAL) --secret FILEPATH +Usage: cardano-cli signing-key-address [--byron-legacy-formats | + --byron-formats] + (--mainnet | --testnet-magic NATURAL) + --secret FILEPATH Print address of a signing key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-public.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-public.cli index 20aa52d48d..aaecd1912f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-public.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-public.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli signing-key-public - [--byron-legacy-formats | --byron-formats] --secret FILEPATH +Usage: cardano-cli signing-key-public [--byron-legacy-formats | --byron-formats] + --secret FILEPATH Pretty-print a signing key's verification key (not a secret). diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_build.cli index 1b92cd9070..288c49242d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_build.cli @@ -1,8 +1,9 @@ -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 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_delegation-certificate.cli index af829e5116..893bfe3734 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_delegation-certificate.cli @@ -1,12 +1,24 @@ -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 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 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 0a3bfebe68..f71c62e415 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,10 +1,20 @@ -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 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-gen.cli index e64f5db597..dd62a42f28 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-gen.cli @@ -1,6 +1,6 @@ -Usage: cardano-cli stake-address key-gen - [--key-output-format STRING] --verification-key-file FILEPATH - --signing-key-file FILEPATH +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 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 2d6248fa60..6448cc8a88 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 @@ -1,6 +1,6 @@ -Usage: cardano-cli stake-address key-hash - (--stake-verification-key STRING | - --stake-verification-key-file FILEPATH) [--out-file FILEPATH] +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. 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 517d3073d9..343903a980 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,10 +1,20 @@ -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 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 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 42ebffc156..f4c6f85752 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,9 +1,14 @@ -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) --epoch NATURAL - --out-file FILEPATH +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) + --epoch NATURAL + --out-file FILEPATH Create a stake pool deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_metadata-hash.cli index b3493845f3..1339956f81 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_metadata-hash.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli stake-pool metadata-hash - --pool-metadata-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. 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 9cfc177079..99acddd070 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,20 +1,38 @@ -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) - (--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 +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) + (--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 Create a stake pool registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/text-view_decode-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/text-view_decode-cbor.cli index a37ea1d8d8..74399734fb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/text-view_decode-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/text-view_decode-cbor.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli text-view decode-cbor - --in-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_assemble.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_assemble.cli index cfe8ad3df7..16ac0cbcb0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_assemble.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_assemble.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli transaction assemble - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction 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 6ff4350bd0..01569f4e05 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,87 +1,132 @@ -Usage: cardano-cli 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 +Usage: cardano-cli 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) 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 0c24e4e356..c7f5eed6d3 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,98 +1,138 @@ -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] [--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) +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] + [--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) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli index befe9b3087..ff2fbfe9b9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli @@ -1,9 +1,14 @@ -Usage: cardano-cli 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] +Usage: cardano-cli 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. 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 c192fceb26..21e294ee27 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,17 +1,31 @@ -Usage: cardano-cli 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] +Usage: cardano-cli 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. 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 c0cf54f1b6..ffef173d92 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,17 +1,29 @@ -Usage: cardano-cli 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] +Usage: cardano-cli 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_hash-script-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_hash-script-data.cli index d307ac7f57..ba565a5796 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_hash-script-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_hash-script-data.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli transaction hash-script-data - (--script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | - --script-data-value JSON_VALUE) +Usage: cardano-cli 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign-witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign-witness.cli index 2a890be38a..0608015762 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign-witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign-witness.cli @@ -1,5 +1,6 @@ -Usage: cardano-cli transaction sign-witness - --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH +Usage: cardano-cli transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign.cli index e852df915f..57c6e5acd5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign.cli @@ -1,7 +1,9 @@ -Usage: cardano-cli transaction sign - (--tx-body-file FILEPATH | --tx-file FILEPATH) - [--signing-key-file FILEPATH [--address STRING]] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_submit.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_submit.cli index 2e24957fef..6bb7241c4d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_submit.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_submit.cli @@ -1,6 +1,7 @@ -Usage: cardano-cli transaction submit - --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) --tx-file FILEPATH +Usage: cardano-cli 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_txid.cli index c2611fc7a9..f67c118bff 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_txid.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_txid.cli @@ -1,5 +1,5 @@ -Usage: cardano-cli transaction txid - (--tx-body-file FILEPATH | --tx-file FILEPATH) +Usage: cardano-cli transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_witness.cli index 90cafaaabc..cf17dc6b71 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_witness.cli @@ -1,6 +1,8 @@ -Usage: cardano-cli transaction witness - --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] - [--mainnet | --testnet-magic NATURAL] --out-file FILEPATH +Usage: cardano-cli transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [--mainnet | --testnet-magic NATURAL] + --out-file FILEPATH Create a transaction witness