From 9cc897532cc9b17c5844a12e3a414b9e47f21f99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Wed, 18 Sep 2024 11:43:23 +0200 Subject: [PATCH 1/4] Depend on optparse-applicative instead of optparse-applicative-fork --- cardano-cli/cardano-cli.cabal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cardano-cli/cardano-cli.cabal b/cardano-cli/cardano-cli.cabal index e27fe19994..43df996fa9 100644 --- a/cardano-cli/cardano-cli.cabal +++ b/cardano-cli/cardano-cli.cabal @@ -229,7 +229,7 @@ library mtl, network, network-uri, - optparse-applicative-fork, + optparse-applicative, ouroboros-consensus ^>=0.21, ouroboros-consensus-cardano ^>=0.20, ouroboros-consensus-protocol ^>=0.9.0.2, @@ -263,7 +263,7 @@ executable cardano-cli cardano-api, cardano-cli, cardano-crypto-class ^>=2.1.2, - optparse-applicative-fork, + optparse-applicative, transformers-except, library cardano-cli-test-lib From b3a50351fde417f2afb254ed86fdbd9b9a4d091e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Wed, 18 Sep 2024 11:42:55 +0200 Subject: [PATCH 2/4] Changes to Haskell files --- cardano-cli/cardano-cli.cabal | 1 - cardano-cli/src/Cardano/CLI/Compatible/Run.hs | 12 ++- .../CLI/EraBased/Options/Transaction.hs | 40 +++++----- cardano-cli/src/Cardano/CLI/Options.hs | 5 +- cardano-cli/src/Cardano/CLI/Render.hs | 75 ------------------- cardano-cli/src/Cardano/CLI/Run.hs | 4 +- .../src/Cardano/CLI/Types/Errors/CmdError.hs | 9 ++- 7 files changed, 38 insertions(+), 108 deletions(-) delete mode 100644 cardano-cli/src/Cardano/CLI/Render.hs diff --git a/cardano-cli/cardano-cli.cabal b/cardano-cli/cardano-cli.cabal index 43df996fa9..2b97bf2854 100644 --- a/cardano-cli/cardano-cli.cabal +++ b/cardano-cli/cardano-cli.cabal @@ -136,7 +136,6 @@ library Cardano.CLI.Orphans Cardano.CLI.Parser Cardano.CLI.Read - Cardano.CLI.Render Cardano.CLI.Run Cardano.CLI.Run.Address Cardano.CLI.Run.Address.Info diff --git a/cardano-cli/src/Cardano/CLI/Compatible/Run.hs b/cardano-cli/src/Cardano/CLI/Compatible/Run.hs index ae30b50b10..adcc4cda71 100644 --- a/cardano-cli/src/Cardano/CLI/Compatible/Run.hs +++ b/cardano-cli/src/Cardano/CLI/Compatible/Run.hs @@ -13,7 +13,6 @@ import Cardano.Api import Cardano.CLI.Compatible.Commands import Cardano.CLI.Compatible.Governance import Cardano.CLI.Compatible.Transaction -import Cardano.CLI.Render import Cardano.CLI.Types.Errors.CmdError import Data.Text (Text) @@ -24,8 +23,17 @@ data CompatibleCmdError renderCompatibleCmdError :: Text -> CompatibleCmdError -> Doc ann renderCompatibleCmdError cmdText = \case - CompatibleTransactionError e -> renderAnyCmdError cmdText prettyError e + CompatibleTransactionError e -> renderAnyCmdError prettyError e CompatibleGovernanceError e -> renderCmdError cmdText e + where + renderAnyCmdError :: (a -> Doc ann) -> a -> Doc ann + renderAnyCmdError renderer shelCliCmdErr = + mconcat + [ "Command failed: " + , pretty cmdText + , " Error: " + , renderer shelCliCmdErr + ] runAnyCompatibleCommand :: AnyCompatibleCommand -> ExceptT CompatibleCmdError IO () runAnyCompatibleCommand (AnyCompatibleCommand cmd) = runCompatibleCommand cmd diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Transaction.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Transaction.hs index 2bdb9375e5..b4e4290d9a 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Transaction.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Transaction.hs @@ -21,7 +21,6 @@ import Cardano.CLI.Types.Common import Data.Foldable import Options.Applicative hiding (help, str) import qualified Options.Applicative as Opt -import qualified Options.Applicative.Help as H import Prettyprinter (line) {- HLINT ignore "Use <$>" -} @@ -49,13 +48,12 @@ pTransactionCmds era' envCli = [ pretty @String "Build a transaction (low-level, inconvenient)" , line , line - , H.yellow $ - mconcat - [ "Please note " - , H.underline "the order" - , " of some cmd options is crucial. If used incorrectly may produce " - , "undesired tx body. See nested [] notation above for details." - ] + , mconcat + [ "Please note " + , "the order" + , " of some cmd options is crucial. If used incorrectly may produce " + , "undesired tx body. See nested [] notation above for details." + ] ] , pTransactionBuildCmd era' envCli , forShelleyBasedEraInEon era' Nothing (`pTransactionBuildEstimateCmd` envCli) @@ -157,13 +155,12 @@ pTransactionBuildCmd sbe envCli = do [ pretty @String "Build a balanced transaction (automatically calculates fees)" , line , line - , H.yellow $ - mconcat - [ "Please note " - , H.underline "the order" - , " of some cmd options is crucial. If used incorrectly may produce " - , "undesired tx body. See nested [] notation above for details." - ] + , mconcat + [ "Please note " + , "the order" + , " of some cmd options is crucial. If used incorrectly may produce " + , "undesired tx body. See nested [] notation above for details." + ] ] where pCmd era' = do @@ -216,13 +213,12 @@ pTransactionBuildEstimateCmd eon' _envCli = do "Build a balanced transaction without access to a live node (automatically estimates fees)" , line , line - , H.yellow $ - mconcat - [ "Please note " - , H.underline "the order" - , " of some cmd options is crucial. If used incorrectly may produce " - , "undesired tx body. See nested [] notation above for details." - ] + , mconcat + [ "Please note " + , "the order" + , " of some cmd options is crucial. If used incorrectly may produce " + , "undesired tx body. See nested [] notation above for details." + ] ] where pCmd :: Exp.Era era -> Parser (TransactionCmds era) diff --git a/cardano-cli/src/Cardano/CLI/Options.hs b/cardano-cli/src/Cardano/CLI/Options.hs index c7738db200..ec5f16ce96 100644 --- a/cardano-cli/src/Cardano/CLI/Options.hs +++ b/cardano-cli/src/Cardano/CLI/Options.hs @@ -23,13 +23,11 @@ import Cardano.CLI.Options.Key import Cardano.CLI.Options.Node import Cardano.CLI.Options.Ping (parsePingCmd) import Cardano.CLI.Parser -import Cardano.CLI.Render (customRenderHelp) import Cardano.CLI.Run (ClientCommand (..)) import Data.Foldable import Options.Applicative import qualified Options.Applicative as Opt -import qualified Prettyprinter as PP opts :: EnvCli -> ParserInfo ClientCommand opts envCli = @@ -49,8 +47,7 @@ pref = Opt.prefs $ mconcat [ showHelpOnEmpty - , helpEmbedBriefDesc PP.align - , helpRenderHelp customRenderHelp + , Opt.briefHangPoint maxBound ] addressCmdsTopLevel :: EnvCli -> Parser ClientCommand diff --git a/cardano-cli/src/Cardano/CLI/Render.hs b/cardano-cli/src/Cardano/CLI/Render.hs deleted file mode 100644 index 5af2a8ff6f..0000000000 --- a/cardano-cli/src/Cardano/CLI/Render.hs +++ /dev/null @@ -1,75 +0,0 @@ -{- HLINT ignore "Redundant id" -} - -module Cardano.CLI.Render - ( customRenderHelp - , renderAnyCmdError - ) -where - -import Cardano.Api (textShow) - -import Data.Text (Text) -import qualified Data.Text as T -import Options.Applicative -import Options.Applicative.Help.Ann -import Options.Applicative.Help.Types (helpText, renderHelp) -import Prettyprinter -import Prettyprinter.Render.Util.SimpleDocTree -import qualified System.Environment as IO -import qualified System.IO.Unsafe as IO - -cliHelpTraceEnabled :: Bool -cliHelpTraceEnabled = IO.unsafePerformIO $ do - mValue <- IO.lookupEnv "CLI_HELP_TRACE" - return $ mValue == Just "1" -{-# NOINLINE cliHelpTraceEnabled #-} - --- | Convert a help text to 'String'. When the CLI_HELP_TRACE environment variable is set --- to '1', the output will be in HTML so that it can be viewed in a browser where developer --- tools can be used to inspect tracing that aids in describing the structure of the output --- document. -customRenderHelp :: Int -> ParserHelp -> String -customRenderHelp = - if cliHelpTraceEnabled - then customRenderHelpAsHtml - else customRenderHelpAsAnsi - -customRenderHelpAsHtml :: Int -> ParserHelp -> String -customRenderHelpAsHtml cols = - T.unpack - . wrapper - . renderSimplyDecorated id renderElement - . treeForm - . layoutSmart (LayoutOptions (AvailablePerLine cols 1.0)) - . helpText - where - renderElement :: Ann -> Text -> Text - renderElement ann x = - if cliHelpTraceEnabled - then case ann of - AnnTrace _ name -> "" <> x <> "" - AnnStyle _ -> x - else x - wrapper = - if cliHelpTraceEnabled - then - id - . ("\n" <>) - . ("\n" <>) - . ("
\n" <>)
-          . (<> "\n")
-          . (<> "\n")
-          . (<> "\n
") - else id - -customRenderHelpAsAnsi :: Int -> ParserHelp -> String -customRenderHelpAsAnsi = renderHelp - -renderAnyCmdError :: Text -> (a -> Doc ann) -> a -> Doc ann -renderAnyCmdError cmdText renderer shelCliCmdErr = - mconcat - [ "Command failed: " - , pretty cmdText - , " Error: " - , renderer shelCliCmdErr - ] diff --git a/cardano-cli/src/Cardano/CLI/Run.hs b/cardano-cli/src/Cardano/CLI/Run.hs index 027db218c1..562ff549f7 100644 --- a/cardano-cli/src/Cardano/CLI/Run.hs +++ b/cardano-cli/src/Cardano/CLI/Run.hs @@ -23,7 +23,6 @@ import Cardano.CLI.EraBased.Run import Cardano.CLI.EraBased.Run.Query import Cardano.CLI.Legacy.Commands import Cardano.CLI.Legacy.Run (runLegacyCmds) -import Cardano.CLI.Render (customRenderHelp) import Cardano.CLI.Run.Address import Cardano.CLI.Run.Debug import Cardano.CLI.Run.Hash (runHashCmds) @@ -47,6 +46,7 @@ import qualified Data.Text as Text import qualified Data.Text.IO as Text import Data.Version (showVersion) import Options.Applicative.Help.Core +import Options.Applicative.Help.Types (renderHelp) import Options.Applicative.Types (OptReader (..), Option (..), Parser (..), ParserInfo (..), ParserPrefs (..)) import System.Info (arch, compilerName, compilerVersion, os) @@ -145,7 +145,7 @@ runDisplayVersion = do helpAll :: ParserPrefs -> String -> [String] -> ParserInfo a -> IO () helpAll pprefs progn rnames parserInfo = do - IO.putStrLn $ customRenderHelp 80 (usage_help parserInfo) + IO.putStrLn $ renderHelp 80 (usage_help parserInfo) IO.putStrLn "" go (infoParser parserInfo) where diff --git a/cardano-cli/src/Cardano/CLI/Types/Errors/CmdError.hs b/cardano-cli/src/Cardano/CLI/Types/Errors/CmdError.hs index 686b73caa1..52af632a0c 100644 --- a/cardano-cli/src/Cardano/CLI/Types/Errors/CmdError.hs +++ b/cardano-cli/src/Cardano/CLI/Types/Errors/CmdError.hs @@ -8,7 +8,6 @@ where import Cardano.Api -import Cardano.CLI.Render import Cardano.CLI.Types.Errors.AddressCmdError import Cardano.CLI.Types.Errors.DelegationError import Cardano.CLI.Types.Errors.GenesisCmdError @@ -66,4 +65,10 @@ renderCmdError cmdText = \case CmdTransactionError e -> renderError renderTxCmdError e where renderError :: (a -> Doc ann) -> a -> Doc ann - renderError = renderAnyCmdError cmdText + renderError renderer shelCliCmdErr = + mconcat + [ "Command failed: " + , pretty cmdText + , " Error: " + , renderer shelCliCmdErr + ] From 94fdc3618caa177996a1b89004f91287880a750a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Mon, 4 Nov 2024 12:09:25 +0100 Subject: [PATCH 3/4] Changes to golden files --- .../cardano-cli-golden/files/golden/help.cli | 17451 ++++++++-------- .../files/golden/help/address_build.cli | 23 +- .../files/golden/help/address_key-gen.cli | 11 +- .../files/golden/help/address_key-hash.cli | 8 +- .../files/golden/help/allegra.cli | 15 +- .../golden/help/allegra_address_build.cli | 23 +- .../golden/help/allegra_address_key-gen.cli | 12 +- .../golden/help/allegra_address_key-hash.cli | 9 +- .../files/golden/help/allegra_genesis.cli | 19 +- .../help/allegra_genesis_create-cardano.cli | 31 +- .../help/allegra_genesis_create-staked.cli | 29 +- .../allegra_genesis_create-testnet-data.cli | 35 +- .../golden/help/allegra_genesis_create.cli | 14 +- .../help/allegra_genesis_get-ver-key.cli | 2 +- .../help/allegra_genesis_initial-addr.cli | 7 +- .../help/allegra_genesis_initial-txin.cli | 7 +- .../help/allegra_genesis_key-gen-delegate.cli | 4 +- .../help/allegra_genesis_key-gen-genesis.cli | 2 +- .../help/allegra_genesis_key-gen-utxo.cli | 2 +- .../files/golden/help/allegra_governance.cli | 8 +- ...tion_create-protocol-parameters-update.cli | 44 +- ...ate-genesis-key-delegation-certificate.cli | 30 +- ...egra_governance_create-mir-certificate.cli | 22 +- ...create-mir-certificate_stake-addresses.cli | 13 +- ...te-mir-certificate_transfer-to-rewards.cli | 2 +- ...e-mir-certificate_transfer-to-treasury.cli | 2 +- .../files/golden/help/allegra_key.cli | 16 +- ...allegra_key_convert-byron-genesis-vkey.cli | 2 +- .../help/allegra_key_convert-byron-key.cli | 25 +- ...llegra_key_convert-cardano-address-key.cli | 23 +- .../allegra_key_convert-itn-bip32-key.cli | 2 +- .../allegra_key_convert-itn-extended-key.cli | 2 +- .../help/allegra_key_convert-itn-key.cli | 9 +- .../help/allegra_key_non-extended-key.cli | 2 +- .../help/allegra_key_verification-key.cli | 2 +- .../files/golden/help/allegra_node.cli | 10 +- .../help/allegra_node_issue-op-cert.cli | 14 +- .../golden/help/allegra_node_key-gen-KES.cli | 4 +- .../golden/help/allegra_node_key-gen-VRF.cli | 4 +- .../golden/help/allegra_node_key-gen.cli | 8 +- .../golden/help/allegra_node_key-hash-VRF.cli | 8 +- .../golden/help/allegra_node_new-counter.cli | 14 +- .../files/golden/help/allegra_query.cli | 23 +- .../help/allegra_query_kes-period-info.cli | 15 +- .../allegra_query_leadership-schedule.cli | 33 +- .../help/allegra_query_ledger-state.cli | 13 +- .../golden/help/allegra_query_pool-params.cli | 18 +- .../golden/help/allegra_query_pool-state.cli | 18 +- .../allegra_query_protocol-parameters.cli | 13 +- .../help/allegra_query_protocol-state.cli | 13 +- .../help/allegra_query_ref-script-size.cli | 19 +- .../golden/help/allegra_query_slot-number.cli | 13 +- .../help/allegra_query_stake-address-info.cli | 15 +- .../help/allegra_query_stake-distribution.cli | 18 +- .../golden/help/allegra_query_stake-pools.cli | 15 +- .../help/allegra_query_stake-snapshot.cli | 18 +- .../files/golden/help/allegra_query_tip.cli | 8 +- .../golden/help/allegra_query_tx-mempool.cli | 15 +- .../help/allegra_query_tx-mempool_info.cli | 15 +- .../help/allegra_query_tx-mempool_next-tx.cli | 15 +- ...legra_query_tx-mempool_tx-exists_TX_ID.cli | 15 +- .../files/golden/help/allegra_query_utxo.cli | 16 +- .../golden/help/allegra_stake-address.cli | 12 +- .../help/allegra_stake-address_build.cli | 18 +- ...ake-address_deregistration-certificate.cli | 18 +- .../help/allegra_stake-address_key-gen.cli | 4 +- .../help/allegra_stake-address_key-hash.cli | 9 +- ...stake-address_registration-certificate.cli | 18 +- ...e-address_stake-delegation-certificate.cli | 27 +- .../files/golden/help/allegra_stake-pool.cli | 9 +- ..._stake-pool_deregistration-certificate.cli | 11 +- .../golden/help/allegra_stake-pool_id.cli | 11 +- .../help/allegra_stake-pool_metadata-hash.cli | 11 +- ...ra_stake-pool_registration-certificate.cli | 60 +- .../help/allegra_text-view_decode-cbor.cli | 4 +- .../files/golden/help/allegra_transaction.cli | 18 +- .../help/allegra_transaction_assemble.cli | 6 +- .../help/allegra_transaction_build-raw.cli | 263 +- .../allegra_transaction_calculate-min-fee.cli | 24 +- ...ransaction_calculate-min-required-utxo.cli | 34 +- ...llegra_transaction_calculate-min-value.cli | 34 +- .../allegra_transaction_hash-script-data.cli | 10 +- .../help/allegra_transaction_sign-witness.cli | 6 +- .../golden/help/allegra_transaction_sign.cli | 17 +- .../help/allegra_transaction_submit.cli | 13 +- .../golden/help/allegra_transaction_txid.cli | 6 +- .../help/allegra_transaction_witness.cli | 11 +- .../files/golden/help/alonzo.cli | 15 +- .../golden/help/alonzo_address_build.cli | 23 +- .../golden/help/alonzo_address_key-gen.cli | 12 +- .../golden/help/alonzo_address_key-hash.cli | 8 +- .../files/golden/help/alonzo_genesis.cli | 19 +- .../help/alonzo_genesis_create-cardano.cli | 31 +- .../help/alonzo_genesis_create-staked.cli | 29 +- .../alonzo_genesis_create-testnet-data.cli | 36 +- .../golden/help/alonzo_genesis_create.cli | 12 +- .../help/alonzo_genesis_get-ver-key.cli | 2 +- .../help/alonzo_genesis_initial-addr.cli | 9 +- .../help/alonzo_genesis_initial-txin.cli | 9 +- .../help/alonzo_genesis_key-gen-delegate.cli | 4 +- .../help/alonzo_genesis_key-gen-genesis.cli | 2 +- .../help/alonzo_genesis_key-gen-utxo.cli | 2 +- .../files/golden/help/alonzo_governance.cli | 8 +- ...tion_create-protocol-parameters-update.cli | 58 +- ...ate-genesis-key-delegation-certificate.cli | 30 +- ...onzo_governance_create-mir-certificate.cli | 21 +- ...create-mir-certificate_stake-addresses.cli | 13 +- ...te-mir-certificate_transfer-to-rewards.cli | 2 +- ...e-mir-certificate_transfer-to-treasury.cli | 2 +- .../files/golden/help/alonzo_key.cli | 15 +- .../alonzo_key_convert-byron-genesis-vkey.cli | 2 +- .../help/alonzo_key_convert-byron-key.cli | 25 +- ...alonzo_key_convert-cardano-address-key.cli | 22 +- .../help/alonzo_key_convert-itn-bip32-key.cli | 2 +- .../alonzo_key_convert-itn-extended-key.cli | 2 +- .../help/alonzo_key_convert-itn-key.cli | 9 +- .../help/alonzo_key_non-extended-key.cli | 2 +- .../help/alonzo_key_verification-key.cli | 2 +- .../files/golden/help/alonzo_node.cli | 10 +- .../golden/help/alonzo_node_issue-op-cert.cli | 14 +- .../golden/help/alonzo_node_key-gen-KES.cli | 4 +- .../golden/help/alonzo_node_key-gen-VRF.cli | 4 +- .../files/golden/help/alonzo_node_key-gen.cli | 8 +- .../golden/help/alonzo_node_key-hash-VRF.cli | 8 +- .../golden/help/alonzo_node_new-counter.cli | 14 +- .../files/golden/help/alonzo_query.cli | 23 +- .../help/alonzo_query_kes-period-info.cli | 15 +- .../help/alonzo_query_leadership-schedule.cli | 33 +- .../golden/help/alonzo_query_ledger-state.cli | 13 +- .../golden/help/alonzo_query_pool-params.cli | 18 +- .../golden/help/alonzo_query_pool-state.cli | 17 +- .../help/alonzo_query_protocol-parameters.cli | 13 +- .../help/alonzo_query_protocol-state.cli | 13 +- .../help/alonzo_query_ref-script-size.cli | 19 +- .../golden/help/alonzo_query_slot-number.cli | 12 +- .../help/alonzo_query_stake-address-info.cli | 15 +- .../help/alonzo_query_stake-distribution.cli | 18 +- .../golden/help/alonzo_query_stake-pools.cli | 15 +- .../help/alonzo_query_stake-snapshot.cli | 18 +- .../files/golden/help/alonzo_query_tip.cli | 8 +- .../golden/help/alonzo_query_tx-mempool.cli | 14 +- .../help/alonzo_query_tx-mempool_info.cli | 14 +- .../help/alonzo_query_tx-mempool_next-tx.cli | 14 +- ...lonzo_query_tx-mempool_tx-exists_TX_ID.cli | 14 +- .../files/golden/help/alonzo_query_utxo.cli | 16 +- .../golden/help/alonzo_stake-address.cli | 12 +- .../help/alonzo_stake-address_build.cli | 18 +- ...ake-address_deregistration-certificate.cli | 18 +- .../help/alonzo_stake-address_key-gen.cli | 4 +- .../help/alonzo_stake-address_key-hash.cli | 9 +- ...stake-address_registration-certificate.cli | 18 +- ...e-address_stake-delegation-certificate.cli | 27 +- .../files/golden/help/alonzo_stake-pool.cli | 9 +- ..._stake-pool_deregistration-certificate.cli | 11 +- .../golden/help/alonzo_stake-pool_id.cli | 10 +- .../help/alonzo_stake-pool_metadata-hash.cli | 11 +- ...zo_stake-pool_registration-certificate.cli | 60 +- .../help/alonzo_text-view_decode-cbor.cli | 4 +- .../files/golden/help/alonzo_transaction.cli | 18 +- .../help/alonzo_transaction_assemble.cli | 6 +- .../help/alonzo_transaction_build-raw.cli | 260 +- .../alonzo_transaction_calculate-min-fee.cli | 24 +- ...ransaction_calculate-min-required-utxo.cli | 34 +- ...alonzo_transaction_calculate-min-value.cli | 34 +- .../alonzo_transaction_hash-script-data.cli | 10 +- .../help/alonzo_transaction_sign-witness.cli | 6 +- .../golden/help/alonzo_transaction_sign.cli | 16 +- .../golden/help/alonzo_transaction_submit.cli | 13 +- .../golden/help/alonzo_transaction_txid.cli | 6 +- .../help/alonzo_transaction_witness.cli | 11 +- .../files/golden/help/babbage.cli | 15 +- .../golden/help/babbage_address_build.cli | 23 +- .../golden/help/babbage_address_key-gen.cli | 12 +- .../golden/help/babbage_address_key-hash.cli | 9 +- .../files/golden/help/babbage_genesis.cli | 19 +- .../help/babbage_genesis_create-cardano.cli | 31 +- .../help/babbage_genesis_create-staked.cli | 29 +- .../babbage_genesis_create-testnet-data.cli | 35 +- .../golden/help/babbage_genesis_create.cli | 14 +- .../help/babbage_genesis_get-ver-key.cli | 2 +- .../help/babbage_genesis_initial-addr.cli | 7 +- .../help/babbage_genesis_initial-txin.cli | 7 +- .../help/babbage_genesis_key-gen-delegate.cli | 4 +- .../help/babbage_genesis_key-gen-genesis.cli | 2 +- .../help/babbage_genesis_key-gen-utxo.cli | 2 +- .../files/golden/help/babbage_governance.cli | 12 +- ...tion_create-protocol-parameters-update.cli | 52 +- .../help/babbage_governance_answer-poll.cli | 6 +- ...ate-genesis-key-delegation-certificate.cli | 30 +- ...bage_governance_create-mir-certificate.cli | 22 +- ...create-mir-certificate_stake-addresses.cli | 13 +- ...te-mir-certificate_transfer-to-rewards.cli | 2 +- ...e-mir-certificate_transfer-to-treasury.cli | 2 +- .../help/babbage_governance_create-poll.cli | 6 +- .../help/babbage_governance_verify-poll.cli | 4 +- .../files/golden/help/babbage_key.cli | 16 +- ...babbage_key_convert-byron-genesis-vkey.cli | 2 +- .../help/babbage_key_convert-byron-key.cli | 25 +- ...abbage_key_convert-cardano-address-key.cli | 23 +- .../babbage_key_convert-itn-bip32-key.cli | 2 +- .../babbage_key_convert-itn-extended-key.cli | 2 +- .../help/babbage_key_convert-itn-key.cli | 9 +- .../help/babbage_key_non-extended-key.cli | 2 +- .../help/babbage_key_verification-key.cli | 2 +- .../files/golden/help/babbage_node.cli | 10 +- .../help/babbage_node_issue-op-cert.cli | 14 +- .../golden/help/babbage_node_key-gen-KES.cli | 4 +- .../golden/help/babbage_node_key-gen-VRF.cli | 4 +- .../golden/help/babbage_node_key-gen.cli | 8 +- .../golden/help/babbage_node_key-hash-VRF.cli | 8 +- .../golden/help/babbage_node_new-counter.cli | 14 +- .../files/golden/help/babbage_query.cli | 23 +- .../help/babbage_query_kes-period-info.cli | 15 +- .../babbage_query_leadership-schedule.cli | 33 +- .../help/babbage_query_ledger-state.cli | 13 +- .../golden/help/babbage_query_pool-params.cli | 18 +- .../golden/help/babbage_query_pool-state.cli | 18 +- .../babbage_query_protocol-parameters.cli | 13 +- .../help/babbage_query_protocol-state.cli | 13 +- .../help/babbage_query_ref-script-size.cli | 19 +- .../golden/help/babbage_query_slot-number.cli | 13 +- .../help/babbage_query_stake-address-info.cli | 15 +- .../help/babbage_query_stake-distribution.cli | 18 +- .../golden/help/babbage_query_stake-pools.cli | 15 +- .../help/babbage_query_stake-snapshot.cli | 18 +- .../files/golden/help/babbage_query_tip.cli | 8 +- .../golden/help/babbage_query_tx-mempool.cli | 15 +- .../help/babbage_query_tx-mempool_info.cli | 15 +- .../help/babbage_query_tx-mempool_next-tx.cli | 15 +- ...bbage_query_tx-mempool_tx-exists_TX_ID.cli | 15 +- .../files/golden/help/babbage_query_utxo.cli | 16 +- .../golden/help/babbage_stake-address.cli | 12 +- .../help/babbage_stake-address_build.cli | 18 +- ...ake-address_deregistration-certificate.cli | 18 +- .../help/babbage_stake-address_key-gen.cli | 4 +- .../help/babbage_stake-address_key-hash.cli | 9 +- ...stake-address_registration-certificate.cli | 18 +- ...e-address_stake-delegation-certificate.cli | 27 +- .../files/golden/help/babbage_stake-pool.cli | 9 +- ..._stake-pool_deregistration-certificate.cli | 11 +- .../golden/help/babbage_stake-pool_id.cli | 11 +- .../help/babbage_stake-pool_metadata-hash.cli | 11 +- ...ge_stake-pool_registration-certificate.cli | 60 +- .../help/babbage_text-view_decode-cbor.cli | 4 +- .../files/golden/help/babbage_transaction.cli | 25 +- .../help/babbage_transaction_assemble.cli | 6 +- .../babbage_transaction_build-estimate.cli | 277 +- .../help/babbage_transaction_build-raw.cli | 263 +- .../golden/help/babbage_transaction_build.cli | 249 +- .../babbage_transaction_calculate-min-fee.cli | 24 +- ...ransaction_calculate-min-required-utxo.cli | 34 +- ...abbage_transaction_calculate-min-value.cli | 34 +- .../babbage_transaction_hash-script-data.cli | 10 +- .../help/babbage_transaction_sign-witness.cli | 6 +- .../golden/help/babbage_transaction_sign.cli | 17 +- .../help/babbage_transaction_submit.cli | 13 +- .../golden/help/babbage_transaction_txid.cli | 6 +- .../help/babbage_transaction_witness.cli | 11 +- .../files/golden/help/byron.cli | 9 +- .../help/byron_create-proposal-vote.cli | 14 +- .../help/byron_create-update-proposal.cli | 58 +- .../golden/help/byron_genesis_genesis.cli | 23 +- .../byron_governance_create-proposal-vote.cli | 17 +- ...yron_governance_create-update-proposal.cli | 58 +- .../byron_governance_submit-proposal-vote.cli | 10 +- ...yron_governance_submit-update-proposal.cli | 10 +- .../files/golden/help/byron_key.cli | 8 +- .../byron_key_migrate-delegate-key-from.cli | 2 +- .../help/byron_key_signing-key-address.cli | 13 +- .../help/byron_key_signing-key-public.cli | 8 +- .../golden/help/byron_key_to-verification.cli | 9 +- .../byron_miscellaneous_validate-cbor.cli | 14 +- .../help/byron_submit-proposal-vote.cli | 9 +- .../help/byron_submit-update-proposal.cli | 9 +- .../files/golden/help/byron_transaction.cli | 8 +- ...saction_issue-genesis-utxo-expenditure.cli | 20 +- ...ron_transaction_issue-utxo-expenditure.cli | 19 +- .../help/byron_transaction_submit-tx.cli | 9 +- .../files/golden/help/compatible.cli | 10 +- .../help/compatible_allegra_governance.cli | 8 +- ...tion_create-protocol-parameters-update.cli | 44 +- ...ate-genesis-key-delegation-certificate.cli | 30 +- ...egra_governance_create-mir-certificate.cli | 24 +- ...create-mir-certificate_stake-addresses.cli | 13 +- ...te-mir-certificate_transfer-to-rewards.cli | 2 +- ...e-mir-certificate_transfer-to-treasury.cli | 2 +- ...allegra_transaction_signed-transaction.cli | 21 +- .../help/compatible_alonzo_governance.cli | 8 +- ...tion_create-protocol-parameters-update.cli | 58 +- ...ate-genesis-key-delegation-certificate.cli | 30 +- ...onzo_governance_create-mir-certificate.cli | 24 +- ...create-mir-certificate_stake-addresses.cli | 13 +- ...te-mir-certificate_transfer-to-rewards.cli | 2 +- ...e-mir-certificate_transfer-to-treasury.cli | 2 +- ..._alonzo_transaction_signed-transaction.cli | 42 +- .../help/compatible_babbage_governance.cli | 12 +- ...tion_create-protocol-parameters-update.cli | 52 +- ...patible_babbage_governance_answer-poll.cli | 4 +- ...ate-genesis-key-delegation-certificate.cli | 30 +- ...bage_governance_create-mir-certificate.cli | 24 +- ...create-mir-certificate_stake-addresses.cli | 13 +- ...te-mir-certificate_transfer-to-rewards.cli | 2 +- ...e-mir-certificate_transfer-to-treasury.cli | 2 +- ...patible_babbage_governance_create-poll.cli | 6 +- ...patible_babbage_governance_verify-poll.cli | 4 +- ...babbage_transaction_signed-transaction.cli | 51 +- .../help/compatible_conway_governance.cli | 8 +- .../compatible_conway_governance_action.cli | 18 +- ..._governance_action_create-constitution.cli | 44 +- ...nway_governance_action_create-hardfork.cli | 40 +- ...e_conway_governance_action_create-info.cli | 31 +- ...governance_action_create-no-confidence.cli | 36 +- ...tion_create-protocol-parameters-update.cli | 126 +- ...ance_action_create-treasury-withdrawal.cli | 53 +- ...way_governance_action_update-committee.cli | 66 +- ...mpatible_conway_governance_action_view.cli | 7 +- ...compatible_conway_governance_committee.cli | 13 +- ...reate-cold-key-resignation-certificate.cli | 24 +- ...eate-hot-key-authorization-certificate.cli | 33 +- ...nway_governance_committee_key-gen-cold.cli | 5 +- ...onway_governance_committee_key-gen-hot.cli | 2 +- ...e_conway_governance_committee_key-hash.cli | 7 +- .../compatible_conway_governance_drep.cli | 13 +- .../compatible_conway_governance_drep_id.cli | 11 +- ...patible_conway_governance_drep_key-gen.cli | 2 +- ...e_conway_governance_drep_metadata-hash.cli | 13 +- ...vernance_drep_registration-certificate.cli | 23 +- ...governance_drep_retirement-certificate.cli | 17 +- ...way_governance_drep_update-certificate.cli | 21 +- ...mpatible_conway_governance_vote_create.cli | 52 +- ...compatible_conway_governance_vote_view.cli | 10 +- ..._conway_transaction_signed-transaction.cli | 119 +- .../help/compatible_mary_governance.cli | 8 +- ...tion_create-protocol-parameters-update.cli | 44 +- ...ate-genesis-key-delegation-certificate.cli | 30 +- ...mary_governance_create-mir-certificate.cli | 24 +- ...create-mir-certificate_stake-addresses.cli | 13 +- ...te-mir-certificate_transfer-to-rewards.cli | 2 +- ...e-mir-certificate_transfer-to-treasury.cli | 2 +- ...le_mary_transaction_signed-transaction.cli | 20 +- .../help/compatible_shelley_governance.cli | 8 +- ...tion_create-protocol-parameters-update.cli | 44 +- ...ate-genesis-key-delegation-certificate.cli | 30 +- ...lley_governance_create-mir-certificate.cli | 24 +- ...create-mir-certificate_stake-addresses.cli | 13 +- ...te-mir-certificate_transfer-to-rewards.cli | 2 +- ...e-mir-certificate_transfer-to-treasury.cli | 2 +- ...shelley_transaction_signed-transaction.cli | 21 +- .../files/golden/help/conway.cli | 15 +- .../golden/help/conway_address_build.cli | 23 +- .../golden/help/conway_address_key-gen.cli | 12 +- .../golden/help/conway_address_key-hash.cli | 8 +- .../files/golden/help/conway_genesis.cli | 19 +- .../help/conway_genesis_create-cardano.cli | 31 +- .../help/conway_genesis_create-staked.cli | 29 +- .../conway_genesis_create-testnet-data.cli | 36 +- .../golden/help/conway_genesis_create.cli | 12 +- .../help/conway_genesis_get-ver-key.cli | 2 +- .../help/conway_genesis_initial-addr.cli | 9 +- .../help/conway_genesis_initial-txin.cli | 9 +- .../help/conway_genesis_key-gen-delegate.cli | 4 +- .../help/conway_genesis_key-gen-genesis.cli | 2 +- .../help/conway_genesis_key-gen-utxo.cli | 2 +- .../golden/help/conway_governance_action.cli | 16 +- ..._governance_action_create-constitution.cli | 43 +- ...nway_governance_action_create-hardfork.cli | 39 +- .../conway_governance_action_create-info.cli | 25 +- ...governance_action_create-no-confidence.cli | 35 +- ...tion_create-protocol-parameters-update.cli | 126 +- ...ance_action_create-treasury-withdrawal.cli | 53 +- ...way_governance_action_update-committee.cli | 65 +- .../help/conway_governance_action_view.cli | 8 +- .../help/conway_governance_committee.cli | 12 +- ...reate-cold-key-resignation-certificate.cli | 24 +- ...eate-hot-key-authorization-certificate.cli | 33 +- ...nway_governance_committee_key-gen-cold.cli | 5 +- ...onway_governance_committee_key-gen-hot.cli | 2 +- .../conway_governance_committee_key-hash.cli | 7 +- .../golden/help/conway_governance_drep.cli | 12 +- .../golden/help/conway_governance_drep_id.cli | 10 +- .../help/conway_governance_drep_key-gen.cli | 2 +- .../conway_governance_drep_metadata-hash.cli | 12 +- ...vernance_drep_registration-certificate.cli | 23 +- ...governance_drep_retirement-certificate.cli | 17 +- ...way_governance_drep_update-certificate.cli | 21 +- .../help/conway_governance_vote_create.cli | 40 +- .../help/conway_governance_vote_view.cli | 4 +- .../files/golden/help/conway_key.cli | 15 +- .../conway_key_convert-byron-genesis-vkey.cli | 2 +- .../help/conway_key_convert-byron-key.cli | 25 +- ...conway_key_convert-cardano-address-key.cli | 22 +- .../help/conway_key_convert-itn-bip32-key.cli | 2 +- .../conway_key_convert-itn-extended-key.cli | 2 +- .../help/conway_key_convert-itn-key.cli | 9 +- .../help/conway_key_non-extended-key.cli | 2 +- .../help/conway_key_verification-key.cli | 2 +- .../files/golden/help/conway_node.cli | 10 +- .../golden/help/conway_node_issue-op-cert.cli | 14 +- .../golden/help/conway_node_key-gen-KES.cli | 4 +- .../golden/help/conway_node_key-gen-VRF.cli | 4 +- .../files/golden/help/conway_node_key-gen.cli | 8 +- .../golden/help/conway_node_key-hash-VRF.cli | 8 +- .../golden/help/conway_node_new-counter.cli | 14 +- .../files/golden/help/conway_query.cli | 34 +- .../help/conway_query_committee-state.cli | 44 +- .../golden/help/conway_query_constitution.cli | 17 +- .../conway_query_drep-stake-distribution.cli | 35 +- .../golden/help/conway_query_drep-state.cli | 29 +- .../golden/help/conway_query_gov-state.cli | 13 +- .../help/conway_query_kes-period-info.cli | 20 +- .../help/conway_query_leadership-schedule.cli | 38 +- .../golden/help/conway_query_ledger-state.cli | 17 +- .../golden/help/conway_query_pool-params.cli | 20 +- .../golden/help/conway_query_pool-state.cli | 19 +- .../help/conway_query_protocol-parameters.cli | 13 +- .../help/conway_query_protocol-state.cli | 18 +- .../help/conway_query_ref-script-size.cli | 24 +- .../golden/help/conway_query_slot-number.cli | 15 +- .../conway_query_spo-stake-distribution.cli | 28 +- .../help/conway_query_stake-address-info.cli | 20 +- .../help/conway_query_stake-distribution.cli | 23 +- .../golden/help/conway_query_stake-pools.cli | 17 +- .../help/conway_query_stake-snapshot.cli | 23 +- .../files/golden/help/conway_query_tip.cli | 10 +- .../golden/help/conway_query_treasury.cli | 11 +- .../golden/help/conway_query_tx-mempool.cli | 14 +- .../help/conway_query_tx-mempool_info.cli | 14 +- .../help/conway_query_tx-mempool_next-tx.cli | 14 +- ...onway_query_tx-mempool_tx-exists_TX_ID.cli | 14 +- .../files/golden/help/conway_query_utxo.cli | 18 +- .../golden/help/conway_stake-address.cli | 24 +- .../help/conway_stake-address_build.cli | 18 +- ...ake-address_deregistration-certificate.cli | 20 +- .../help/conway_stake-address_key-gen.cli | 4 +- .../help/conway_stake-address_key-hash.cli | 9 +- ...egistration-and-delegation-certificate.cli | 29 +- ...ration-and-vote-delegation-certificate.cli | 38 +- ...stake-address_registration-certificate.cli | 20 +- ...-stake-and-vote-delegation-certificate.cli | 47 +- ..._stake-and-vote-delegation-certificate.cli | 45 +- ...e-address_stake-delegation-certificate.cli | 27 +- ...ke-address_vote-delegation-certificate.cli | 36 +- .../files/golden/help/conway_stake-pool.cli | 9 +- ..._stake-pool_deregistration-certificate.cli | 11 +- .../golden/help/conway_stake-pool_id.cli | 10 +- .../help/conway_stake-pool_metadata-hash.cli | 11 +- ...ay_stake-pool_registration-certificate.cli | 60 +- .../help/conway_text-view_decode-cbor.cli | 4 +- .../files/golden/help/conway_transaction.cli | 25 +- .../help/conway_transaction_assemble.cli | 6 +- .../conway_transaction_build-estimate.cli | 347 +- .../help/conway_transaction_build-raw.cli | 329 +- .../golden/help/conway_transaction_build.cli | 301 +- .../conway_transaction_calculate-min-fee.cli | 24 +- ...ransaction_calculate-min-required-utxo.cli | 34 +- ...conway_transaction_calculate-min-value.cli | 34 +- .../conway_transaction_hash-script-data.cli | 10 +- .../help/conway_transaction_sign-witness.cli | 6 +- .../golden/help/conway_transaction_sign.cli | 16 +- .../golden/help/conway_transaction_submit.cli | 13 +- .../golden/help/conway_transaction_txid.cli | 6 +- .../help/conway_transaction_witness.cli | 11 +- .../golden/help/debug_log-epoch-state.cli | 4 +- .../golden/help/debug_transaction_view.cli | 9 +- .../files/golden/help/genesis.cli | 19 +- .../files/golden/help/hash_anchor-data.cli | 12 +- .../help/issue-genesis-utxo-expenditure.cli | 20 +- .../golden/help/issue-utxo-expenditure.cli | 14 +- .../files/golden/help/key.cli | 14 +- .../help/key_convert-byron-genesis-vkey.cli | 2 +- .../golden/help/key_convert-byron-key.cli | 22 +- .../help/key_convert-cardano-address-key.cli | 19 +- .../golden/help/key_convert-itn-bip32-key.cli | 2 +- .../help/key_convert-itn-extended-key.cli | 2 +- .../files/golden/help/key_convert-itn-key.cli | 8 +- .../golden/help/key_non-extended-key.cli | 2 +- .../golden/help/key_verification-key.cli | 2 +- .../files/golden/help/latest.cli | 15 +- .../golden/help/latest_address_build.cli | 23 +- .../golden/help/latest_address_key-gen.cli | 12 +- .../golden/help/latest_address_key-hash.cli | 8 +- .../files/golden/help/latest_genesis.cli | 19 +- .../help/latest_genesis_create-cardano.cli | 31 +- .../help/latest_genesis_create-staked.cli | 29 +- .../latest_genesis_create-testnet-data.cli | 36 +- .../golden/help/latest_genesis_create.cli | 12 +- .../help/latest_genesis_get-ver-key.cli | 2 +- .../help/latest_genesis_initial-addr.cli | 9 +- .../help/latest_genesis_initial-txin.cli | 9 +- .../help/latest_genesis_key-gen-delegate.cli | 4 +- .../help/latest_genesis_key-gen-genesis.cli | 2 +- .../help/latest_genesis_key-gen-utxo.cli | 2 +- .../golden/help/latest_governance_action.cli | 16 +- ..._governance_action_create-constitution.cli | 43 +- ...test_governance_action_create-hardfork.cli | 39 +- .../latest_governance_action_create-info.cli | 25 +- ...governance_action_create-no-confidence.cli | 35 +- ...tion_create-protocol-parameters-update.cli | 126 +- ...ance_action_create-treasury-withdrawal.cli | 53 +- ...est_governance_action_update-committee.cli | 65 +- .../help/latest_governance_action_view.cli | 8 +- .../help/latest_governance_committee.cli | 12 +- ...reate-cold-key-resignation-certificate.cli | 24 +- ...eate-hot-key-authorization-certificate.cli | 33 +- ...test_governance_committee_key-gen-cold.cli | 5 +- ...atest_governance_committee_key-gen-hot.cli | 2 +- .../latest_governance_committee_key-hash.cli | 7 +- .../golden/help/latest_governance_drep.cli | 12 +- .../golden/help/latest_governance_drep_id.cli | 10 +- .../help/latest_governance_drep_key-gen.cli | 2 +- .../latest_governance_drep_metadata-hash.cli | 12 +- ...vernance_drep_registration-certificate.cli | 23 +- ...governance_drep_retirement-certificate.cli | 17 +- ...est_governance_drep_update-certificate.cli | 21 +- .../help/latest_governance_vote_create.cli | 40 +- .../help/latest_governance_vote_view.cli | 4 +- .../files/golden/help/latest_key.cli | 15 +- .../latest_key_convert-byron-genesis-vkey.cli | 2 +- .../help/latest_key_convert-byron-key.cli | 25 +- ...latest_key_convert-cardano-address-key.cli | 22 +- .../help/latest_key_convert-itn-bip32-key.cli | 2 +- .../latest_key_convert-itn-extended-key.cli | 2 +- .../help/latest_key_convert-itn-key.cli | 9 +- .../help/latest_key_non-extended-key.cli | 2 +- .../help/latest_key_verification-key.cli | 2 +- .../files/golden/help/latest_node.cli | 10 +- .../golden/help/latest_node_issue-op-cert.cli | 14 +- .../golden/help/latest_node_key-gen-KES.cli | 4 +- .../golden/help/latest_node_key-gen-VRF.cli | 4 +- .../files/golden/help/latest_node_key-gen.cli | 8 +- .../golden/help/latest_node_key-hash-VRF.cli | 8 +- .../golden/help/latest_node_new-counter.cli | 14 +- .../files/golden/help/latest_query.cli | 34 +- .../help/latest_query_committee-state.cli | 44 +- .../golden/help/latest_query_constitution.cli | 17 +- .../latest_query_drep-stake-distribution.cli | 35 +- .../golden/help/latest_query_drep-state.cli | 29 +- .../golden/help/latest_query_gov-state.cli | 13 +- .../help/latest_query_kes-period-info.cli | 20 +- .../help/latest_query_leadership-schedule.cli | 38 +- .../golden/help/latest_query_ledger-state.cli | 17 +- .../golden/help/latest_query_pool-params.cli | 20 +- .../golden/help/latest_query_pool-state.cli | 19 +- .../help/latest_query_protocol-parameters.cli | 13 +- .../help/latest_query_protocol-state.cli | 18 +- .../help/latest_query_ref-script-size.cli | 24 +- .../golden/help/latest_query_slot-number.cli | 15 +- .../latest_query_spo-stake-distribution.cli | 28 +- .../help/latest_query_stake-address-info.cli | 20 +- .../help/latest_query_stake-distribution.cli | 23 +- .../golden/help/latest_query_stake-pools.cli | 17 +- .../help/latest_query_stake-snapshot.cli | 23 +- .../files/golden/help/latest_query_tip.cli | 10 +- .../golden/help/latest_query_treasury.cli | 11 +- .../golden/help/latest_query_tx-mempool.cli | 14 +- .../help/latest_query_tx-mempool_info.cli | 14 +- .../help/latest_query_tx-mempool_next-tx.cli | 14 +- ...atest_query_tx-mempool_tx-exists_TX_ID.cli | 14 +- .../files/golden/help/latest_query_utxo.cli | 18 +- .../golden/help/latest_stake-address.cli | 24 +- .../help/latest_stake-address_build.cli | 18 +- ...ake-address_deregistration-certificate.cli | 20 +- .../help/latest_stake-address_key-gen.cli | 4 +- .../help/latest_stake-address_key-hash.cli | 9 +- ...egistration-and-delegation-certificate.cli | 29 +- ...ration-and-vote-delegation-certificate.cli | 38 +- ...stake-address_registration-certificate.cli | 20 +- ...-stake-and-vote-delegation-certificate.cli | 47 +- ..._stake-and-vote-delegation-certificate.cli | 45 +- ...e-address_stake-delegation-certificate.cli | 27 +- ...ke-address_vote-delegation-certificate.cli | 36 +- .../files/golden/help/latest_stake-pool.cli | 9 +- ..._stake-pool_deregistration-certificate.cli | 11 +- .../golden/help/latest_stake-pool_id.cli | 10 +- .../help/latest_stake-pool_metadata-hash.cli | 11 +- ...st_stake-pool_registration-certificate.cli | 60 +- .../help/latest_text-view_decode-cbor.cli | 4 +- .../files/golden/help/latest_transaction.cli | 25 +- .../help/latest_transaction_assemble.cli | 6 +- .../latest_transaction_build-estimate.cli | 347 +- .../help/latest_transaction_build-raw.cli | 329 +- .../golden/help/latest_transaction_build.cli | 301 +- .../latest_transaction_calculate-min-fee.cli | 24 +- ...ransaction_calculate-min-required-utxo.cli | 34 +- ...latest_transaction_calculate-min-value.cli | 34 +- .../latest_transaction_hash-script-data.cli | 10 +- .../help/latest_transaction_sign-witness.cli | 6 +- .../golden/help/latest_transaction_sign.cli | 16 +- .../golden/help/latest_transaction_submit.cli | 13 +- .../golden/help/latest_transaction_txid.cli | 6 +- .../help/latest_transaction_witness.cli | 11 +- .../files/golden/help/legacy_genesis.cli | 18 +- .../help/legacy_genesis_create-cardano.cli | 43 +- .../help/legacy_genesis_create-staked.cli | 42 +- .../golden/help/legacy_genesis_create.cli | 25 +- .../help/legacy_genesis_get-ver-key.cli | 2 +- .../help/legacy_genesis_initial-addr.cli | 9 +- .../help/legacy_genesis_initial-txin.cli | 9 +- .../help/legacy_genesis_key-gen-delegate.cli | 4 +- .../help/legacy_genesis_key-gen-genesis.cli | 2 +- .../help/legacy_genesis_key-gen-utxo.cli | 2 +- .../files/golden/help/legacy_governance.cli | 8 +- ...ate-genesis-key-delegation-certificate.cli | 45 +- ...gacy_governance_create-mir-certificate.cli | 32 +- ...create-mir-certificate_stake-addresses.cli | 28 +- ...te-mir-certificate_transfer-to-rewards.cli | 20 +- ...e-mir-certificate_transfer-to-treasury.cli | 20 +- ...gacy_governance_create-update-proposal.cli | 62 +- .../files/golden/help/mary.cli | 14 +- .../files/golden/help/mary_address_build.cli | 23 +- .../golden/help/mary_address_key-gen.cli | 12 +- .../golden/help/mary_address_key-hash.cli | 8 +- .../files/golden/help/mary_genesis.cli | 19 +- .../help/mary_genesis_create-cardano.cli | 31 +- .../help/mary_genesis_create-staked.cli | 29 +- .../help/mary_genesis_create-testnet-data.cli | 36 +- .../files/golden/help/mary_genesis_create.cli | 12 +- .../golden/help/mary_genesis_get-ver-key.cli | 2 +- .../golden/help/mary_genesis_initial-addr.cli | 9 +- .../golden/help/mary_genesis_initial-txin.cli | 9 +- .../help/mary_genesis_key-gen-delegate.cli | 4 +- .../help/mary_genesis_key-gen-genesis.cli | 2 +- .../golden/help/mary_genesis_key-gen-utxo.cli | 2 +- .../files/golden/help/mary_governance.cli | 8 +- ...tion_create-protocol-parameters-update.cli | 44 +- ...ate-genesis-key-delegation-certificate.cli | 30 +- ...mary_governance_create-mir-certificate.cli | 20 +- ...create-mir-certificate_stake-addresses.cli | 13 +- ...te-mir-certificate_transfer-to-rewards.cli | 2 +- ...e-mir-certificate_transfer-to-treasury.cli | 2 +- .../files/golden/help/mary_key.cli | 15 +- .../mary_key_convert-byron-genesis-vkey.cli | 2 +- .../help/mary_key_convert-byron-key.cli | 25 +- .../mary_key_convert-cardano-address-key.cli | 20 +- .../help/mary_key_convert-itn-bip32-key.cli | 2 +- .../mary_key_convert-itn-extended-key.cli | 2 +- .../golden/help/mary_key_convert-itn-key.cli | 8 +- .../golden/help/mary_key_non-extended-key.cli | 2 +- .../golden/help/mary_key_verification-key.cli | 2 +- .../files/golden/help/mary_node.cli | 10 +- .../golden/help/mary_node_issue-op-cert.cli | 14 +- .../golden/help/mary_node_key-gen-KES.cli | 4 +- .../golden/help/mary_node_key-gen-VRF.cli | 4 +- .../files/golden/help/mary_node_key-gen.cli | 8 +- .../golden/help/mary_node_key-hash-VRF.cli | 8 +- .../golden/help/mary_node_new-counter.cli | 14 +- .../files/golden/help/mary_query.cli | 23 +- .../help/mary_query_kes-period-info.cli | 15 +- .../help/mary_query_leadership-schedule.cli | 33 +- .../golden/help/mary_query_ledger-state.cli | 12 +- .../golden/help/mary_query_pool-params.cli | 16 +- .../golden/help/mary_query_pool-state.cli | 14 +- .../help/mary_query_protocol-parameters.cli | 13 +- .../golden/help/mary_query_protocol-state.cli | 13 +- .../help/mary_query_ref-script-size.cli | 17 +- .../golden/help/mary_query_slot-number.cli | 11 +- .../help/mary_query_stake-address-info.cli | 15 +- .../help/mary_query_stake-distribution.cli | 17 +- .../golden/help/mary_query_stake-pools.cli | 13 +- .../golden/help/mary_query_stake-snapshot.cli | 18 +- .../files/golden/help/mary_query_tip.cli | 8 +- .../golden/help/mary_query_tx-mempool.cli | 11 +- .../help/mary_query_tx-mempool_info.cli | 11 +- .../help/mary_query_tx-mempool_next-tx.cli | 11 +- .../mary_query_tx-mempool_tx-exists_TX_ID.cli | 11 +- .../files/golden/help/mary_query_utxo.cli | 16 +- .../files/golden/help/mary_stake-address.cli | 12 +- .../golden/help/mary_stake-address_build.cli | 17 +- ...ake-address_deregistration-certificate.cli | 18 +- .../help/mary_stake-address_key-gen.cli | 4 +- .../help/mary_stake-address_key-hash.cli | 9 +- ...stake-address_registration-certificate.cli | 18 +- ...e-address_stake-delegation-certificate.cli | 27 +- .../files/golden/help/mary_stake-pool.cli | 9 +- ..._stake-pool_deregistration-certificate.cli | 11 +- .../files/golden/help/mary_stake-pool_id.cli | 10 +- .../help/mary_stake-pool_metadata-hash.cli | 11 +- ...ry_stake-pool_registration-certificate.cli | 60 +- .../help/mary_text-view_decode-cbor.cli | 4 +- .../files/golden/help/mary_transaction.cli | 18 +- .../golden/help/mary_transaction_assemble.cli | 6 +- .../help/mary_transaction_build-raw.cli | 259 +- .../mary_transaction_calculate-min-fee.cli | 24 +- ...ransaction_calculate-min-required-utxo.cli | 34 +- .../mary_transaction_calculate-min-value.cli | 34 +- .../mary_transaction_hash-script-data.cli | 10 +- .../help/mary_transaction_sign-witness.cli | 6 +- .../golden/help/mary_transaction_sign.cli | 14 +- .../golden/help/mary_transaction_submit.cli | 12 +- .../golden/help/mary_transaction_txid.cli | 6 +- .../golden/help/mary_transaction_witness.cli | 11 +- .../files/golden/help/node.cli | 10 +- .../files/golden/help/node_issue-op-cert.cli | 13 +- .../files/golden/help/node_key-gen-KES.cli | 4 +- .../files/golden/help/node_key-gen-VRF.cli | 4 +- .../files/golden/help/node_key-gen.cli | 8 +- .../files/golden/help/node_key-hash-VRF.cli | 8 +- .../files/golden/help/node_new-counter.cli | 12 +- .../files/golden/help/ping.cli | 12 +- .../files/golden/help/query.cli | 21 +- .../golden/help/query_kes-period-info.cli | 13 +- .../golden/help/query_leadership-schedule.cli | 33 +- .../files/golden/help/query_ledger-state.cli | 10 +- .../files/golden/help/query_pool-params.cli | 15 +- .../files/golden/help/query_pool-state.cli | 15 +- .../golden/help/query_protocol-parameters.cli | 13 +- .../golden/help/query_protocol-state.cli | 10 +- .../files/golden/help/query_slot-number.cli | 10 +- .../golden/help/query_stake-address-info.cli | 17 +- .../golden/help/query_stake-distribution.cli | 17 +- .../files/golden/help/query_stake-pools.cli | 12 +- .../golden/help/query_stake-snapshot.cli | 15 +- .../files/golden/help/query_tip.cli | 10 +- .../files/golden/help/query_tx-mempool.cli | 10 +- .../golden/help/query_tx-mempool_info.cli | 10 +- .../golden/help/query_tx-mempool_next-tx.cli | 10 +- .../help/query_tx-mempool_tx-exists_TX_ID.cli | 10 +- .../files/golden/help/query_utxo.cli | 18 +- .../files/golden/help/shelley.cli | 15 +- .../golden/help/shelley_address_build.cli | 23 +- .../golden/help/shelley_address_key-gen.cli | 12 +- .../golden/help/shelley_address_key-hash.cli | 9 +- .../files/golden/help/shelley_genesis.cli | 19 +- .../help/shelley_genesis_create-cardano.cli | 31 +- .../help/shelley_genesis_create-staked.cli | 29 +- .../shelley_genesis_create-testnet-data.cli | 35 +- .../golden/help/shelley_genesis_create.cli | 14 +- .../help/shelley_genesis_get-ver-key.cli | 2 +- .../help/shelley_genesis_initial-addr.cli | 7 +- .../help/shelley_genesis_initial-txin.cli | 7 +- .../help/shelley_genesis_key-gen-delegate.cli | 4 +- .../help/shelley_genesis_key-gen-genesis.cli | 2 +- .../help/shelley_genesis_key-gen-utxo.cli | 2 +- .../files/golden/help/shelley_governance.cli | 8 +- ...tion_create-protocol-parameters-update.cli | 44 +- ...ate-genesis-key-delegation-certificate.cli | 30 +- ...lley_governance_create-mir-certificate.cli | 22 +- ...create-mir-certificate_stake-addresses.cli | 13 +- ...te-mir-certificate_transfer-to-rewards.cli | 2 +- ...e-mir-certificate_transfer-to-treasury.cli | 2 +- .../files/golden/help/shelley_key.cli | 16 +- ...shelley_key_convert-byron-genesis-vkey.cli | 2 +- .../help/shelley_key_convert-byron-key.cli | 25 +- ...helley_key_convert-cardano-address-key.cli | 23 +- .../shelley_key_convert-itn-bip32-key.cli | 2 +- .../shelley_key_convert-itn-extended-key.cli | 2 +- .../help/shelley_key_convert-itn-key.cli | 9 +- .../help/shelley_key_non-extended-key.cli | 2 +- .../help/shelley_key_verification-key.cli | 2 +- .../files/golden/help/shelley_node.cli | 10 +- .../help/shelley_node_issue-op-cert.cli | 14 +- .../golden/help/shelley_node_key-gen-KES.cli | 4 +- .../golden/help/shelley_node_key-gen-VRF.cli | 4 +- .../golden/help/shelley_node_key-gen.cli | 8 +- .../golden/help/shelley_node_key-hash-VRF.cli | 8 +- .../golden/help/shelley_node_new-counter.cli | 14 +- .../files/golden/help/shelley_query.cli | 23 +- .../help/shelley_query_kes-period-info.cli | 15 +- .../shelley_query_leadership-schedule.cli | 33 +- .../help/shelley_query_ledger-state.cli | 13 +- .../golden/help/shelley_query_pool-params.cli | 18 +- .../golden/help/shelley_query_pool-state.cli | 18 +- .../shelley_query_protocol-parameters.cli | 13 +- .../help/shelley_query_protocol-state.cli | 13 +- .../help/shelley_query_ref-script-size.cli | 19 +- .../golden/help/shelley_query_slot-number.cli | 13 +- .../help/shelley_query_stake-address-info.cli | 15 +- .../help/shelley_query_stake-distribution.cli | 18 +- .../golden/help/shelley_query_stake-pools.cli | 15 +- .../help/shelley_query_stake-snapshot.cli | 18 +- .../files/golden/help/shelley_query_tip.cli | 8 +- .../golden/help/shelley_query_tx-mempool.cli | 15 +- .../help/shelley_query_tx-mempool_info.cli | 15 +- .../help/shelley_query_tx-mempool_next-tx.cli | 15 +- ...elley_query_tx-mempool_tx-exists_TX_ID.cli | 15 +- .../files/golden/help/shelley_query_utxo.cli | 16 +- .../golden/help/shelley_stake-address.cli | 12 +- .../help/shelley_stake-address_build.cli | 18 +- ...ake-address_deregistration-certificate.cli | 18 +- .../help/shelley_stake-address_key-gen.cli | 4 +- .../help/shelley_stake-address_key-hash.cli | 9 +- ...stake-address_registration-certificate.cli | 18 +- ...e-address_stake-delegation-certificate.cli | 27 +- .../files/golden/help/shelley_stake-pool.cli | 9 +- ..._stake-pool_deregistration-certificate.cli | 11 +- .../golden/help/shelley_stake-pool_id.cli | 11 +- .../help/shelley_stake-pool_metadata-hash.cli | 11 +- ...ey_stake-pool_registration-certificate.cli | 60 +- .../help/shelley_text-view_decode-cbor.cli | 4 +- .../files/golden/help/shelley_transaction.cli | 18 +- .../help/shelley_transaction_assemble.cli | 6 +- .../help/shelley_transaction_build-raw.cli | 263 +- .../shelley_transaction_calculate-min-fee.cli | 24 +- ...ransaction_calculate-min-required-utxo.cli | 34 +- ...helley_transaction_calculate-min-value.cli | 34 +- .../shelley_transaction_hash-script-data.cli | 10 +- .../help/shelley_transaction_sign-witness.cli | 6 +- .../golden/help/shelley_transaction_sign.cli | 17 +- .../help/shelley_transaction_submit.cli | 13 +- .../golden/help/shelley_transaction_txid.cli | 6 +- .../help/shelley_transaction_witness.cli | 11 +- .../files/golden/help/signing-key-address.cli | 10 +- .../files/golden/help/signing-key-public.cli | 2 +- .../files/golden/help/submit-tx.cli | 5 +- .../files/golden/help/to-verification.cli | 3 +- .../files/golden/help/validate-cbor.cli | 12 +- 806 files changed, 16637 insertions(+), 17775 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 f6f1dd2c7b..9e80ae9365 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -1,59 +1,34 @@ -Usage: cardano-cli - ( address - | key - | node - | query - | legacy - | byron - | shelley - | allegra - | mary - | alonzo - | babbage - | conway - | latest - | hash - | ping - | debug commands - | version - | compatible - ) +Usage: cardano-cli (address | key | node | query | legacy | byron | shelley | + allegra | mary | alonzo | babbage | conway | latest | + hash | ping | debug commands | version | compatible) Usage: cardano-cli address (key-gen | key-hash | build | info) Payment address commands. -Usage: cardano-cli address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli 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 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. -Usage: cardano-cli address build - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - | --payment-script-file FILEPATH - ) - [ --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli 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. @@ -61,323 +36,274 @@ Usage: cardano-cli address info --address ADDRESS [--out-file FILEPATH] Print information about an address. -Usage: cardano-cli key - ( verification-key - | non-extended-key - | convert-byron-key - | convert-byron-genesis-vkey - | convert-itn-key - | convert-itn-extended-key - | convert-itn-bip32-key - | convert-cardano-address-key - ) +Usage: cardano-cli key (verification-key | non-extended-key | + convert-byron-key | convert-byron-genesis-vkey | + convert-itn-key | convert-itn-extended-key | + convert-itn-bip32-key | convert-cardano-address-key) Key utility commands. Usage: cardano-cli key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH + --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 + --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 + --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 + --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 + --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. -Usage: cardano-cli node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli node (key-gen | key-gen-KES | key-gen-VRF | key-hash-VRF | + new-counter | issue-op-cert) Node operation commands. -Usage: cardano-cli node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli node key-gen [--key-output-format STRING] + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH Create a key pair for a node operator's offline key and a new certificate issue counter Usage: cardano-cli node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + --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 + --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 -Usage: cardano-cli query - ( protocol-parameters - | tip - | stake-pools - | stake-distribution - | stake-address-info - | utxo - | ledger-state - | protocol-state - | stake-snapshot - | leadership-schedule - | kes-period-info - | pool-state - | tx-mempool - | slot-number - ) +Usage: cardano-cli 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) 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 -Usage: cardano-cli query tip --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] +Usage: cardano-cli query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) -Usage: cardano-cli query stake-pools --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli query stake-pools --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--output-json | --output-text] + [--out-file FILEPATH] 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 - ) - [--volatile-tip | --immutable-tip] - [--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) + [--volatile-tip | --immutable-tip] + [--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 - ) - [--volatile-tip | --immutable-tip] - [--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) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. -Usage: cardano-cli 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 @@ -393,11 +319,11 @@ 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) - [--volatile-tip | --immutable-tip] - TIMESTAMP +Usage: cardano-cli query slot-number --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + TIMESTAMP Query slot number for UTC timestamp @@ -405,163 +331,162 @@ Usage: cardano-cli legacy Legacy commands Legacy commands -Usage: cardano-cli legacy governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | create-update-proposal - ) +Usage: cardano-cli legacy governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + create-update-proposal) 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] + --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 genesis - ( key-gen-genesis - | key-gen-delegate - | key-gen-utxo - | key-hash - | get-ver-key - | initial-addr - | initial-txin - | create-cardano - | create - | create-staked - | hash - ) +Usage: cardano-cli legacy genesis (key-gen-genesis | key-gen-delegate | + key-gen-utxo | key-hash | get-ver-key | + initial-addr | initial-txin | + create-cardano | create | create-staked | + hash) Genesis block commands Usage: cardano-cli legacy genesis key-gen-genesis --verification-key-file FILEPATH - --signing-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 + --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 + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair @@ -570,97 +495,79 @@ 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 + --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. @@ -669,22 +576,13 @@ Usage: cardano-cli legacy genesis hash --genesis FILEPATH Compute the hash of a genesis file -Usage: cardano-cli byron - ( key - | transaction - | genesis - | governance - | miscellaneous - ) +Usage: cardano-cli byron (key | transaction | genesis | governance | + miscellaneous) Byron specific commands -Usage: cardano-cli byron key ( keygen - | to-verification - | signing-key-public - | signing-key-address - | migrate-delegate-key-from - ) +Usage: cardano-cli byron key (keygen | to-verification | signing-key-public | + signing-key-address | migrate-delegate-key-from) Byron key utility commands @@ -692,80 +590,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 + --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)') + (--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. @@ -778,18 +662,17 @@ 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] + --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. @@ -801,67 +684,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. @@ -869,14 +743,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. @@ -884,78 +756,63 @@ 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. -Usage: cardano-cli shelley - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +Usage: cardano-cli shelley (address | key | genesis | governance | node | + query | stake-address | stake-pool | text-view | + transaction) Shelley era commands - DEPRECATED - will be removed in the future @@ -963,37 +820,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. @@ -1001,118 +852,106 @@ Usage: cardano-cli shelley address info --address ADDRESS [--out-file FILEPATH] Print information about an address. -Usage: cardano-cli shelley 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 shelley 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 shelley key verification-key --signing-key-file FILEPATH - --verification-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 + --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 + --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 + --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 + --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. -Usage: cardano-cli shelley 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 - ) +Usage: cardano-cli shelley 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 shelley genesis key-gen-genesis --verification-key-file FILEPATH - --signing-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 + --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 + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair @@ -1121,98 +960,91 @@ 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 + --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] + (--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] + (--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 - ) + --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] + --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 + [--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. @@ -1220,64 +1052,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 + --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 + --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 @@ -1286,280 +1117,241 @@ 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 + (--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. -Usage: cardano-cli shelley node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli shelley node (key-gen | key-gen-KES | key-gen-VRF | + key-hash-VRF | new-counter | issue-op-cert) 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 + --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 + --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 -Usage: cardano-cli shelley 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 shelley 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 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 @@ -1575,174 +1367,162 @@ 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 + --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 | - Create a stake address registration certificate + --stake-verification-key-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 + --stake-key-hash HASH | - Create a stake address deregistration certificate + --stake-script-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 + --stake-address ADDRESS) + --out-file FILEPATH - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. + Create a stake address registration certificate -Usage: cardano-cli shelley stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) +Usage: cardano-cli shelley stake-address deregistration-certificate (--stake-verification-key STRING | - Stake pool commands. + --stake-verification-key-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 - [--check-metadata-hash]] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH + --stake-key-hash HASH | - Create a stake pool registration certificate + --stake-script-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 + --stake-address ADDRESS) + --out-file FILEPATH - Create a stake pool deregistration certificate + Create a stake address 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-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) + + 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 + [--check-metadata-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 + + 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] Build pool id from the offline key -Usage: cardano-cli shelley stake-pool metadata-hash - ( --pool-metadata-file FILEPATH - | --pool-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli shelley stake-pool metadata-hash (--pool-metadata-file FILEPATH | + --pool-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] Calculate the hash of a stake pool metadata file, optionally checking the obtained hash against an expected value. @@ -1752,196 +1532,198 @@ 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 - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - ) +Usage: cardano-cli shelley transaction (build-raw | sign | witness | assemble | + submit | policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid) 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[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli shelley transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --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. + +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 + --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. @@ -1951,83 +1733,86 @@ 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] + --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] + --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] + --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. -Usage: cardano-cli allegra - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +Usage: cardano-cli allegra (address | key | genesis | governance | node | + query | stake-address | stake-pool | text-view | + transaction) Allegra era commands - DEPRECATED - will be removed in the future @@ -2035,37 +1820,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. @@ -2073,118 +1852,106 @@ Usage: cardano-cli allegra address info --address ADDRESS [--out-file FILEPATH] Print information about an address. -Usage: cardano-cli allegra 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 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 allegra key verification-key --signing-key-file FILEPATH - --verification-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 + --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 + --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 + --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 + --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. -Usage: cardano-cli allegra 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 - ) +Usage: cardano-cli allegra 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 allegra genesis key-gen-genesis --verification-key-file FILEPATH - --signing-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 + --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 + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair @@ -2193,98 +1960,91 @@ 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 + --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] + (--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] + (--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 - ) + --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] + --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 + [--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. @@ -2292,64 +2052,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 + --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 + --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 @@ -2358,280 +2117,241 @@ 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 + (--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. -Usage: cardano-cli allegra node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli allegra node (key-gen | key-gen-KES | key-gen-VRF | + key-hash-VRF | new-counter | issue-op-cert) 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 + --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 + --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 -Usage: cardano-cli allegra 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 allegra 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 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 @@ -2647,373 +2367,363 @@ 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 + --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 | - Create a stake address registration certificate + --stake-verification-key-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 + --stake-key-hash HASH | - Create a stake address deregistration certificate + --stake-script-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 + --stake-address ADDRESS) + --out-file FILEPATH - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. + Create a stake address registration certificate -Usage: cardano-cli allegra stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) +Usage: cardano-cli allegra stake-address deregistration-certificate (--stake-verification-key STRING | - Stake pool commands. + --stake-verification-key-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 - [--check-metadata-hash]] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH + --stake-key-hash HASH | - Create a stake pool registration certificate + --stake-script-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 + --stake-address ADDRESS) + --out-file FILEPATH - Create a stake pool deregistration certificate + Create a stake address 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-address stake-delegation-certificate (--stake-verification-key STRING | - Build pool id from the offline key + --stake-verification-key-file FILEPATH | -Usage: cardano-cli allegra stake-pool metadata-hash - ( --pool-metadata-file FILEPATH - | --pool-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] + --stake-key-hash HASH | - Calculate the hash of a stake pool metadata file, optionally checking the - obtained hash against an expected value. + --stake-script-file FILEPATH | -Usage: cardano-cli allegra text-view decode-cbor + --stake-address ADDRESS) + (--stake-pool-verification-key STRING | - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + --cold-verification-key-file FILEPATH | -Usage: cardano-cli allegra text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] + --stake-pool-id STAKE_POOL_ID) + --out-file FILEPATH - Print a TextView file as decoded CBOR. + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. -Usage: cardano-cli allegra transaction - ( build-raw - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - ) +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 + [--check-metadata-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 + + 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] + + Build pool id from the offline key + +Usage: cardano-cli allegra stake-pool metadata-hash (--pool-metadata-file FILEPATH | + --pool-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] + + Calculate the hash of a stake pool metadata file, optionally checking the + obtained hash against an expected value. + +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] + + Print a TextView file as decoded CBOR. + +Usage: cardano-cli allegra transaction (build-raw | sign | witness | assemble | + submit | policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid) 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 | + + --spending-plutus-script-v3) + (--spending-reference-tx-in-datum-cbor-file CBOR_FILE | + + --spending-reference-tx-in-datum-file JSON_FILE | + + --spending-reference-tx-in-datum-value JSON_VALUE | + + --spending-reference-tx-in-inline-datum-present) + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --spending-reference-tx-in-redeemer-file JSON_FILE | + + --spending-reference-tx-in-redeemer-value JSON_VALUE) + --spending-reference-tx-in-execution-units (INT, INT) | + + --simple-script-tx-in-reference TX-IN | + --tx-in-script-file FILEPATH + [ + (--tx-in-datum-cbor-file CBOR_FILE | + + --tx-in-datum-file JSON_FILE | + + --tx-in-datum-value JSON_VALUE | + + --tx-in-inline-datum-present) + (--tx-in-redeemer-cbor-file CBOR_FILE | + + --tx-in-redeemer-file JSON_FILE | + + --tx-in-redeemer-value JSON_VALUE) + --tx-in-execution-units (INT, INT)]]) + [--read-only-tx-in-reference TX-IN] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-total-collateral INTEGER] + [--required-signer FILEPATH | + --required-signer-hash HASH] + [--tx-out ADDRESS VALUE + [--tx-out-datum-hash HASH | + --tx-out-datum-hash-cbor-file CBOR_FILE | + + --tx-out-datum-hash-file JSON_FILE | + + --tx-out-datum-hash-value JSON_VALUE | + + --tx-out-datum-embed-cbor-file CBOR_FILE | + + --tx-out-datum-embed-file JSON_FILE | + + --tx-out-datum-embed-value JSON_VALUE | + + --tx-out-inline-datum-cbor-file CBOR_FILE | + + --tx-out-inline-datum-file JSON_FILE | + + --tx-out-inline-datum-value JSON_VALUE] + [--tx-out-reference-script-file FILEPATH]] + [--mint VALUE + (--mint-script-file FILEPATH + [ + (--mint-redeemer-cbor-file CBOR_FILE | + + --mint-redeemer-file JSON_FILE | + + --mint-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | + + --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH | + + --mint-tx-in-reference TX-IN + (--mint-plutus-script-v2 | + --mint-plutus-script-v3) + (--mint-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --mint-reference-tx-in-redeemer-file JSON_FILE | + + --mint-reference-tx-in-redeemer-value JSON_VALUE) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH)] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + --fee LOVELACE + [--certificate-file FILEPATH + [--certificate-script-file FILEPATH + [ + (--certificate-redeemer-cbor-file CBOR_FILE | + + --certificate-redeemer-file JSON_FILE | + + --certificate-redeemer-value JSON_VALUE) + --certificate-execution-units (INT, INT)] | + + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | + + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --certificate-reference-tx-in-redeemer-file JSON_FILE | + + --certificate-reference-tx-in-redeemer-value JSON_VALUE) + --certificate-reference-tx-in-execution-units (INT, INT)]] + [--withdrawal WITHDRAWAL + [--withdrawal-script-file FILEPATH + [ + (--withdrawal-redeemer-cbor-file CBOR_FILE | + + --withdrawal-redeemer-file JSON_FILE | + + --withdrawal-redeemer-value JSON_VALUE) + --withdrawal-execution-units (INT, INT)] | + + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | + + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | + + --withdrawal-reference-tx-in-redeemer-value JSON_VALUE) + --withdrawal-reference-tx-in-execution-units (INT, INT)]] + [--json-metadata-no-schema | + --json-metadata-detailed-schema] + [--auxiliary-script-file FILEPATH] + [--metadata-json-file FILEPATH | + + --metadata-cbor-file FILEPATH] + [--protocol-params-file FILEPATH] + [--update-proposal-file FILEPATH] + --out-file FILEPATH Build a transaction (low-level, inconvenient) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli allegra transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --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. + +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 + --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 +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 +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 +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. @@ -3023,83 +2733,85 @@ 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] + --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] + --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] + --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 - ) +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 - ) +Usage: cardano-cli allegra transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. -Usage: cardano-cli mary - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +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 @@ -3107,37 +2819,30 @@ 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 +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] +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] +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. @@ -3145,118 +2850,101 @@ 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 - ) +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 + --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 + --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 +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 + --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 +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 + --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 + --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 +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 - ) +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 + --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 + --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 + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair @@ -3265,96 +2953,90 @@ 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 + --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] +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] +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] +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) + --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] + --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. @@ -3362,64 +3044,61 @@ Usage: cardano-cli mary genesis hash --genesis FILEPATH Compute the hash of a genesis file -Usage: cardano-cli mary governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) +Usage: cardano-cli mary governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action) 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 + --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 + --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 @@ -3428,276 +3107,231 @@ 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 + (--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. -Usage: cardano-cli mary node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli mary node (key-gen | key-gen-KES | key-gen-VRF | + key-hash-VRF | new-counter | issue-op-cert) 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 + --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 + --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 -Usage: cardano-cli mary 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 mary 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 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 -Usage: cardano-cli mary query tip --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli mary 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 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. -Usage: cardano-cli mary 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 mary 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 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 @@ -3713,172 +3347,158 @@ 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 + --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. -Usage: cardano-cli mary stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) +Usage: cardano-cli mary stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) 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 - [--check-metadata-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 + [--check-metadata-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 - | --pool-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli mary stake-pool metadata-hash (--pool-metadata-file FILEPATH | + --pool-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] Calculate the hash of a stake pool metadata file, optionally checking the obtained hash against an expected value. @@ -3888,194 +3508,192 @@ 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 - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - ) +Usage: cardano-cli mary transaction (build-raw | sign | witness | assemble | + submit | policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid) 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 | + + --spending-reference-tx-in-datum-file JSON_FILE | + + --spending-reference-tx-in-datum-value JSON_VALUE | + + --spending-reference-tx-in-inline-datum-present) + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --spending-reference-tx-in-redeemer-file JSON_FILE | + + --spending-reference-tx-in-redeemer-value JSON_VALUE) + --spending-reference-tx-in-execution-units (INT, INT) | + + --simple-script-tx-in-reference TX-IN | + --tx-in-script-file FILEPATH + [ + (--tx-in-datum-cbor-file CBOR_FILE | + + --tx-in-datum-file JSON_FILE | + + --tx-in-datum-value JSON_VALUE | + + --tx-in-inline-datum-present) + (--tx-in-redeemer-cbor-file CBOR_FILE | + + --tx-in-redeemer-file JSON_FILE | + + --tx-in-redeemer-value JSON_VALUE) + --tx-in-execution-units (INT, INT)]]) + [--read-only-tx-in-reference TX-IN] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-total-collateral INTEGER] + [--required-signer FILEPATH | + --required-signer-hash HASH] + [--tx-out ADDRESS VALUE + [--tx-out-datum-hash HASH | + --tx-out-datum-hash-cbor-file CBOR_FILE | + + --tx-out-datum-hash-file JSON_FILE | + + --tx-out-datum-hash-value JSON_VALUE | + + --tx-out-datum-embed-cbor-file CBOR_FILE | + + --tx-out-datum-embed-file JSON_FILE | + + --tx-out-datum-embed-value JSON_VALUE | + + --tx-out-inline-datum-cbor-file CBOR_FILE | + + --tx-out-inline-datum-file JSON_FILE | + + --tx-out-inline-datum-value JSON_VALUE] + [--tx-out-reference-script-file FILEPATH]] + [--mint VALUE + (--mint-script-file FILEPATH + [ + (--mint-redeemer-cbor-file CBOR_FILE | + + --mint-redeemer-file JSON_FILE | + + --mint-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | + + --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH | + --mint-tx-in-reference TX-IN + (--mint-plutus-script-v2 | + --mint-plutus-script-v3) + (--mint-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --mint-reference-tx-in-redeemer-file JSON_FILE | + + --mint-reference-tx-in-redeemer-value JSON_VALUE) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH)] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + --fee LOVELACE + [--certificate-file FILEPATH + [--certificate-script-file FILEPATH + [ + (--certificate-redeemer-cbor-file CBOR_FILE | + + --certificate-redeemer-file JSON_FILE | + + --certificate-redeemer-value JSON_VALUE) + --certificate-execution-units (INT, INT)] | + + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | + + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --certificate-reference-tx-in-redeemer-file JSON_FILE | + + --certificate-reference-tx-in-redeemer-value JSON_VALUE) + --certificate-reference-tx-in-execution-units (INT, INT)]] + [--withdrawal WITHDRAWAL + [--withdrawal-script-file FILEPATH + [ + (--withdrawal-redeemer-cbor-file CBOR_FILE | + + --withdrawal-redeemer-file JSON_FILE | + + --withdrawal-redeemer-value JSON_VALUE) + --withdrawal-execution-units (INT, INT)] | + + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | + + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | + + --withdrawal-reference-tx-in-redeemer-value JSON_VALUE) + --withdrawal-reference-tx-in-execution-units (INT, INT)]] + [--json-metadata-no-schema | + --json-metadata-detailed-schema] + [--auxiliary-script-file FILEPATH] + [--metadata-json-file FILEPATH | + --metadata-cbor-file FILEPATH] + [--protocol-params-file FILEPATH] + [--update-proposal-file FILEPATH] + --out-file FILEPATH Build a transaction (low-level, inconvenient) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + 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 +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 + --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 +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 +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 +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. @@ -4085,83 +3703,86 @@ 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] + --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] + --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] + --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 - ) +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 - ) +Usage: cardano-cli mary transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) Print a transaction identifier. -Usage: cardano-cli alonzo - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +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 @@ -4169,37 +3790,30 @@ 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 +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] +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] +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. @@ -4207,118 +3821,104 @@ 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 - ) +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 + --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 + --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 +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 + --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 +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 + --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 + --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 +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 - ) +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 + --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 + --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 + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair @@ -4327,96 +3927,90 @@ 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 + --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) + --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] + --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. @@ -4424,64 +4018,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 + --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 + --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 @@ -4490,287 +4082,246 @@ 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 + (--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. -Usage: cardano-cli alonzo node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli alonzo node (key-gen | key-gen-KES | key-gen-VRF | + key-hash-VRF | new-counter | issue-op-cert) 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 + --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 + --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 -Usage: cardano-cli alonzo 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 alonzo 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 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 @@ -4786,174 +4337,160 @@ 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 + --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 - [--check-metadata-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 + [--check-metadata-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 - | --pool-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli alonzo stake-pool metadata-hash (--pool-metadata-file FILEPATH | + --pool-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] Calculate the hash of a stake pool metadata file, optionally checking the obtained hash against an expected value. @@ -4963,196 +4500,194 @@ 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 - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - ) +Usage: cardano-cli alonzo transaction (build-raw | sign | witness | assemble | + submit | policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid) 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 | + + --spending-reference-tx-in-datum-file JSON_FILE | + + --spending-reference-tx-in-datum-value JSON_VALUE | + + --spending-reference-tx-in-inline-datum-present) + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --spending-reference-tx-in-redeemer-file JSON_FILE | + + --spending-reference-tx-in-redeemer-value JSON_VALUE) + --spending-reference-tx-in-execution-units (INT, INT) | + + --simple-script-tx-in-reference TX-IN | + --tx-in-script-file FILEPATH + [ + (--tx-in-datum-cbor-file CBOR_FILE | + + --tx-in-datum-file JSON_FILE | + + --tx-in-datum-value JSON_VALUE | + + --tx-in-inline-datum-present) + (--tx-in-redeemer-cbor-file CBOR_FILE | + + --tx-in-redeemer-file JSON_FILE | + + --tx-in-redeemer-value JSON_VALUE) + --tx-in-execution-units (INT, INT)]]) + [--read-only-tx-in-reference TX-IN] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-total-collateral INTEGER] + [--required-signer FILEPATH | + --required-signer-hash HASH] + [--tx-out ADDRESS VALUE + [--tx-out-datum-hash HASH | + --tx-out-datum-hash-cbor-file CBOR_FILE | + + --tx-out-datum-hash-file JSON_FILE | + + --tx-out-datum-hash-value JSON_VALUE | + + --tx-out-datum-embed-cbor-file CBOR_FILE | + + --tx-out-datum-embed-file JSON_FILE | + + --tx-out-datum-embed-value JSON_VALUE | + + --tx-out-inline-datum-cbor-file CBOR_FILE | + + --tx-out-inline-datum-file JSON_FILE | + + --tx-out-inline-datum-value JSON_VALUE] + [--tx-out-reference-script-file FILEPATH]] + [--mint VALUE + (--mint-script-file FILEPATH + [ + (--mint-redeemer-cbor-file CBOR_FILE | + + --mint-redeemer-file JSON_FILE | + + --mint-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | + + --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH | + --mint-tx-in-reference TX-IN + (--mint-plutus-script-v2 | + --mint-plutus-script-v3) + (--mint-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --mint-reference-tx-in-redeemer-file JSON_FILE | + + --mint-reference-tx-in-redeemer-value JSON_VALUE) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH)] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + --fee LOVELACE + [--certificate-file FILEPATH + [--certificate-script-file FILEPATH + [ + (--certificate-redeemer-cbor-file CBOR_FILE | + + --certificate-redeemer-file JSON_FILE | + + --certificate-redeemer-value JSON_VALUE) + --certificate-execution-units (INT, INT)] | + + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | + + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --certificate-reference-tx-in-redeemer-file JSON_FILE | + + --certificate-reference-tx-in-redeemer-value JSON_VALUE) + --certificate-reference-tx-in-execution-units (INT, INT)]] + [--withdrawal WITHDRAWAL + [--withdrawal-script-file FILEPATH + [ + (--withdrawal-redeemer-cbor-file CBOR_FILE | + + --withdrawal-redeemer-file JSON_FILE | + + --withdrawal-redeemer-value JSON_VALUE) + --withdrawal-execution-units (INT, INT)] | + + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | + + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | + + --withdrawal-reference-tx-in-redeemer-value JSON_VALUE) + --withdrawal-reference-tx-in-execution-units (INT, INT)]] + [--json-metadata-no-schema | + --json-metadata-detailed-schema] + [--auxiliary-script-file FILEPATH] + [--metadata-json-file FILEPATH | + --metadata-cbor-file FILEPATH] + [--protocol-params-file FILEPATH] + [--update-proposal-file FILEPATH] + --out-file FILEPATH Build a transaction (low-level, inconvenient) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli alonzo transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --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. + +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 + --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 +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 +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 +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. @@ -5162,83 +4697,86 @@ 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] + --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] + --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 - | --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 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 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. -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. -Usage: cardano-cli babbage - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +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 @@ -5246,37 +4784,31 @@ 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 +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] +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. @@ -5284,118 +4816,106 @@ Usage: cardano-cli babbage address info --address ADDRESS [--out-file FILEPATH] Print information about an address. -Usage: cardano-cli babbage 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 babbage 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 babbage key verification-key --signing-key-file FILEPATH - --verification-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 + --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 + --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 + --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 + --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. -Usage: cardano-cli babbage 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 - ) +Usage: cardano-cli babbage 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 babbage genesis key-gen-genesis --verification-key-file FILEPATH - --signing-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 + --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 + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair @@ -5404,98 +4924,91 @@ 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 + --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] + (--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] + (--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 - ) + --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] + --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 + [--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. @@ -5503,372 +5016,330 @@ 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 + --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 + --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 +Usage: cardano-cli babbage governance create-genesis-key-delegation-certificate (--genesis-verification-key STRING | - Create a genesis key delegation certificate + --genesis-verification-key-file FILEPATH | -Usage: cardano-cli babbage governance action create-protocol-parameters-update + --genesis-verification-key-hash STRING) + (--genesis-delegate-verification-key STRING | - Governance action commands. + --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 + (--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 + (--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] +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] + --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 - ) +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 +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 + --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 + --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 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 +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 +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 - ) +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] +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] +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] +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] +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] +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] +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] +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] +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] +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] +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] +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] +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] +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] +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 @@ -5884,174 +5355,162 @@ 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 +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] +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 - ) +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 + --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] +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] +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 +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 +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 +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 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 - [--check-metadata-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 + [--check-metadata-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 +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] +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 - | --pool-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli babbage stake-pool metadata-hash (--pool-metadata-file FILEPATH | + --pool-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] Calculate the hash of a stake pool metadata file, optionally checking the obtained hash against an expected value. @@ -6061,4453 +5520,4416 @@ 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] +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 - ) +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) 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 +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 | - Build a transaction (low-level, inconvenient) + --spending-plutus-script-v3) + (--spending-reference-tx-in-datum-cbor-file CBOR_FILE | - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli 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 - ) + --spending-reference-tx-in-datum-file JSON_FILE | - Build a balanced transaction (automatically calculates fees) + --spending-reference-tx-in-datum-value JSON_VALUE | - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + --spending-reference-tx-in-inline-datum-present) + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | -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 + --spending-reference-tx-in-redeemer-file JSON_FILE | - Build a balanced transaction without access to a live node (automatically estimates fees) + --spending-reference-tx-in-redeemer-value JSON_VALUE) + --spending-reference-tx-in-execution-units (INT, INT) | - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli babbage transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH + --simple-script-tx-in-reference TX-IN | + --tx-in-script-file FILEPATH + [ + (--tx-in-datum-cbor-file CBOR_FILE | - Sign a transaction + --tx-in-datum-file JSON_FILE | -Usage: cardano-cli babbage transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH + --tx-in-datum-value JSON_VALUE | - Create a transaction witness + --tx-in-inline-datum-present) + (--tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli babbage transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH + --tx-in-redeemer-file JSON_FILE | - Assemble a tx body and witness(es) to form a transaction + --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 | -Usage: cardano-cli babbage transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH + --tx-out-datum-hash-file JSON_FILE | - Assemble a tx body and witness(es) to form a transaction + --tx-out-datum-hash-value JSON_VALUE | -Usage: cardano-cli babbage transaction submit --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --tx-file FILEPATH + --tx-out-datum-embed-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-datum-embed-file JSON_FILE | -Usage: cardano-cli babbage transaction policyid --script-file FILEPATH + --tx-out-datum-embed-value JSON_VALUE | - Calculate the PolicyId from the monetary policy script. + --tx-out-inline-datum-cbor-file CBOR_FILE | -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] + --tx-out-inline-datum-file JSON_FILE | - Calculate the minimum fee for a transaction. + --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 | -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] + --mint-redeemer-file JSON_FILE | - Calculate the minimum required UTxO for a transaction output. + --mint-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | -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] + --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH | - DEPRECATED: Use 'calculate-min-required-utxo' instead. + --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 babbage transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) + --mint-reference-tx-in-redeemer-file JSON_FILE | - Calculate the hash of script data. + --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 babbage transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) + --certificate-redeemer-file JSON_FILE | - Print a transaction identifier. + --certificate-redeemer-value JSON_VALUE) + --certificate-execution-units (INT, INT)] | -Usage: cardano-cli conway - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | - Conway era commands + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli conway address (key-gen | key-hash | build | info) + --certificate-reference-tx-in-redeemer-file JSON_FILE | - Payment address commands. + --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 address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + --withdrawal-redeemer-file JSON_FILE | - Create an address key pair. + --withdrawal-redeemer-value JSON_VALUE) + --withdrawal-execution-units (INT, INT)] | -Usage: cardano-cli conway address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | - Print the hash of an address key. + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | -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] + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | - Build a Shelley payment address, with optional delegation to a stake address. + --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 | -Usage: cardano-cli conway address info --address ADDRESS [--out-file FILEPATH] + --metadata-cbor-file FILEPATH] + [--protocol-params-file FILEPATH] + [--update-proposal-file FILEPATH] + --out-file FILEPATH - Print information about an address. + Build a transaction (low-level, inconvenient) -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 - ) + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. - Key utility commands. +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 | -Usage: cardano-cli conway key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH + --spending-reference-tx-in-datum-file JSON_FILE | - Get a verification key from a signing key. This supports all key types. + --spending-reference-tx-in-datum-value JSON_VALUE | -Usage: cardano-cli conway key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH + --spending-reference-tx-in-inline-datum-present) + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Get a non-extended verification key from an extended verification key. This - supports all extended key types. + --spending-reference-tx-in-redeemer-file JSON_FILE | -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 + --spending-reference-tx-in-redeemer-value JSON_VALUE) | - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. + --simple-script-tx-in-reference TX-IN | + --tx-in-script-file FILEPATH + [ + (--tx-in-datum-cbor-file CBOR_FILE | -Usage: cardano-cli conway key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH + --tx-in-datum-file JSON_FILE | - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key + --tx-in-datum-value JSON_VALUE | + --tx-in-inline-datum-present) + (--tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli conway key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH + --tx-in-redeemer-file JSON_FILE | - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key + --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 | -Usage: cardano-cli conway key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH + --tx-out-datum-hash-file JSON_FILE | - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key + --tx-out-datum-hash-value JSON_VALUE | -Usage: cardano-cli conway key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH + --tx-out-datum-embed-cbor-file CBOR_FILE | - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key + --tx-out-datum-embed-file JSON_FILE | -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 + --tx-out-datum-embed-value JSON_VALUE | - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. + --tx-out-inline-datum-cbor-file CBOR_FILE | -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 - ) + --tx-out-inline-datum-file JSON_FILE | - Genesis block 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 conway genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH + --mint-redeemer-file JSON_FILE | - Create a Shelley genesis key pair + --mint-redeemer-value JSON_VALUE] | -Usage: cardano-cli conway genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-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 | - Create a Shelley genesis delegate key pair + --mint-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli conway genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-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 | - Create a Shelley genesis UTxO key pair + --certificate-redeemer-file JSON_FILE | -Usage: cardano-cli conway genesis key-hash --verification-key-file FILEPATH + --certificate-redeemer-value JSON_VALUE] | - Print the identifier (hash) of a public key + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | -Usage: cardano-cli conway genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Derive the verification key from a signing key + --certificate-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli conway genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + --certificate-reference-tx-in-redeemer-value JSON_VALUE)]] + [--withdrawal WITHDRAWAL + [--withdrawal-script-file FILEPATH + [--withdrawal-redeemer-cbor-file CBOR_FILE | - Get the address for an initial UTxO based on the verification key + --withdrawal-redeemer-file JSON_FILE | -Usage: cardano-cli conway genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + --withdrawal-redeemer-value JSON_VALUE] | - Get the TxIn for an initial UTxO based on the verification key + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | -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] + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | -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) + --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) - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Build a balanced transaction (automatically calculates fees) -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] + 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 staked Shelley genesis file from a genesis template and - genesis/delegation/spending keys. +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 | -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 + --spending-plutus-script-v3) + (--spending-reference-tx-in-datum-cbor-file CBOR_FILE | - Create data to use for starting a testnet. + --spending-reference-tx-in-datum-file JSON_FILE | -Usage: cardano-cli conway genesis hash --genesis FILEPATH + --spending-reference-tx-in-datum-value JSON_VALUE | - Compute the hash of a genesis file + --spending-reference-tx-in-inline-datum-present) + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli conway governance (action | committee | drep | vote) + --spending-reference-tx-in-redeemer-file JSON_FILE | - Governance commands. + --spending-reference-tx-in-redeemer-value JSON_VALUE) + --spending-reference-tx-in-execution-units (INT, INT) | -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 - ) + --simple-script-tx-in-reference TX-IN | - Governance action commands. + --tx-in-script-file FILEPATH + [ + (--tx-in-datum-cbor-file CBOR_FILE | -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 - [--check-anchor-data] - --constitution-url TEXT - --constitution-hash HASH - [--check-constitution-hash] - [--constitution-script-hash HASH] - --out-file FILEPATH + --tx-in-datum-file JSON_FILE | - Create a constitution. + --tx-in-datum-value JSON_VALUE | -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 - [--check-anchor-data] - [ --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 + --tx-in-inline-datum-present) + (--tx-in-redeemer-cbor-file CBOR_FILE | - Create or update a new committee proposal. + --tx-in-redeemer-file JSON_FILE | -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 - [--check-anchor-data] - --out-file FILEPATH + --tx-in-redeemer-value JSON_VALUE) + --tx-in-execution-units (INT, INT)]]) + [--read-only-tx-in-reference TX-IN] + [--required-signer FILEPATH | - Create an info action. + --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 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 - [--check-anchor-data] - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --out-file FILEPATH + --tx-out-datum-hash-cbor-file CBOR_FILE | - Create a no confidence proposal. + --tx-out-datum-hash-file JSON_FILE | -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 - [--check-anchor-data] - [--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 + --tx-out-datum-hash-value JSON_VALUE | - Create a protocol parameters update. + --tx-out-datum-embed-cbor-file CBOR_FILE | -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 - [--check-anchor-data] - ( - ( --funds-receiving-stake-verification-key STRING - | --funds-receiving-stake-verification-key-file FILEPATH - | --funds-receiving-stake-key-hash HASH - | --funds-receiving-stake-script-file FILEPATH - | --funds-receiving-stake-address ADDRESS - ) - --transfer LOVELACE) - [--constitution-script-hash HASH] - --out-file FILEPATH + --tx-out-datum-embed-file JSON_FILE | - Create a treasury withdrawal. + --tx-out-datum-embed-value JSON_VALUE | -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 - [--check-anchor-data] - --protocol-major-version MAJOR - --protocol-minor-version MINOR - --out-file FILEPATH + --tx-out-inline-datum-cbor-file CBOR_FILE | - Create a hardfork initiation proposal. + --tx-out-inline-datum-file JSON_FILE | -Usage: cardano-cli conway governance action view --action-file FILEPATH - [ --output-json - | --output-yaml - ] - [--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 | - View a governance action. + --mint-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 - ) + --mint-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | - Committee member commands. + --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH | -Usage: cardano-cli conway governance committee key-gen-cold - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH + --mint-tx-in-reference TX-IN + (--mint-plutus-script-v2 | - Create a cold key pair for a Constitutional Committee Member + --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 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 + [--check-anchor-data] + --constitution-url TEXT + --constitution-hash HASH + [--check-constitution-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 + [--check-anchor-data] + [--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 + [--check-anchor-data] + --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 + [--check-anchor-data] + [--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 + [--check-anchor-data] + [--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 + [--check-anchor-data] + ( + (--funds-receiving-stake-verification-key STRING | + + --funds-receiving-stake-verification-key-file FILEPATH | + + --funds-receiving-stake-key-hash HASH | + + --funds-receiving-stake-script-file FILEPATH | + + --funds-receiving-stake-address ADDRESS) + --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 + [--check-anchor-data] + --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 + --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 + [--check-resignation-metadata-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 + [--check-drep-metadata-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 + [--check-drep-metadata-hash]] + --out-file FILEPATH + + Create a DRep update certificate. + +Usage: cardano-cli conway governance drep metadata-hash (--drep-metadata-file FILEPATH | + + --drep-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] + + Calculate the hash of a metadata file, optionally checking the obtained hash + against an expected value. + +Usage: cardano-cli conway governance vote (create | view) + + Vote commands. + +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 + [--check-anchor-data-hash]] + --out-file FILEPATH + + Vote creation. + +Usage: cardano-cli conway governance vote view [--output-json | --output-yaml] + --vote-file FILEPATH + [--out-file FILEPATH] + + Vote viewing. + +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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 conway query tx-mempool info + + Ask the node about the current mempool's capacity and sizes + +Usage: cardano-cli conway query tx-mempool next-tx + + Requests the next transaction from the mempool's current list + +Usage: cardano-cli conway query tx-mempool tx-exists TX_ID + + Query if a particular transaction exists in the mempool + +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 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 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 + +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 + +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. + +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. + +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. + +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 + +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 + +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 | + registration-and-delegation-certificate | + + registration-and-vote-delegation-certificate | + + registration-stake-and-vote-delegation-certificate) + + Stake address commands. + +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 + +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 + +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 + +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 + +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 + +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. + +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. + +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. + +Usage: cardano-cli conway stake-address registration-and-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) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH + + Create a stake address registration and delegation certificate, which when + submitted in a transaction registers a stake address and delegates stake to a + stake pool. + +Usage: cardano-cli conway stake-address registration-and-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) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH + + Create a stake address registration and vote delegation certificate, which + when submitted in a transaction registers a stake address and delegates votes + to a DRep or pre-defined voting option. + +Usage: cardano-cli conway stake-address registration-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) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH + + Create a stake address registration, stake delegation and vote delegation + certificate, which when submitted in a transaction registers a stake address, + delgates stake to a pool, and delegates votes to a DRep or pre-defined voting + option. + +Usage: cardano-cli conway stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) + + Stake pool commands. + +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 + [--check-metadata-hash]] + (--mainnet | + --testnet-magic NATURAL) + --out-file FILEPATH + + Create a stake pool registration certificate + +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 + +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 + +Usage: cardano-cli conway stake-pool metadata-hash (--pool-metadata-file FILEPATH | + --pool-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] + + Calculate the hash of a stake pool metadata file, optionally checking the + obtained hash against an expected value. + +Usage: cardano-cli conway text-view decode-cbor + + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. + +Usage: cardano-cli conway text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] + + Print a TextView file as decoded CBOR. + +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) + + Transaction commands. + +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) + + 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 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) + + 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 build-estimate [--script-valid | + --script-invalid] + --shelley-key-witnesses INT + [--byron-key-witnesses Int] + --protocol-params-file FILEPATH + --total-utxo-value VALUE + (--tx-in TX-IN + [--spending-tx-in-reference TX-IN + (--spending-plutus-script-v2 | + + --spending-plutus-script-v3) + [--spending-reference-tx-in-datum-cbor-file CBOR_FILE | + + --spending-reference-tx-in-datum-file JSON_FILE | + + --spending-reference-tx-in-datum-value JSON_VALUE | + + --spending-reference-tx-in-inline-datum-present] + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --spending-reference-tx-in-redeemer-file JSON_FILE | + + --spending-reference-tx-in-redeemer-value JSON_VALUE) + --spending-reference-tx-in-execution-units (INT, INT) | + + --simple-script-tx-in-reference TX-IN | + + --tx-in-script-file FILEPATH + [ + [--tx-in-datum-cbor-file CBOR_FILE | + + --tx-in-datum-file JSON_FILE | + + --tx-in-datum-value JSON_VALUE | + + --tx-in-inline-datum-present] + (--tx-in-redeemer-cbor-file CBOR_FILE | + + --tx-in-redeemer-file JSON_FILE | + + --tx-in-redeemer-value JSON_VALUE) + --tx-in-execution-units (INT, INT)]]) + [--read-only-tx-in-reference TX-IN] + [--required-signer FILEPATH | + + --required-signer-hash HASH] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-out ADDRESS VALUE + [--tx-out-datum-hash HASH | + + --tx-out-datum-hash-cbor-file CBOR_FILE | + + --tx-out-datum-hash-file JSON_FILE | + + --tx-out-datum-hash-value JSON_VALUE | + + --tx-out-datum-embed-cbor-file CBOR_FILE | + + --tx-out-datum-embed-file JSON_FILE | + + --tx-out-datum-embed-value JSON_VALUE | + + --tx-out-inline-datum-cbor-file CBOR_FILE | + + --tx-out-inline-datum-file JSON_FILE | + + --tx-out-inline-datum-value JSON_VALUE] + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( + --mint-script-file FILEPATH + [ + (--mint-redeemer-cbor-file CBOR_FILE | + + --mint-redeemer-file JSON_FILE | + + --mint-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | + + --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH | + + --mint-tx-in-reference TX-IN + (--mint-plutus-script-v2 | + + --mint-plutus-script-v3) + (--mint-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --mint-reference-tx-in-redeemer-file JSON_FILE | + + --mint-reference-tx-in-redeemer-value JSON_VALUE) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH)] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + [ + --certificate-file FILEPATH + [--certificate-script-file FILEPATH + [ + (--certificate-redeemer-cbor-file CBOR_FILE | + + --certificate-redeemer-file JSON_FILE | + + --certificate-redeemer-value JSON_VALUE) + --certificate-execution-units (INT, INT)] | + + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | + + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --certificate-reference-tx-in-redeemer-file JSON_FILE | + + --certificate-reference-tx-in-redeemer-value JSON_VALUE) + --certificate-reference-tx-in-execution-units (INT, INT)]] + [--withdrawal WITHDRAWAL + [--withdrawal-script-file FILEPATH + [ + (--withdrawal-redeemer-cbor-file CBOR_FILE | + + --withdrawal-redeemer-file JSON_FILE | + + --withdrawal-redeemer-value JSON_VALUE) + --withdrawal-execution-units (INT, INT)] | + + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | + + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | + + --withdrawal-reference-tx-in-redeemer-value JSON_VALUE) + --withdrawal-reference-tx-in-execution-units (INT, INT)]] + [--tx-total-collateral INTEGER] + [--reference-script-size NATURAL] + [--json-metadata-no-schema | + + --json-metadata-detailed-schema] + [--auxiliary-script-file FILEPATH] + [--metadata-json-file FILEPATH | + + --metadata-cbor-file FILEPATH] + [--vote-file FILEPATH + [--vote-script-file FILEPATH + [ + (--vote-redeemer-cbor-file CBOR_FILE | + + --vote-redeemer-file JSON_FILE | + + --vote-redeemer-value JSON_VALUE) + --vote-execution-units (INT, INT)] | + + --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + (--vote-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --vote-reference-tx-in-redeemer-file JSON_FILE | + + --vote-reference-tx-in-redeemer-value JSON_VALUE) + --vote-reference-tx-in-execution-units (INT, INT)]] + [--proposal-file FILEPATH + [--proposal-script-file FILEPATH + [ + (--proposal-redeemer-cbor-file CBOR_FILE | + + --proposal-redeemer-file JSON_FILE | + + --proposal-redeemer-value JSON_VALUE) + --proposal-execution-units (INT, INT)] | + + --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + (--proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --proposal-reference-tx-in-redeemer-file JSON_FILE | + + --proposal-reference-tx-in-redeemer-value JSON_VALUE) + --proposal-reference-tx-in-execution-units (INT, INT)]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] + --out-file FILEPATH + + Build a balanced transaction without access to a live node (automatically estimates fees) + + Please note the order 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 + + 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 + + Create a transaction witness + +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 + + 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 + + Submit a transaction to the local node whose Unix domain socket is obtained + from the CARDANO_NODE_SOCKET_PATH environment variable. + +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] + + 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] + + 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] + + 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) + + Calculate the hash of script data. + +Usage: cardano-cli conway transaction txid (--tx-body-file FILEPATH | + --tx-file FILEPATH) + + Print a transaction identifier. + +Usage: cardano-cli latest (address | key | genesis | governance | node | query | + stake-address | stake-pool | text-view | + transaction) + + Latest era commands (Conway) + +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 + + Create an address key pair. + +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] + + Build a Shelley payment address, with optional delegation to a stake address. + +Usage: cardano-cli latest address info --address ADDRESS [--out-file FILEPATH] + + Print information about an address. + +Usage: cardano-cli latest 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 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + Convert a cardano-address extended signing key to a corresponding + Shelley-format key. + +Usage: cardano-cli latest 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 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 + + Create a Shelley genesis delegate key pair + +Usage: cardano-cli latest genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a Shelley genesis UTxO key pair + +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 + + 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] + + 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] + + 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] + + 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) + + 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] + + 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 + + Create data to use for starting a testnet. + +Usage: cardano-cli latest genesis hash --genesis FILEPATH + + Compute the hash of a genesis file + +Usage: cardano-cli latest governance (action | committee | drep | vote) + + Governance commands. + +Usage: cardano-cli latest governance action (create-constitution | + update-committee | create-info | + create-no-confidence | + create-protocol-parameters-update | + create-treasury-withdrawal | + create-hardfork | view) + + Governance action commands. + +Usage: cardano-cli latest governance action create-constitution (--mainnet | + --testnet) + --governance-action-deposit NATURAL + (--deposit-return-stake-verification-key STRING | + + --deposit-return-stake-verification-key-file FILEPATH | + + --deposit-return-stake-key-hash HASH | + + --deposit-return-stake-script-file FILEPATH | + + --deposit-return-stake-address ADDRESS) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + --constitution-url TEXT + --constitution-hash HASH + [--check-constitution-hash] + [--constitution-script-hash HASH] + --out-file FILEPATH + + Create a constitution. + +Usage: cardano-cli latest governance action update-committee (--mainnet | + --testnet) + --governance-action-deposit NATURAL + (--deposit-return-stake-verification-key STRING | + + --deposit-return-stake-verification-key-file FILEPATH | + + --deposit-return-stake-key-hash HASH | + + --deposit-return-stake-script-file FILEPATH | + + --deposit-return-stake-address ADDRESS) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + [--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 latest governance action create-info (--mainnet | --testnet) + --governance-action-deposit NATURAL + (--deposit-return-stake-verification-key STRING | + + --deposit-return-stake-verification-key-file FILEPATH | + + --deposit-return-stake-key-hash HASH | + + --deposit-return-stake-script-file FILEPATH | + + --deposit-return-stake-address ADDRESS) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + --out-file FILEPATH + + Create an info action. + +Usage: cardano-cli latest governance action create-no-confidence (--mainnet | + --testnet) + --governance-action-deposit NATURAL + (--deposit-return-stake-verification-key STRING | + + --deposit-return-stake-verification-key-file FILEPATH | + + --deposit-return-stake-key-hash HASH | + + --deposit-return-stake-script-file FILEPATH | + + --deposit-return-stake-address ADDRESS) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH + + Create a no confidence proposal. + +Usage: cardano-cli latest governance action create-protocol-parameters-update (--mainnet | + + --testnet) + --governance-action-deposit NATURAL + (--deposit-return-stake-verification-key STRING | + + --deposit-return-stake-verification-key-file FILEPATH | + + --deposit-return-stake-key-hash HASH | + + --deposit-return-stake-script-file FILEPATH | + + --deposit-return-stake-address ADDRESS) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + [--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 latest governance action create-treasury-withdrawal (--mainnet | + + --testnet) + --governance-action-deposit NATURAL + (--deposit-return-stake-verification-key STRING | + + --deposit-return-stake-verification-key-file FILEPATH | + + --deposit-return-stake-key-hash HASH | + + --deposit-return-stake-script-file FILEPATH | + + --deposit-return-stake-address ADDRESS) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + ( + (--funds-receiving-stake-verification-key STRING | + + --funds-receiving-stake-verification-key-file FILEPATH | + + --funds-receiving-stake-key-hash HASH | + + --funds-receiving-stake-script-file FILEPATH | + + --funds-receiving-stake-address ADDRESS) + --transfer LOVELACE) + [--constitution-script-hash HASH] + --out-file FILEPATH + + Create a treasury withdrawal. + +Usage: cardano-cli latest governance action create-hardfork (--mainnet | + --testnet) + --governance-action-deposit NATURAL + (--deposit-return-stake-verification-key STRING | + + --deposit-return-stake-verification-key-file FILEPATH | + + --deposit-return-stake-key-hash HASH | + + --deposit-return-stake-script-file FILEPATH | + + --deposit-return-stake-address ADDRESS) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + --protocol-major-version MAJOR + --protocol-minor-version MINOR + --out-file FILEPATH + + Create a hardfork initiation proposal. + +Usage: cardano-cli latest governance action view --action-file FILEPATH + [--output-json | --output-yaml] + [--out-file FILEPATH] + + View a governance action. + +Usage: cardano-cli latest governance committee (key-gen-cold | key-gen-hot | + key-hash | + create-hot-key-authorization-certificate | + + create-cold-key-resignation-certificate) + + Committee member commands. + +Usage: cardano-cli latest governance committee key-gen-cold --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + + Create a cold key pair for a Constitutional Committee Member + +Usage: cardano-cli latest governance committee key-gen-hot --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a hot key pair for a Constitutional Committee Member -Usage: cardano-cli conway governance committee key-hash - ( --verification-key STRING - | --verification-key-file FILEPATH - ) +Usage: cardano-cli latest 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 +Usage: cardano-cli latest governance committee create-hot-key-authorization-certificate (--cold-verification-key STRING | + + --cold-verification-key-file FILEPATH | + + --cold-verification-key-hash STRING | + + --cold-script-hash HASH | + + --cold-script-file FILEPATH) + (--hot-verification-key STRING | + + --hot-verification-key-file FILEPATH | + + --hot-verification-key-hash STRING | + + --hot-script-hash HASH | + + --hot-script-file FILEPATH) + --out-file FILEPATH + + Create hot key authorization certificate for a Constitutional Committee Member + +Usage: cardano-cli latest governance committee create-cold-key-resignation-certificate (--cold-verification-key STRING | + + --cold-verification-key-file FILEPATH | + + --cold-verification-key-hash STRING | - Create hot key authorization certificate for a Constitutional Committee Member + --cold-script-hash HASH | -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 - [--check-resignation-metadata-hash]] - --out-file FILEPATH + --cold-script-file FILEPATH) + [--resignation-metadata-url TEXT + --resignation-metadata-hash HASH + [--check-resignation-metadata-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 - ) +Usage: cardano-cli latest 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 +Usage: cardano-cli latest governance drep key-gen --verification-key-file FILEPATH + --signing-key-file FILEPATH Generate Delegated Representative verification and signing keys. -Usage: cardano-cli conway governance drep id - ( --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli latest governance drep id (--drep-verification-key STRING | + --drep-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] Generate a drep id. -Usage: cardano-cli 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 - [--check-drep-metadata-hash]] - --out-file FILEPATH +Usage: cardano-cli latest governance drep registration-certificate (--drep-script-hash HASH | - Create a registration certificate. + --drep-verification-key STRING | -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 + --drep-verification-key-file FILEPATH | + + --drep-key-hash HASH) + --key-reg-deposit-amt NATURAL + [--drep-metadata-url TEXT + --drep-metadata-hash HASH + [--check-drep-metadata-hash]] --out-file FILEPATH + Create a registration certificate. + +Usage: cardano-cli latest governance drep retirement-certificate (--drep-script-hash HASH | + + --drep-verification-key STRING | + + --drep-verification-key-file FILEPATH | + + --drep-key-hash HASH) + --deposit-amt LOVELACE + --out-file FILEPATH + Create a DRep retirement certificate. -Usage: cardano-cli 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 - [--check-drep-metadata-hash]] - --out-file FILEPATH +Usage: cardano-cli latest governance drep update-certificate (--drep-script-hash HASH | + + --drep-verification-key STRING | + + --drep-verification-key-file FILEPATH | + + --drep-key-hash HASH) + [--drep-metadata-url TEXT + --drep-metadata-hash HASH + [--check-drep-metadata-hash]] + --out-file FILEPATH Create a DRep update certificate. -Usage: cardano-cli conway governance drep metadata-hash - ( --drep-metadata-file FILEPATH - | --drep-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli latest governance drep metadata-hash (--drep-metadata-file FILEPATH | + + --drep-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] Calculate the hash of a metadata file, optionally checking the obtained hash against an expected value. -Usage: cardano-cli conway governance vote (create | view) +Usage: cardano-cli latest governance vote (create | view) Vote commands. -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 - [--check-anchor-data-hash]] - --out-file FILEPATH +Usage: cardano-cli latest governance vote create (--yes | --no | --abstain) + --governance-action-tx-id TXID + --governance-action-index WORD16 + (--drep-verification-key STRING | + + --drep-verification-key-file FILEPATH | + --drep-key-hash HASH | + --drep-script-hash HASH | + --stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH | + + --stake-pool-id STAKE_POOL_ID | + + --cc-hot-verification-key STRING | + + --cc-hot-verification-key-file FILEPATH | + --cc-hot-key-hash STRING | + --cc-hot-script-hash HASH) + [--anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data-hash]] + --out-file FILEPATH Vote creation. -Usage: cardano-cli conway governance vote view [--output-json | --output-yaml] - --vote-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli latest governance vote view [--output-json | --output-yaml] + --vote-file FILEPATH + [--out-file FILEPATH] Vote viewing. -Usage: cardano-cli conway node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli latest node (key-gen | key-gen-KES | key-gen-VRF | + key-hash-VRF | new-counter | issue-op-cert) Node operation commands. -Usage: cardano-cli 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 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 conway 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 conway 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 conway 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 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 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 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 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 -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 - ) +Usage: cardano-cli latest 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 conway 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 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 latest query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) -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 latest 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 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 latest 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 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 latest 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 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 latest 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 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 latest 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 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 latest 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 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 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)) + [--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 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 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)) + [--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 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 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) + [--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 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 latest 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 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 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)) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Dump the pool state -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 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 -Usage: cardano-cli conway query tx-mempool info +Usage: cardano-cli latest query tx-mempool info Ask the node about the current mempool's capacity and sizes -Usage: cardano-cli conway query tx-mempool next-tx +Usage: cardano-cli latest query tx-mempool next-tx Requests the next transaction from the mempool's current list -Usage: cardano-cli conway query tx-mempool tx-exists TX_ID +Usage: cardano-cli latest query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool -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 latest 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 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 latest 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 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 latest query constitution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Get the constitution -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 latest query gov-state --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Get the governance state -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. - -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. - -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. - -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 - -Usage: cardano-cli conway query treasury --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] +Usage: cardano-cli latest query drep-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] + (--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 treasury 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 - | registration-and-delegation-certificate - | registration-and-vote-delegation-certificate - | registration-stake-and-vote-delegation-certificate - ) - - Stake address commands. - -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 - -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 - -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 - -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 - -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 - -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. - -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. - -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. - -Usage: cardano-cli conway stake-address registration-and-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 - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH - - Create a stake address registration and delegation certificate, which when - submitted in a transaction registers a stake address and delegates stake to a - stake pool. - -Usage: cardano-cli conway stake-address registration-and-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 - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH - - Create a stake address registration and vote delegation certificate, which - when submitted in a transaction registers a stake address and delegates votes - to a DRep or pre-defined voting option. - -Usage: cardano-cli conway stake-address registration-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 - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH + Get the DRep state. - Create a stake address registration, stake delegation and vote delegation - certificate, which when submitted in a transaction registers a stake address, - delgates stake to a pool, and delegates votes to a DRep or pre-defined voting - option. +Usage: cardano-cli latest query drep-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (--all-dreps | + (--drep-script-hash HASH | -Usage: cardano-cli conway stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) + --drep-verification-key STRING | - Stake pool commands. + --drep-verification-key-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 - [--check-metadata-hash]] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH + --drep-key-hash HASH)) + [--volatile-tip | + --immutable-tip] + [--out-file FILEPATH] - Create a stake pool registration certificate + Get the DRep stake distribution. -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 latest query spo-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (--all-spos | + (--spo-verification-key STRING | + + --spo-verification-key-file FILEPATH | + --spo-key-hash HASH)) + [--volatile-tip | + --immutable-tip] + [--out-file FILEPATH] - Create a stake pool deregistration certificate + Get the SPO stake distribution. -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 latest query committee-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--cold-verification-key STRING | + + --cold-verification-key-file FILEPATH | + + --cold-verification-key-hash STRING | + --cold-script-hash HASH] + [--hot-key STRING | + --hot-key-file FILEPATH | + --hot-key-hash STRING | + --hot-script-hash HASH] + [--active | --expired | + --unrecognized] + [--volatile-tip | + --immutable-tip] + [--out-file FILEPATH] - Build pool id from the offline key + Get the committee state -Usage: cardano-cli conway stake-pool metadata-hash - ( --pool-metadata-file FILEPATH - | --pool-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli latest query treasury --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] - Calculate the hash of a stake pool metadata file, optionally checking the - obtained hash against an expected value. + Get the treasury value -Usage: cardano-cli conway text-view decode-cbor +Usage: cardano-cli latest stake-address (key-gen | key-hash | build | + registration-certificate | + deregistration-certificate | + stake-delegation-certificate | + stake-and-vote-delegation-certificate | + vote-delegation-certificate | + registration-and-delegation-certificate | - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + registration-and-vote-delegation-certificate | -Usage: cardano-cli conway text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] + registration-stake-and-vote-delegation-certificate) - Print a TextView file as decoded CBOR. + Stake address commands. -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 - ) +Usage: cardano-cli latest stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Transaction commands. + Create a stake address key pair -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 latest stake-address key-hash (--stake-verification-key STRING | - Build a transaction (low-level, inconvenient) + --stake-verification-key-file FILEPATH) + [--out-file FILEPATH] - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Print the hash of a stake address key -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 latest stake-address build (--stake-verification-key STRING | - Build a balanced transaction (automatically calculates fees) + --stake-verification-key-file FILEPATH | + --stake-key-hash HASH | + --stake-script-file FILEPATH) + (--mainnet | + --testnet-magic NATURAL) + [--out-file FILEPATH] - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli 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 stake address - Build a balanced transaction without access to a live node (automatically estimates fees) +Usage: cardano-cli latest stake-address registration-certificate (--stake-verification-key STRING | - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli conway transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH + --stake-verification-key-file FILEPATH | - Sign a transaction + --stake-key-hash HASH | -Usage: cardano-cli conway transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH + --stake-script-file FILEPATH | - Create a transaction witness + --stake-address ADDRESS) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH -Usage: cardano-cli conway transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH + Create a stake address registration certificate - Assemble a tx body and witness(es) to form a transaction +Usage: cardano-cli latest stake-address deregistration-certificate (--stake-verification-key STRING | -Usage: cardano-cli conway transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH + --stake-verification-key-file FILEPATH | - Assemble a tx body and witness(es) to form a transaction + --stake-key-hash HASH | -Usage: cardano-cli conway transaction submit --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --tx-file FILEPATH + --stake-script-file FILEPATH | - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. + --stake-address ADDRESS) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH -Usage: cardano-cli conway transaction policyid --script-file FILEPATH + Create a stake address deregistration certificate - Calculate the PolicyId from the monetary policy script. +Usage: cardano-cli latest stake-address stake-delegation-certificate (--stake-verification-key STRING | -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] + --stake-verification-key-file FILEPATH | - Calculate the minimum fee for a transaction. + --stake-key-hash HASH | -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] + --stake-script-file FILEPATH | - Calculate the minimum required UTxO for a transaction output. + --stake-address ADDRESS) + (--stake-pool-verification-key STRING | -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] + --cold-verification-key-file FILEPATH | - DEPRECATED: Use 'calculate-min-required-utxo' instead. + --stake-pool-id STAKE_POOL_ID) + --out-file FILEPATH -Usage: cardano-cli conway transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. - Calculate the hash of script data. +Usage: cardano-cli latest stake-address stake-and-vote-delegation-certificate (--stake-verification-key STRING | -Usage: cardano-cli conway transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) + --stake-verification-key-file FILEPATH | - Print a transaction identifier. + --stake-key-hash HASH | -Usage: cardano-cli latest - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) + --stake-script-file FILEPATH | - Latest era commands (Conway) + --stake-address ADDRESS) + (--stake-pool-verification-key STRING | -Usage: cardano-cli latest address (key-gen | key-hash | build | info) + --cold-verification-key-file FILEPATH | - Payment address commands. + --stake-pool-id STAKE_POOL_ID) + (--drep-script-hash HASH | -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 + --drep-verification-key STRING | - Create an address key pair. + --drep-verification-key-file FILEPATH | -Usage: cardano-cli latest address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] + --drep-key-hash HASH | - Print the hash of an address key. + --always-abstain | -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] + --always-no-confidence) + --out-file FILEPATH - Build a Shelley payment address, with optional delegation to a stake address. + Create a stake address stake and vote delegation certificate, which when + submitted in a transaction delegates stake to a stake pool and a DRep. -Usage: cardano-cli latest address info --address ADDRESS [--out-file FILEPATH] +Usage: cardano-cli latest stake-address vote-delegation-certificate (--stake-verification-key STRING | - Print information about an address. + --stake-verification-key-file FILEPATH | -Usage: cardano-cli latest 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 latest key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH + --stake-address ADDRESS) + (--drep-script-hash HASH | - Get a verification key from a signing key. This supports all key types. + --drep-verification-key STRING | -Usage: cardano-cli latest key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH + --drep-verification-key-file FILEPATH | - Get a non-extended verification key from an extended verification key. This - supports all extended key types. + --drep-key-hash HASH | -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 + --always-abstain | - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. + --always-no-confidence) + --out-file FILEPATH -Usage: cardano-cli latest key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH + Create a stake address vote delegation certificate, which when submitted in a + transaction delegates stake to a DRep. - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key +Usage: cardano-cli latest stake-address registration-and-delegation-certificate (--stake-verification-key STRING | -Usage: cardano-cli latest key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH + --stake-verification-key-file FILEPATH | - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key + --stake-key-hash HASH | -Usage: cardano-cli latest key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH + --stake-script-file FILEPATH | - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key + --stake-address ADDRESS) + (--stake-pool-verification-key STRING | -Usage: cardano-cli latest key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH + --cold-verification-key-file FILEPATH | - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key + --stake-pool-id STAKE_POOL_ID) + --key-reg-deposit-amt NATURAL + --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 + Create a stake address registration and delegation certificate, which when + submitted in a transaction registers a stake address and delegates stake to a + stake pool. - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. +Usage: cardano-cli latest stake-address registration-and-vote-delegation-certificate (--stake-verification-key STRING | -Usage: cardano-cli latest 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-verification-key-file FILEPATH | - Genesis block commands. + --stake-key-hash HASH | -Usage: cardano-cli latest genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH + --stake-script-file FILEPATH | - Create a Shelley genesis key pair + --stake-address ADDRESS) + (--drep-script-hash HASH | -Usage: cardano-cli latest genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH + --drep-verification-key STRING | - Create a Shelley genesis delegate key pair + --drep-verification-key-file FILEPATH | -Usage: cardano-cli latest genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH + --drep-key-hash HASH | - Create a Shelley genesis UTxO key pair + --always-abstain | -Usage: cardano-cli latest genesis key-hash --verification-key-file FILEPATH + --always-no-confidence) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH - Print the identifier (hash) of a public key + Create a stake address registration and vote delegation certificate, which + when submitted in a transaction registers a stake address and delegates votes + to a DRep or pre-defined voting option. -Usage: cardano-cli latest genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli latest stake-address registration-stake-and-vote-delegation-certificate (--stake-verification-key STRING | - Derive the verification key from a signing key + --stake-verification-key-file FILEPATH | -Usage: cardano-cli latest genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + --stake-key-hash HASH | - Get the address for an initial UTxO based on the verification key + --stake-script-file FILEPATH | -Usage: cardano-cli latest genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + --stake-address ADDRESS) + (--stake-pool-verification-key STRING | - Get the TxIn for an initial UTxO based on the verification key + --cold-verification-key-file 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] + --stake-pool-id STAKE_POOL_ID) + (--drep-script-hash HASH | - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + --drep-verification-key STRING | -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) + --drep-verification-key-file FILEPATH | - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + --drep-key-hash HASH | -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] + --always-abstain | - Create a staked Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + --always-no-confidence) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH -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 a stake address registration, stake delegation and vote delegation + certificate, which when submitted in a transaction registers a stake address, + delgates stake to a pool, and delegates votes to a DRep or pre-defined voting + option. - Create data to use for starting a testnet. +Usage: cardano-cli latest stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) -Usage: cardano-cli latest genesis hash --genesis FILEPATH + Stake pool commands. - Compute the hash of a genesis file +Usage: cardano-cli latest stake-pool registration-certificate (--stake-pool-verification-key STRING | -Usage: cardano-cli latest governance (action | committee | drep | vote) + --cold-verification-key-file FILEPATH) + (--vrf-verification-key STRING | - Governance commands. + --vrf-verification-key-file FILEPATH) + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + (--pool-reward-account-verification-key STRING | -Usage: cardano-cli latest governance action - ( create-constitution - | update-committee - | create-info - | create-no-confidence - | create-protocol-parameters-update - | create-treasury-withdrawal - | create-hardfork - | view - ) + --pool-reward-account-verification-key-file FILEPATH) + (--pool-owner-verification-key STRING | - Governance action commands. + --pool-owner-stake-verification-key-file FILEPATH) + [ + [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT | -Usage: cardano-cli latest governance action create-constitution - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data] - --constitution-url TEXT - --constitution-hash HASH - [--check-constitution-hash] - [--constitution-script-hash HASH] - --out-file FILEPATH + --single-host-pool-relay STRING + [--pool-relay-port INT] | - Create a constitution. + --multi-host-pool-relay STRING] + [--metadata-url URL + --metadata-hash HASH + [--check-metadata-hash]] + (--mainnet | + --testnet-magic NATURAL) + --out-file FILEPATH -Usage: cardano-cli latest governance action update-committee - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data] - [ --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 a stake pool registration certificate - Create or update a new committee proposal. +Usage: cardano-cli latest stake-pool deregistration-certificate (--stake-pool-verification-key STRING | -Usage: cardano-cli latest governance action create-info (--mainnet | --testnet) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data] - --out-file FILEPATH + --cold-verification-key-file FILEPATH) + --epoch NATURAL + --out-file FILEPATH - Create an info action. + Create a stake pool deregistration certificate -Usage: cardano-cli latest governance action create-no-confidence - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data] - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --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] - Create a no confidence proposal. + Build pool id from the offline key -Usage: cardano-cli latest governance action create-protocol-parameters-update - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data] - [--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 latest stake-pool metadata-hash (--pool-metadata-file FILEPATH | + --pool-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] - Create a protocol parameters update. + Calculate the hash of a stake pool metadata file, optionally checking the + obtained hash against an expected value. -Usage: cardano-cli latest governance action create-treasury-withdrawal - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data] - ( - ( --funds-receiving-stake-verification-key STRING - | --funds-receiving-stake-verification-key-file FILEPATH - | --funds-receiving-stake-key-hash HASH - | --funds-receiving-stake-script-file FILEPATH - | --funds-receiving-stake-address ADDRESS - ) - --transfer LOVELACE) - [--constitution-script-hash HASH] - --out-file FILEPATH +Usage: cardano-cli latest text-view decode-cbor - Create a treasury withdrawal. + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. -Usage: cardano-cli latest governance action create-hardfork - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data] - --protocol-major-version MAJOR - --protocol-minor-version MINOR - --out-file FILEPATH +Usage: cardano-cli latest text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] - Create a hardfork initiation proposal. + Print a TextView file as decoded CBOR. -Usage: cardano-cli latest governance action view --action-file FILEPATH - [ --output-json - | --output-yaml - ] - [--out-file FILEPATH] +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 a governance action. + Transaction commands. -Usage: cardano-cli latest governance committee - ( key-gen-cold - | key-gen-hot - | key-hash - | create-hot-key-authorization-certificate - | create-cold-key-resignation-certificate - ) +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 | - Committee member commands. + --spending-reference-tx-in-datum-file JSON_FILE | -Usage: cardano-cli latest governance committee key-gen-cold - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH + --spending-reference-tx-in-datum-value JSON_VALUE | - Create a cold key pair for a Constitutional Committee Member + --spending-reference-tx-in-inline-datum-present] + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli latest governance committee key-gen-hot --verification-key-file FILEPATH - --signing-key-file FILEPATH + --spending-reference-tx-in-redeemer-file JSON_FILE | - Create a hot key pair for a Constitutional Committee Member + --spending-reference-tx-in-redeemer-value JSON_VALUE) + --spending-reference-tx-in-execution-units (INT, INT) | -Usage: cardano-cli latest governance committee key-hash - ( --verification-key STRING - | --verification-key-file FILEPATH - ) + --simple-script-tx-in-reference TX-IN | + --tx-in-script-file FILEPATH + [ + [--tx-in-datum-cbor-file CBOR_FILE | - Print the identifier (hash) of a public key + --tx-in-datum-file JSON_FILE | -Usage: cardano-cli latest governance committee create-hot-key-authorization-certificate - ( --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - | --cold-script-file FILEPATH - ) - ( --hot-verification-key STRING - | --hot-verification-key-file FILEPATH - | --hot-verification-key-hash STRING - | --hot-script-hash HASH - | --hot-script-file FILEPATH - ) - --out-file FILEPATH + --tx-in-datum-value JSON_VALUE | - Create hot key authorization certificate for a Constitutional Committee Member + --tx-in-inline-datum-present] + (--tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli latest governance committee create-cold-key-resignation-certificate - ( --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - | --cold-script-file FILEPATH - ) - [--resignation-metadata-url TEXT - --resignation-metadata-hash HASH - [--check-resignation-metadata-hash]] - --out-file FILEPATH + --tx-in-redeemer-file JSON_FILE | - Create cold key resignation certificate for a Constitutional Committee Member + --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 | -Usage: cardano-cli latest governance drep - ( key-gen - | id - | registration-certificate - | retirement-certificate - | update-certificate - | metadata-hash - ) + --tx-out-datum-hash-file JSON_FILE | - DRep member commands. + --tx-out-datum-hash-value JSON_VALUE | -Usage: cardano-cli latest governance drep key-gen --verification-key-file FILEPATH - --signing-key-file FILEPATH + --tx-out-datum-embed-cbor-file CBOR_FILE | - Generate Delegated Representative verification and signing keys. + --tx-out-datum-embed-file JSON_FILE | -Usage: cardano-cli latest governance drep id - ( --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] + --tx-out-datum-embed-value JSON_VALUE | - Generate a drep id. + --tx-out-inline-datum-cbor-file CBOR_FILE | -Usage: cardano-cli latest governance drep registration-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - --key-reg-deposit-amt NATURAL - [--drep-metadata-url TEXT - --drep-metadata-hash HASH - [--check-drep-metadata-hash]] - --out-file FILEPATH + --tx-out-inline-datum-file JSON_FILE | - Create a registration certificate. + --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 | -Usage: cardano-cli latest governance drep retirement-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - --deposit-amt LOVELACE - --out-file FILEPATH + --mint-redeemer-file JSON_FILE | - Create a DRep retirement certificate. + --mint-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | -Usage: cardano-cli latest governance drep update-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - [--drep-metadata-url TEXT - --drep-metadata-hash HASH - [--check-drep-metadata-hash]] - --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 | - Create a DRep update certificate. + --mint-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli latest governance drep metadata-hash - ( --drep-metadata-file FILEPATH - | --drep-metadata-url TEXT - ) - [ --expected-hash HASH - | --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] + --fee LOVELACE + [--certificate-file FILEPATH + [--certificate-script-file FILEPATH + [ + (--certificate-redeemer-cbor-file CBOR_FILE | - Calculate the hash of a metadata file, optionally checking the obtained hash - against an expected value. + --certificate-redeemer-file JSON_FILE | -Usage: cardano-cli latest governance vote (create | view) + --certificate-redeemer-value JSON_VALUE) + --certificate-execution-units (INT, INT)] | - Vote commands. + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | -Usage: cardano-cli latest governance vote create (--yes | --no | --abstain) - --governance-action-tx-id TXID - --governance-action-index WORD16 - ( --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - | --drep-script-hash HASH - | --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - | --cc-hot-verification-key STRING - | --cc-hot-verification-key-file FILEPATH - | --cc-hot-key-hash STRING - | --cc-hot-script-hash HASH - ) - [--anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data-hash]] - --out-file FILEPATH + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Vote creation. + --certificate-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli latest governance vote view [--output-json | --output-yaml] - --vote-file FILEPATH - [--out-file FILEPATH] + --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 | - Vote viewing. + --withdrawal-redeemer-file JSON_FILE | -Usage: cardano-cli latest node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) + --withdrawal-redeemer-value JSON_VALUE) + --withdrawal-execution-units (INT, INT)] | - Node operation commands. + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | -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 + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Create a key pair for a node operator's offline key and a new certificate - issue counter + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli latest node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-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 | + --metadata-cbor-file FILEPATH] + [--protocol-params-file FILEPATH] + [--vote-file FILEPATH + [--vote-script-file FILEPATH + [ + (--vote-redeemer-cbor-file CBOR_FILE | - Create a key pair for a node KES operational key + --vote-redeemer-file JSON_FILE | -Usage: cardano-cli latest node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + --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 | - Create a key pair for a node VRF operational key + --vote-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli latest node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] + --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 | - Print hash of a node's operational VRF key. + --proposal-redeemer-file JSON_FILE | -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 + --proposal-redeemer-value JSON_VALUE) + --proposal-execution-units (INT, INT)] | - Create a new certificate issue counter + --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + (--proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE | -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 + --proposal-reference-tx-in-redeemer-file JSON_FILE | - Issue a node operational certificate + --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) -Usage: cardano-cli latest 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 - ) + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. - 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 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 latest query protocol-parameters --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + --spending-reference-tx-in-datum-file JSON_FILE | - Get the node's current protocol parameters + --spending-reference-tx-in-datum-value JSON_VALUE | -Usage: cardano-cli latest query tip --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] + --spending-reference-tx-in-inline-datum-present] + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Get the node's current tip (slot no, hash, block no) + --spending-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli latest 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] + --spending-reference-tx-in-redeemer-value JSON_VALUE) | - Get the node's current set of stake pool ids + --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 latest 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-in-datum-value JSON_VALUE | + --tx-in-inline-datum-present] + (--tx-in-redeemer-cbor-file CBOR_FILE | - Get the node's current aggregated stake distribution + --tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli latest 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-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 current delegations and reward accounts filtered by stake address. + --tx-out-datum-hash-file JSON_FILE | -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) - [--volatile-tip | --immutable-tip] - [--output-json | --output-text] - [--out-file FILEPATH] + --tx-out-datum-hash-value JSON_VALUE | - Get a portion of the current UTxO: by tx in, by address or the whole. + --tx-out-datum-embed-cbor-file CBOR_FILE | -Usage: cardano-cli latest 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-datum-embed-file JSON_FILE | - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) + --tx-out-datum-embed-value JSON_VALUE | -Usage: cardano-cli latest query protocol-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-cbor-file CBOR_FILE | - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) + --tx-out-inline-datum-file JSON_FILE | -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) - ) - [ --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 | - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) + --mint-redeemer-file JSON_FILE | -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) - ) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] + --mint-redeemer-value JSON_VALUE] | - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- 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 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) - [ --volatile-tip - | --immutable-tip - ] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] + --mint-reference-tx-in-redeemer-file JSON_FILE | - Get the slots the node is expected to mint a block in (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 latest 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-redeemer-file JSON_FILE | - Get information about the current KES period and your node's operational - certificate. + --certificate-redeemer-value JSON_VALUE] | -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) - ) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | - Dump the pool state + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | -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] + --certificate-reference-tx-in-redeemer-file JSON_FILE | - Local Mempool info + --certificate-reference-tx-in-redeemer-value JSON_VALUE)]] + [--withdrawal WITHDRAWAL + [--withdrawal-script-file FILEPATH + [--withdrawal-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli latest query tx-mempool info + --withdrawal-redeemer-file JSON_FILE | - Ask the node about the current mempool's capacity and sizes + --withdrawal-redeemer-value JSON_VALUE] | -Usage: cardano-cli latest query tx-mempool next-tx + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Requests the next transaction from the mempool's current list + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli latest query tx-mempool tx-exists TX_ID + --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 | - Query if a particular transaction exists in the mempool + --vote-redeemer-file JSON_FILE | -Usage: cardano-cli latest query slot-number --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--volatile-tip | --immutable-tip] - TIMESTAMP + --vote-redeemer-value JSON_VALUE] | + --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + (--vote-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Query slot number for UTC timestamp + --vote-reference-tx-in-redeemer-file JSON_FILE | -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 - ) - [ --volatile-tip - | --immutable-tip - ] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] + --vote-reference-tx-in-redeemer-value JSON_VALUE)]] + [--proposal-file FILEPATH + [--proposal-script-file FILEPATH + [--proposal-redeemer-cbor-file CBOR_FILE | - Calculate the reference input scripts size in bytes for provided transaction - inputs. + --proposal-redeemer-file JSON_FILE | -Usage: cardano-cli latest query constitution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] + --proposal-redeemer-value JSON_VALUE] | + --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + (--proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Get the constitution + --proposal-reference-tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli latest query gov-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] + --proposal-reference-tx-in-redeemer-value JSON_VALUE)]] + [--treasury-donation LOVELACE] + (--out-file FILEPATH | + --calculate-plutus-script-cost FILEPATH) - Get the governance state + Build a balanced transaction (automatically calculates fees) -Usage: cardano-cli latest query drep-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-dreps - | - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - ) - [--include-stake] - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] + 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 DRep state. +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 | -Usage: cardano-cli latest query drep-stake-distribution - --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-dreps - | - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] + --spending-plutus-script-v3) + [--spending-reference-tx-in-datum-cbor-file CBOR_FILE | - Get the DRep stake distribution. + --spending-reference-tx-in-datum-file JSON_FILE | -Usage: cardano-cli latest query spo-stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-spos - | - ( --spo-verification-key STRING - | --spo-verification-key-file FILEPATH - | --spo-key-hash HASH - ) - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] + --spending-reference-tx-in-datum-value JSON_VALUE | - Get the SPO stake distribution. + --spending-reference-tx-in-inline-datum-present] + (--spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli latest query committee-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - ] - [ --hot-key STRING - | --hot-key-file FILEPATH - | --hot-key-hash STRING - | --hot-script-hash HASH - ] - [ --active - | --expired - | --unrecognized - ] - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] + --spending-reference-tx-in-redeemer-file JSON_FILE | - Get the committee state + --spending-reference-tx-in-redeemer-value JSON_VALUE) + --spending-reference-tx-in-execution-units (INT, INT) | -Usage: cardano-cli latest query treasury --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] + --simple-script-tx-in-reference TX-IN | - Get the treasury value + --tx-in-script-file FILEPATH + [ + [--tx-in-datum-cbor-file CBOR_FILE | -Usage: cardano-cli latest stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate - | stake-and-vote-delegation-certificate - | vote-delegation-certificate - | registration-and-delegation-certificate - | registration-and-vote-delegation-certificate - | registration-stake-and-vote-delegation-certificate - ) + --tx-in-datum-file JSON_FILE | - Stake address commands. + --tx-in-datum-value JSON_VALUE | -Usage: cardano-cli latest stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + --tx-in-inline-datum-present] + (--tx-in-redeemer-cbor-file CBOR_FILE | - Create a stake address key pair + --tx-in-redeemer-file JSON_FILE | -Usage: cardano-cli latest stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] + --tx-in-redeemer-value JSON_VALUE) + --tx-in-execution-units (INT, INT)]]) + [--read-only-tx-in-reference TX-IN] + [--required-signer FILEPATH | - Print the hash of a stake address key + --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 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] + --tx-out-datum-hash-cbor-file CBOR_FILE | - Build a stake address + --tx-out-datum-hash-file JSON_FILE | -Usage: cardano-cli latest stake-address registration-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH + --tx-out-datum-hash-value JSON_VALUE | - Create a stake address registration certificate + --tx-out-datum-embed-cbor-file CBOR_FILE | -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 - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH + --tx-out-datum-embed-file JSON_FILE | - Create a stake address deregistration certificate + --tx-out-datum-embed-value JSON_VALUE | -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-inline-datum-cbor-file CBOR_FILE | - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. + --tx-out-inline-datum-file JSON_FILE | -Usage: cardano-cli latest stake-address stake-and-vote-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - | --always-abstain - | --always-no-confidence - ) - --out-file FILEPATH + --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 stake and vote delegation certificate, which when - submitted in a transaction delegates stake to a stake pool and a DRep. + --mint-redeemer-file JSON_FILE | -Usage: cardano-cli latest stake-address vote-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - | --always-abstain - | --always-no-confidence - ) - --out-file FILEPATH + --mint-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | - Create a stake address vote delegation certificate, which when submitted in a - transaction delegates stake to a DRep. + --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH | -Usage: cardano-cli latest stake-address registration-and-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 - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH + --mint-tx-in-reference TX-IN + (--mint-plutus-script-v2 | - Create a stake address registration and delegation certificate, which when - submitted in a transaction registers a stake address and delegates stake to a - stake pool. + --mint-plutus-script-v3) + (--mint-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli latest stake-address registration-and-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 - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH + --mint-reference-tx-in-redeemer-file JSON_FILE | - Create a stake address registration and vote delegation certificate, which - when submitted in a transaction registers a stake address and delegates votes - to a DRep or pre-defined voting option. + --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 latest stake-address registration-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 - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH + --certificate-redeemer-file JSON_FILE | - Create a stake address registration, stake delegation and vote delegation - certificate, which when submitted in a transaction registers a stake address, - delgates stake to a pool, and delegates votes to a DRep or pre-defined voting - option. + --certificate-redeemer-value JSON_VALUE) + --certificate-execution-units (INT, INT)] | -Usage: cardano-cli latest stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | - Stake pool commands. + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-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 - [--check-metadata-hash]] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH + --certificate-reference-tx-in-redeemer-file JSON_FILE | - Create a stake pool registration 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 latest stake-pool deregistration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --epoch NATURAL - --out-file FILEPATH + --withdrawal-redeemer-file JSON_FILE | - Create a stake pool deregistration certificate + --withdrawal-redeemer-value JSON_VALUE) + --withdrawal-execution-units (INT, INT)] | -Usage: cardano-cli latest stake-pool id - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | - Build pool id from the offline key + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli latest stake-pool metadata-hash - ( --pool-metadata-file FILEPATH - | --pool-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | - Calculate the hash of a stake pool metadata file, optionally checking the - obtained hash against an expected value. + --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 latest text-view decode-cbor + --json-metadata-detailed-schema] + [--auxiliary-script-file FILEPATH] + [--metadata-json-file FILEPATH | - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + --metadata-cbor-file FILEPATH] + [--vote-file FILEPATH + [--vote-script-file FILEPATH + [ + (--vote-redeemer-cbor-file CBOR_FILE | -Usage: cardano-cli latest text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] + --vote-redeemer-file JSON_FILE | - Print a TextView file as decoded CBOR. + --vote-redeemer-value JSON_VALUE) + --vote-execution-units (INT, INT)] | -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 - ) + --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + (--vote-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Transaction commands. + --vote-reference-tx-in-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] - [--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-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 | - Build a transaction (low-level, inconvenient) + --proposal-redeemer-file JSON_FILE | - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + --proposal-redeemer-value JSON_VALUE) + --proposal-execution-units (INT, INT)] | -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 - ] - [--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-tx-in-reference TX-IN + --proposal-plutus-script-v3 + (--proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE | - Build a balanced transaction (automatically calculates fees) + --proposal-reference-tx-in-redeemer-file JSON_FILE | - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli latest transaction 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-value JSON_VALUE) + --proposal-reference-tx-in-execution-units (INT, INT)]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] + --out-file FILEPATH Build a balanced transaction without access to a live node (automatically estimates fees) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli latest transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --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. + +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 + --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. @@ -10517,68 +9939,80 @@ 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] + --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] + --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] + --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. @@ -10586,15 +10020,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 - | --url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli hash anchor-data (--text TEXT | --file-binary FILEPATH | + --file-text FILEPATH | --url TEXT) + [--expected-hash HASH | --out-file FILEPATH] Compute the hash of some anchor data (to then pass it to other commands). @@ -10602,14 +10030,10 @@ Usage: cardano-cli hash script --script-file FILEPATH [--out-file FILEPATH] Compute the hash of a script (to then pass it to other commands). -Usage: cardano-cli ping [-c|--count COUNT] - ((-h|--host HOST) | (-u|--unixsock SOCKET)) - [-p|--port PORT] - [-m|--magic MAGIC] - [-j|--json] - [-q|--quiet] - [-Q|--query-versions] - [-t|--tip] +Usage: cardano-cli ping [-c|--count COUNT] + ((-h|--host HOST) | (-u|--unixsock SOCKET)) + [-p|--port PORT] [-m|--magic MAGIC] [-j|--json] + [-q|--quiet] [-Q|--query-versions] [-t|--tip] Ping a cardano node either using node-to-node or node-to-client protocol. It negotiates a handshake and keeps sending keep alive messages. @@ -10618,8 +10042,8 @@ 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 + --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. @@ -10629,27 +10053,21 @@ 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. Usage: cardano-cli 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] + --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. @@ -10662,22 +10080,19 @@ Usage: cardano-cli keygen --secret FILEPATH Generate a signing key. Usage: cardano-cli to-verification [--byron-legacy-formats | --byron-formats] - --secret FILEPATH - --to FILEPATH + --secret FILEPATH --to FILEPATH Extract a verification key in its base64 form. Usage: cardano-cli signing-key-public [--byron-legacy-formats | --byron-formats] - --secret FILEPATH + --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. @@ -10685,34 +10100,29 @@ Usage: cardano-cli migrate-delegate-key-from --from FILEPATH --to FILEPATH Migrate a delegate key from an older version. -Usage: cardano-cli submit-tx --socket-path SOCKET_PATH - (--mainnet | --testnet-magic NATURAL) - --tx FILEPATH +Usage: cardano-cli 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 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. @@ -10720,14 +10130,10 @@ Usage: cardano-cli txid --tx FILEPATH Print the txid of a raw, signed transaction. -Usage: cardano-cli validate-cbor - [ --byron-block INT - | --byron-delegation-certificate - | --byron-tx - | --byron-update-proposal - | --byron-vote - ] - --filepath FILEPATH +Usage: cardano-cli validate-cbor [--byron-block INT | + --byron-delegation-certificate | --byron-tx | + --byron-update-proposal | --byron-vote] + --filepath FILEPATH Validate a CBOR blockchain object. @@ -10743,14 +10149,8 @@ Usage: cardano-cli help Show all help -Usage: cardano-cli compatible - ( shelley - | allegra - | mary - | alonzo - | babbage - | conway - ) +Usage: cardano-cli compatible (shelley | allegra | mary | alonzo | babbage | + conway) Limited backward compatible commands for testing only. @@ -10762,109 +10162,108 @@ Usage: cardano-cli compatible shelley transaction signed-transaction Transaction commands. -Usage: cardano-cli compatible shelley transaction signed-transaction - [--tx-in TX-IN] - [--tx-out ADDRESS VALUE] - [--update-proposal-file FILEPATH] - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --fee LOVELACE - --out-file FILEPATH +Usage: cardano-cli compatible shelley transaction signed-transaction [--tx-in TX-IN] + [--tx-out ADDRESS VALUE] + [--update-proposal-file FILEPATH] + [--signing-key-file FILEPATH + [--address STRING]] + [--mainnet | + + --testnet-magic NATURAL] + --fee LOVELACE + --out-file FILEPATH Create a simple signed transaction. -Usage: cardano-cli compatible shelley governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) +Usage: cardano-cli compatible shelley governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action) Governance commands. -Usage: cardano-cli compatible 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 compatible 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 compatible shelley governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli compatible 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 compatible shelley governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot Usage: cardano-cli compatible shelley governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot -Usage: cardano-cli compatible 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 compatible 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 -Usage: cardano-cli compatible shelley governance action - create-protocol-parameters-update +Usage: cardano-cli compatible shelley governance action create-protocol-parameters-update Governance action commands. Usage: cardano-cli compatible 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 + (--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. @@ -10876,201 +10275,324 @@ Usage: cardano-cli compatible allegra transaction signed-transaction Transaction commands. -Usage: cardano-cli compatible allegra transaction signed-transaction - [--tx-in TX-IN] - [--tx-out ADDRESS VALUE] - [--update-proposal-file FILEPATH] - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --fee LOVELACE - --out-file FILEPATH +Usage: cardano-cli compatible allegra transaction signed-transaction [--tx-in TX-IN] + [--tx-out ADDRESS VALUE] + [--update-proposal-file FILEPATH] + [--signing-key-file FILEPATH + [--address STRING]] + [--mainnet | + + --testnet-magic NATURAL] + --fee LOVELACE + --out-file FILEPATH Create a simple signed transaction. -Usage: cardano-cli compatible allegra governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) +Usage: cardano-cli compatible allegra governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action) Governance commands. -Usage: cardano-cli compatible 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 compatible 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 compatible allegra governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli compatible 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 compatible allegra governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot Usage: cardano-cli compatible allegra governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot -Usage: cardano-cli compatible 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 compatible 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 + +Usage: cardano-cli compatible allegra governance action create-protocol-parameters-update + + Governance action commands. + +Usage: cardano-cli compatible 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. + +Usage: cardano-cli compatible mary (transaction | governance) + + Mary era commands + +Usage: cardano-cli compatible mary transaction signed-transaction + + Transaction commands. + +Usage: cardano-cli compatible mary transaction signed-transaction [--tx-in TX-IN] + [--tx-out ADDRESS VALUE] + [--update-proposal-file FILEPATH] + [--signing-key-file FILEPATH + [--address STRING]] + [--mainnet | + --testnet-magic NATURAL] + --fee LOVELACE + --out-file FILEPATH + + Create a simple signed transaction. + +Usage: cardano-cli compatible mary governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action) + + Governance commands. + +Usage: cardano-cli compatible 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 compatible 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 compatible 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 compatible 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 compatible 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 -Usage: cardano-cli compatible allegra governance action - create-protocol-parameters-update +Usage: cardano-cli compatible mary governance action create-protocol-parameters-update Governance action commands. -Usage: cardano-cli compatible 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 compatible 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. -Usage: cardano-cli compatible mary (transaction | governance) +Usage: cardano-cli compatible alonzo (transaction | governance) - Mary era commands + Alonzo era commands -Usage: cardano-cli compatible mary transaction signed-transaction +Usage: cardano-cli compatible alonzo transaction signed-transaction Transaction commands. -Usage: cardano-cli compatible mary transaction signed-transaction - [--tx-in TX-IN] - [--tx-out ADDRESS VALUE] +Usage: cardano-cli compatible alonzo transaction signed-transaction [--tx-in TX-IN] + [--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]] [--update-proposal-file FILEPATH] [--signing-key-file FILEPATH [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] + [--mainnet | + + --testnet-magic NATURAL] --fee LOVELACE --out-file FILEPATH Create a simple signed transaction. -Usage: cardano-cli compatible mary governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) +Usage: cardano-cli compatible alonzo governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action) Governance commands. -Usage: cardano-cli compatible mary governance create-mir-certificate - ( ( --reserves - | --treasury - ) +Usage: cardano-cli compatible alonzo governance create-mir-certificate ( + (--reserves | + + --treasury) (--stake-address ADDRESS) (--reward LOVELACE) - --out-file FILEPATH - | stake-addresses - | transfer-to-treasury - | transfer-to-rewards - ) + --out-file FILEPATH | + + stake-addresses | + + transfer-to-treasury | + + transfer-to-rewards) Create an MIR (Move Instantaneous Rewards) certificate -Usage: cardano-cli compatible mary governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) +Usage: cardano-cli compatible 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 compatible mary governance create-mir-certificate transfer-to-treasury --transfer LOVELACE +Usage: cardano-cli compatible 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 compatible mary governance create-mir-certificate transfer-to-rewards --transfer LOVELACE +Usage: cardano-cli compatible 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 compatible 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 - ) +Usage: cardano-cli compatible 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 -Usage: cardano-cli compatible mary governance action - create-protocol-parameters-update +Usage: cardano-cli compatible alonzo governance action create-protocol-parameters-update Governance action commands. -Usage: cardano-cli compatible mary governance action create-protocol-parameters-update --epoch NATURAL +Usage: cardano-cli compatible alonzo governance action create-protocol-parameters-update --epoch NATURAL (--genesis-verification-key-file FILEPATH) [--min-fee-linear LOVELACE] [--min-fee-constant LOVELACE] @@ -11085,294 +10607,177 @@ Usage: cardano-cli compatible mary governance action create-protocol-parameters- [--treasury-expansion RATIONAL] [--monetary-expansion RATIONAL] [--min-pool-cost NATURAL] - [--min-utxo-value NATURAL] - [ --extra-entropy HEX - | --reset-extra-entropy - ] + [--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. -Usage: cardano-cli compatible alonzo (transaction | governance) +Usage: cardano-cli compatible babbage (transaction | governance) - Alonzo era commands + Babbage era commands -Usage: cardano-cli compatible alonzo transaction signed-transaction +Usage: cardano-cli compatible babbage transaction signed-transaction Transaction commands. -Usage: cardano-cli compatible alonzo transaction signed-transaction - [--tx-in TX-IN] - [--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 - ]] - [--update-proposal-file FILEPATH] - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --fee LOVELACE - --out-file FILEPATH - - Create a simple signed transaction. - -Usage: cardano-cli compatible alonzo governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) - - Governance commands. - -Usage: cardano-cli compatible 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 compatible 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 compatible alonzo governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli compatible babbage transaction signed-transaction [--tx-in TX-IN] + [--tx-out ADDRESS VALUE + [--tx-out-datum-hash HASH | - Create an MIR certificate to transfer from the reserves pot to the treasury - pot + --tx-out-datum-hash-cbor-file CBOR_FILE | -Usage: cardano-cli compatible alonzo governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH + --tx-out-datum-hash-file JSON_FILE | - Create an MIR certificate to transfer from the treasury pot to the reserves - pot + --tx-out-datum-hash-value JSON_VALUE | -Usage: cardano-cli compatible 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 + --tx-out-datum-embed-cbor-file CBOR_FILE | - Create a genesis key delegation certificate + --tx-out-datum-embed-file JSON_FILE | -Usage: cardano-cli compatible alonzo governance action - create-protocol-parameters-update + --tx-out-datum-embed-value JSON_VALUE | - Governance action commands. + --tx-out-inline-datum-cbor-file CBOR_FILE | -Usage: cardano-cli compatible 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 + --tx-out-inline-datum-file JSON_FILE | - Create a protocol parameters update. + --tx-out-inline-datum-value JSON_VALUE]] + [--update-proposal-file FILEPATH] + [--signing-key-file FILEPATH + [--address STRING]] + [--mainnet | -Usage: cardano-cli compatible babbage (transaction | governance) + --testnet-magic NATURAL] + --fee LOVELACE + --out-file FILEPATH - Babbage era commands + Create a simple signed transaction. -Usage: cardano-cli compatible babbage transaction signed-transaction +Usage: cardano-cli compatible babbage governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action | create-poll | + answer-poll | verify-poll) - Transaction commands. + Governance commands. -Usage: cardano-cli compatible babbage transaction signed-transaction - [--tx-in TX-IN] - [--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 - ]] - [--update-proposal-file FILEPATH] - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --fee LOVELACE - --out-file FILEPATH +Usage: cardano-cli compatible babbage governance create-mir-certificate ( + (--reserves | - Create a simple signed transaction. + --treasury) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH | -Usage: cardano-cli compatible babbage governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - | create-poll - | answer-poll - | verify-poll - ) + stake-addresses | - Governance commands. + transfer-to-treasury | -Usage: cardano-cli compatible babbage governance create-mir-certificate - ( ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - | stake-addresses - | transfer-to-treasury - | transfer-to-rewards - ) + transfer-to-rewards) Create an MIR (Move Instantaneous Rewards) certificate -Usage: cardano-cli compatible babbage governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli compatible 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 compatible babbage governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot Usage: cardano-cli compatible babbage governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot -Usage: cardano-cli compatible 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 compatible 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 compatible babbage governance action - create-protocol-parameters-update +Usage: cardano-cli compatible babbage governance action create-protocol-parameters-update Governance action commands. Usage: cardano-cli compatible 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 + (--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 compatible babbage governance create-poll --question STRING - (--answer STRING) - [--nonce UINT] - --out-file FILEPATH + (--answer STRING) + [--nonce UINT] + --out-file FILEPATH Create an SPO poll Usage: cardano-cli compatible babbage governance answer-poll --poll-file FILEPATH - [--answer INT] - [--out-file FILEPATH] + [--answer INT] + [--out-file FILEPATH] Answer an SPO poll Usage: cardano-cli compatible babbage governance verify-poll --poll-file FILEPATH - --tx-file FILEPATH - [--out-file FILEPATH] + --tx-file FILEPATH + [--out-file FILEPATH] Verify an answer to a given SPO poll @@ -11384,431 +10789,457 @@ Usage: cardano-cli compatible conway transaction signed-transaction Transaction commands. -Usage: cardano-cli compatible conway transaction signed-transaction - [--tx-in TX-IN] - [--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]] - [--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) - ]] - [--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) - ]] - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --fee LOVELACE - --out-file FILEPATH +Usage: cardano-cli compatible conway transaction signed-transaction [--tx-in TX-IN] + [--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]] + [--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)]] + [--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)]] + [--signing-key-file FILEPATH + [--address STRING]] + [--mainnet | + + --testnet-magic NATURAL] + --fee LOVELACE + --out-file FILEPATH Create a simple signed transaction. -Usage: cardano-cli compatible conway governance - ( action - | committee - | drep - | vote - ) +Usage: cardano-cli compatible conway governance (action | committee | drep | + vote) Governance commands. -Usage: cardano-cli compatible 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 compatible 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 compatible 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 - [--check-anchor-data] - --constitution-url TEXT - --constitution-hash HASH - [--check-constitution-hash] - [--constitution-script-hash HASH] - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-anchor-data] + --constitution-url TEXT + --constitution-hash HASH + [--check-constitution-hash] + [--constitution-script-hash HASH] + --out-file FILEPATH Create a constitution. -Usage: cardano-cli compatible 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 - [--check-anchor-data] - [ --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 compatible 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 + [--check-anchor-data] + [--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 compatible 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 - [--check-anchor-data] - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-anchor-data] + --out-file FILEPATH Create an info action. -Usage: cardano-cli compatible 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 - [--check-anchor-data] - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-anchor-data] + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH Create a no confidence proposal. -Usage: cardano-cli compatible 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 - [--check-anchor-data] - [--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 compatible 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 + [--check-anchor-data] + [--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 compatible 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 - [--check-anchor-data] - ( - ( --funds-receiving-stake-verification-key STRING - | --funds-receiving-stake-verification-key-file FILEPATH - | --funds-receiving-stake-key-hash HASH - | --funds-receiving-stake-script-file FILEPATH - | --funds-receiving-stake-address ADDRESS - ) - --transfer LOVELACE) - [--constitution-script-hash HASH] - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-anchor-data] + ( + (--funds-receiving-stake-verification-key STRING | + + --funds-receiving-stake-verification-key-file FILEPATH | + + --funds-receiving-stake-key-hash HASH | + + --funds-receiving-stake-script-file FILEPATH | + + --funds-receiving-stake-address ADDRESS) + --transfer LOVELACE) + [--constitution-script-hash HASH] + --out-file FILEPATH Create a treasury withdrawal. -Usage: cardano-cli compatible 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 - [--check-anchor-data] - --protocol-major-version MAJOR - --protocol-minor-version MINOR - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-anchor-data] + --protocol-major-version MAJOR + --protocol-minor-version MINOR + --out-file FILEPATH Create a hardfork initiation proposal. Usage: cardano-cli compatible conway governance action view --action-file FILEPATH - [ --output-json - | --output-yaml - ] - [--out-file FILEPATH] + [--output-json | + --output-yaml] + [--out-file FILEPATH] View a governance action. -Usage: cardano-cli compatible conway governance committee - ( key-gen-cold - | key-gen-hot - | key-hash - | create-hot-key-authorization-certificate - | create-cold-key-resignation-certificate - ) +Usage: cardano-cli compatible 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 compatible conway governance committee key-gen-cold - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH +Usage: cardano-cli compatible 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 compatible conway governance committee key-gen-hot --verification-key-file FILEPATH - --signing-key-file FILEPATH + --signing-key-file FILEPATH Create a hot key pair for a Constitutional Committee Member -Usage: cardano-cli compatible conway governance committee key-hash - ( --verification-key STRING - | --verification-key-file FILEPATH - ) +Usage: cardano-cli compatible conway governance committee key-hash (--verification-key STRING | + + --verification-key-file FILEPATH) Print the identifier (hash) of a public key -Usage: cardano-cli compatible 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 compatible 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 compatible 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 - [--check-resignation-metadata-hash]] - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-resignation-metadata-hash]] + --out-file FILEPATH Create cold key resignation certificate for a Constitutional Committee Member -Usage: cardano-cli compatible conway governance drep - ( key-gen - | id - | registration-certificate - | retirement-certificate - | update-certificate - | metadata-hash - ) +Usage: cardano-cli compatible conway governance drep (key-gen | id | + registration-certificate | + retirement-certificate | + update-certificate | + metadata-hash) DRep member commands. Usage: cardano-cli compatible conway governance drep key-gen --verification-key-file FILEPATH - --signing-key-file FILEPATH + --signing-key-file FILEPATH Generate Delegated Representative verification and signing keys. -Usage: cardano-cli compatible conway governance drep id - ( --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli compatible 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 compatible 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 - [--check-drep-metadata-hash]] - --out-file FILEPATH +Usage: cardano-cli compatible conway governance drep registration-certificate (--drep-script-hash HASH | - Create a registration certificate. + --drep-verification-key STRING | + + --drep-verification-key-file FILEPATH | -Usage: cardano-cli compatible 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 + --drep-key-hash HASH) + --key-reg-deposit-amt NATURAL + [--drep-metadata-url TEXT + --drep-metadata-hash HASH + [--check-drep-metadata-hash]] --out-file FILEPATH + Create a registration certificate. + +Usage: cardano-cli compatible 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 compatible 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 - [--check-drep-metadata-hash]] - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-drep-metadata-hash]] + --out-file FILEPATH Create a DRep update certificate. -Usage: cardano-cli compatible conway governance drep metadata-hash - ( --drep-metadata-file FILEPATH - | --drep-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli compatible conway governance drep metadata-hash (--drep-metadata-file FILEPATH | + + --drep-metadata-url TEXT) + [--expected-hash HASH | + + --out-file FILEPATH] Calculate the hash of a metadata file, optionally checking the obtained hash against an expected value. @@ -11817,38 +11248,42 @@ Usage: cardano-cli compatible conway governance vote (create | view) Vote commands. -Usage: cardano-cli compatible 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 - [--check-anchor-data-hash]] - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-anchor-data-hash]] + --out-file FILEPATH Vote creation. -Usage: cardano-cli compatible conway governance vote view - [ --output-json - | --output-yaml - ] - --vote-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli compatible 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/address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_build.cli index 82f6a7f340..f520302e11 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_build.cli @@ -1,16 +1,13 @@ -Usage: cardano-cli address build - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - | --payment-script-file FILEPATH - ) - [ --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli 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/address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-gen.cli index b29878f8b7..11cd981bda 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-gen.cli @@ -1,10 +1,7 @@ -Usage: cardano-cli address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli 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/address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-hash.cli index c5de318e95..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,8 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra.cli index fccc1d9c97..f51ff8d3a0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra.cli @@ -1,15 +1,6 @@ -Usage: cardano-cli allegra - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +Usage: cardano-cli allegra (address | key | genesis | governance | node | + query | stake-address | stake-pool | text-view | + transaction) Allegra era commands - DEPRECATED - will be removed in the future 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 f9efd6f113..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,16 +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 612cd578e6..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,10 +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 a12dcf395b..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,8 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis.cli index 26ad5f21ba..006f1c692a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_genesis.cli @@ -1,17 +1,8 @@ -Usage: cardano-cli allegra 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 - ) +Usage: cardano-cli allegra 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. 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 c39a369899..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,19 +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 ab1d4d446c..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,19 +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] + --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 1a3618c481..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,22 +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 + [--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 765320b3c1..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,12 +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 - ) + --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 556792feb4..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 + --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 b9c06be120..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,8 +1,7 @@ Usage: cardano-cli allegra genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-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 0977afa731..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,8 +1,7 @@ Usage: cardano-cli allegra genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-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 8329a3de92..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 + --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 9e553776bd..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 + --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 a7a5b7f183..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 + --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 6df74258bb..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,8 +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 42b3e61e17..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,26 +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 + (--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 c044e12886..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,17 +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 cc610d69f5..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,14 +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 6a87d6c0fd..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,10 +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 e438c6eebe..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 + --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 b33a91d61e..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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key.cli index 8b423751c7..e158438322 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_key.cli @@ -1,13 +1,9 @@ -Usage: cardano-cli allegra 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 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. 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 bdc408cb72..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 + --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 9dccc91b68..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,15 +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 0a25a7026b..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,14 +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 389a6c5524..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 + --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 f26d5010dd..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 + --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 2f5b2125e0..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,8 +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 be3053dcaf..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,5 +1,5 @@ Usage: cardano-cli allegra key non-extended-key --extended-verification-key-file FILEPATH - --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 b60f4f6365..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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node.cli index f06c5fd9ff..08f753c132 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_node.cli @@ -1,11 +1,5 @@ -Usage: cardano-cli allegra node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli allegra node (key-gen | key-gen-KES | key-gen-VRF | + key-hash-VRF | new-counter | issue-op-cert) Node operation commands. 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 0c0a6ef006..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,11 +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 c3785af0ff..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 + --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 645e68f777..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 + --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 68cd7b0319..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 2ad6e3f657..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,8 +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 094ad11aba..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,10 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query.cli index 3bbf0ea761..4ea725730d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_query.cli @@ -1,20 +1,9 @@ -Usage: cardano-cli allegra 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 allegra 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. 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 203fad2bf3..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,11 +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 2eb039a3d0..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,20 +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 c381444e1d..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,10 +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 6e8f49db74..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,13 +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 ded0b19510..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,13 +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 84cbfded31..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,10 +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 6a1fc77520..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,10 +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 15ec4cd1a5..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,14 +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 07b03fbe8d..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,10 +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 90287086d9..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,11 +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 2237fa0b3e..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,13 +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 e8981f33f4..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,11 +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 ad1a88080a..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,13 +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 f835424113..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,7 +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 33ecc4c16d..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,11 +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 4d3c375220..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,12 +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 4d3c375220..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,12 +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 4d3c375220..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,12 +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 366455a2ce..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,12 +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 99dfd5e198..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,11 +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 b433234d07..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,13 +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 8b9839ec6b..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,11 +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 eccd59a7a7..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 + --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 e6a7480a4e..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,8 +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 d1ad8194ca..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,11 +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 6825e120eb..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,15 +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 05cb71eabc..23bed41812 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,9 +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 3076a8f290..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,9 +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 4a76f8bce5..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,9 +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 9b3cdb7666..a53030f9b3 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,10 +1,7 @@ -Usage: cardano-cli allegra stake-pool metadata-hash - ( --pool-metadata-file FILEPATH - | --pool-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli allegra stake-pool metadata-hash (--pool-metadata-file FILEPATH | + --pool-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] Calculate the hash of a stake pool metadata file, optionally checking the obtained hash against an expected value. 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 cd1887bc4c..17983b9c59 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,33 +1,33 @@ -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 - [--check-metadata-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 + [--check-metadata-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 9deebf359a..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 999635383f..b8cbdd9968 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,15 +1,7 @@ -Usage: cardano-cli allegra transaction - ( build-raw - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - ) +Usage: cardano-cli allegra transaction (build-raw | sign | witness | assemble | + submit | policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid) Transaction commands. @@ -19,7 +11,7 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. sign Sign a transaction witness Create a transaction witness assemble Assemble a tx body and witness(es) to form a 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 4673927369..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,6 +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 d41b35eb61..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,130 +1,145 @@ -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) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. Available options: --script-valid Assertion that the script is valid. (default) 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 8b6481d863..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,17 +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] + --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 30e8b1b4e9..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,17 +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] + --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 0dc47a3601..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,17 +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] + --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 7e1118173d..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,8 +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 a2f8e5d7d8..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,6 +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 a6089ddce0..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,13 +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 b47e6335c8..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,10 +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 23af8c06f2..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,7 +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 4f13cc2011..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,10 +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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo.cli index 996405d634..05fa3724cd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo.cli @@ -1,15 +1,6 @@ -Usage: cardano-cli alonzo - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +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 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 fedf6c0918..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,16 +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 1116e5892a..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,10 +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 ca6f3fefe9..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,8 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis.cli index ae53c4c925..1fe0099d0b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_genesis.cli @@ -1,17 +1,8 @@ -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 - ) +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. 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 20db33dd02..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,19 +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 bd7a8b655e..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,19 +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] + --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 8592038d19..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,22 +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 a42bdefb2f..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,10 +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) + --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 fb48a47fb7..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 + --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 7f43388cb8..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,8 +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 77abbcd7c4..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,8 +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 3c40bd4d00..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 + --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 b08b4d631c..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 + --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 7041e96be5..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 + --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 4bf6b5ce60..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,8 +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 6eae90afb6..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,33 +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 + (--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 3d1ae1481a..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,17 +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 dc6287fcae..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,14 +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 3c353201e2..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,10 +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 ad23a34dd2..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 + --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 f799fbb0ab..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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key.cli index 92dcd0d399..7b773ea5cf 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_key.cli @@ -1,13 +1,8 @@ -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 - ) +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. 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 5c1d30ef78..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 + --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 8c8713bad1..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,15 +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 90c4e0967a..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,14 +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 8c0b0e6f84..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 + --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 89afb90daa..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 + --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 ffd51c0c92..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,8 +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 aad4457b0e..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,5 +1,5 @@ Usage: cardano-cli alonzo key non-extended-key --extended-verification-key-file FILEPATH - --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 6fdf033b15..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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node.cli index 6900b63c33..2526fe3182 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_node.cli @@ -1,11 +1,5 @@ -Usage: cardano-cli alonzo node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli alonzo node (key-gen | key-gen-KES | key-gen-VRF | + key-hash-VRF | new-counter | issue-op-cert) Node operation commands. 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 28e5ad570a..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,11 +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 42b7c0a7b2..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 + --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 daf629bb87..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 + --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 fd21b972eb..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 22d0bcc58a..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,8 +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 09dff5f361..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,10 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query.cli index f4c913ddaf..1bf516aa4e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_query.cli @@ -1,20 +1,9 @@ -Usage: cardano-cli alonzo 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 alonzo 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. 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 c0440f9bda..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,11 +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 627616fe79..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,20 +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 80e4f77758..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,10 +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 5ba92bcf47..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,13 +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 adf1a5270d..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,13 +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 cf896156b8..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,10 +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 1cd40589c9..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,10 +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 f027bc8aea..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,14 +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 8565c6c45e..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,10 +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 3ff95204e6..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,11 +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 defa3efc59..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,13 +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 8d06f42719..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,11 +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 ef82038871..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,13 +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 cbf499cabc..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,7 +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 8fb19b4c07..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,11 +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 5f43b2dda0..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,12 +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 5f43b2dda0..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,12 +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 5f43b2dda0..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,12 +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 c8e07d5b2d..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,12 +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 71de4adf1e..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,11 +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 ea5c44e06e..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,13 +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 5db9c847fc..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,11 +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 cd6939c351..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 + --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 6e32659590..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,8 +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 8554454234..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,11 +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 5afcc9b0bd..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,15 +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 5be31d1420..e645098af7 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,9 +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 87f8d0aeba..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,9 +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 e79e4baa00..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,9 +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 a6de242b66..e6483117eb 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,10 +1,7 @@ -Usage: cardano-cli alonzo stake-pool metadata-hash - ( --pool-metadata-file FILEPATH - | --pool-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli alonzo stake-pool metadata-hash (--pool-metadata-file FILEPATH | + --pool-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] Calculate the hash of a stake pool metadata file, optionally checking the obtained hash against an expected value. 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 9ba7243d74..cb9e880204 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,33 +1,33 @@ -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 - [--check-metadata-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 + [--check-metadata-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 9e66d03c0e..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 15f6c59cd6..d9a7e7522c 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,15 +1,7 @@ -Usage: cardano-cli alonzo transaction - ( build-raw - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - ) +Usage: cardano-cli alonzo transaction (build-raw | sign | witness | assemble | + submit | policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid) Transaction commands. @@ -19,7 +11,7 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. sign Sign a transaction witness Create a transaction witness assemble Assemble a tx body and witness(es) to form a 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 f85999f691..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,6 +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-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_build-raw.cli index 0a0e323992..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,130 +1,142 @@ -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) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. Available options: --script-valid Assertion that the script is valid. (default) 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 5ac91db6a5..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,17 +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] + --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 3d261c3054..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,17 +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] + --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 7cdb070838..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,17 +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] + --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 d2205354d7..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,8 +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 55c9478ccf..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,6 +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 7344821eb9..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,13 +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 37e7e97f1f..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,10 +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 6dab1ac293..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,7 +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 88dc6b3c49..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,10 +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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage.cli index ffbff170a5..568314cab4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage.cli @@ -1,15 +1,6 @@ -Usage: cardano-cli babbage - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +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 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 2210fa35f1..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,16 +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 aebfe8f175..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,10 +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 6e095db75b..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,8 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis.cli index a209f1dacf..779bc9b3eb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_genesis.cli @@ -1,17 +1,8 @@ -Usage: cardano-cli babbage 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 - ) +Usage: cardano-cli babbage 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. 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 bc2535fea3..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,19 +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 5bc9df058b..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,19 +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] + --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 8423981ef1..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,22 +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 + [--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 8f7bfdbeb2..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,12 +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 - ) + --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 73f7972df4..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 + --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 b643757bb2..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,8 +1,7 @@ Usage: cardano-cli babbage genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-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 1494531e9b..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,8 +1,7 @@ Usage: cardano-cli babbage genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-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 564390c90a..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 + --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 5155d8a6a7..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 + --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 268dd51268..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 + --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 12e6574c2e..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,11 +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 5a140a9b5a..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,30 +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 + (--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 8cbe5fc26a..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,6 +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 e44f3ddbf5..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,17 +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 f1dfdfbf74..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,14 +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 b9146d52f6..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,10 +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 519048fdf4..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 + --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 af418afed5..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 + --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 5895df9c21..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,7 +1,7 @@ Usage: cardano-cli babbage governance create-poll --question STRING - (--answer STRING) - [--nonce UINT] - --out-file FILEPATH + (--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 543797b44a..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,6 +1,6 @@ Usage: cardano-cli babbage governance verify-poll --poll-file FILEPATH - --tx-file FILEPATH - [--out-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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key.cli index 05984ddb8b..fe5ef3306a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_key.cli @@ -1,13 +1,9 @@ -Usage: cardano-cli babbage 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 babbage 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. 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 a8175b8b7c..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 + --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 8e23adc636..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,15 +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 f04b31a636..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,14 +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 83e5133131..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 + --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 c678d25e96..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 + --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 f025bc0c20..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,8 +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 07bfbad43b..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,5 +1,5 @@ Usage: cardano-cli babbage key non-extended-key --extended-verification-key-file FILEPATH - --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 9671de3eb2..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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node.cli index 81bc9be704..d93e3230a9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_node.cli @@ -1,11 +1,5 @@ -Usage: cardano-cli babbage node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli babbage node (key-gen | key-gen-KES | key-gen-VRF | + key-hash-VRF | new-counter | issue-op-cert) Node operation commands. 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 858b883454..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,11 +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 e3b94cfd80..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 + --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 e185ff0ffa..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 + --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 2277f0c9fd..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 17eafc8c50..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,8 +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 5490c8d017..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,10 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query.cli index a399cfcf69..f56aae0977 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_query.cli @@ -1,20 +1,9 @@ -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 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. 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 2807305bdf..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,11 +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 a0a04c4d3f..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,20 +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 1ed8f50c76..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,10 +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 ffd1a1b1a5..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,13 +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 f109df5bd2..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,13 +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 5495ea520f..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,10 +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 33c4596803..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,10 +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 0abbc30b20..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,14 +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 d97c5ad17c..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,10 +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 ebe5fe6323..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,11 +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 2708aa3c96..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,13 +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 9c03d8054a..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,11 +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 0e81a48960..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,13 +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 209e7e3949..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,7 +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 809b286b3f..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,11 +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 2726fce5c8..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,12 +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 2726fce5c8..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,12 +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 2726fce5c8..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,12 +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 ef65ab3383..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,12 +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 ef6846c7bb..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,11 +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 45ca3ab9bd..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,13 +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 b5cb384884..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,11 +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 5cc75e0972..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 + --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 fa72bd3b33..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,8 +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 7e7eef42b9..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,11 +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 344efb606a..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,15 +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 bc4b9bd540..b912189751 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,9 +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 d19abcc8b7..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,9 +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 cd2283cd4c..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,9 +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 c393c52456..447d19cafe 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,10 +1,7 @@ -Usage: cardano-cli babbage stake-pool metadata-hash - ( --pool-metadata-file FILEPATH - | --pool-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli babbage stake-pool metadata-hash (--pool-metadata-file FILEPATH | + --pool-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] Calculate the hash of a stake pool metadata file, optionally checking the obtained hash against an expected value. 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 5dc14eea54..34858803ba 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,33 +1,33 @@ -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 - [--check-metadata-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 + [--check-metadata-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 58fed9ebae..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 4511f4a8d6..fa79705f02 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,17 +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 - ) +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) Transaction commands. @@ -21,13 +12,13 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. build Build a balanced transaction (automatically calculates fees) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. build-estimate Build a balanced transaction without access to a live node (automatically estimates fees) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. sign Sign a transaction witness Create a transaction witness assemble Assemble a tx body and witness(es) to form a 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 62e45faa57..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,6 +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 2bbe53e6d2..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,135 +1,156 @@ -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] +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 [ - --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 + (--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[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. Available options: --script-valid Assertion that the script is valid. (default) 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 4476065129..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,130 +1,145 @@ -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) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. Available options: --script-valid Assertion that the script is valid. (default) 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 b5cb8c2898..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,126 +1,135 @@ -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) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. Available options: --socket-path SOCKET_PATH 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 42403312fb..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,17 +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] + --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 a84eb40fe7..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,17 +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] + --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 119792d5cc..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,17 +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] + --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 fa8f315651..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,8 +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 6ec453c9a7..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,6 +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 6855388287..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,13 +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 264c3be350..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,10 +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 4e1440b275..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,7 +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 6b5996d5f6..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,10 +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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron.cli index 3282e6abfd..11512ea015 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron.cli @@ -1,10 +1,5 @@ -Usage: cardano-cli byron - ( key - | transaction - | genesis - | governance - | miscellaneous - ) +Usage: cardano-cli byron (key | transaction | genesis | governance | + miscellaneous) Byron specific commands 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 1cc61dfb57..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,11 +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 1612d1343a..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,33 +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 7fbbf8f91f..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,16 +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] + --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 9706839ca3..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,13 +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 8f139670c2..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,33 +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 15a4495021..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,9 +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 2618f2e1be..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,9 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key.cli index e398db621d..b3942a288e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key.cli @@ -1,9 +1,5 @@ -Usage: cardano-cli byron key ( keygen - | to-verification - | signing-key-public - | signing-key-address - | migrate-delegate-key-from - ) +Usage: cardano-cli byron key (keygen | to-verification | signing-key-public | + signing-key-address | migrate-delegate-key-from) Byron key utility commands 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 b2eb7ee453..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 + --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 df8b2da8f9..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,11 +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 ffc2dfee5d..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,8 +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 b9515f91b0..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,9 +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 0967512f47..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,11 +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 406ebc1e49..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,8 +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 ccc534f8c6..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,8 +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 79e98a6b26..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,8 +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 a9d787083a..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,14 +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)') + (--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 17c67283e6..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,14 +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 2dae59e5c9..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,8 +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/compatible.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible.cli index a74427785f..b98c365c33 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible.cli @@ -1,11 +1,5 @@ -Usage: cardano-cli compatible - ( shelley - | allegra - | mary - | alonzo - | babbage - | conway - ) +Usage: cardano-cli compatible (shelley | allegra | mary | alonzo | babbage | + conway) Limited backward compatible commands for testing only. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance.cli index 926c53b98d..d5c77c2cce 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance.cli @@ -1,8 +1,6 @@ -Usage: cardano-cli compatible allegra governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) +Usage: cardano-cli compatible 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/compatible_allegra_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_action_create-protocol-parameters-update.cli index 88687866c5..b214502c10 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_action_create-protocol-parameters-update.cli @@ -1,26 +1,26 @@ Usage: cardano-cli compatible 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 + (--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/compatible_allegra_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-genesis-key-delegation-certificate.cli index 2c9eb83811..ab2af8e6be 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-genesis-key-delegation-certificate.cli @@ -1,17 +1,19 @@ -Usage: cardano-cli compatible 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 compatible 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/compatible_allegra_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate.cli index a627f6e3eb..c4497991c5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate.cli @@ -1,14 +1,16 @@ -Usage: cardano-cli compatible 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 compatible 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/compatible_allegra_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_stake-addresses.cli index 2aad1f9bb6..83e2eb2424 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_stake-addresses.cli @@ -1,10 +1,9 @@ -Usage: cardano-cli compatible allegra governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli compatible 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/compatible_allegra_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_transfer-to-rewards.cli index 7e0a87e3b1..c451c8cb84 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,5 @@ Usage: cardano-cli compatible allegra governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH + --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/compatible_allegra_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_transfer-to-treasury.cli index cf35c8dd30..54c40c8f0b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,5 @@ Usage: cardano-cli compatible allegra governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH + --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/compatible_allegra_transaction_signed-transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_transaction_signed-transaction.cli index 7fa52d36d8..ebbf4e33fd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_transaction_signed-transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_transaction_signed-transaction.cli @@ -1,14 +1,13 @@ -Usage: cardano-cli compatible allegra transaction signed-transaction - [--tx-in TX-IN] - [--tx-out ADDRESS VALUE] - [--update-proposal-file FILEPATH] - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --fee LOVELACE - --out-file FILEPATH +Usage: cardano-cli compatible allegra transaction signed-transaction [--tx-in TX-IN] + [--tx-out ADDRESS VALUE] + [--update-proposal-file FILEPATH] + [--signing-key-file FILEPATH + [--address STRING]] + [--mainnet | + + --testnet-magic NATURAL] + --fee LOVELACE + --out-file FILEPATH Create a simple signed transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance.cli index 703a5ce817..84e3b2eee2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance.cli @@ -1,8 +1,6 @@ -Usage: cardano-cli compatible alonzo governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) +Usage: cardano-cli compatible 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/compatible_alonzo_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_action_create-protocol-parameters-update.cli index e78f0baf6a..fcc0f6d822 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_action_create-protocol-parameters-update.cli @@ -1,33 +1,33 @@ Usage: cardano-cli compatible 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 + (--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/compatible_alonzo_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-genesis-key-delegation-certificate.cli index db5c4be0cc..6f4fc26b5f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-genesis-key-delegation-certificate.cli @@ -1,17 +1,19 @@ -Usage: cardano-cli compatible 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 compatible 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/compatible_alonzo_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate.cli index 4387b410df..53249285ba 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate.cli @@ -1,14 +1,16 @@ -Usage: cardano-cli compatible 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 compatible 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/compatible_alonzo_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_stake-addresses.cli index 1092539a00..abbf71af7a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_stake-addresses.cli @@ -1,10 +1,9 @@ -Usage: cardano-cli compatible alonzo governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli compatible 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/compatible_alonzo_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_transfer-to-rewards.cli index 9ca8b0921b..e8836965ae 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,5 @@ Usage: cardano-cli compatible alonzo governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH + --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/compatible_alonzo_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_transfer-to-treasury.cli index bc91d63568..b0d8d0e94f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,5 @@ Usage: cardano-cli compatible alonzo governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH + --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/compatible_alonzo_transaction_signed-transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_transaction_signed-transaction.cli index 5e647a582e..2abc867bd8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_transaction_signed-transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_transaction_signed-transaction.cli @@ -1,22 +1,26 @@ -Usage: cardano-cli compatible alonzo transaction signed-transaction - [--tx-in TX-IN] - [--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 - ]] - [--update-proposal-file FILEPATH] - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --fee LOVELACE - --out-file FILEPATH +Usage: cardano-cli compatible alonzo transaction signed-transaction [--tx-in TX-IN] + [--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]] + [--update-proposal-file FILEPATH] + [--signing-key-file FILEPATH + [--address STRING]] + [--mainnet | + + --testnet-magic NATURAL] + --fee LOVELACE + --out-file FILEPATH Create a simple signed transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance.cli index 6ab0896c93..34b147a440 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance.cli @@ -1,11 +1,7 @@ -Usage: cardano-cli compatible babbage governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - | create-poll - | answer-poll - | verify-poll - ) +Usage: cardano-cli compatible 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/compatible_babbage_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_action_create-protocol-parameters-update.cli index 68eb821aaa..12a20a9c43 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_action_create-protocol-parameters-update.cli @@ -1,30 +1,30 @@ Usage: cardano-cli compatible 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 + (--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/compatible_babbage_governance_answer-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_answer-poll.cli index 7169786ee3..f2d4590079 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_answer-poll.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_answer-poll.cli @@ -1,6 +1,6 @@ Usage: cardano-cli compatible babbage governance answer-poll --poll-file FILEPATH - [--answer INT] - [--out-file FILEPATH] + [--answer INT] + [--out-file FILEPATH] Answer an SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-genesis-key-delegation-certificate.cli index 2e7ba1484b..26d8f4d4c6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-genesis-key-delegation-certificate.cli @@ -1,17 +1,19 @@ -Usage: cardano-cli compatible 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 compatible 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/compatible_babbage_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate.cli index e00c9d6edd..e8a7b3ffde 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate.cli @@ -1,14 +1,16 @@ -Usage: cardano-cli compatible 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 compatible 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/compatible_babbage_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_stake-addresses.cli index 2279d4c141..6e7c570c78 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_stake-addresses.cli @@ -1,10 +1,9 @@ -Usage: cardano-cli compatible babbage governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli compatible 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/compatible_babbage_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_transfer-to-rewards.cli index 21180600fd..b53147c7fb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,5 @@ Usage: cardano-cli compatible babbage governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH + --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/compatible_babbage_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_transfer-to-treasury.cli index c0e98dbb71..44717d76bc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,5 @@ Usage: cardano-cli compatible babbage governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH + --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/compatible_babbage_governance_create-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-poll.cli index fa40a48928..2af9d8185f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-poll.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-poll.cli @@ -1,7 +1,7 @@ Usage: cardano-cli compatible babbage governance create-poll --question STRING - (--answer STRING) - [--nonce UINT] - --out-file FILEPATH + (--answer STRING) + [--nonce UINT] + --out-file FILEPATH Create an SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_verify-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_verify-poll.cli index 9070e44b6a..0ba47a59f7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_verify-poll.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_verify-poll.cli @@ -1,6 +1,6 @@ Usage: cardano-cli compatible babbage governance verify-poll --poll-file FILEPATH - --tx-file FILEPATH - [--out-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/compatible_babbage_transaction_signed-transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_transaction_signed-transaction.cli index d33e357626..42a2c80646 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_transaction_signed-transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_transaction_signed-transaction.cli @@ -1,25 +1,32 @@ -Usage: cardano-cli compatible babbage transaction signed-transaction - [--tx-in TX-IN] - [--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 - ]] - [--update-proposal-file FILEPATH] - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --fee LOVELACE - --out-file FILEPATH +Usage: cardano-cli compatible babbage transaction signed-transaction [--tx-in TX-IN] + [--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]] + [--update-proposal-file FILEPATH] + [--signing-key-file FILEPATH + [--address STRING]] + [--mainnet | + + --testnet-magic NATURAL] + --fee LOVELACE + --out-file FILEPATH Create a simple signed transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance.cli index 7ef431a2ba..7ff06d84ce 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance.cli @@ -1,9 +1,5 @@ -Usage: cardano-cli compatible conway governance - ( action - | committee - | drep - | vote - ) +Usage: cardano-cli compatible conway governance (action | committee | drep | + vote) Governance commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action.cli index b21b67b7c1..d623d5b015 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action.cli @@ -1,13 +1,11 @@ -Usage: cardano-cli compatible 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 compatible 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/compatible_conway_governance_action_create-constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-constitution.cli index 24a2b41dd3..c6b6ec1011 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-constitution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-constitution.cli @@ -1,24 +1,26 @@ -Usage: cardano-cli compatible 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 - [--check-anchor-data] - --constitution-url TEXT - --constitution-hash HASH - [--check-constitution-hash] - [--constitution-script-hash HASH] - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-anchor-data] + --constitution-url TEXT + --constitution-hash HASH + [--check-constitution-hash] + [--constitution-script-hash HASH] + --out-file FILEPATH Create a constitution. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-hardfork.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-hardfork.cli index a233717b6c..6b3b4630b3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-hardfork.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-hardfork.cli @@ -1,22 +1,24 @@ -Usage: cardano-cli compatible 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 - [--check-anchor-data] - --protocol-major-version MAJOR - --protocol-minor-version MINOR - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-anchor-data] + --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/compatible_conway_governance_action_create-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-info.cli index 90914cc199..280f797cda 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-info.cli @@ -1,18 +1,19 @@ -Usage: cardano-cli compatible 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 - [--check-anchor-data] - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-anchor-data] + --out-file FILEPATH Create an info action. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-no-confidence.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-no-confidence.cli index 450e4b7e97..547232a3a0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-no-confidence.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-no-confidence.cli @@ -1,20 +1,22 @@ -Usage: cardano-cli compatible 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 - [--check-anchor-data] - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-anchor-data] + [--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/compatible_conway_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-protocol-parameters-update.cli index a1bd2ee7de..b16b8042be 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-protocol-parameters-update.cli @@ -1,65 +1,67 @@ -Usage: cardano-cli compatible 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 - [--check-anchor-data] - [--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 compatible 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 + [--check-anchor-data] + [--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/compatible_conway_governance_action_create-treasury-withdrawal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-treasury-withdrawal.cli index 0991dd7229..37331cd584 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-treasury-withdrawal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-treasury-withdrawal.cli @@ -1,27 +1,32 @@ -Usage: cardano-cli compatible 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 - [--check-anchor-data] - ( - ( --funds-receiving-stake-verification-key STRING - | --funds-receiving-stake-verification-key-file FILEPATH - | --funds-receiving-stake-key-hash HASH - | --funds-receiving-stake-script-file FILEPATH - | --funds-receiving-stake-address ADDRESS - ) - --transfer LOVELACE) - [--constitution-script-hash HASH] - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-anchor-data] + ( + (--funds-receiving-stake-verification-key STRING | + + --funds-receiving-stake-verification-key-file FILEPATH | + + --funds-receiving-stake-key-hash HASH | + + --funds-receiving-stake-script-file FILEPATH | + + --funds-receiving-stake-address ADDRESS) + --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/compatible_conway_governance_action_update-committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_update-committee.cli index d8953d23ef..6c3be6d634 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_update-committee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_update-committee.cli @@ -1,33 +1,39 @@ -Usage: cardano-cli compatible 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 - [--check-anchor-data] - [ --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 compatible 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 + [--check-anchor-data] + [--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/compatible_conway_governance_action_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_view.cli index 2a02c9ec10..aab5966a1e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_view.cli @@ -1,8 +1,7 @@ Usage: cardano-cli compatible conway governance action view --action-file FILEPATH - [ --output-json - | --output-yaml - ] - [--out-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/compatible_conway_governance_committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee.cli index 3115afe13a..9883d6078e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee.cli @@ -1,10 +1,9 @@ -Usage: cardano-cli compatible conway governance committee - ( key-gen-cold - | key-gen-hot - | key-hash - | create-hot-key-authorization-certificate - | create-cold-key-resignation-certificate - ) +Usage: cardano-cli compatible 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/compatible_conway_governance_committee_create-cold-key-resignation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-cold-key-resignation-certificate.cli index d6b6ced424..804b0bbab6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-cold-key-resignation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-cold-key-resignation-certificate.cli @@ -1,14 +1,16 @@ -Usage: cardano-cli compatible 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 - [--check-resignation-metadata-hash]] - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-resignation-metadata-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/compatible_conway_governance_committee_create-hot-key-authorization-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-hot-key-authorization-certificate.cli index e65f54722b..d6a9084e61 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-hot-key-authorization-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-hot-key-authorization-certificate.cli @@ -1,17 +1,22 @@ -Usage: cardano-cli compatible 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 compatible 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/compatible_conway_governance_committee_key-gen-cold.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-gen-cold.cli index 556be126a5..62979ca9d4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-gen-cold.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-gen-cold.cli @@ -1,6 +1,5 @@ -Usage: cardano-cli compatible conway governance committee key-gen-cold - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH +Usage: cardano-cli compatible 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/compatible_conway_governance_committee_key-gen-hot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-gen-hot.cli index f92756a2f9..19fc3f1c46 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-gen-hot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-gen-hot.cli @@ -1,5 +1,5 @@ Usage: cardano-cli compatible conway governance committee key-gen-hot --verification-key-file FILEPATH - --signing-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/compatible_conway_governance_committee_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-hash.cli index 78b84b8663..c7ee22a7e9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-hash.cli @@ -1,7 +1,6 @@ -Usage: cardano-cli compatible conway governance committee key-hash - ( --verification-key STRING - | --verification-key-file FILEPATH - ) +Usage: cardano-cli compatible 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/compatible_conway_governance_drep.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep.cli index caa9ada410..abe815a0a6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep.cli @@ -1,11 +1,8 @@ -Usage: cardano-cli compatible conway governance drep - ( key-gen - | id - | registration-certificate - | retirement-certificate - | update-certificate - | metadata-hash - ) +Usage: cardano-cli compatible 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/compatible_conway_governance_drep_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_id.cli index 4ef7ba9f57..c7b4defbe2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_id.cli @@ -1,9 +1,8 @@ -Usage: cardano-cli compatible conway governance drep id - ( --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli compatible 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/compatible_conway_governance_drep_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_key-gen.cli index 27aae65cc2..9f77345a2d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_key-gen.cli @@ -1,5 +1,5 @@ Usage: cardano-cli compatible conway governance drep key-gen --verification-key-file FILEPATH - --signing-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/compatible_conway_governance_drep_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_metadata-hash.cli index 4cd25d62d4..517271beeb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_metadata-hash.cli @@ -1,10 +1,9 @@ -Usage: cardano-cli compatible conway governance drep metadata-hash - ( --drep-metadata-file FILEPATH - | --drep-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli compatible conway governance drep metadata-hash (--drep-metadata-file FILEPATH | + + --drep-metadata-url TEXT) + [--expected-hash HASH | + + --out-file FILEPATH] Calculate the hash of a metadata file, optionally checking the obtained hash against an expected value. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_registration-certificate.cli index 1c1724cac8..ea9ce57751 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_registration-certificate.cli @@ -1,14 +1,15 @@ -Usage: cardano-cli compatible 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 - [--check-drep-metadata-hash]] - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-drep-metadata-hash]] + --out-file FILEPATH Create a registration certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_retirement-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_retirement-certificate.cli index 3cb6356737..d433f9cf52 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_retirement-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_retirement-certificate.cli @@ -1,11 +1,12 @@ -Usage: cardano-cli compatible 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 compatible 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/compatible_conway_governance_drep_update-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_update-certificate.cli index f72b91984f..4033b9b71d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_update-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_update-certificate.cli @@ -1,13 +1,14 @@ -Usage: cardano-cli compatible 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 - [--check-drep-metadata-hash]] - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-drep-metadata-hash]] + --out-file FILEPATH Create a DRep update certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_create.cli index 1744728251..aba7f09c8b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_create.cli @@ -1,26 +1,32 @@ -Usage: cardano-cli compatible 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 - [--check-anchor-data-hash]] - --out-file FILEPATH +Usage: cardano-cli compatible 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 + [--check-anchor-data-hash]] + --out-file FILEPATH Vote creation. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_view.cli index 56c916eeed..c2b0967ae5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_view.cli @@ -1,9 +1,7 @@ -Usage: cardano-cli compatible conway governance vote view - [ --output-json - | --output-yaml - ] - --vote-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli compatible 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/compatible_conway_transaction_signed-transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_transaction_signed-transaction.cli index ac1af03a73..a1d83184c1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_transaction_signed-transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_transaction_signed-transaction.cli @@ -1,57 +1,68 @@ -Usage: cardano-cli compatible conway transaction signed-transaction - [--tx-in TX-IN] - [--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]] - [--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) - ]] - [--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) - ]] - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --fee LOVELACE - --out-file FILEPATH +Usage: cardano-cli compatible conway transaction signed-transaction [--tx-in TX-IN] + [--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]] + [--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)]] + [--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)]] + [--signing-key-file FILEPATH + [--address STRING]] + [--mainnet | + + --testnet-magic NATURAL] + --fee LOVELACE + --out-file FILEPATH Create a simple signed transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance.cli index e8979ca57a..df0b39a0a4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance.cli @@ -1,8 +1,6 @@ -Usage: cardano-cli compatible mary governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) +Usage: cardano-cli compatible mary governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action) Governance commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action_create-protocol-parameters-update.cli index 3d9d92d209..2f5245571d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action_create-protocol-parameters-update.cli @@ -1,26 +1,26 @@ Usage: cardano-cli compatible 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 + (--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/compatible_mary_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-genesis-key-delegation-certificate.cli index c49072424d..15fb9cdee0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-genesis-key-delegation-certificate.cli @@ -1,17 +1,19 @@ -Usage: cardano-cli compatible 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 compatible 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/compatible_mary_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate.cli index f683b5b307..2bdd7b9eb5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate.cli @@ -1,14 +1,16 @@ -Usage: cardano-cli compatible 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 compatible 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/compatible_mary_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_stake-addresses.cli index 367110a8a0..91e046fceb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_stake-addresses.cli @@ -1,10 +1,9 @@ -Usage: cardano-cli compatible mary governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli compatible 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/compatible_mary_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_transfer-to-rewards.cli index c2e5539ba1..6da6700762 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,5 @@ Usage: cardano-cli compatible mary governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH + --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/compatible_mary_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_transfer-to-treasury.cli index 9e6f5ab4bf..e401d299d0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,5 @@ Usage: cardano-cli compatible mary governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH + --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/compatible_mary_transaction_signed-transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_transaction_signed-transaction.cli index e745bab720..13a1db9c81 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_transaction_signed-transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_transaction_signed-transaction.cli @@ -1,14 +1,12 @@ -Usage: cardano-cli compatible mary transaction signed-transaction - [--tx-in TX-IN] - [--tx-out ADDRESS VALUE] - [--update-proposal-file FILEPATH] - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --fee LOVELACE - --out-file FILEPATH +Usage: cardano-cli compatible mary transaction signed-transaction [--tx-in TX-IN] + [--tx-out ADDRESS VALUE] + [--update-proposal-file FILEPATH] + [--signing-key-file FILEPATH + [--address STRING]] + [--mainnet | + --testnet-magic NATURAL] + --fee LOVELACE + --out-file FILEPATH Create a simple signed transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance.cli index 0f0928bfe5..722bbff219 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance.cli @@ -1,8 +1,6 @@ -Usage: cardano-cli compatible shelley governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) +Usage: cardano-cli compatible 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/compatible_shelley_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_action_create-protocol-parameters-update.cli index a0d1a814c8..2663a2027b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_action_create-protocol-parameters-update.cli @@ -1,26 +1,26 @@ Usage: cardano-cli compatible 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 + (--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/compatible_shelley_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-genesis-key-delegation-certificate.cli index bc4bd33553..16d1d8a932 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-genesis-key-delegation-certificate.cli @@ -1,17 +1,19 @@ -Usage: cardano-cli compatible 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 compatible 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/compatible_shelley_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate.cli index 9987e06c40..7b9f2bfb70 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate.cli @@ -1,14 +1,16 @@ -Usage: cardano-cli compatible 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 compatible 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/compatible_shelley_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_stake-addresses.cli index a97fc50c3f..ba18a3ec09 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_stake-addresses.cli @@ -1,10 +1,9 @@ -Usage: cardano-cli compatible shelley governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli compatible 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/compatible_shelley_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_transfer-to-rewards.cli index 2aab11898a..253b097dc2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,5 @@ Usage: cardano-cli compatible shelley governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH + --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/compatible_shelley_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_transfer-to-treasury.cli index 3c83188053..4f3a9abbc2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,5 @@ Usage: cardano-cli compatible shelley governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH + --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/compatible_shelley_transaction_signed-transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_transaction_signed-transaction.cli index 3489c81c35..f24a9220ab 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_transaction_signed-transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_transaction_signed-transaction.cli @@ -1,14 +1,13 @@ -Usage: cardano-cli compatible shelley transaction signed-transaction - [--tx-in TX-IN] - [--tx-out ADDRESS VALUE] - [--update-proposal-file FILEPATH] - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --fee LOVELACE - --out-file FILEPATH +Usage: cardano-cli compatible shelley transaction signed-transaction [--tx-in TX-IN] + [--tx-out ADDRESS VALUE] + [--update-proposal-file FILEPATH] + [--signing-key-file FILEPATH + [--address STRING]] + [--mainnet | + + --testnet-magic NATURAL] + --fee LOVELACE + --out-file FILEPATH Create a simple signed transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway.cli index f648d0311c..a3eef0927d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway.cli @@ -1,15 +1,6 @@ -Usage: cardano-cli conway - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +Usage: cardano-cli conway (address | key | genesis | governance | node | query | + stake-address | stake-pool | text-view | + transaction) Conway era commands 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 e10ba4335d..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,16 +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 5d39ebda60..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,10 +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 ac4ccb091e..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,8 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis.cli index fca90a1832..869f978379 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis.cli @@ -1,17 +1,8 @@ -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 - ) +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. 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 381f7a72f2..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,19 +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 c8c6fed337..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,19 +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] + --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 072b8491c8..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,22 +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 9998d25bb2..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,10 +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) + --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 bfd74bf90d..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 + --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 6f64200bbd..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,8 +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 b32ce3f648..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,8 +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 777429c729..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 + --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 66ac79b861..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 + --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 cd6f2c8b31..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 + --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 dfd441eeb6..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,13 +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 753b08d0a5..e12b7309ef 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,24 +1,25 @@ -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 - [--check-anchor-data] - --constitution-url TEXT - --constitution-hash HASH - [--check-constitution-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 + [--check-anchor-data] + --constitution-url TEXT + --constitution-hash HASH + [--check-constitution-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 8622865496..978f9b394d 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,22 +1,23 @@ -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 - [--check-anchor-data] - --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 + [--check-anchor-data] + --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 979633b477..46d37734b1 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,15 +1,18 @@ 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 - [--check-anchor-data] - --out-file FILEPATH + --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 + [--check-anchor-data] + --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 2c3e987e74..c5cdff038b 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,20 +1,21 @@ -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 - [--check-anchor-data] - [--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 + [--check-anchor-data] + [--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 d4a633da3c..46394ca9e2 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,65 +1,67 @@ -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 - [--check-anchor-data] - [--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 + [--check-anchor-data] + [--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 b1009905f1..bf4acb2a35 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,27 +1,32 @@ -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 - [--check-anchor-data] - ( - ( --funds-receiving-stake-verification-key STRING - | --funds-receiving-stake-verification-key-file FILEPATH - | --funds-receiving-stake-key-hash HASH - | --funds-receiving-stake-script-file FILEPATH - | --funds-receiving-stake-address ADDRESS - ) - --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 + [--check-anchor-data] + ( + (--funds-receiving-stake-verification-key STRING | + + --funds-receiving-stake-verification-key-file FILEPATH | + + --funds-receiving-stake-key-hash HASH | + + --funds-receiving-stake-script-file FILEPATH | + + --funds-receiving-stake-address ADDRESS) + --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 e1a01198de..835242ec5d 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,33 +1,38 @@ -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 - [--check-anchor-data] - [ --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 + [--check-anchor-data] + [--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 8b56ce36cd..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,8 +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 52533f0007..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,10 +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 728794a92c..5f24a9470c 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,14 +1,16 @@ -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 - [--check-resignation-metadata-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 + [--check-resignation-metadata-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 5e6a5b2e2b..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,17 +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 19f824119e..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,6 +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 04bdf086be..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 + --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 b3bee016fb..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,7 +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 ef5f334fa9..4defa57e17 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,11 +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 7a6466a689..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,9 +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 326230049c..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 + --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 94f1a7fc4e..ebd408d49b 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,10 +1,8 @@ -Usage: cardano-cli conway governance drep metadata-hash - ( --drep-metadata-file FILEPATH - | --drep-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli conway governance drep metadata-hash (--drep-metadata-file FILEPATH | + + --drep-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] Calculate the hash of a metadata file, optionally checking the obtained hash against an expected value. 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 fecef3ab82..0a4e1f4147 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,14 +1,15 @@ -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 - [--check-drep-metadata-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 + [--check-drep-metadata-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 da65c71b0c..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,11 +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 717987d359..d25e80ad5f 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,13 +1,14 @@ -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 - [--check-drep-metadata-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 + [--check-drep-metadata-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 06805ac988..2eb96d141b 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,22 +1,26 @@ 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 - [--check-anchor-data-hash]] - --out-file FILEPATH + --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 + [--check-anchor-data-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 e4d5aadd86..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] + --vote-file FILEPATH + [--out-file FILEPATH] Vote viewing. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key.cli index 4f277404ee..71f9302ced 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key.cli @@ -1,13 +1,8 @@ -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 - ) +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. 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 a8da00c4b9..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 + --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 33f7385c5c..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,15 +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 e43933f420..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,14 +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 bbcd81eb3e..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 + --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 4b58b72754..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 + --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 5a3275497e..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,8 +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 e516578a31..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,5 +1,5 @@ Usage: cardano-cli conway key non-extended-key --extended-verification-key-file FILEPATH - --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 7bb51b0127..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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node.cli index 3fe36322cb..8da7cf2e2d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node.cli @@ -1,11 +1,5 @@ -Usage: cardano-cli conway 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. 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 4f5f6184de..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,11 +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 f8af342e8c..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 + --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 eaa9d9afd4..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 + --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 b13c4ec284..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 2d4d7f944a..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,8 +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 c5ab02de04..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,10 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query.cli index 4f2507652b..3e9ca3b60e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query.cli @@ -1,27 +1,13 @@ -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 - ) +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. 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 473e58bda4..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,27 +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 c2f05bd41b..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,13 +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 1599381fe2..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,22 +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 5b924db3c3..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,20 +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 3bd178b533..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,11 +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 5f071ba0bc..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,14 +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 b9bdea54af..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,23 +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 097dee8520..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,13 +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 c197ac407d..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,14 +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 1fe8d263c3..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,14 +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 375af00621..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,10 +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 7ba0c8c490..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,13 +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 84d0ba22ba..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,17 +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 0b0e9fbabe..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,11 +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 144c3d42f5..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,20 +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] + [--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 dc32de309e..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,14 +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 7a9e7f0af2..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,16 +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 da9d864e5e..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,12 +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 1d7de15e94..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,16 +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 ce74137192..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,8 +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 a27c015381..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,9 +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 2e396ebe3e..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,11 +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 ba7a3173e7..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,12 +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 ba7a3173e7..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,12 +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 ba7a3173e7..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,12 +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 e096ea297b..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,13 +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 c75e238b4a..8b745b90f7 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,16 +1,14 @@ -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 - | registration-and-delegation-certificate - | registration-and-vote-delegation-certificate - | registration-stake-and-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 | + registration-and-delegation-certificate | + + registration-and-vote-delegation-certificate | + + registration-stake-and-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 62042e6f2a..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,13 +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 3aeb1e3c89..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,12 +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 8e7ec119fc..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 + --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 d4d1693ce7..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,8 +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-and-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-and-delegation-certificate.cli index 2dafca1ab6..385e0c614d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-and-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-and-delegation-certificate.cli @@ -1,16 +1,19 @@ -Usage: cardano-cli conway stake-address registration-and-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 - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH +Usage: cardano-cli conway stake-address registration-and-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) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH Create a stake address registration and delegation certificate, which when submitted in a transaction registers a stake address and delegates stake to a diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-and-vote-delegation-certificate.cli index 4f5ad4f0e4..7875f85c9f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-and-vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-and-vote-delegation-certificate.cli @@ -1,19 +1,25 @@ -Usage: cardano-cli conway stake-address registration-and-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 - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH +Usage: cardano-cli conway stake-address registration-and-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) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH Create a stake address registration and vote delegation certificate, which when submitted in a transaction registers a stake address and delegates votes 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 a36a768e89..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,12 +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_registration-stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-stake-and-vote-delegation-certificate.cli index 484ca20bf8..bd936cc525 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-stake-and-vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-stake-and-vote-delegation-certificate.cli @@ -1,23 +1,30 @@ -Usage: cardano-cli conway stake-address registration-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 - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH +Usage: cardano-cli conway stake-address registration-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) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH Create a stake address registration, stake delegation and vote delegation certificate, which when submitted in a transaction registers a stake address, 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 5967ad313b..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,22 +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 57f1cd2c4a..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,15 +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 532b817dd8..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,18 +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 3c4574252a..bbf2357fe9 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,9 +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 4c02fd2c98..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,9 +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 a7dcdc45b7..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,9 +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 f9429ceffe..74bd429212 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,10 +1,7 @@ -Usage: cardano-cli conway stake-pool metadata-hash - ( --pool-metadata-file FILEPATH - | --pool-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli conway stake-pool metadata-hash (--pool-metadata-file FILEPATH | + --pool-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] Calculate the hash of a stake pool metadata file, optionally checking the obtained hash against an expected value. 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 f0a118b7b1..50a0fb5136 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,33 +1,33 @@ -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 - [--check-metadata-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 + [--check-metadata-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 be5cbad0c2..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 b2abf3fc1d..d1d3383a2b 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,17 +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 - ) +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) Transaction commands. @@ -21,13 +12,13 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. build Build a balanced transaction (automatically calculates fees) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. build-estimate Build a balanced transaction without access to a live node (automatically estimates fees) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. sign Sign a transaction witness Create a transaction witness assemble Assemble a tx body and witness(es) to form a 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 58ed96db37..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,6 +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 8e5179529d..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,168 +1,193 @@ -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] +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 [ - --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 + [--tx-in-datum-cbor-file CBOR_FILE | + + --tx-in-datum-file JSON_FILE | + + --tx-in-datum-value JSON_VALUE | + + --tx-in-inline-datum-present] + (--tx-in-redeemer-cbor-file CBOR_FILE | + + --tx-in-redeemer-file JSON_FILE | + + --tx-in-redeemer-value JSON_VALUE) + --tx-in-execution-units (INT, INT)]]) + [--read-only-tx-in-reference TX-IN] + [--required-signer FILEPATH | + + --required-signer-hash HASH] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-out ADDRESS VALUE + [--tx-out-datum-hash HASH | + + --tx-out-datum-hash-cbor-file CBOR_FILE | + + --tx-out-datum-hash-file JSON_FILE | + + --tx-out-datum-hash-value JSON_VALUE | + + --tx-out-datum-embed-cbor-file CBOR_FILE | + + --tx-out-datum-embed-file JSON_FILE | + + --tx-out-datum-embed-value JSON_VALUE | + + --tx-out-inline-datum-cbor-file CBOR_FILE | + + --tx-out-inline-datum-file JSON_FILE | + + --tx-out-inline-datum-value JSON_VALUE] + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( + --mint-script-file FILEPATH + [ + (--mint-redeemer-cbor-file CBOR_FILE | + + --mint-redeemer-file JSON_FILE | + + --mint-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | + + --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH | + + --mint-tx-in-reference TX-IN + (--mint-plutus-script-v2 | + + --mint-plutus-script-v3) + (--mint-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --mint-reference-tx-in-redeemer-file JSON_FILE | + + --mint-reference-tx-in-redeemer-value JSON_VALUE) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH)] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + [ + --certificate-file FILEPATH + [--certificate-script-file FILEPATH + [ + (--certificate-redeemer-cbor-file CBOR_FILE | + + --certificate-redeemer-file JSON_FILE | + + --certificate-redeemer-value JSON_VALUE) + --certificate-execution-units (INT, INT)] | + + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | + + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --certificate-reference-tx-in-redeemer-file JSON_FILE | + + --certificate-reference-tx-in-redeemer-value JSON_VALUE) + --certificate-reference-tx-in-execution-units (INT, INT)]] + [--withdrawal WITHDRAWAL + [--withdrawal-script-file FILEPATH + [ + (--withdrawal-redeemer-cbor-file CBOR_FILE | + + --withdrawal-redeemer-file JSON_FILE | + + --withdrawal-redeemer-value JSON_VALUE) + --withdrawal-execution-units (INT, INT)] | + + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | + + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | + + --withdrawal-reference-tx-in-redeemer-value JSON_VALUE) + --withdrawal-reference-tx-in-execution-units (INT, INT)]] + [--tx-total-collateral INTEGER] + [--reference-script-size NATURAL] + [--json-metadata-no-schema | + + --json-metadata-detailed-schema] + [--auxiliary-script-file FILEPATH] + [--metadata-json-file FILEPATH | + + --metadata-cbor-file FILEPATH] + [--vote-file FILEPATH + [--vote-script-file FILEPATH + [ + (--vote-redeemer-cbor-file CBOR_FILE | + + --vote-redeemer-file JSON_FILE | + + --vote-redeemer-value JSON_VALUE) + --vote-execution-units (INT, INT)] | + + --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + (--vote-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --vote-reference-tx-in-redeemer-file JSON_FILE | + + --vote-reference-tx-in-redeemer-value JSON_VALUE) + --vote-reference-tx-in-execution-units (INT, INT)]] + [--proposal-file FILEPATH + [--proposal-script-file FILEPATH + [ + (--proposal-redeemer-cbor-file CBOR_FILE | + + --proposal-redeemer-file JSON_FILE | + + --proposal-redeemer-value JSON_VALUE) + --proposal-execution-units (INT, INT)] | + + --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + (--proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --proposal-reference-tx-in-redeemer-file JSON_FILE | + + --proposal-reference-tx-in-redeemer-value JSON_VALUE) + --proposal-reference-tx-in-execution-units (INT, INT)]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] + --out-file FILEPATH Build a balanced transaction without access to a live node (automatically estimates fees) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. Available options: --script-valid Assertion that the script is valid. (default) 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 85eb8d4d2b..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,163 +1,178 @@ -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) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. Available options: --script-valid Assertion that the script is valid. (default) 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 f20cfc681a..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,152 +1,161 @@ -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) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. Available options: --socket-path SOCKET_PATH 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 77457bc476..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,17 +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] + --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 9aacee8e6c..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,17 +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] + --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 49ca4f147e..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,17 +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] + --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 fef550bfd5..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,8 +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 5ed8aac0fc..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,6 +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 85f8799623..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,13 +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 3db67110bf..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,10 +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 a4247b45b0..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,7 +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 822a2fa0d3..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,10 +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 + --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 86f81f8143..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 + --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 a3fdaaf82b..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,8 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis.cli index 132cc0ae7b..9e4523ed06 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis.cli @@ -1,16 +1,11 @@ Usage: cardano-cli 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] + --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/hash_anchor-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_anchor-data.cli index 11f6723217..fc9b13048e 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,12 +1,6 @@ -Usage: cardano-cli hash anchor-data - ( --text TEXT - | --file-binary FILEPATH - | --file-text FILEPATH - | --url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli hash anchor-data (--text TEXT | --file-binary FILEPATH | + --file-text FILEPATH | --url TEXT) + [--expected-hash HASH | --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 d2d0f9682f..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,14 +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 88960b6bfd..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,11 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli index c47902f063..f9450d1bc5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli @@ -1,13 +1,7 @@ -Usage: cardano-cli key - ( verification-key - | non-extended-key - | convert-byron-key - | convert-byron-genesis-vkey - | convert-itn-key - | convert-itn-extended-key - | convert-itn-bip32-key - | convert-cardano-address-key - ) +Usage: cardano-cli key (verification-key | non-extended-key | + convert-byron-key | convert-byron-genesis-vkey | + convert-itn-key | convert-itn-extended-key | + convert-itn-bip32-key | convert-cardano-address-key) Key utility commands. 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 dc80c4e3e9..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 + --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 5103818e2b..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,15 +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 20829714ec..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,14 +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 cc2fb482b7..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 + --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 bc21c345c1..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 + --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 fa5d03634d..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,8 +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 d30e9aa908..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,5 +1,5 @@ Usage: cardano-cli key non-extended-key --extended-verification-key-file FILEPATH - --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 69e7ff42ed..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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest.cli index 4fd3516cef..e11f080650 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest.cli @@ -1,15 +1,6 @@ -Usage: cardano-cli latest - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +Usage: cardano-cli latest (address | key | genesis | governance | node | query | + stake-address | stake-pool | text-view | + transaction) Latest era commands (Conway) 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 92b63c8ed4..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,16 +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 292efae581..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,10 +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 d1bacd853e..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,8 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis.cli index 00364d4775..6e6feb18e5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis.cli @@ -1,17 +1,8 @@ -Usage: cardano-cli latest 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 - ) +Usage: cardano-cli latest 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. 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 bc296d3225..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,19 +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 e232ec02ab..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,19 +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] + --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 bc63feed12..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,22 +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 b33943070b..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,10 +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) + --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 56217dc6b2..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 + --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 21d327d1eb..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,8 +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 39f8bc71d3..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,8 +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 513d2e2a66..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 + --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 7e1eee3fed..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 + --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 6f9f6afa4f..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 + --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_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action.cli index d9164faa94..f3c83ae847 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action.cli @@ -1,13 +1,9 @@ -Usage: cardano-cli latest governance action - ( create-constitution - | update-committee - | create-info - | create-no-confidence - | create-protocol-parameters-update - | create-treasury-withdrawal - | create-hardfork - | view - ) +Usage: cardano-cli latest governance action (create-constitution | + update-committee | create-info | + create-no-confidence | + create-protocol-parameters-update | + create-treasury-withdrawal | + create-hardfork | view) Governance action commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli index 864c430567..9cdd5f7770 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli @@ -1,24 +1,25 @@ -Usage: cardano-cli latest governance action create-constitution - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data] - --constitution-url TEXT - --constitution-hash HASH - [--check-constitution-hash] - [--constitution-script-hash HASH] - --out-file FILEPATH +Usage: cardano-cli latest governance action create-constitution (--mainnet | + --testnet) + --governance-action-deposit NATURAL + (--deposit-return-stake-verification-key STRING | + + --deposit-return-stake-verification-key-file FILEPATH | + + --deposit-return-stake-key-hash HASH | + + --deposit-return-stake-script-file FILEPATH | + + --deposit-return-stake-address ADDRESS) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + --constitution-url TEXT + --constitution-hash HASH + [--check-constitution-hash] + [--constitution-script-hash HASH] + --out-file FILEPATH Create a constitution. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli index 7d986bc581..8aa74057ef 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli @@ -1,22 +1,23 @@ -Usage: cardano-cli latest governance action create-hardfork - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data] - --protocol-major-version MAJOR - --protocol-minor-version MINOR - --out-file FILEPATH +Usage: cardano-cli latest governance action create-hardfork (--mainnet | + --testnet) + --governance-action-deposit NATURAL + (--deposit-return-stake-verification-key STRING | + + --deposit-return-stake-verification-key-file FILEPATH | + + --deposit-return-stake-key-hash HASH | + + --deposit-return-stake-script-file FILEPATH | + + --deposit-return-stake-address ADDRESS) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + --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/latest_governance_action_create-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-info.cli index c461ac3ddd..0ffd967cc0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-info.cli @@ -1,15 +1,18 @@ Usage: cardano-cli latest governance action create-info (--mainnet | --testnet) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data] - --out-file FILEPATH + --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 + [--check-anchor-data] + --out-file FILEPATH Create an info action. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli index eaf68fbbb4..f2a80affc3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli @@ -1,20 +1,21 @@ -Usage: cardano-cli latest governance action create-no-confidence - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data] - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --out-file FILEPATH +Usage: cardano-cli latest governance action create-no-confidence (--mainnet | + --testnet) + --governance-action-deposit NATURAL + (--deposit-return-stake-verification-key STRING | + + --deposit-return-stake-verification-key-file FILEPATH | + + --deposit-return-stake-key-hash HASH | + + --deposit-return-stake-script-file FILEPATH | + + --deposit-return-stake-address ADDRESS) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + [--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/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 c7b13712b7..237680a073 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,65 +1,67 @@ -Usage: cardano-cli latest governance action create-protocol-parameters-update - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data] - [--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 latest governance action create-protocol-parameters-update (--mainnet | + + --testnet) + --governance-action-deposit NATURAL + (--deposit-return-stake-verification-key STRING | + + --deposit-return-stake-verification-key-file FILEPATH | + + --deposit-return-stake-key-hash HASH | + + --deposit-return-stake-script-file FILEPATH | + + --deposit-return-stake-address ADDRESS) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + [--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/latest_governance_action_create-treasury-withdrawal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-treasury-withdrawal.cli index 5022f8fcba..e88132a82e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-treasury-withdrawal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-treasury-withdrawal.cli @@ -1,27 +1,32 @@ -Usage: cardano-cli latest governance action create-treasury-withdrawal - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data] - ( - ( --funds-receiving-stake-verification-key STRING - | --funds-receiving-stake-verification-key-file FILEPATH - | --funds-receiving-stake-key-hash HASH - | --funds-receiving-stake-script-file FILEPATH - | --funds-receiving-stake-address ADDRESS - ) - --transfer LOVELACE) - [--constitution-script-hash HASH] - --out-file FILEPATH +Usage: cardano-cli latest governance action create-treasury-withdrawal (--mainnet | + + --testnet) + --governance-action-deposit NATURAL + (--deposit-return-stake-verification-key STRING | + + --deposit-return-stake-verification-key-file FILEPATH | + + --deposit-return-stake-key-hash HASH | + + --deposit-return-stake-script-file FILEPATH | + + --deposit-return-stake-address ADDRESS) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + ( + (--funds-receiving-stake-verification-key STRING | + + --funds-receiving-stake-verification-key-file FILEPATH | + + --funds-receiving-stake-key-hash HASH | + + --funds-receiving-stake-script-file FILEPATH | + + --funds-receiving-stake-address ADDRESS) + --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/latest_governance_action_update-committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_update-committee.cli index 20b3976bf5..b6e1a55dbf 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_update-committee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_update-committee.cli @@ -1,33 +1,38 @@ -Usage: cardano-cli latest governance action update-committee - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data] - [ --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 latest governance action update-committee (--mainnet | + --testnet) + --governance-action-deposit NATURAL + (--deposit-return-stake-verification-key STRING | + + --deposit-return-stake-verification-key-file FILEPATH | + + --deposit-return-stake-key-hash HASH | + + --deposit-return-stake-script-file FILEPATH | + + --deposit-return-stake-address ADDRESS) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + [--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/latest_governance_action_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_view.cli index 52fd08bb7a..f75b68e423 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_view.cli @@ -1,8 +1,6 @@ -Usage: cardano-cli latest governance action view --action-file FILEPATH - [ --output-json - | --output-yaml - ] - [--out-file FILEPATH] +Usage: cardano-cli latest 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/latest_governance_committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee.cli index baa0874cfa..17cb4b280b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee.cli @@ -1,10 +1,8 @@ -Usage: cardano-cli latest governance committee - ( key-gen-cold - | key-gen-hot - | key-hash - | create-hot-key-authorization-certificate - | create-cold-key-resignation-certificate - ) +Usage: cardano-cli latest governance committee (key-gen-cold | key-gen-hot | + key-hash | + create-hot-key-authorization-certificate | + + create-cold-key-resignation-certificate) Committee member commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli index da119ea59d..933040d943 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli @@ -1,14 +1,16 @@ -Usage: cardano-cli latest governance committee create-cold-key-resignation-certificate - ( --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - | --cold-script-file FILEPATH - ) - [--resignation-metadata-url TEXT - --resignation-metadata-hash HASH - [--check-resignation-metadata-hash]] - --out-file FILEPATH +Usage: cardano-cli latest governance committee create-cold-key-resignation-certificate (--cold-verification-key STRING | + + --cold-verification-key-file FILEPATH | + + --cold-verification-key-hash STRING | + + --cold-script-hash HASH | + + --cold-script-file FILEPATH) + [--resignation-metadata-url TEXT + --resignation-metadata-hash HASH + [--check-resignation-metadata-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/latest_governance_committee_create-hot-key-authorization-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-hot-key-authorization-certificate.cli index ee9c016cb2..a3ecee6a2b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-hot-key-authorization-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-hot-key-authorization-certificate.cli @@ -1,17 +1,22 @@ -Usage: cardano-cli latest governance committee create-hot-key-authorization-certificate - ( --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - | --cold-script-file FILEPATH - ) - ( --hot-verification-key STRING - | --hot-verification-key-file FILEPATH - | --hot-verification-key-hash STRING - | --hot-script-hash HASH - | --hot-script-file FILEPATH - ) - --out-file FILEPATH +Usage: cardano-cli latest governance committee create-hot-key-authorization-certificate (--cold-verification-key STRING | + + --cold-verification-key-file FILEPATH | + + --cold-verification-key-hash STRING | + + --cold-script-hash HASH | + + --cold-script-file FILEPATH) + (--hot-verification-key STRING | + + --hot-verification-key-file FILEPATH | + + --hot-verification-key-hash STRING | + + --hot-script-hash HASH | + + --hot-script-file FILEPATH) + --out-file FILEPATH Create hot key authorization certificate for a Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli index 06e6962fab..0de040dbe8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli @@ -1,6 +1,5 @@ -Usage: cardano-cli latest governance committee key-gen-cold - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH +Usage: cardano-cli latest governance committee key-gen-cold --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH Create a cold key pair for a Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli index 03c0c0c39e..3d7d91a1cc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli @@ -1,5 +1,5 @@ Usage: cardano-cli latest governance committee key-gen-hot --verification-key-file FILEPATH - --signing-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/latest_governance_committee_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-hash.cli index 16ee7c9cf9..f088b0f193 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-hash.cli @@ -1,7 +1,6 @@ -Usage: cardano-cli latest governance committee key-hash - ( --verification-key STRING - | --verification-key-file FILEPATH - ) +Usage: cardano-cli latest 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/latest_governance_drep.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep.cli index aa51969226..535a89de15 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep.cli @@ -1,11 +1,7 @@ -Usage: cardano-cli latest governance drep - ( key-gen - | id - | registration-certificate - | retirement-certificate - | update-certificate - | metadata-hash - ) +Usage: cardano-cli latest 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/latest_governance_drep_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli index 0cbbf1fc1d..f6782701ef 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli @@ -1,9 +1,7 @@ -Usage: cardano-cli latest governance drep id - ( --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli latest governance drep id (--drep-verification-key STRING | + --drep-verification-key-file FILEPATH) + [--output-format STRING] + [--out-file FILEPATH] Generate a drep id. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli index 7e69689f7d..408134d893 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli @@ -1,5 +1,5 @@ Usage: cardano-cli latest governance drep key-gen --verification-key-file FILEPATH - --signing-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/latest_governance_drep_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_metadata-hash.cli index 641ff2ffcb..06dadae22e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_metadata-hash.cli @@ -1,10 +1,8 @@ -Usage: cardano-cli latest governance drep metadata-hash - ( --drep-metadata-file FILEPATH - | --drep-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli latest governance drep metadata-hash (--drep-metadata-file FILEPATH | + + --drep-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] Calculate the hash of a metadata file, optionally checking the obtained hash against an expected value. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli index 7569ed7578..cf6d3e8656 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli @@ -1,14 +1,15 @@ -Usage: cardano-cli latest governance drep registration-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - --key-reg-deposit-amt NATURAL - [--drep-metadata-url TEXT - --drep-metadata-hash HASH - [--check-drep-metadata-hash]] - --out-file FILEPATH +Usage: cardano-cli latest governance drep registration-certificate (--drep-script-hash HASH | + + --drep-verification-key STRING | + + --drep-verification-key-file FILEPATH | + + --drep-key-hash HASH) + --key-reg-deposit-amt NATURAL + [--drep-metadata-url TEXT + --drep-metadata-hash HASH + [--check-drep-metadata-hash]] + --out-file FILEPATH Create a registration certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli index 6e85043669..ca849636aa 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli @@ -1,11 +1,12 @@ -Usage: cardano-cli latest governance drep retirement-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - --deposit-amt LOVELACE - --out-file FILEPATH +Usage: cardano-cli latest governance drep retirement-certificate (--drep-script-hash HASH | + + --drep-verification-key STRING | + + --drep-verification-key-file FILEPATH | + + --drep-key-hash HASH) + --deposit-amt LOVELACE + --out-file FILEPATH Create a DRep retirement certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli index 6dff28cf97..b253a16eb4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli @@ -1,13 +1,14 @@ -Usage: cardano-cli latest governance drep update-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - [--drep-metadata-url TEXT - --drep-metadata-hash HASH - [--check-drep-metadata-hash]] - --out-file FILEPATH +Usage: cardano-cli latest governance drep update-certificate (--drep-script-hash HASH | + + --drep-verification-key STRING | + + --drep-verification-key-file FILEPATH | + + --drep-key-hash HASH) + [--drep-metadata-url TEXT + --drep-metadata-hash HASH + [--check-drep-metadata-hash]] + --out-file FILEPATH Create a DRep update certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli index 9e85abcfbc..dc16330737 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli @@ -1,22 +1,26 @@ Usage: cardano-cli latest governance vote create (--yes | --no | --abstain) - --governance-action-tx-id TXID - --governance-action-index WORD16 - ( --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - | --drep-script-hash HASH - | --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - | --cc-hot-verification-key STRING - | --cc-hot-verification-key-file FILEPATH - | --cc-hot-key-hash STRING - | --cc-hot-script-hash HASH - ) - [--anchor-url TEXT - --anchor-data-hash HASH - [--check-anchor-data-hash]] - --out-file FILEPATH + --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 + [--check-anchor-data-hash]] + --out-file FILEPATH Vote creation. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli index 8e03116cde..b7f934df60 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli @@ -1,6 +1,6 @@ Usage: cardano-cli latest governance vote view [--output-json | --output-yaml] - --vote-file FILEPATH - [--out-file FILEPATH] + --vote-file FILEPATH + [--out-file FILEPATH] Vote viewing. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key.cli index aae3d2309b..c44bfecb82 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key.cli @@ -1,13 +1,8 @@ -Usage: cardano-cli latest 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 latest 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. 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 1da7bf0b24..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 + --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 97812d4930..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,15 +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 b359646ccd..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,14 +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 f1c77aa997..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 + --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 39810ed627..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 + --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 c2ce68bf39..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,8 +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 668ae99a6d..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,5 +1,5 @@ Usage: cardano-cli latest key non-extended-key --extended-verification-key-file FILEPATH - --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 9b32b2ea66..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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node.cli index babb45a768..88f4651be6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node.cli @@ -1,11 +1,5 @@ -Usage: cardano-cli latest node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli latest node (key-gen | key-gen-KES | key-gen-VRF | + key-hash-VRF | new-counter | issue-op-cert) Node operation commands. 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 24874f4035..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,11 +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 0ddd317670..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 + --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 e0a41ffae3..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 + --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 409c6cff11..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 0a125dde1b..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,8 +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 497118d9b2..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,10 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli index 29935af77a..f34ef596b0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli @@ -1,27 +1,13 @@ -Usage: cardano-cli latest 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 - ) +Usage: cardano-cli latest 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli index 9bb5fe85d1..386caff29c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli @@ -1,27 +1,23 @@ -Usage: cardano-cli latest query committee-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - ] - [ --hot-key STRING - | --hot-key-file FILEPATH - | --hot-key-hash STRING - | --hot-script-hash HASH - ] - [ --active - | --expired - | --unrecognized - ] - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] +Usage: cardano-cli latest query committee-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--cold-verification-key STRING | + + --cold-verification-key-file FILEPATH | + + --cold-verification-key-hash STRING | + --cold-script-hash HASH] + [--hot-key STRING | + --hot-key-file FILEPATH | + --hot-key-hash STRING | + --hot-script-hash HASH] + [--active | --expired | + --unrecognized] + [--volatile-tip | + --immutable-tip] + [--out-file FILEPATH] Get the committee state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli index e10cd9d5ca..8509b3e42d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli @@ -1,13 +1,10 @@ -Usage: cardano-cli latest query constitution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] +Usage: cardano-cli latest query constitution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Get the constitution diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli index 6393e62650..7d9ce4be1c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli @@ -1,22 +1,19 @@ -Usage: cardano-cli latest query drep-stake-distribution - --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-dreps - | - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] +Usage: cardano-cli latest query drep-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | + --testnet-magic NATURAL) + (--all-dreps | + (--drep-script-hash HASH | + + --drep-verification-key STRING | + + --drep-verification-key-file FILEPATH | + + --drep-key-hash HASH)) + [--volatile-tip | + --immutable-tip] + [--out-file FILEPATH] Get the DRep stake distribution. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli index 9b6334588c..6d35e94399 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli @@ -1,20 +1,15 @@ -Usage: cardano-cli latest query drep-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-dreps - | - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - ) - [--include-stake] - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] +Usage: cardano-cli latest query drep-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (--all-dreps | + (--drep-script-hash HASH | + --drep-verification-key STRING | + --drep-verification-key-file FILEPATH | + --drep-key-hash HASH)) + [--include-stake] + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Get the DRep state. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli index 6b90d3f8b5..63af83eba7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli @@ -1,11 +1,8 @@ -Usage: cardano-cli latest query gov-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] +Usage: cardano-cli latest query gov-state --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Get the governance state 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 ec1d84839c..e85df757ac 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,14 +1,12 @@ -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 - [ --volatile-tip - | --immutable-tip - ] - [--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 + [--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/latest_query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_leadership-schedule.cli index 6896f5dc83..4c151482f4 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,23 +1,21 @@ -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) - [ --volatile-tip - | --immutable-tip - ] - [ --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) + [--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/latest_query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-state.cli index 75eed818f7..f559b4c6a4 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,13 +1,10 @@ -Usage: cardano-cli latest 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 latest 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/latest_query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-params.cli index 506406ee91..98605fd3eb 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,14 +1,12 @@ -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) - ) - [--volatile-tip | --immutable-tip] - [--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)) + [--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/latest_query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-state.cli index 206f275dd6..849e752ca7 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,14 +1,11 @@ -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) - ) - [--volatile-tip | --immutable-tip] - [--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)) + [--volatile-tip | --immutable-tip] + [--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 caafc27422..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,10 +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 a65fbc3e58..2ce776cc55 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,13 +1,11 @@ -Usage: cardano-cli latest 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 latest 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/latest_query_ref-script-size.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ref-script-size.cli index 4fe1fa6268..b1aff183d9 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,17 +1,13 @@ -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 - ) - [ --volatile-tip - | --immutable-tip - ] - [ --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) + [--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/latest_query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_slot-number.cli index ae52eb52de..360d9da423 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,11 +1,10 @@ -Usage: cardano-cli latest query slot-number --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--volatile-tip | --immutable-tip] - TIMESTAMP +Usage: cardano-cli latest 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/latest_query_spo-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_spo-stake-distribution.cli index d49c200112..ded6a8eb3e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_spo-stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_spo-stake-distribution.cli @@ -1,20 +1,16 @@ Usage: cardano-cli latest query spo-stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-spos - | - ( --spo-verification-key STRING - | --spo-verification-key-file FILEPATH - | --spo-key-hash HASH - ) - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] + [--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/latest_query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-address-info.cli index 58fc9cc7c6..d4001a8321 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,14 +1,12 @@ -Usage: cardano-cli latest 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 latest 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/latest_query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-distribution.cli index 7bf93f7514..f518b550a8 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,16 +1,13 @@ -Usage: cardano-cli latest 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 latest 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/latest_query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-pools.cli index c1a930977e..6eedd281dd 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,12 +1,11 @@ -Usage: cardano-cli latest 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 latest 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/latest_query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-snapshot.cli index 703e9645a9..0456f6aaff 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,16 +1,13 @@ -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) - ) - [ --volatile-tip - | --immutable-tip - ] - [--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)) + [--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/latest_query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tip.cli index 967245541e..acfc25d367 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,8 +1,8 @@ -Usage: cardano-cli latest query tip --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] +Usage: cardano-cli latest query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli index 8159ed0e3b..37eb760026 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli @@ -1,9 +1,8 @@ -Usage: cardano-cli latest query treasury --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] +Usage: cardano-cli latest query treasury --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Get the treasury value 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 a41535ff6a..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,11 +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 06910342df..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,12 +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 06910342df..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,12 +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 06910342df..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,12 +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 6e22fa4560..0c652474bf 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,13 +1,11 @@ -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) - [--volatile-tip | --immutable-tip] - [--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) + [--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/latest_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address.cli index d696d86d57..bef3a20052 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,16 +1,14 @@ -Usage: cardano-cli latest stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate - | stake-and-vote-delegation-certificate - | vote-delegation-certificate - | registration-and-delegation-certificate - | registration-and-vote-delegation-certificate - | registration-stake-and-vote-delegation-certificate - ) +Usage: cardano-cli latest stake-address (key-gen | key-hash | build | + registration-certificate | + deregistration-certificate | + stake-delegation-certificate | + stake-and-vote-delegation-certificate | + vote-delegation-certificate | + registration-and-delegation-certificate | + + registration-and-vote-delegation-certificate | + + registration-stake-and-vote-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 658946805e..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,13 +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 574325d92d..733e6b170d 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,12 +1,14 @@ -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 - ) - --key-reg-deposit-amt NATURAL - --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) + --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/latest_stake-address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-gen.cli index afe55c17d8..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 + --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 45d97819a1..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,8 +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-and-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-and-delegation-certificate.cli index ea54daa06d..03b45ac186 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-and-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-and-delegation-certificate.cli @@ -1,16 +1,19 @@ -Usage: cardano-cli latest stake-address registration-and-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 - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH +Usage: cardano-cli latest stake-address registration-and-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) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH Create a stake address registration and delegation certificate, which when submitted in a transaction registers a stake address and delegates stake to a diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-and-vote-delegation-certificate.cli index 018bbbc659..ed5279e369 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-and-vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-and-vote-delegation-certificate.cli @@ -1,19 +1,25 @@ -Usage: cardano-cli latest stake-address registration-and-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 - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH +Usage: cardano-cli latest stake-address registration-and-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) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH Create a stake address registration and vote delegation certificate, which when submitted in a transaction registers a stake address and delegates votes 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 b6cea3dedd..954303d313 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,12 +1,14 @@ -Usage: cardano-cli latest stake-address registration-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH +Usage: cardano-cli latest stake-address registration-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH Create a stake address registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-stake-and-vote-delegation-certificate.cli index a7a58efcfb..1f3deab2cb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-stake-and-vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-stake-and-vote-delegation-certificate.cli @@ -1,23 +1,30 @@ -Usage: cardano-cli latest stake-address registration-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 - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH +Usage: cardano-cli latest stake-address registration-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) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH Create a stake address registration, stake delegation and vote delegation certificate, which when submitted in a transaction registers a stake address, diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli index 353f0a632a..16e72512c4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli @@ -1,22 +1,29 @@ -Usage: cardano-cli latest stake-address stake-and-vote-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - | --always-abstain - | --always-no-confidence - ) - --out-file FILEPATH +Usage: cardano-cli latest stake-address stake-and-vote-delegation-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + (--stake-pool-verification-key STRING | + + --cold-verification-key-file FILEPATH | + + --stake-pool-id STAKE_POOL_ID) + (--drep-script-hash HASH | + + --drep-verification-key STRING | + + --drep-verification-key-file FILEPATH | + + --drep-key-hash HASH | + + --always-abstain | + + --always-no-confidence) + --out-file FILEPATH Create a stake address stake and vote delegation certificate, which when submitted in a transaction delegates stake to a stake pool and a DRep. 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 200a215daa..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,15 +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-address_vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_vote-delegation-certificate.cli index b68b61a1e9..474995dd36 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_vote-delegation-certificate.cli @@ -1,18 +1,24 @@ -Usage: cardano-cli latest stake-address vote-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - | --always-abstain - | --always-no-confidence - ) - --out-file FILEPATH +Usage: cardano-cli latest stake-address vote-delegation-certificate (--stake-verification-key STRING | + + --stake-verification-key-file FILEPATH | + + --stake-key-hash HASH | + + --stake-script-file FILEPATH | + + --stake-address ADDRESS) + (--drep-script-hash HASH | + + --drep-verification-key STRING | + + --drep-verification-key-file FILEPATH | + + --drep-key-hash HASH | + + --always-abstain | + + --always-no-confidence) + --out-file FILEPATH Create a stake address vote delegation certificate, which when submitted in a transaction delegates stake to a DRep. 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 3999e6a5e1..8361e2eb51 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,9 +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 8869291fd7..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,9 +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 09deea5830..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,9 +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 2b5df9cde7..a83d2aa263 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,10 +1,7 @@ -Usage: cardano-cli latest stake-pool metadata-hash - ( --pool-metadata-file FILEPATH - | --pool-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli latest stake-pool metadata-hash (--pool-metadata-file FILEPATH | + --pool-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] Calculate the hash of a stake pool metadata file, optionally checking the obtained hash against an expected value. 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 fbddd258fd..e3f6e988c2 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,33 +1,33 @@ -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 - [--check-metadata-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 + [--check-metadata-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 1934caf32e..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 8d2febc0e7..223a651bc7 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,17 +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 - ) +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) Transaction commands. @@ -21,13 +12,13 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. build Build a balanced transaction (automatically calculates fees) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. build-estimate Build a balanced transaction without access to a live node (automatically estimates fees) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. sign Sign a transaction witness Create a transaction witness assemble Assemble a tx body and witness(es) to form a 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 2c136ee253..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,6 +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 a944d0774c..49ac7ef3f2 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,168 +1,193 @@ -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] +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 [ - --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 + [--tx-in-datum-cbor-file CBOR_FILE | + + --tx-in-datum-file JSON_FILE | + + --tx-in-datum-value JSON_VALUE | + + --tx-in-inline-datum-present] + (--tx-in-redeemer-cbor-file CBOR_FILE | + + --tx-in-redeemer-file JSON_FILE | + + --tx-in-redeemer-value JSON_VALUE) + --tx-in-execution-units (INT, INT)]]) + [--read-only-tx-in-reference TX-IN] + [--required-signer FILEPATH | + + --required-signer-hash HASH] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-out ADDRESS VALUE + [--tx-out-datum-hash HASH | + + --tx-out-datum-hash-cbor-file CBOR_FILE | + + --tx-out-datum-hash-file JSON_FILE | + + --tx-out-datum-hash-value JSON_VALUE | + + --tx-out-datum-embed-cbor-file CBOR_FILE | + + --tx-out-datum-embed-file JSON_FILE | + + --tx-out-datum-embed-value JSON_VALUE | + + --tx-out-inline-datum-cbor-file CBOR_FILE | + + --tx-out-inline-datum-file JSON_FILE | + + --tx-out-inline-datum-value JSON_VALUE] + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( + --mint-script-file FILEPATH + [ + (--mint-redeemer-cbor-file CBOR_FILE | + + --mint-redeemer-file JSON_FILE | + + --mint-redeemer-value JSON_VALUE) + --mint-execution-units (INT, INT)] | + + --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH | + + --mint-tx-in-reference TX-IN + (--mint-plutus-script-v2 | + + --mint-plutus-script-v3) + (--mint-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --mint-reference-tx-in-redeemer-file JSON_FILE | + + --mint-reference-tx-in-redeemer-value JSON_VALUE) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH)] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + [ + --certificate-file FILEPATH + [--certificate-script-file FILEPATH + [ + (--certificate-redeemer-cbor-file CBOR_FILE | + + --certificate-redeemer-file JSON_FILE | + + --certificate-redeemer-value JSON_VALUE) + --certificate-execution-units (INT, INT)] | + + --certificate-tx-in-reference TX-IN + (--certificate-plutus-script-v2 | + + --certificate-plutus-script-v3) + (--certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --certificate-reference-tx-in-redeemer-file JSON_FILE | + + --certificate-reference-tx-in-redeemer-value JSON_VALUE) + --certificate-reference-tx-in-execution-units (INT, INT)]] + [--withdrawal WITHDRAWAL + [--withdrawal-script-file FILEPATH + [ + (--withdrawal-redeemer-cbor-file CBOR_FILE | + + --withdrawal-redeemer-file JSON_FILE | + + --withdrawal-redeemer-value JSON_VALUE) + --withdrawal-execution-units (INT, INT)] | + + --withdrawal-tx-in-reference TX-IN + (--withdrawal-plutus-script-v2 | + + --withdrawal-plutus-script-v3) + (--withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --withdrawal-reference-tx-in-redeemer-file JSON_FILE | + + --withdrawal-reference-tx-in-redeemer-value JSON_VALUE) + --withdrawal-reference-tx-in-execution-units (INT, INT)]] + [--tx-total-collateral INTEGER] + [--reference-script-size NATURAL] + [--json-metadata-no-schema | + + --json-metadata-detailed-schema] + [--auxiliary-script-file FILEPATH] + [--metadata-json-file FILEPATH | + + --metadata-cbor-file FILEPATH] + [--vote-file FILEPATH + [--vote-script-file FILEPATH + [ + (--vote-redeemer-cbor-file CBOR_FILE | + + --vote-redeemer-file JSON_FILE | + + --vote-redeemer-value JSON_VALUE) + --vote-execution-units (INT, INT)] | + + --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + (--vote-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --vote-reference-tx-in-redeemer-file JSON_FILE | + + --vote-reference-tx-in-redeemer-value JSON_VALUE) + --vote-reference-tx-in-execution-units (INT, INT)]] + [--proposal-file FILEPATH + [--proposal-script-file FILEPATH + [ + (--proposal-redeemer-cbor-file CBOR_FILE | + + --proposal-redeemer-file JSON_FILE | + + --proposal-redeemer-value JSON_VALUE) + --proposal-execution-units (INT, INT)] | + + --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + (--proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --proposal-reference-tx-in-redeemer-file JSON_FILE | + + --proposal-reference-tx-in-redeemer-value JSON_VALUE) + --proposal-reference-tx-in-execution-units (INT, INT)]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] + --out-file FILEPATH Build a balanced transaction without access to a live node (automatically estimates fees) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. Available options: --script-valid Assertion that the script is valid. (default) 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 7142dfae27..c186efe7a1 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,163 +1,178 @@ -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] - [--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 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] + [--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) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. Available options: --script-valid Assertion that the script is valid. (default) 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 256b4ec1c9..8975a6ee8b 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,152 +1,161 @@ -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 - ] - [--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 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] + [--vote-file FILEPATH + [--vote-script-file FILEPATH + [--vote-redeemer-cbor-file CBOR_FILE | + + --vote-redeemer-file JSON_FILE | + + --vote-redeemer-value JSON_VALUE] | + --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + (--vote-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --vote-reference-tx-in-redeemer-file JSON_FILE | + + --vote-reference-tx-in-redeemer-value JSON_VALUE)]] + [--proposal-file FILEPATH + [--proposal-script-file FILEPATH + [--proposal-redeemer-cbor-file CBOR_FILE | + + --proposal-redeemer-file JSON_FILE | + + --proposal-redeemer-value JSON_VALUE] | + --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + (--proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE | + + --proposal-reference-tx-in-redeemer-file JSON_FILE | + + --proposal-reference-tx-in-redeemer-value JSON_VALUE)]] + [--treasury-donation LOVELACE] + (--out-file FILEPATH | + --calculate-plutus-script-cost FILEPATH) Build a balanced transaction (automatically calculates fees) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. Available options: --socket-path SOCKET_PATH 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 4650e14e1f..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,17 +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] + --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 1422c5e6f3..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,17 +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] + --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 b345454134..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,17 +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] + --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 265e685188..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,8 +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 3d412a19b2..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,6 +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 e35411421a..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,13 +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 99d10da22f..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,10 +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 7ed80315d8..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,7 +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 91ce291243..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,10 +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 + --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_genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis.cli index 98e99d8301..6315568b21 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis.cli @@ -1,16 +1,8 @@ -Usage: cardano-cli legacy genesis - ( key-gen-genesis - | key-gen-delegate - | key-gen-utxo - | key-hash - | get-ver-key - | initial-addr - | initial-txin - | create-cardano - | create - | create-staked - | hash - ) +Usage: cardano-cli legacy genesis (key-gen-genesis | key-gen-delegate | + key-gen-utxo | key-hash | get-ver-key | + initial-addr | initial-txin | + create-cardano | create | create-staked | + hash) Genesis block commands 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 e4d476ccbc..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,27 +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 7d4d03783f..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,27 +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 faf7e4bf4d..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,18 +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 bfe982f433..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 + --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 d8ffa9363a..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,8 +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 ce798a7f38..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,8 +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 924b889e34..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 + --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 be2effd488..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 + --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 c7c902a15e..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 + --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 1ac6d67f4c..34a49dae99 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,8 +1,6 @@ -Usage: cardano-cli legacy governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | create-update-proposal - ) +Usage: cardano-cli legacy governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + create-update-proposal) Governance commands 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 dbeb66fecd..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,23 +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 a37df5df5b..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,20 +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 7b7f946fdf..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,16 +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 9913b48c69..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,12 +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 b3b9b687ee..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,12 +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-update-proposal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-update-proposal.cli index 4ecbf10d0d..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,35 +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] + --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/mary.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary.cli index 0353f82c1a..2944dd3da3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary.cli @@ -1,15 +1,5 @@ -Usage: cardano-cli mary - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +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 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 116631b48c..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,16 +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 f813c2ffc3..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,10 +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 5317552642..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,8 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis.cli index a833fbfedf..8bf57eb5f7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_genesis.cli @@ -1,17 +1,8 @@ -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 - ) +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. 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 dd0af81fc0..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,19 +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 a1d8b1138a..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,19 +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] + --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 91df13ecce..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,22 +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 a9047f0489..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,10 +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) + --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 badeb8000b..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 + --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 ba549f15f7..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,8 +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 eb0667dd70..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,8 +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 df98769720..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 + --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 592532efbb..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 + --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 703adb02f7..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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance.cli index e280dae811..6aba92a39d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_governance.cli @@ -1,8 +1,6 @@ -Usage: cardano-cli mary governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) +Usage: cardano-cli mary governance (create-mir-certificate | + create-genesis-key-delegation-certificate | + action) Governance commands. 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 58c0cab191..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,26 +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 + (--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 6ba7fb6e25..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,17 +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 3956f1d02e..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,14 +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 052bb1355e..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,10 +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 b86ba9eb36..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 + --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 3290584f52..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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key.cli index 8dc24ca138..c5c46fdc82 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_key.cli @@ -1,13 +1,8 @@ -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 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. 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 1801103321..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 + --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 2496a00fb8..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,15 +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 8147ede0b1..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,14 +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 3981bc6958..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 + --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 f3d101b8c8..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 + --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 ccae16afad..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,8 +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 0b2bd00d4c..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,5 +1,5 @@ Usage: cardano-cli mary key non-extended-key --extended-verification-key-file FILEPATH - --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 70756d7888..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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node.cli index 71af7ae727..5650b52cb9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_node.cli @@ -1,11 +1,5 @@ -Usage: cardano-cli mary node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli mary node (key-gen | key-gen-KES | key-gen-VRF | + key-hash-VRF | new-counter | issue-op-cert) Node operation commands. 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 ebe488436b..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,11 +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 2c0ddc9287..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 + --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 84c8fd9ae6..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 + --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 0344b8774c..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 2ad84b7073..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,8 +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 f15e26997b..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,10 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query.cli index 57d3afc421..2e8d200f6b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query.cli @@ -1,20 +1,9 @@ -Usage: cardano-cli mary 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 mary 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. 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 34eba8ce44..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,11 +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 6ae631eb48..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,20 +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 986aa023d5..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,10 +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 380c2b54d4..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,13 +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 47735606f6..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,11 +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 d8b3967de6..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,10 +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 7e52353b23..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,10 +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 8fab629907..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,12 +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 179ae17f5a..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,10 +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 ea2f5f7a0c..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,11 +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 5f9e32b4ba..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,13 +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 2509b690ca..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,11 +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 bd5417a24e..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,13 +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_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tip.cli index d0075ae713..76c4aec029 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tip.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tip.cli @@ -1,7 +1,7 @@ -Usage: cardano-cli mary query tip --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli mary 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/mary_query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_tx-mempool.cli index d4ff31a6bd..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,9 +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 3920458186..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,10 +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 3920458186..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,10 +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 3920458186..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,10 +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_utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_utxo.cli index 36d8470c2a..93c9f50ca6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_query_utxo.cli @@ -1,12 +1,10 @@ -Usage: cardano-cli mary 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 mary 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/mary_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-address.cli index 5bf8140214..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,11 +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 fda555445e..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,13 +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 68e8454537..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,11 +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 374487eea9..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 + --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 658ef86ddd..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,8 +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 47c2241cbe..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,11 +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 daeb86bf60..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,15 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool.cli index 67e8505c11..a4c7ee32bc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_stake-pool.cli @@ -1,9 +1,6 @@ -Usage: cardano-cli mary stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) +Usage: cardano-cli mary stake-pool (registration-certificate | + deregistration-certificate | id | + metadata-hash) Stake pool commands. 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 59b2c2670c..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,9 +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 6db1697e92..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,9 +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 307901e6e2..a25043a6f9 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,10 +1,7 @@ -Usage: cardano-cli mary stake-pool metadata-hash - ( --pool-metadata-file FILEPATH - | --pool-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli mary stake-pool metadata-hash (--pool-metadata-file FILEPATH | + --pool-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] Calculate the hash of a stake pool metadata file, optionally checking the obtained hash against an expected value. 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 2fc6790ab0..501bd23999 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,33 +1,33 @@ -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 - [--check-metadata-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 + [--check-metadata-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 8eace35060..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 4d67780f37..4a33293c69 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,15 +1,7 @@ -Usage: cardano-cli mary transaction - ( build-raw - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - ) +Usage: cardano-cli mary transaction (build-raw | sign | witness | assemble | + submit | policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid) Transaction commands. @@ -19,7 +11,7 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. sign Sign a transaction witness Create a transaction witness assemble Assemble a tx body and witness(es) to form a 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 0c84dd4d51..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,6 +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-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_build-raw.cli index bf5f201c65..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,130 +1,141 @@ -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) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. Available options: --script-valid Assertion that the script is valid. (default) 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 0b0491782a..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,17 +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] + --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 9448058cc8..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,17 +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] + --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 20334989bb..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,17 +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] + --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 e8608f000a..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,8 +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 923f6c376c..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,6 +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 2818d9a139..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,11 +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 54e2657019..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,10 +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 70ec68a271..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,7 +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 ec1d4b4ec8..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,10 +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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node.cli index f133ab4c3d..362778d7c0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/node.cli @@ -1,11 +1,5 @@ -Usage: cardano-cli node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli node (key-gen | key-gen-KES | key-gen-VRF | key-hash-VRF | + new-counter | issue-op-cert) Node operation commands. 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 919c7c4ca9..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,11 +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 5db2037a0a..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 + --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 8f182f1dd1..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 + --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-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen.cli index e0bf2224fb..f8f18b054b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen.cli @@ -1,7 +1,7 @@ -Usage: cardano-cli node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli node key-gen [--key-output-format STRING] + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH Create a key pair for a node operator's offline key and a new certificate issue counter 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 7d2302c233..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,8 +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 460e70be57..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,10 +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/ping.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/ping.cli index c919aa1ed7..c2debf1be1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/ping.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/ping.cli @@ -1,11 +1,7 @@ -Usage: cardano-cli ping [-c|--count COUNT] - ((-h|--host HOST) | (-u|--unixsock SOCKET)) - [-p|--port PORT] - [-m|--magic MAGIC] - [-j|--json] - [-q|--quiet] - [-Q|--query-versions] - [-t|--tip] +Usage: cardano-cli ping [-c|--count COUNT] + ((-h|--host HOST) | (-u|--unixsock SOCKET)) + [-p|--port PORT] [-m|--magic MAGIC] [-j|--json] + [-q|--quiet] [-Q|--query-versions] [-t|--tip] Ping a cardano node either using node-to-node or node-to-client protocol. It negotiates a handshake and keeps sending keep alive messages. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli index 9db00062dc..3c3d334fa4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli @@ -1,19 +1,8 @@ -Usage: cardano-cli query - ( protocol-parameters - | tip - | stake-pools - | stake-distribution - | stake-address-info - | utxo - | ledger-state - | protocol-state - | stake-snapshot - | leadership-schedule - | kes-period-info - | pool-state - | tx-mempool - | slot-number - ) +Usage: cardano-cli 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) Node query commands. Will query 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/query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_kes-period-info.cli index 6c5976792d..668ccd770a 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,10 +1,9 @@ -Usage: cardano-cli 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 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/query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_leadership-schedule.cli index ea7b3db9bc..e01ee71c77 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,21 +1,18 @@ -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) - [ --volatile-tip - | --immutable-tip - ] - [--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) + [--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/query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-state.cli index 5dada14b2c..795dd59b59 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,8 +1,8 @@ -Usage: cardano-cli query ledger-state --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] +Usage: cardano-cli query ledger-state --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Dump the current ledger state of the node (Ledger.NewEpochState -- advanced 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 5aa0f0c42b..1ad7997ace 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,11 +1,10 @@ -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) - ) - [--volatile-tip | --immutable-tip] - [--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)) + [--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/query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-state.cli index be6641d6b5..74ec6f920e 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,11 +1,10 @@ -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) - ) - [--volatile-tip | --immutable-tip] - [--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)) + [--volatile-tip | --immutable-tip] + [--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 5ae60269c6..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,10 +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 4b8247c6fd..b00f77aac1 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,8 +1,8 @@ -Usage: cardano-cli query protocol-state --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] +Usage: cardano-cli query protocol-state --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced 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 6a77e406b9..54a62d3ee1 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,8 +1,8 @@ -Usage: cardano-cli query slot-number --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - TIMESTAMP +Usage: cardano-cli query slot-number --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + TIMESTAMP Query slot number for UTC timestamp 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 e1dba2c354..30f88314f0 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,12 +1,11 @@ -Usage: cardano-cli 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 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/query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-distribution.cli index 7c33ecc723..074a50065b 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,12 +1,11 @@ -Usage: cardano-cli 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 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/query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-pools.cli index 2bf8095b2e..c150478f7f 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,9 +1,9 @@ -Usage: cardano-cli query stake-pools --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli query stake-pools --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--output-json | --output-text] + [--out-file FILEPATH] 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 f6cd339214..c66620a26a 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,11 +1,10 @@ -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) - ) - [--volatile-tip | --immutable-tip] - [--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)) + [--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/query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli index 647e9e2c57..0003f28d0f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli @@ -1,8 +1,8 @@ -Usage: cardano-cli query tip --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] +Usage: cardano-cli query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) 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 2390c51e4f..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,8 +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 81aad66dd0..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,9 +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 81aad66dd0..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,9 +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 81aad66dd0..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,9 +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_utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_utxo.cli index f0ecd043ab..12ebe4290f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_utxo.cli @@ -1,13 +1,11 @@ -Usage: cardano-cli 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 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/shelley.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley.cli index 150c77ceb3..3dcbecaa0d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley.cli @@ -1,15 +1,6 @@ -Usage: cardano-cli shelley - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +Usage: cardano-cli shelley (address | key | genesis | governance | node | + query | stake-address | stake-pool | text-view | + transaction) Shelley era commands - DEPRECATED - will be removed in the future 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 2cf51cb3ae..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,16 +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 363178354c..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,10 +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 026424cfd5..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,8 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis.cli index 4ddff5f8c0..0f0b29fb07 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_genesis.cli @@ -1,17 +1,8 @@ -Usage: cardano-cli shelley 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 - ) +Usage: cardano-cli shelley 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. 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 f6acbcbf12..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,19 +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 a000ff2bc1..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,19 +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] + --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 280f8a995e..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,22 +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 + [--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 aa986cd3fc..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,12 +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 - ) + --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 789828e56a..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 + --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 db4abe0cbb..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,8 +1,7 @@ Usage: cardano-cli shelley genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-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 74dad47b5e..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,8 +1,7 @@ Usage: cardano-cli shelley genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-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 3c6d04875e..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 + --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 d58a96e12a..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 + --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 d1d3f3d725..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 + --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 78221f4428..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,8 +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 cad82e01aa..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,26 +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 + (--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 e4fa240df5..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,17 +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 ca75e919e6..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,14 +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 51ffa0c0a4..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,10 +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 6e84c524d6..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 + --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 dbd0a25c46..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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key.cli index 1f6999a624..2c18afeac1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_key.cli @@ -1,13 +1,9 @@ -Usage: cardano-cli shelley 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 shelley 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. 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 b408f6441d..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 + --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 9b8853af24..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,15 +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 e2c4c913bf..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,14 +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 e2889c728d..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 + --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 4ec30767c5..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 + --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 8ad67baa31..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,8 +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 d49e13e8e0..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,5 +1,5 @@ Usage: cardano-cli shelley key non-extended-key --extended-verification-key-file FILEPATH - --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 29a0d13bb2..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 + --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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node.cli index 46d05378d7..1e287f53d0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_node.cli @@ -1,11 +1,5 @@ -Usage: cardano-cli shelley node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli shelley node (key-gen | key-gen-KES | key-gen-VRF | + key-hash-VRF | new-counter | issue-op-cert) Node operation commands. 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 2b74aadae5..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,11 +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 a5d5e104f8..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 + --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 4d77963e79..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 + --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 e6f9d493a0..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 3aa7992b1f..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,8 +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 d136e5b430..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,10 +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.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query.cli index 23a1d9626a..4deae3c7a8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_query.cli @@ -1,20 +1,9 @@ -Usage: cardano-cli shelley 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 shelley 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. 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 a506bf8b9d..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,11 +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 dbdbe12f31..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,20 +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 aabbdafeb8..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,10 +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 ebf85c01a8..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,13 +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 98fc6a3fcc..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,13 +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 fbed1ff7d0..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,10 +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 498b49e53a..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,10 +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 4e24588a60..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,14 +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 1d15eaf898..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,10 +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 5088159645..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,11 +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 9f358af5ec..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,13 +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 ecdaec3362..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,11 +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 6529eb7657..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,13 +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 9cba01af98..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,7 +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 e38d7a8bbc..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,11 +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 8973880946..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,12 +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 8973880946..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,12 +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 8973880946..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,12 +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 1d781834a6..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,12 +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 93f05ddff5..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,11 +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 7bc1b6bcb2..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,13 +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 c067b6944a..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,11 +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 a615b95f11..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 + --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 671ad256f9..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,8 +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 a0f6680b08..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,11 +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 da357add07..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,15 +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 0381e5bbd9..ad4b8b7fb2 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,9 +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 910c3da14f..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,9 +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 fec83e5a3c..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,9 +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 3540f3c572..3c65884072 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,10 +1,7 @@ -Usage: cardano-cli shelley stake-pool metadata-hash - ( --pool-metadata-file FILEPATH - | --pool-metadata-url TEXT - ) - [ --expected-hash HASH - | --out-file FILEPATH - ] +Usage: cardano-cli shelley stake-pool metadata-hash (--pool-metadata-file FILEPATH | + --pool-metadata-url TEXT) + [--expected-hash HASH | + --out-file FILEPATH] Calculate the hash of a stake pool metadata file, optionally checking the obtained hash against an expected value. 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 551f58ed7a..1dd03591e4 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,33 +1,33 @@ -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 - [--check-metadata-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 + [--check-metadata-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 902f8c6b41..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 23aa855d08..7d33e81988 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,15 +1,7 @@ -Usage: cardano-cli shelley transaction - ( build-raw - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - ) +Usage: cardano-cli shelley transaction (build-raw | sign | witness | assemble | + submit | policyid | calculate-min-fee | + calculate-min-required-utxo | + hash-script-data | txid) Transaction commands. @@ -19,7 +11,7 @@ Available options: Available commands: build-raw Build a transaction (low-level, inconvenient) - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. sign Sign a transaction witness Create a transaction witness assemble Assemble a tx body and witness(es) to form a 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 1f61bced06..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,6 +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 713f3e8ec5..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,130 +1,145 @@ -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[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Please note the order of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details. Available options: --script-valid Assertion that the script is valid. (default) 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 abc3778ea8..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,17 +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] + --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 b5ea8291d5..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,17 +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] + --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 17de3eef20..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,17 +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] + --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 ad10b0a4e8..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,8 +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 2b2c494d25..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,6 +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 8938ecd938..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,13 +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 cfe32d5a69..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,10 +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 78e17f7991..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,7 +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 e39282910b..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,10 +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 + --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 ca52828232..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,9 +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 856ea1dab5..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 + --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/submit-tx.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/submit-tx.cli index d03fa33be8..62adc47900 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/submit-tx.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/submit-tx.cli @@ -1,6 +1,5 @@ -Usage: cardano-cli submit-tx --socket-path SOCKET_PATH - (--mainnet | --testnet-magic NATURAL) - --tx FILEPATH +Usage: cardano-cli 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/to-verification.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/to-verification.cli index a6a0ece869..71718ad2c0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/to-verification.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/to-verification.cli @@ -1,6 +1,5 @@ Usage: cardano-cli to-verification [--byron-legacy-formats | --byron-formats] - --secret FILEPATH - --to FILEPATH + --secret FILEPATH --to FILEPATH Extract a verification key in its base64 form. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/validate-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/validate-cbor.cli index a876d66654..3db924ca6b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/validate-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/validate-cbor.cli @@ -1,11 +1,7 @@ -Usage: cardano-cli validate-cbor - [ --byron-block INT - | --byron-delegation-certificate - | --byron-tx - | --byron-update-proposal - | --byron-vote - ] - --filepath FILEPATH +Usage: cardano-cli validate-cbor [--byron-block INT | + --byron-delegation-certificate | --byron-tx | + --byron-update-proposal | --byron-vote] + --filepath FILEPATH Validate a CBOR blockchain object. From 13cfd22d7134e96f13a2c5b8fe5b3d5973f3c273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Hurlin?= Date: Wed, 18 Sep 2024 13:04:00 +0200 Subject: [PATCH 4/4] Add SRP to optparse-applicative !! DO NOT MERGE !! --- cabal.project | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cabal.project b/cabal.project index 9eb1804dcc..5848c118f5 100644 --- a/cabal.project +++ b/cabal.project @@ -57,3 +57,11 @@ write-ghc-environment-files: always -- IMPORTANT -- Do NOT add more source-repository-package stanzas here unless they are strictly -- temporary! Please read the section in CONTRIBUTING about updating dependencies. + +package optparse-applicative + ghc-options: -Wno-x-partial -Wno-unused-imports + +source-repository-package + type: git + location: https://github.com/smelc/optparse-applicative + tag: 1aad1773bc78e161083e8306dc9111ce515bb0ac