From c414859bb9965f0696574321b8107157a36f4249 Mon Sep 17 00:00:00 2001 From: Jordan Millar Date: Thu, 19 Sep 2024 17:17:04 -0400 Subject: [PATCH 1/7] Remove all legacy commands except those involved in update proposals Set default top level era to Conway --- .../src/Cardano/CLI/EraBased/Commands.hs | 4 +- cardano-cli/src/Cardano/CLI/Legacy/Options.hs | 844 +----------------- cardano-cli/src/Cardano/CLI/Options.hs | 12 - .../Test/Golden/Governance/Action.hs | 18 +- 4 files changed, 13 insertions(+), 865 deletions(-) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs b/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs index c25844b8e1..9eef867729 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs @@ -108,8 +108,10 @@ pAnyEraCommand envCli = Opt.info (AnyEraCommandOf ShelleyBasedEraConway <$> pCmds ShelleyBasedEraConway envCli) $ Opt.progDesc "Conway era commands" , subParser "latest" $ - Opt.info (AnyEraCommandOf ShelleyBasedEraBabbage <$> pCmds ShelleyBasedEraBabbage envCli) $ + Opt.info (AnyEraCommandOf ShelleyBasedEraConway <$> pCmds ShelleyBasedEraConway envCli) $ Opt.progDesc ("Latest era commands (Babbage)" <> deprecationText) + , -- Default to Conway era + AnyEraCommandOf ShelleyBasedEraConway <$> pCmds ShelleyBasedEraConway envCli ] pCmds :: ShelleyBasedEra era -> EnvCli -> Parser (Cmds era) diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs index cc484d59cb..35932fe886 100644 --- a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs +++ b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs @@ -2,7 +2,6 @@ {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE ScopedTypeVariables #-} -{-# LANGUAGE TypeApplications #-} module Cardano.CLI.Legacy.Options ( -- * CLI command parser @@ -24,24 +23,13 @@ where import Cardano.Api hiding (QueryInShelleyBasedEra (..), parseFilePath) import qualified Cardano.Api.Experimental as Exp import Cardano.Api.Ledger (Coin (..)) -import Cardano.Api.Shelley hiding (QueryInShelleyBasedEra (..), parseFilePath) import Cardano.Chain.Common (BlockCount (BlockCount)) import Cardano.CLI.Environment -import qualified Cardano.CLI.EraBased.Commands.Node as Cmd import Cardano.CLI.EraBased.Options.Common import Cardano.CLI.Legacy.Commands -import Cardano.CLI.Legacy.Commands.Address import Cardano.CLI.Legacy.Commands.Genesis import Cardano.CLI.Legacy.Commands.Governance -import Cardano.CLI.Legacy.Commands.Node -import qualified Cardano.CLI.Legacy.Commands.Node as Cmd -import Cardano.CLI.Legacy.Commands.Query -import Cardano.CLI.Legacy.Commands.StakeAddress -import Cardano.CLI.Legacy.Commands.StakePool -import Cardano.CLI.Legacy.Commands.TextView -import Cardano.CLI.Legacy.Commands.Transaction -import Cardano.CLI.Legacy.Options.Key import Cardano.CLI.Parser import Cardano.CLI.Types.Common @@ -50,8 +38,6 @@ import Data.Maybe (fromMaybe, maybeToList) import Data.Word (Word64) 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 <$>" -} {- HLINT ignore "Move brackets to avoid $" -} @@ -59,794 +45,21 @@ import Prettyprinter (line) -- -- Shelley CLI command parsers -- - +-- This is necessary for QA to create update proposals pre-Conway parseLegacyCmds :: EnvCli -> Parser LegacyCmds parseLegacyCmds envCli = Opt.hsubparser $ mconcat [ Opt.metavar "Legacy commands" , Opt.commandGroup "Legacy commands" - , Opt.command "address" $ - Opt.info (LegacyAddressCmds <$> pAddressCmds envCli) $ - Opt.progDesc "Payment address commands" - , Opt.command "stake-address" $ - Opt.info (LegacyStakeAddressCmds <$> pStakeAddressCmds envCli) $ - Opt.progDesc "Stake address commands" - , Opt.command "key" $ - Opt.info (LegacyKeyCmds <$> pKeyCmds) $ - Opt.progDesc "Key utility commands" - , Opt.command "transaction" $ - Opt.info (LegacyTransactionCmds <$> pTransaction envCli) $ - Opt.progDesc "Transaction commands" - , Opt.command "node" $ - Opt.info (LegacyNodeCmds <$> pNodeCmds) $ - Opt.progDesc "Node operation commands" - , Opt.command "stake-pool" $ - Opt.info (LegacyStakePoolCmds <$> pStakePoolCmds envCli) $ - Opt.progDesc "Stake pool commands" - , Opt.command "query" $ - Opt.info (LegacyQueryCmds <$> pQueryCmds envCli) . Opt.progDesc $ - mconcat - [ "Node query commands. Will query the local node whose Unix domain socket " - , "is obtained from the CARDANO_NODE_SOCKET_PATH environment variable." - ] , Opt.command "genesis" $ Opt.info (LegacyGenesisCmds <$> pGenesisCmds envCli) $ Opt.progDesc "Genesis block commands" , Opt.command "governance" $ Opt.info (LegacyGovernanceCmds <$> pGovernanceCmds envCli) $ Opt.progDesc "Governance commands" - , Opt.command "text-view" $ - Opt.info (LegacyTextViewCmds <$> pTextViewCmds) . Opt.progDesc $ - mconcat - [ "Commands for dealing with Shelley TextView files. " - , "Transactions, addresses etc are stored on disk as TextView files." - ] - ] - -pTextViewCmds :: Parser LegacyTextViewCmds -pTextViewCmds = - asum - [ subParser - "decode-cbor" - ( Opt.info (TextViewInfo <$> pCBORInFile <*> pMaybeOutputFile) $ - Opt.progDesc "Print a TextView file as decoded CBOR." - ) - ] - -pAddressCmds :: EnvCli -> Parser LegacyAddressCmds -pAddressCmds envCli = - asum - [ subParser - "key-gen" - (Opt.info pAddressKeyGen $ Opt.progDesc "Create an address key pair.") - , subParser - "key-hash" - (Opt.info pAddressKeyHash $ Opt.progDesc "Print the hash of an address key.") - , subParser - "build" - ( Opt.info pAddressBuild $ - Opt.progDesc "Build a Shelley payment address, with optional delegation to a stake address." - ) - , subParser - "info" - (Opt.info pAddressInfo $ Opt.progDesc "Print information about an address.") - ] - where - pAddressKeyGen :: Parser LegacyAddressCmds - pAddressKeyGen = - AddressKeyGen - <$> pKeyOutputFormat - <*> pAddressKeyType - <*> pVerificationKeyFileOut - <*> pSigningKeyFileOut - - pAddressKeyHash :: Parser LegacyAddressCmds - pAddressKeyHash = - AddressKeyHash - <$> pPaymentVerificationKeyTextOrFile - <*> pMaybeOutputFile - - pAddressBuild :: Parser LegacyAddressCmds - pAddressBuild = - AddressBuild - <$> pPaymentVerifier - <*> Opt.optional (pStakeIdentifier Nothing) - <*> pNetworkId envCli - <*> pMaybeOutputFile - - pAddressInfo :: Parser LegacyAddressCmds - pAddressInfo = AddressInfo <$> pAddress <*> pMaybeOutputFile - -pStakeAddressCmds :: EnvCli -> Parser LegacyStakeAddressCmds -pStakeAddressCmds envCli = - asum - [ subParser "key-gen" $ - Opt.info pStakeAddressKeyGenCmd $ - Opt.progDesc "Create a stake address key pair" - , subParser "build" $ - Opt.info pStakeAddressBuildCmd $ - Opt.progDesc "Build a stake address" - , subParser "key-hash" $ - Opt.info pStakeAddressKeyHashCmd $ - Opt.progDesc "Print the hash of a stake address key." - , subParser "registration-certificate" $ - Opt.info pStakeAddressRegistrationCertificateCmd $ - Opt.progDesc "Create a stake address registration certificate" - , subParser "deregistration-certificate" $ - Opt.info pStakeAddressDeregistrationCertificateCmd $ - Opt.progDesc "Create a stake address deregistration certificate" - , subParser "delegation-certificate" $ - Opt.info pStakeAddressStakeDelegationCertificateCmd $ - Opt.progDesc "Create a stake address pool delegation certificate" - ] - where - pStakeAddressKeyGenCmd :: Parser LegacyStakeAddressCmds - pStakeAddressKeyGenCmd = - StakeAddressKeyGenCmd - <$> pKeyOutputFormat - <*> pVerificationKeyFileOut - <*> pSigningKeyFileOut - - pStakeAddressKeyHashCmd :: Parser LegacyStakeAddressCmds - pStakeAddressKeyHashCmd = - StakeAddressKeyHashCmd - <$> pStakeVerificationKeyOrFile Nothing - <*> pMaybeOutputFile - - pStakeAddressBuildCmd :: Parser LegacyStakeAddressCmds - pStakeAddressBuildCmd = - StakeAddressBuildCmd - <$> pStakeVerifier Nothing - <*> pNetworkId envCli - <*> pMaybeOutputFile - - pStakeAddressRegistrationCertificateCmd :: Parser LegacyStakeAddressCmds - pStakeAddressRegistrationCertificateCmd = - StakeAddressRegistrationCertificateCmd - <$> pAnyShelleyBasedEra envCli - <*> pStakeIdentifier Nothing - <*> optional pKeyRegistDeposit - <*> pOutputFile - - pStakeAddressDeregistrationCertificateCmd :: Parser LegacyStakeAddressCmds - pStakeAddressDeregistrationCertificateCmd = - StakeAddressDeregistrationCertificateCmd - <$> pAnyShelleyBasedEra envCli - <*> pStakeIdentifier Nothing - <*> optional pKeyRegistDeposit - <*> pOutputFile - - pStakeAddressStakeDelegationCertificateCmd :: Parser LegacyStakeAddressCmds - pStakeAddressStakeDelegationCertificateCmd = - StakeAddressDelegationCertificateCmd - <$> pAnyShelleyBasedEra envCli - <*> pStakeIdentifier Nothing - <*> pStakePoolVerificationKeyOrHashOrFile Nothing - <*> pOutputFile - -pTransaction :: EnvCli -> Parser LegacyTransactionCmds -pTransaction envCli = - asum - [ subParser "build-raw" $ - Opt.info pTransactionBuildRaw $ - Opt.progDescDoc $ - Just $ - mconcat - [ 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." - ] - ] - , subParser "build" $ - Opt.info pTransactionBuild $ - Opt.progDescDoc $ - Just $ - mconcat - [ 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." - ] - ] - , subParser - "sign" - (Opt.info pTransactionSign $ Opt.progDesc "Sign a transaction") - , subParser - "witness" - (Opt.info pTransactionCreateWitness $ Opt.progDesc "Create a transaction witness") - , subParser - "assemble" - ( Opt.info pTransactionAssembleTxBodyWit $ - Opt.progDesc "Assemble a tx body and witness(es) to form a transaction" - ) - , pSignWitnessBackwardCompatible - , subParser - "submit" - ( Opt.info pTransactionSubmit . Opt.progDesc $ - mconcat - [ "Submit a transaction to the local node whose Unix domain socket " - , "is obtained from the CARDANO_NODE_SOCKET_PATH environment variable." - ] - ) - , subParser - "policyid" - ( Opt.info pTransactionPolicyId $ - Opt.progDesc "Calculate the PolicyId from the monetary policy script." - ) - , subParser - "calculate-min-fee" - (Opt.info pTransactionCalculateMinFee $ Opt.progDesc "Calculate the minimum fee for a transaction.") - , subParser - "calculate-min-required-utxo" - ( Opt.info pTransactionCalculateMinReqUTxO $ - Opt.progDesc "Calculate the minimum required UTxO for a transaction output." - ) - , pCalculateMinRequiredUtxoBackwardCompatible - , subParser - "hash-script-data" - (Opt.info pTxHashScriptData $ Opt.progDesc "Calculate the hash of script data.") - , subParser - "txid" - (Opt.info pTransactionId $ Opt.progDesc "Print a transaction identifier.") - ] - where - -- Backwards compatible parsers - calcMinValueInfo :: ParserInfo LegacyTransactionCmds - calcMinValueInfo = - Opt.info pTransactionCalculateMinReqUTxO $ - Opt.progDesc "DEPRECATED: Use 'calculate-min-required-utxo' instead." - - pCalculateMinRequiredUtxoBackwardCompatible :: Parser LegacyTransactionCmds - pCalculateMinRequiredUtxoBackwardCompatible = - Opt.subparser $ - Opt.command "calculate-min-value" calcMinValueInfo <> Opt.internal - - assembleInfo :: ParserInfo LegacyTransactionCmds - assembleInfo = - Opt.info pTransactionAssembleTxBodyWit $ - Opt.progDesc "Assemble a tx body and witness(es) to form a transaction" - - pSignWitnessBackwardCompatible :: Parser LegacyTransactionCmds - pSignWitnessBackwardCompatible = - Opt.subparser $ - Opt.command "sign-witness" assembleInfo <> Opt.internal - - pScriptValidity :: Parser ScriptValidity - pScriptValidity = - asum - [ Opt.flag' ScriptValid $ - mconcat - [ Opt.long "script-valid" - , Opt.help "Assertion that the script is valid. (default)" - ] - , Opt.flag' ScriptInvalid $ - mconcat - [ Opt.long "script-invalid" - , Opt.help $ - mconcat - [ "Assertion that the script is invalid. " - , "If a transaction is submitted with such a script, " - , "the script will fail and the collateral will be taken." - ] - ] ] - pTransactionBuild :: Parser LegacyTransactionCmds - pTransactionBuild = - TransactionBuildCmd - <$> pSocketPath envCli - <*> pEra envCli - <*> pConsensusModeParams - <*> pNetworkId envCli - <*> optional pScriptValidity - <*> optional pWitnessOverride - <*> some (pTxIn ShelleyBasedEraConway AutoBalance) - <*> many pReadOnlyReferenceTxIn - <*> many pRequiredSigner - <*> many pTxInCollateral - <*> optional pReturnCollateral - <*> optional pTotalCollateral - <*> many pTxOut - <*> pChangeAddress - <*> optional (pMintMultiAsset ShelleyBasedEraConway AutoBalance) - <*> optional pInvalidBefore - <*> optional pLegacyInvalidHereafter - <*> many (pCertificateFile ShelleyBasedEraConway AutoBalance) - <*> many (pWithdrawal ShelleyBasedEraConway AutoBalance) - <*> pTxMetadataJsonSchema - <*> many - ( pScriptFor - "auxiliary-script-file" - Nothing - "Filepath of auxiliary script(s)" - ) - <*> many pMetadataFile - <*> optional pUpdateProposalFile - <*> pVoteFiles ShelleyBasedEraConway AutoBalance - <*> pProposalFiles ShelleyBasedEraConway AutoBalance - <*> pTreasuryDonation ShelleyBasedEraConway - <*> pTxBuildOutputOptions - - pChangeAddress :: Parser TxOutChangeAddress - pChangeAddress = - fmap TxOutChangeAddress $ - Opt.option (readerFromParsecParser parseAddressAny) $ - mconcat - [ Opt.long "change-address" - , Opt.metavar "ADDRESS" - , Opt.help "Address where ADA in excess of the tx fee will go to." - ] - - pTransactionBuildRaw :: Parser LegacyTransactionCmds - pTransactionBuildRaw = - TransactionBuildRawCmd - <$> pLegacyCardanoEra envCli - <*> optional pScriptValidity - <*> some (pTxIn ShelleyBasedEraConway ManualBalance) - <*> many pReadOnlyReferenceTxIn - <*> many pTxInCollateral - <*> optional pReturnCollateral - <*> optional pTotalCollateral - <*> many pRequiredSigner - <*> many pTxOut - <*> optional (pMintMultiAsset ShelleyBasedEraConway ManualBalance) - <*> optional pInvalidBefore - <*> optional pLegacyInvalidHereafter - <*> pTxFee - <*> many (pCertificateFile ShelleyBasedEraConway ManualBalance) - <*> many (pWithdrawal ShelleyBasedEraConway ManualBalance) - <*> pTxMetadataJsonSchema - <*> many (pScriptFor "auxiliary-script-file" Nothing "Filepath of auxiliary script(s)") - <*> many pMetadataFile - <*> optional pProtocolParamsFile - <*> optional pUpdateProposalFile - <*> pTxBodyFileOut - - pTransactionSign :: Parser LegacyTransactionCmds - pTransactionSign = - TransactionSignCmd - <$> pInputTxOrTxBodyFile - <*> many pWitnessSigningData - <*> optional (pNetworkId envCli) - <*> pTxFileOut - - pTransactionCreateWitness :: Parser LegacyTransactionCmds - pTransactionCreateWitness = - TransactionWitnessCmd - <$> pTxBodyFileIn - <*> pWitnessSigningData - <*> optional (pNetworkId envCli) - <*> pOutputFile - - pTransactionAssembleTxBodyWit :: Parser LegacyTransactionCmds - pTransactionAssembleTxBodyWit = - TransactionSignWitnessCmd - <$> pTxBodyFileIn - <*> many pWitnessFile - <*> pOutputFile - - pTransactionSubmit :: Parser LegacyTransactionCmds - pTransactionSubmit = - TransactionSubmitCmd - <$> pSocketPath envCli - <*> pConsensusModeParams - <*> pNetworkId envCli - <*> pTxSubmitFile - - pTransactionPolicyId :: Parser LegacyTransactionCmds - pTransactionPolicyId = - TransactionPolicyIdCmd - <$> pScript - - pTransactionCalculateMinFee :: Parser LegacyTransactionCmds - pTransactionCalculateMinFee = - TransactionCalculateMinFeeCmd - <$> pTxBodyFileIn - <*> pProtocolParamsFile - <*> pTxShelleyWitnessCount - <*> pTxByronWitnessCount - <*> pReferenceScriptSize - <*> (optional $ pOutputFormatJsonOrText "calculate-min-fee") - <*> optional pOutputFile - -- Deprecated options: - <* optional pNetworkIdDeprecated - <* optional pTxInCountDeprecated - <* optional pTxOutCountDeprecated - - pTransactionCalculateMinReqUTxO :: Parser LegacyTransactionCmds - pTransactionCalculateMinReqUTxO = - TransactionCalculateMinValueCmd - <$> pAnyShelleyBasedEra envCli - <*> pProtocolParamsFile - <*> pTxOutShelleyBased - - pTxHashScriptData :: Parser LegacyTransactionCmds - pTxHashScriptData = - fmap TransactionHashScriptDataCmd $ - pScriptDataOrFile - "script-data" - "The script data." - "The script data file." - - pTransactionId :: Parser LegacyTransactionCmds - pTransactionId = - TransactionTxIdCmd - <$> pInputTxOrTxBodyFile - -pNodeCmds :: Parser LegacyNodeCmds -pNodeCmds = - asum - [ subParser "key-gen" . Opt.info pKeyGenOperator . Opt.progDesc $ - mconcat - [ "Create a key pair for a node operator's offline " - , "key and a new certificate issue counter" - ] - , subParser "key-gen-KES" . Opt.info pKeyGenKES . Opt.progDesc $ - mconcat - [ "Create a key pair for a node KES operational key" - ] - , subParser "key-gen-VRF" . Opt.info pKeyGenVRF . Opt.progDesc $ - mconcat - [ "Create a key pair for a node VRF operational key" - ] - , subParser "key-hash-VRF" . Opt.info pKeyHashVRF . Opt.progDesc $ - mconcat - [ "Print hash of a node's operational VRF key." - ] - , subParser "new-counter" . Opt.info pNewCounter . Opt.progDesc $ - mconcat - [ "Create a new certificate issue counter" - ] - , subParser "issue-op-cert" . Opt.info pIssueOpCert . Opt.progDesc $ - mconcat - [ "Issue a node operational certificate" - ] - ] - where - pKeyGenOperator :: Parser LegacyNodeCmds - pKeyGenOperator = - fmap Cmd.LegacyNodeKeyGenColdCmd $ - Cmd.NodeKeyGenColdCmdArgs - <$> pKeyOutputFormat - <*> pColdVerificationKeyFile - <*> pColdSigningKeyFile - <*> pOperatorCertIssueCounterFile - - pKeyGenKES :: Parser LegacyNodeCmds - pKeyGenKES = - fmap Cmd.LegacyNodeKeyGenKESCmd $ - Cmd.NodeKeyGenKESCmdArgs - <$> pKeyOutputFormat - <*> pVerificationKeyFileOut - <*> pSigningKeyFileOut - - pKeyGenVRF :: Parser LegacyNodeCmds - pKeyGenVRF = - fmap Cmd.LegacyNodeKeyGenVRFCmd $ - Cmd.NodeKeyGenVRFCmdArgs - <$> pKeyOutputFormat - <*> pVerificationKeyFileOut - <*> pSigningKeyFileOut - - pKeyHashVRF :: Parser LegacyNodeCmds - pKeyHashVRF = - fmap Cmd.LegacyNodeKeyHashVRFCmd $ - Cmd.NodeKeyHashVRFCmdArgs - <$> pVerificationKeyOrFileIn AsVrfKey - <*> pMaybeOutputFile - - pNewCounter :: Parser LegacyNodeCmds - pNewCounter = - fmap Cmd.LegacyNodeNewCounterCmd $ - Cmd.NodeNewCounterCmdArgs - <$> pColdVerificationKeyOrFile Nothing - <*> pCounterValue - <*> pOperatorCertIssueCounterFile - - pCounterValue :: Parser Word - pCounterValue = - Opt.option integralReader $ - mconcat - [ Opt.long "counter-value" - , Opt.metavar "INT" - , Opt.help "The next certificate issue counter value to use." - ] - - pIssueOpCert :: Parser LegacyNodeCmds - pIssueOpCert = - fmap Cmd.LegacyNodeIssueOpCertCmd $ - Cmd.NodeIssueOpCertCmdArgs - <$> pKesVerificationKeyOrFile - <*> pColdSigningKeyFile - <*> pOperatorCertIssueCounterFile - <*> pKesPeriod - <*> pOutputFile - -pStakePoolCmds :: EnvCli -> Parser LegacyStakePoolCmds -pStakePoolCmds envCli = - asum - [ subParser "registration-certificate" $ - Opt.info (pStakePoolRegistrationCertificiateCmd envCli) $ - Opt.progDesc "Create a stake pool registration certificate" - , subParser "deregistration-certificate" $ - Opt.info (pStakePoolDeregistrationCertificateCmd envCli) $ - Opt.progDesc "Create a stake pool deregistration certificate" - , subParser "id" $ - Opt.info pStakePoolId $ - Opt.progDesc "Build pool id from the offline key" - , subParser "metadata-hash" $ - Opt.info pStakePoolMetadataHashCmd $ - Opt.progDesc "Print the hash of pool metadata." - ] - where - pStakePoolId :: Parser LegacyStakePoolCmds - pStakePoolId = - StakePoolIdCmd - <$> pStakePoolVerificationKeyOrFile Nothing - <*> pPoolIdOutputFormat - <*> pMaybeOutputFile - - pStakePoolMetadataHashCmd :: Parser LegacyStakePoolCmds - pStakePoolMetadataHashCmd = - StakePoolMetadataHashCmd - <$> pPoolMetadataFile - <*> pMaybeOutputFile - -pQueryCmds :: EnvCli -> Parser LegacyQueryCmds -pQueryCmds envCli = - asum - [ subParser "protocol-parameters" $ - Opt.info pQueryProtocolParameters $ - Opt.progDesc "Get the node's current protocol parameters" - , subParser "tip" $ - Opt.info pQueryTip $ - Opt.progDesc "Get the node's current tip (slot no, hash, block no)" - , subParser "stake-pools" $ - Opt.info pQueryStakePools $ - Opt.progDesc "Get the node's current set of stake pool ids" - , subParser "stake-distribution" $ - Opt.info pQueryStakeDistribution $ - Opt.progDesc "Get the node's current aggregated stake distribution" - , subParser "stake-address-info" $ - Opt.info pQueryStakeAddressInfo $ - Opt.progDesc $ - mconcat - [ "Get the current delegations and reward accounts filtered by stake address." - ] - , subParser "utxo" $ - Opt.info pQueryUTxO $ - Opt.progDesc $ - mconcat - [ "Get a portion of the current UTxO: by tx in, by address or the whole." - ] - , subParser "ledger-state" $ - Opt.info pQueryLedgerState $ - Opt.progDesc $ - mconcat - [ "Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command)" - ] - , subParser "protocol-state" $ - Opt.info pQueryProtocolState $ - Opt.progDesc $ - mconcat - [ "Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command)" - ] - , subParser "stake-snapshot" $ - Opt.info pQueryStakeSnapshot $ - Opt.progDesc $ - mconcat - [ "Obtain the three stake snapshots for a pool, plus the total active stake (advanced command)" - ] - , hiddenSubParser "pool-params" $ - Opt.info pQueryPoolState $ - Opt.progDesc $ - mconcat - [ "DEPRECATED. Use query pool-state instead. Dump the pool parameters " - , "(Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced command)" - ] - , subParser "leadership-schedule" $ - Opt.info pLeadershipSchedule $ - Opt.progDesc "Get the slots the node is expected to mint a block in (advanced command)" - , subParser "kes-period-info" $ - Opt.info pKesPeriodInfo $ - Opt.progDesc "Get information about the current KES period and your node's operational certificate." - , subParser "pool-state" $ - Opt.info pQueryPoolState $ - Opt.progDesc "Dump the pool state" - , subParser "tx-mempool" $ - Opt.info pQueryTxMempool $ - Opt.progDesc "Local Mempool info" - , subParser "slot-number" $ - Opt.info pQuerySlotNumber $ - Opt.progDesc "Query slot number for UTC timestamp" - ] - where - pQueryProtocolParameters :: Parser LegacyQueryCmds - pQueryProtocolParameters = - fmap QueryProtocolParametersCmd $ - LegacyQueryProtocolParametersCmdArgs - <$> pSocketPath envCli - <*> pConsensusModeParams - <*> pNetworkId envCli - <*> pMaybeOutputFile - - pQueryTip :: Parser LegacyQueryCmds - pQueryTip = - fmap QueryTipCmd $ - LegacyQueryTipCmdArgs - <$> pSocketPath envCli - <*> pConsensusModeParams - <*> pNetworkId envCli - <*> pMaybeOutputFile - - pQueryUTxO :: Parser LegacyQueryCmds - pQueryUTxO = - fmap QueryUTxOCmd $ - LegacyQueryUTxOCmdArgs - <$> pSocketPath envCli - <*> pConsensusModeParams - <*> pQueryUTxOFilter - <*> pNetworkId envCli - <*> (optional $ pOutputFormatJsonOrText "utxo") - <*> pMaybeOutputFile - - pQueryStakePools :: Parser LegacyQueryCmds - pQueryStakePools = - fmap QueryStakePoolsCmd $ - LegacyQueryStakePoolsCmdArgs - <$> pSocketPath envCli - <*> pConsensusModeParams - <*> pNetworkId envCli - <*> (optional $ pOutputFormatJsonOrText "stake-pools") - <*> pMaybeOutputFile - - pQueryStakeDistribution :: Parser LegacyQueryCmds - pQueryStakeDistribution = - fmap QueryStakeDistributionCmd $ - LegacyQueryStakeDistributionCmdArgs - <$> pSocketPath envCli - <*> pConsensusModeParams - <*> pNetworkId envCli - <*> (optional $ pOutputFormatJsonOrText "stake-distribution") - <*> pMaybeOutputFile - - pQueryStakeAddressInfo :: Parser LegacyQueryCmds - pQueryStakeAddressInfo = - fmap QueryStakeAddressInfoCmd $ - LegacyQueryStakeAddressInfoCmdArgs - <$> pSocketPath envCli - <*> pConsensusModeParams - <*> pFilterByStakeAddress - <*> pNetworkId envCli - <*> pMaybeOutputFile - - pQueryLedgerState :: Parser LegacyQueryCmds - pQueryLedgerState = - fmap QueryLedgerStateCmd $ - LegacyQueryLedgerStateCmdArgs - <$> pSocketPath envCli - <*> pConsensusModeParams - <*> pNetworkId envCli - <*> pMaybeOutputFile - - pQueryProtocolState :: Parser LegacyQueryCmds - pQueryProtocolState = - fmap QueryProtocolStateCmd $ - LegacyQueryProtocolStateCmdArgs - <$> pSocketPath envCli - <*> pConsensusModeParams - <*> pNetworkId envCli - <*> pMaybeOutputFile - - pAllStakePoolsOrOnly :: Parser (AllOrOnly (Hash StakePoolKey)) - pAllStakePoolsOrOnly = pAll <|> pOnly - where - pAll :: Parser (AllOrOnly (Hash StakePoolKey)) - pAll = - Opt.flag' All $ - mconcat - [ Opt.long "all-stake-pools" - , Opt.help "Query for all stake pools" - ] - pOnly :: Parser (AllOrOnly (Hash StakePoolKey)) - pOnly = Only <$> some (pStakePoolVerificationKeyHash Nothing) - - pQueryStakeSnapshot :: Parser LegacyQueryCmds - pQueryStakeSnapshot = - fmap QueryStakeSnapshotCmd $ - LegacyQueryStakeSnapshotCmdArgs - <$> pSocketPath envCli - <*> pConsensusModeParams - <*> pNetworkId envCli - <*> pAllStakePoolsOrOnly - <*> pMaybeOutputFile - - pQueryPoolState :: Parser LegacyQueryCmds - pQueryPoolState = - fmap QueryPoolStateCmd $ - LegacyQueryPoolStateCmdArgs - <$> pSocketPath envCli - <*> pConsensusModeParams - <*> pNetworkId envCli - <*> pAllStakePoolsOrOnly - <*> pMaybeOutputFile - - pQueryTxMempool :: Parser LegacyQueryCmds - pQueryTxMempool = - fmap QueryTxMempoolCmd $ - LegacyQueryTxMempoolCmdArgs - <$> pSocketPath envCli - <*> pConsensusModeParams - <*> pNetworkId envCli - <*> pTxMempoolQuery - <*> pMaybeOutputFile - where - pTxMempoolQuery :: Parser TxMempoolQuery - pTxMempoolQuery = - asum - [ subParser "info" $ - Opt.info (pure TxMempoolQueryInfo) $ - Opt.progDesc "Ask the node about the current mempool's capacity and sizes" - , subParser "next-tx" $ - Opt.info (pure TxMempoolQueryNextTx) $ - Opt.progDesc "Requests the next transaction from the mempool's current list" - , subParser "tx-exists" $ - Opt.info (TxMempoolQueryTxExists <$> argument Opt.str (metavar "TX_ID")) $ - Opt.progDesc "Query if a particular transaction exists in the mempool" - ] - pLeadershipSchedule :: Parser LegacyQueryCmds - pLeadershipSchedule = - fmap QueryLeadershipScheduleCmd $ - LegacyQueryLeadershipScheduleCmdArgs - <$> pSocketPath envCli - <*> pConsensusModeParams - <*> pNetworkId envCli - <*> pGenesisFile "Shelley genesis filepath" - <*> pStakePoolVerificationKeyOrHashOrFile Nothing - <*> pVrfSigningKeyFile - <*> pWhichLeadershipSchedule - <*> (optional $ pOutputFormatJsonOrText "leadership-schedule") - <*> pMaybeOutputFile - - pKesPeriodInfo :: Parser LegacyQueryCmds - pKesPeriodInfo = - fmap QueryKesPeriodInfoCmd $ - LegacyQueryKesPeriodInfoCmdArgs - <$> pSocketPath envCli - <*> pConsensusModeParams - <*> pNetworkId envCli - <*> pOperationalCertificateFile - <*> pMaybeOutputFile - - pQuerySlotNumber :: Parser LegacyQueryCmds - pQuerySlotNumber = - fmap QuerySlotNumberCmd $ - LegacyQuerySlotNumberCmdArgs - <$> pSocketPath envCli - <*> pConsensusModeParams - <*> pNetworkId envCli - <*> pUtcTimestamp - where - pUtcTimestamp = - convertTime - <$> (Opt.strArgument . mconcat) - [ Opt.metavar "TIMESTAMP" - , Opt.help "UTC timestamp in YYYY-MM-DDThh:mm:ssZ format" - ] - --- TODO: Conway era - move to Cardano.CLI.Conway.Parsers pGovernanceCmds :: EnvCli -> Parser LegacyGovernanceCmds pGovernanceCmds envCli = asum @@ -859,15 +72,6 @@ pGovernanceCmds envCli = , subParser "create-update-proposal" $ Opt.info pUpdateProposal $ Opt.progDesc "Create an update proposal" - , subParser "create-poll" $ - Opt.info pGovernanceCreatePoll $ - Opt.progDesc "Create an SPO poll" - , subParser "answer-poll" $ - Opt.info pGovernanceAnswerPoll $ - Opt.progDesc "Answer an SPO poll" - , subParser "verify-poll" $ - Opt.info pGovernanceVerifyPoll $ - Opt.progDesc "Verify an answer to a given SPO poll" ] where mirCertParsers :: Parser LegacyGovernanceCmds @@ -925,28 +129,6 @@ pGovernanceCmds envCli = <*> pProtocolParametersUpdate <*> optional pCostModels - pGovernanceCreatePoll :: Parser LegacyGovernanceCmds - pGovernanceCreatePoll = - GovernanceCreatePoll - <$> pPollQuestion - <*> some pPollAnswer - <*> optional pPollNonce - <*> pOutputFile - - pGovernanceAnswerPoll :: Parser LegacyGovernanceCmds - pGovernanceAnswerPoll = - GovernanceAnswerPoll - <$> pPollFile - <*> optional pPollAnswerIndex - <*> optional pOutputFile - - pGovernanceVerifyPoll :: Parser LegacyGovernanceCmds - pGovernanceVerifyPoll = - GovernanceVerifyPoll - <$> pPollFile - <*> pPollTxFile - <*> optional pOutputFile - pGenesisCmds :: EnvCli -> Parser LegacyGenesisCmds pGenesisCmds envCli = asum @@ -1258,30 +440,6 @@ pGenesisCmds envCli = , Opt.value 0 ] -pStakePoolRegistrationCertificiateCmd :: EnvCli -> Parser LegacyStakePoolCmds -pStakePoolRegistrationCertificiateCmd envCli = - StakePoolRegistrationCertificateCmd - <$> pAnyShelleyBasedEra envCli - <*> pStakePoolVerificationKeyOrFile Nothing - <*> pVrfVerificationKeyOrFile - <*> pPoolPledge - <*> pPoolCost - <*> pPoolMargin - <*> pRewardAcctVerificationKeyOrFile - <*> some pPoolOwnerVerificationKeyOrFile - <*> many pPoolRelay - <*> pStakePoolMetadataReference - <*> pNetworkId envCli - <*> pOutputFile - -pStakePoolDeregistrationCertificateCmd :: EnvCli -> Parser LegacyStakePoolCmds -pStakePoolDeregistrationCertificateCmd envCli = - StakePoolDeregistrationCertificateCmd - <$> pAnyShelleyBasedEra envCli - <*> pStakePoolVerificationKeyOrFile Nothing - <*> pEpochNo "The epoch number." - <*> pOutputFile - pLegacyCardanoEra :: EnvCli -> Parser AnyCardanoEra pLegacyCardanoEra envCli = asum $ diff --git a/cardano-cli/src/Cardano/CLI/Options.hs b/cardano-cli/src/Cardano/CLI/Options.hs index 6522e4d48d..a320a5b705 100644 --- a/cardano-cli/src/Cardano/CLI/Options.hs +++ b/cardano-cli/src/Cardano/CLI/Options.hs @@ -9,8 +9,6 @@ module Cardano.CLI.Options ) where -import Cardano.Api (ShelleyBasedEra (..)) - import Cardano.CLI.Byron.Parsers (backwardsCompatibilityCommands, parseByronCommands) import Cardano.CLI.Environment (EnvCli) import Cardano.CLI.EraBased.Commands @@ -57,8 +55,6 @@ parseClientCommand envCli = -- so we list it first. [ parseAnyEra envCli , parseLegacy envCli - , -- , parseTopLevelLatest envCli -- TODO restore this when the governance command group is fully operational - parseTopLevelLegacy envCli , parseByron envCli , parseHash , parsePing @@ -95,14 +91,6 @@ parseLegacy envCli = Opt.info (LegacyCmds <$> parseLegacyCmds envCli) $ Opt.progDesc ("Legacy commands" <> deprecationText) -_parseTopLevelLatest :: EnvCli -> Parser ClientCommand -_parseTopLevelLatest envCli = - AnyEraCommand . AnyEraCommandOf ShelleyBasedEraBabbage <$> pCmds ShelleyBasedEraBabbage envCli - --- | Parse Legacy commands at the top level of the CLI. -parseTopLevelLegacy :: EnvCli -> Parser ClientCommand -parseTopLevelLegacy envCli = LegacyCmds <$> parseLegacyCmds envCli - -- | Parse Legacy commands at the top level of the CLI. -- Yes! A --version flag or version command. Either guess is right! parseDisplayVersion :: ParserInfo a -> Parser ClientCommand diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs index 986cfe017f..a122f5b3bb 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs @@ -45,15 +45,15 @@ hprop_golden_governance_action_create_constitution = exampleAnchorDataHash2 tempDir -base_golden_governance_action_create_constitution - :: (MonadBaseControl IO m, MonadTest m, MonadIO m, MonadCatch m) - => String - -> String - -> FilePath - -> m () -base_golden_governance_action_create_constitution hash1 hash2 tempDir = do - stakeAddressVKeyFile <- noteTempFile tempDir "stake-address.vkey" - stakeAddressSKeyFile <- noteTempFile tempDir "stake-address.skey" + void $ + execCardanoCLI + [ "stake-address" + , "key-gen" + , "--verification-key-file" + , stakeAddressVKeyFile + , "--signing-key-file" + , stakeAddressSKeyFile + ] void $ execCardanoCLI From 4b46619162e1b96200746435c76fbd8267476e9e Mon Sep 17 00:00:00 2001 From: Jordan Millar Date: Thu, 19 Sep 2024 18:32:48 -0400 Subject: [PATCH 2/7] Remove unneeded legacy commands --- .../src/Cardano/CLI/EraBased/Commands.hs | 4 +-- .../Cardano/CLI/EraBased/Options/Common.hs | 4 +++ .../src/Cardano/CLI/Legacy/Commands.hs | 34 +------------------ cardano-cli/src/Cardano/CLI/Legacy/Options.hs | 2 +- cardano-cli/src/Cardano/CLI/Legacy/Run.hs | 16 --------- cardano-cli/src/Cardano/CLI/Options.hs | 6 ++++ 6 files changed, 13 insertions(+), 53 deletions(-) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs b/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs index 9eef867729..35061ac90b 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs @@ -109,9 +109,7 @@ pAnyEraCommand envCli = Opt.progDesc "Conway era commands" , subParser "latest" $ Opt.info (AnyEraCommandOf ShelleyBasedEraConway <$> pCmds ShelleyBasedEraConway envCli) $ - Opt.progDesc ("Latest era commands (Babbage)" <> deprecationText) - , -- Default to Conway era - AnyEraCommandOf ShelleyBasedEraConway <$> pCmds ShelleyBasedEraConway envCli + Opt.progDesc ("Latest era commands (Conway)" <> deprecationText) ] pCmds :: ShelleyBasedEra era -> EnvCli -> Parser (Cmds era) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs index a4c5cf2aa6..fecf70f856 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs @@ -361,6 +361,10 @@ subParser :: String -> ParserInfo a -> Parser a subParser availableCommand pInfo = Opt.hsubparser $ Opt.command availableCommand pInfo <> Opt.metavar availableCommand +subParserWithDefault :: a -> String -> ParserInfo a -> Parser a +subParserWithDefault def availableCommand pInfo = + subParser availableCommand pInfo <|> pure def + subInfoParser :: String -> InfoMod a -> [Maybe (Parser a)] -> Maybe (Parser a) subInfoParser name i mps = case catMaybes mps of [] -> Nothing diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Commands.hs b/cardano-cli/src/Cardano/CLI/Legacy/Commands.hs index 9197893bb3..f536c95dba 100644 --- a/cardano-cli/src/Cardano/CLI/Legacy/Commands.hs +++ b/cardano-cli/src/Cardano/CLI/Legacy/Commands.hs @@ -6,50 +6,18 @@ module Cardano.CLI.Legacy.Commands ) where -import Cardano.CLI.Legacy.Commands.Address import Cardano.CLI.Legacy.Commands.Genesis import Cardano.CLI.Legacy.Commands.Governance -import Cardano.CLI.Legacy.Commands.Key -import Cardano.CLI.Legacy.Commands.Node -import Cardano.CLI.Legacy.Commands.Query -import Cardano.CLI.Legacy.Commands.StakeAddress -import Cardano.CLI.Legacy.Commands.StakePool -import Cardano.CLI.Legacy.Commands.TextView -import Cardano.CLI.Legacy.Commands.Transaction import Data.Text (Text) data LegacyCmds - = LegacyAddressCmds LegacyAddressCmds - | LegacyGenesisCmds LegacyGenesisCmds + = LegacyGenesisCmds LegacyGenesisCmds | LegacyGovernanceCmds LegacyGovernanceCmds - | LegacyKeyCmds LegacyKeyCmds - | LegacyNodeCmds LegacyNodeCmds - | LegacyQueryCmds LegacyQueryCmds - | LegacyStakeAddressCmds LegacyStakeAddressCmds - | LegacyStakePoolCmds LegacyStakePoolCmds - | LegacyTextViewCmds LegacyTextViewCmds - | LegacyTransactionCmds LegacyTransactionCmds renderLegacyCommand :: LegacyCmds -> Text renderLegacyCommand = \case - LegacyAddressCmds cmd -> - renderLegacyAddressCmds cmd - LegacyStakeAddressCmds cmd -> - renderLegacyStakeAddressCmds cmd - LegacyKeyCmds cmd -> - renderLegacyKeyCmds cmd - LegacyTransactionCmds cmd -> - renderLegacyTransactionCmds cmd - LegacyNodeCmds cmd -> - renderLegacyNodeCmds cmd - LegacyStakePoolCmds cmd -> - renderLegacyStakePoolCmds cmd - LegacyQueryCmds cmd -> - renderLegacyQueryCmds cmd LegacyGovernanceCmds cmd -> renderLegacyGovernanceCmds cmd LegacyGenesisCmds cmd -> renderLegacyGenesisCmds cmd - LegacyTextViewCmds cmd -> - renderLegacyTextViewCmds cmd diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs index 35932fe886..15ecdce68b 100644 --- a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs +++ b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs @@ -34,7 +34,7 @@ import Cardano.CLI.Parser import Cardano.CLI.Types.Common import Data.Foldable -import Data.Maybe (fromMaybe, maybeToList) +import Data.Maybe (fromMaybe) import Data.Word (Word64) import Options.Applicative hiding (help, str) import qualified Options.Applicative as Opt diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Run.hs b/cardano-cli/src/Cardano/CLI/Legacy/Run.hs index 3337c7bcd0..857b55f8c4 100644 --- a/cardano-cli/src/Cardano/CLI/Legacy/Run.hs +++ b/cardano-cli/src/Cardano/CLI/Legacy/Run.hs @@ -6,16 +6,8 @@ module Cardano.CLI.Legacy.Run where import Cardano.CLI.Legacy.Options -import Cardano.CLI.Legacy.Run.Address import Cardano.CLI.Legacy.Run.Genesis import Cardano.CLI.Legacy.Run.Governance -import Cardano.CLI.Legacy.Run.Key -import Cardano.CLI.Legacy.Run.Node -import Cardano.CLI.Legacy.Run.Query -import Cardano.CLI.Legacy.Run.StakeAddress -import Cardano.CLI.Legacy.Run.StakePool -import Cardano.CLI.Legacy.Run.TextView -import Cardano.CLI.Legacy.Run.Transaction import Cardano.CLI.Types.Errors.CmdError import Control.Monad.Trans.Except (ExceptT) @@ -23,13 +15,5 @@ import Control.Monad.Trans.Except.Extra (firstExceptT) runLegacyCmds :: LegacyCmds -> ExceptT CmdError IO () runLegacyCmds = \case - LegacyAddressCmds cmd -> firstExceptT CmdAddressError $ runLegacyAddressCmds cmd LegacyGenesisCmds cmd -> firstExceptT CmdGenesisError $ runLegacyGenesisCmds cmd LegacyGovernanceCmds cmd -> firstExceptT CmdGovernanceCmdError $ runLegacyGovernanceCmds cmd - LegacyKeyCmds cmd -> firstExceptT CmdKeyError $ runLegacyKeyCmds cmd - LegacyNodeCmds cmd -> firstExceptT CmdNodeError $ runLegacyNodeCmds cmd - LegacyQueryCmds cmd -> firstExceptT CmdQueryError $ runLegacyQueryCmds cmd - LegacyStakeAddressCmds cmd -> firstExceptT CmdStakeAddressError $ runLegacyStakeAddressCmds cmd - LegacyStakePoolCmds cmd -> firstExceptT CmdStakePoolError $ runLegacyStakePoolCmds cmd - LegacyTextViewCmds cmd -> firstExceptT CmdTextViewError $ runLegacyTextViewCmds cmd - LegacyTransactionCmds cmd -> firstExceptT CmdTransactionError $ runLegacyTransactionCmds cmd diff --git a/cardano-cli/src/Cardano/CLI/Options.hs b/cardano-cli/src/Cardano/CLI/Options.hs index a320a5b705..4f71e2ef39 100644 --- a/cardano-cli/src/Cardano/CLI/Options.hs +++ b/cardano-cli/src/Cardano/CLI/Options.hs @@ -9,6 +9,8 @@ module Cardano.CLI.Options ) where +import Cardano.Api (ShelleyBasedEra (..)) + import Cardano.CLI.Byron.Parsers (backwardsCompatibilityCommands, parseByronCommands) import Cardano.CLI.Environment (EnvCli) import Cardano.CLI.EraBased.Commands @@ -62,6 +64,10 @@ parseClientCommand envCli = , backwardsCompatibilityCommands envCli , parseDisplayVersion (opts envCli) ] + <|> defaultParser envCli + +defaultParser :: EnvCli -> Parser ClientCommand +defaultParser envCli = fmap (AnyEraCommand . AnyEraCommandOf ShelleyBasedEraConway) (pCmds ShelleyBasedEraConway envCli) parseByron :: EnvCli -> Parser ClientCommand parseByron mNetworkId = From 917f2e7367c3d6d297470d79546eb76fe82c2df2 Mon Sep 17 00:00:00 2001 From: Jordan Millar Date: Fri, 20 Sep 2024 09:36:45 -0400 Subject: [PATCH 3/7] Modification of top level cli parser. Probably needs to be merged with an earlier commit --- cardano-cli/src/Cardano/CLI/EraBased/Commands.hs | 2 +- .../src/Cardano/CLI/EraBased/Options/Common.hs | 4 ---- cardano-cli/src/Cardano/CLI/Options.hs | 12 +++--------- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs b/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs index 35061ac90b..eee5699f31 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Commands.hs @@ -109,7 +109,7 @@ pAnyEraCommand envCli = Opt.progDesc "Conway era commands" , subParser "latest" $ Opt.info (AnyEraCommandOf ShelleyBasedEraConway <$> pCmds ShelleyBasedEraConway envCli) $ - Opt.progDesc ("Latest era commands (Conway)" <> deprecationText) + Opt.progDesc "Latest era commands (Conway)" ] pCmds :: ShelleyBasedEra era -> EnvCli -> Parser (Cmds era) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs index fecf70f856..a4c5cf2aa6 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs @@ -361,10 +361,6 @@ subParser :: String -> ParserInfo a -> Parser a subParser availableCommand pInfo = Opt.hsubparser $ Opt.command availableCommand pInfo <> Opt.metavar availableCommand -subParserWithDefault :: a -> String -> ParserInfo a -> Parser a -subParserWithDefault def availableCommand pInfo = - subParser availableCommand pInfo <|> pure def - subInfoParser :: String -> InfoMod a -> [Maybe (Parser a)] -> Maybe (Parser a) subInfoParser name i mps = case catMaybes mps of [] -> Nothing diff --git a/cardano-cli/src/Cardano/CLI/Options.hs b/cardano-cli/src/Cardano/CLI/Options.hs index 4f71e2ef39..f853faa94d 100644 --- a/cardano-cli/src/Cardano/CLI/Options.hs +++ b/cardano-cli/src/Cardano/CLI/Options.hs @@ -9,8 +9,6 @@ module Cardano.CLI.Options ) where -import Cardano.Api (ShelleyBasedEra (..)) - import Cardano.CLI.Byron.Parsers (backwardsCompatibilityCommands, parseByronCommands) import Cardano.CLI.Environment (EnvCli) import Cardano.CLI.EraBased.Commands @@ -55,19 +53,15 @@ parseClientCommand envCli = -- There are name clashes between Shelley commands and the Byron backwards -- compat commands (e.g. "genesis"), and we need to prefer the Shelley ones -- so we list it first. - [ parseAnyEra envCli - , parseLegacy envCli + [ parseLegacy envCli , parseByron envCli + , parseAnyEra envCli , parseHash , parsePing , parseDebug envCli , backwardsCompatibilityCommands envCli , parseDisplayVersion (opts envCli) ] - <|> defaultParser envCli - -defaultParser :: EnvCli -> Parser ClientCommand -defaultParser envCli = fmap (AnyEraCommand . AnyEraCommandOf ShelleyBasedEraConway) (pCmds ShelleyBasedEraConway envCli) parseByron :: EnvCli -> Parser ClientCommand parseByron mNetworkId = @@ -95,7 +89,7 @@ parseLegacy :: EnvCli -> Parser ClientCommand parseLegacy envCli = subParser "legacy" $ Opt.info (LegacyCmds <$> parseLegacyCmds envCli) $ - Opt.progDesc ("Legacy commands" <> deprecationText) + Opt.progDesc "Legacy commands" -- | Parse Legacy commands at the top level of the CLI. -- Yes! A --version flag or version command. Either guess is right! From ab37c848148c9c545d22465bb15f08c89b4fe124 Mon Sep 17 00:00:00 2001 From: Jordan Millar Date: Fri, 20 Sep 2024 09:38:29 -0400 Subject: [PATCH 4/7] Delete the following legacy modules: - Cardano.CLI.Legacy.Commands.Key - Cardano.CLI.Legacy.Commands.Transaction - Cardano.CLI.Legacy.Commands.Query - Cardano.CLI.Legacy.Commands.TextView - Cardano.CLI.Legacy.Commands.StakePool - Cardano.CLI.Legacy.Commands.StakeAddress - Cardano.CLI.Legacy.Commands.Node - Cardano.CLI.Legacy.Options.Key - Cardano.CLI.Legacy.Commands.Address - Cardano.CLI.Legacy.Run.Transaction - Cardano.CLI.Legacy.Run.TextView - Cardano.CLI.Legacy.Run.StakePool - Cardano.CLI.Legacy.Run.StakeAddress - Cardano.CLI.Legacy.Run.Address - Cardano.CLI.Legacy.Run.Key - Cardano.CLI.Legacy.Run.Node - Cardano.CLI.Legacy.Run.Query --- cardano-cli/cardano-cli.cabal | 17 - .../Cardano/CLI/Legacy/Commands/Address.hs | 43 -- .../src/Cardano/CLI/Legacy/Commands/Key.hs | 55 -- .../src/Cardano/CLI/Legacy/Commands/Node.hs | 30 - .../src/Cardano/CLI/Legacy/Commands/Query.hs | 199 ------- .../CLI/Legacy/Commands/StakeAddress.hs | 57 -- .../Cardano/CLI/Legacy/Commands/StakePool.hs | 70 --- .../Cardano/CLI/Legacy/Commands/TextView.hs | 20 - .../CLI/Legacy/Commands/Transaction.hs | 151 ----- cardano-cli/src/Cardano/CLI/Legacy/Options.hs | 97 --- .../src/Cardano/CLI/Legacy/Options/Key.hs | 265 --------- .../src/Cardano/CLI/Legacy/Run/Address.hs | 68 --- cardano-cli/src/Cardano/CLI/Legacy/Run/Key.hs | 123 ---- .../src/Cardano/CLI/Legacy/Run/Node.hs | 64 -- .../src/Cardano/CLI/Legacy/Run/Query.hs | 150 ----- .../Cardano/CLI/Legacy/Run/StakeAddress.hs | 98 ---- .../src/Cardano/CLI/Legacy/Run/StakePool.hs | 155 ----- .../src/Cardano/CLI/Legacy/Run/TextView.hs | 24 - .../src/Cardano/CLI/Legacy/Run/Transaction.hs | 550 ------------------ 19 files changed, 2236 deletions(-) delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Commands/Address.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Commands/Key.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Commands/Node.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Commands/Query.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Commands/StakeAddress.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Commands/StakePool.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Commands/TextView.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Commands/Transaction.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Options/Key.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Run/Address.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Run/Key.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Run/Node.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Run/Query.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Run/StakeAddress.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Run/StakePool.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Run/TextView.hs delete mode 100644 cardano-cli/src/Cardano/CLI/Legacy/Run/Transaction.hs diff --git a/cardano-cli/cardano-cli.cabal b/cardano-cli/cardano-cli.cabal index 788a98e1c9..9a3be6bdf1 100644 --- a/cardano-cli/cardano-cli.cabal +++ b/cardano-cli/cardano-cli.cabal @@ -121,29 +121,12 @@ library Cardano.CLI.IO.Lazy Cardano.CLI.Json.Friendly Cardano.CLI.Legacy.Commands - Cardano.CLI.Legacy.Commands.Address Cardano.CLI.Legacy.Commands.Genesis Cardano.CLI.Legacy.Commands.Governance - Cardano.CLI.Legacy.Commands.Key - Cardano.CLI.Legacy.Commands.Node - Cardano.CLI.Legacy.Commands.Query - Cardano.CLI.Legacy.Commands.StakeAddress - Cardano.CLI.Legacy.Commands.StakePool - Cardano.CLI.Legacy.Commands.TextView - Cardano.CLI.Legacy.Commands.Transaction Cardano.CLI.Legacy.Options - Cardano.CLI.Legacy.Options.Key Cardano.CLI.Legacy.Run - Cardano.CLI.Legacy.Run.Address Cardano.CLI.Legacy.Run.Genesis Cardano.CLI.Legacy.Run.Governance - Cardano.CLI.Legacy.Run.Key - Cardano.CLI.Legacy.Run.Node - Cardano.CLI.Legacy.Run.Query - Cardano.CLI.Legacy.Run.StakeAddress - Cardano.CLI.Legacy.Run.StakePool - Cardano.CLI.Legacy.Run.TextView - Cardano.CLI.Legacy.Run.Transaction Cardano.CLI.OS.Posix Cardano.CLI.Options Cardano.CLI.Options.Debug diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Commands/Address.hs b/cardano-cli/src/Cardano/CLI/Legacy/Commands/Address.hs deleted file mode 100644 index 30bc8c59fc..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Commands/Address.hs +++ /dev/null @@ -1,43 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE LambdaCase #-} - -module Cardano.CLI.Legacy.Commands.Address - ( LegacyAddressCmds (..) - , renderLegacyAddressCmds - ) -where - -import Cardano.Api.Shelley hiding (QueryInShelleyBasedEra (..)) - -import Cardano.CLI.Types.Common -import Cardano.CLI.Types.Key - -import Prelude - -import Data.Text (Text) - -data LegacyAddressCmds - = AddressKeyGen - KeyOutputFormat - AddressKeyType - (VerificationKeyFile Out) - (SigningKeyFile Out) - | AddressKeyHash - VerificationKeyTextOrFile - (Maybe (File () Out)) - | AddressBuild - PaymentVerifier - (Maybe StakeIdentifier) - NetworkId - (Maybe (File () Out)) - | AddressInfo - Text - (Maybe (File () Out)) - deriving Show - -renderLegacyAddressCmds :: LegacyAddressCmds -> Text -renderLegacyAddressCmds = \case - AddressKeyGen{} -> "address key-gen" - AddressKeyHash{} -> "address key-hash" - AddressBuild{} -> "address build" - AddressInfo{} -> "address info" diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Commands/Key.hs b/cardano-cli/src/Cardano/CLI/Legacy/Commands/Key.hs deleted file mode 100644 index 8614e67490..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Commands/Key.hs +++ /dev/null @@ -1,55 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE LambdaCase #-} - -module Cardano.CLI.Legacy.Commands.Key - ( LegacyKeyCmds (..) - , renderLegacyKeyCmds - ) -where - -import Cardano.Api.Shelley - -import Cardano.CLI.Types.Common - -import Data.Text (Text) - -data LegacyKeyCmds - = KeyVerificationKeyCmd - (SigningKeyFile In) - (VerificationKeyFile Out) - | KeyNonExtendedKeyCmd - (VerificationKeyFile In) - (VerificationKeyFile Out) - | KeyConvertByronKeyCmd - (Maybe Text) - ByronKeyType - (SomeKeyFile In) - (File () Out) - | KeyConvertByronGenesisVKeyCmd - VerificationKeyBase64 - (File () Out) - | KeyConvertITNKeyCmd - (SomeKeyFile In) - (File () Out) - | KeyConvertITNExtendedKeyCmd - (SomeKeyFile In) - (File () Out) - | KeyConvertITNBip32KeyCmd - (SomeKeyFile In) - (File () Out) - | KeyConvertCardanoAddressKeyCmd - CardanoAddressKeyType - (SigningKeyFile In) - (File () Out) - deriving Show - -renderLegacyKeyCmds :: LegacyKeyCmds -> Text -renderLegacyKeyCmds = \case - KeyVerificationKeyCmd{} -> "key verification-key" - KeyNonExtendedKeyCmd{} -> "key non-extended-key" - KeyConvertByronKeyCmd{} -> "key convert-byron-key" - KeyConvertByronGenesisVKeyCmd{} -> "key convert-byron-genesis-vkey" - KeyConvertITNKeyCmd{} -> "key convert-itn-key" - KeyConvertITNExtendedKeyCmd{} -> "key convert-itn-extended-key" - KeyConvertITNBip32KeyCmd{} -> "key convert-itn-bip32-key" - KeyConvertCardanoAddressKeyCmd{} -> "key convert-cardano-address-key" diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Commands/Node.hs b/cardano-cli/src/Cardano/CLI/Legacy/Commands/Node.hs deleted file mode 100644 index 59c9d6f5b3..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Commands/Node.hs +++ /dev/null @@ -1,30 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE LambdaCase #-} - -module Cardano.CLI.Legacy.Commands.Node - ( LegacyNodeCmds (..) - , renderLegacyNodeCmds - ) -where - -import qualified Cardano.CLI.EraBased.Commands.Node as Cmd - -import Data.Text (Text) - -data LegacyNodeCmds - = LegacyNodeKeyGenColdCmd !Cmd.NodeKeyGenColdCmdArgs - | LegacyNodeKeyGenKESCmd !Cmd.NodeKeyGenKESCmdArgs - | LegacyNodeKeyGenVRFCmd !Cmd.NodeKeyGenVRFCmdArgs - | LegacyNodeKeyHashVRFCmd !Cmd.NodeKeyHashVRFCmdArgs - | LegacyNodeNewCounterCmd !Cmd.NodeNewCounterCmdArgs - | LegacyNodeIssueOpCertCmd !Cmd.NodeIssueOpCertCmdArgs - deriving Show - -renderLegacyNodeCmds :: LegacyNodeCmds -> Text -renderLegacyNodeCmds = \case - LegacyNodeKeyGenColdCmd{} -> "node key-gen" - LegacyNodeKeyGenKESCmd{} -> "node key-gen-KES" - LegacyNodeKeyGenVRFCmd{} -> "node key-gen-VRF" - LegacyNodeKeyHashVRFCmd{} -> "node key-hash-VRF" - LegacyNodeNewCounterCmd{} -> "node new-counter" - LegacyNodeIssueOpCertCmd{} -> "node issue-op-cert" diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Commands/Query.hs b/cardano-cli/src/Cardano/CLI/Legacy/Commands/Query.hs deleted file mode 100644 index 94895e55e8..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Commands/Query.hs +++ /dev/null @@ -1,199 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE DeriveGeneric #-} -{-# LANGUAGE DuplicateRecordFields #-} -{-# LANGUAGE LambdaCase #-} - -module Cardano.CLI.Legacy.Commands.Query - ( LegacyQueryCmds (..) - , LegacyQueryLeadershipScheduleCmdArgs (..) - , LegacyQueryProtocolParametersCmdArgs (..) - , LegacyQueryTipCmdArgs (..) - , LegacyQueryStakePoolsCmdArgs (..) - , LegacyQueryStakeDistributionCmdArgs (..) - , LegacyQueryStakeAddressInfoCmdArgs (..) - , LegacyQueryUTxOCmdArgs (..) - , LegacyQueryLedgerStateCmdArgs (..) - , LegacyQueryProtocolStateCmdArgs (..) - , LegacyQueryStakeSnapshotCmdArgs (..) - , LegacyQueryKesPeriodInfoCmdArgs (..) - , LegacyQueryPoolStateCmdArgs (..) - , LegacyQueryTxMempoolCmdArgs (..) - , LegacyQuerySlotNumberCmdArgs (..) - , renderLegacyQueryCmds - ) -where - -import Cardano.Api.Shelley hiding (QueryInShelleyBasedEra (..)) - -import Cardano.CLI.Types.Common -import Cardano.CLI.Types.Key - -import Data.Text (Text) -import Data.Time.Clock -import GHC.Generics - -data LegacyQueryCmds - = QueryLeadershipScheduleCmd !LegacyQueryLeadershipScheduleCmdArgs - | QueryProtocolParametersCmd !LegacyQueryProtocolParametersCmdArgs - | QueryTipCmd !LegacyQueryTipCmdArgs - | QueryStakePoolsCmd !LegacyQueryStakePoolsCmdArgs - | QueryStakeDistributionCmd !LegacyQueryStakeDistributionCmdArgs - | QueryStakeAddressInfoCmd !LegacyQueryStakeAddressInfoCmdArgs - | QueryUTxOCmd !LegacyQueryUTxOCmdArgs - | QueryLedgerStateCmd !LegacyQueryLedgerStateCmdArgs - | QueryProtocolStateCmd !LegacyQueryProtocolStateCmdArgs - | QueryStakeSnapshotCmd !LegacyQueryStakeSnapshotCmdArgs - | QueryKesPeriodInfoCmd !LegacyQueryKesPeriodInfoCmdArgs - | QueryPoolStateCmd !LegacyQueryPoolStateCmdArgs - | QueryTxMempoolCmd !LegacyQueryTxMempoolCmdArgs - | QuerySlotNumberCmd !LegacyQuerySlotNumberCmdArgs - deriving (Generic, Show) - -data LegacyQueryLeadershipScheduleCmdArgs = LegacyQueryLeadershipScheduleCmdArgs - { nodeSocketPath :: !SocketPath - , consensusModeParams :: !ConsensusModeParams - , networkId :: !NetworkId - , genesisFp :: !GenesisFile - , poolColdVerKeyFile :: !(VerificationKeyOrHashOrFile StakePoolKey) - , vrkSkeyFp :: !(SigningKeyFile In) - , whichSchedule :: !EpochLeadershipSchedule - , format :: Maybe OutputFormatJsonOrText - , mOutFile :: !(Maybe (File () Out)) - } - deriving (Generic, Show) - -data LegacyQueryProtocolParametersCmdArgs = LegacyQueryProtocolParametersCmdArgs - { nodeSocketPath :: !SocketPath - , consensusModeParams :: !ConsensusModeParams - , networkId :: !NetworkId - , mOutFile :: !(Maybe (File () Out)) - } - deriving (Generic, Show) - -data LegacyQueryTipCmdArgs = LegacyQueryTipCmdArgs - { nodeSocketPath :: !SocketPath - , consensusModeParams :: !ConsensusModeParams - , networkId :: !NetworkId - , mOutFile :: !(Maybe (File () Out)) - } - deriving (Generic, Show) - -data LegacyQueryStakePoolsCmdArgs = LegacyQueryStakePoolsCmdArgs - { nodeSocketPath :: !SocketPath - , consensusModeParams :: !ConsensusModeParams - , networkId :: !NetworkId - , format :: Maybe OutputFormatJsonOrText - , mOutFile :: !(Maybe (File () Out)) - } - deriving (Generic, Show) - -data LegacyQueryStakeDistributionCmdArgs = LegacyQueryStakeDistributionCmdArgs - { nodeSocketPath :: !SocketPath - , consensusModeParams :: !ConsensusModeParams - , networkId :: !NetworkId - , format :: Maybe OutputFormatJsonOrText - , mOutFile :: !(Maybe (File () Out)) - } - deriving (Generic, Show) - -data LegacyQueryStakeAddressInfoCmdArgs = LegacyQueryStakeAddressInfoCmdArgs - { nodeSocketPath :: !SocketPath - , consensusModeParams :: !ConsensusModeParams - , addr :: !StakeAddress - , networkId :: !NetworkId - , mOutFile :: !(Maybe (File () Out)) - } - deriving (Generic, Show) - -data LegacyQueryUTxOCmdArgs = LegacyQueryUTxOCmdArgs - { nodeSocketPath :: !SocketPath - , consensusModeParams :: !ConsensusModeParams - , queryFilter :: !QueryUTxOFilter - , networkId :: !NetworkId - , format :: Maybe OutputFormatJsonOrText - , mOutFile :: !(Maybe (File () Out)) - } - deriving (Generic, Show) - -data LegacyQueryLedgerStateCmdArgs = LegacyQueryLedgerStateCmdArgs - { nodeSocketPath :: !SocketPath - , consensusModeParams :: !ConsensusModeParams - , networkId :: !NetworkId - , mOutFile :: !(Maybe (File () Out)) - } - deriving (Generic, Show) - -data LegacyQueryProtocolStateCmdArgs = LegacyQueryProtocolStateCmdArgs - { nodeSocketPath :: !SocketPath - , consensusModeParams :: !ConsensusModeParams - , networkId :: !NetworkId - , mOutFile :: !(Maybe (File () Out)) - } - deriving (Generic, Show) - -data LegacyQueryStakeSnapshotCmdArgs = LegacyQueryStakeSnapshotCmdArgs - { nodeSocketPath :: !SocketPath - , consensusModeParams :: !ConsensusModeParams - , networkId :: !NetworkId - , allOrOnlyPoolIds :: !(AllOrOnly (Hash StakePoolKey)) - , mOutFile :: !(Maybe (File () Out)) - } - deriving (Generic, Show) - -data LegacyQueryKesPeriodInfoCmdArgs = LegacyQueryKesPeriodInfoCmdArgs - { nodeSocketPath :: !SocketPath - , consensusModeParams :: !ConsensusModeParams - , networkId :: !NetworkId - , nodeOpCertFp :: !(File () In) - -- ^ Node operational certificate - , mOutFile :: !(Maybe (File () Out)) - } - deriving (Generic, Show) - -data LegacyQueryPoolStateCmdArgs = LegacyQueryPoolStateCmdArgs - { nodeSocketPath :: !SocketPath - , consensusModeParams :: !ConsensusModeParams - , networkId :: !NetworkId - , allOrOnlyPoolIds :: !(AllOrOnly (Hash StakePoolKey)) - , mOutFile :: !(Maybe (File () Out)) - } - deriving (Generic, Show) - -data LegacyQueryTxMempoolCmdArgs = LegacyQueryTxMempoolCmdArgs - { nodeSocketPath :: !SocketPath - , consensusModeParams :: !ConsensusModeParams - , networkId :: !NetworkId - , query :: !TxMempoolQuery - , mOutFile :: !(Maybe (File () Out)) - } - deriving (Generic, Show) - -data LegacyQuerySlotNumberCmdArgs = LegacyQuerySlotNumberCmdArgs - { nodeSocketPath :: !SocketPath - , consensusModeParams :: !ConsensusModeParams - , networkId :: !NetworkId - , utcTime :: !UTCTime - } - deriving (Generic, Show) - -renderLegacyQueryCmds :: LegacyQueryCmds -> Text -renderLegacyQueryCmds = \case - QueryLeadershipScheduleCmd{} -> "query leadership-schedule" - QueryProtocolParametersCmd{} -> "query protocol-parameters " - QueryTipCmd{} -> "query tip" - QueryStakePoolsCmd{} -> "query stake-pools" - QueryStakeDistributionCmd{} -> "query stake-distribution" - QueryStakeAddressInfoCmd{} -> "query stake-address-info" - QueryUTxOCmd{} -> "query utxo" - QueryLedgerStateCmd{} -> "query ledger-state" - QueryProtocolStateCmd{} -> "query protocol-state" - QueryStakeSnapshotCmd{} -> "query stake-snapshot" - QueryKesPeriodInfoCmd{} -> "query kes-period-info" - QueryPoolStateCmd{} -> "query pool-state" - QueryTxMempoolCmd (LegacyQueryTxMempoolCmdArgs _ _ _ txMempoolQuery _) -> "query tx-mempool" <> renderTxMempoolQuery txMempoolQuery - QuerySlotNumberCmd{} -> "query slot-number" - where - renderTxMempoolQuery = \case - TxMempoolQueryTxExists tx -> "tx-exists " <> serialiseToRawBytesHexText tx - TxMempoolQueryNextTx -> "next-tx" - TxMempoolQueryInfo -> "info" diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Commands/StakeAddress.hs b/cardano-cli/src/Cardano/CLI/Legacy/Commands/StakeAddress.hs deleted file mode 100644 index 8f1a4cbe35..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Commands/StakeAddress.hs +++ /dev/null @@ -1,57 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE LambdaCase #-} - --- | Shelley CLI command types -module Cardano.CLI.Legacy.Commands.StakeAddress - ( LegacyStakeAddressCmds (..) - , renderLegacyStakeAddressCmds - ) -where - -import Cardano.Api.Ledger (Coin) -import Cardano.Api.Shelley - -import Cardano.CLI.Types.Common -import Cardano.CLI.Types.Key - -import Prelude - -import Data.Text (Text) - -data LegacyStakeAddressCmds - = StakeAddressKeyGenCmd - KeyOutputFormat - (VerificationKeyFile Out) - (SigningKeyFile Out) - | StakeAddressKeyHashCmd - (VerificationKeyOrFile StakeKey) - (Maybe (File () Out)) - | StakeAddressBuildCmd - StakeVerifier - NetworkId - (Maybe (File () Out)) - | StakeAddressRegistrationCertificateCmd - (EraInEon ShelleyBasedEra) - StakeIdentifier - (Maybe Coin) - (File () Out) - | StakeAddressDelegationCertificateCmd - (EraInEon ShelleyBasedEra) - StakeIdentifier - (VerificationKeyOrHashOrFile StakePoolKey) - (File () Out) - | StakeAddressDeregistrationCertificateCmd - (EraInEon ShelleyBasedEra) - StakeIdentifier - (Maybe Coin) - (File () Out) - deriving Show - -renderLegacyStakeAddressCmds :: LegacyStakeAddressCmds -> Text -renderLegacyStakeAddressCmds = \case - StakeAddressKeyGenCmd{} -> "stake-address key-gen" - StakeAddressKeyHashCmd{} -> "stake-address key-hash" - StakeAddressBuildCmd{} -> "stake-address build" - StakeAddressRegistrationCertificateCmd{} -> "stake-address registration-certificate" - StakeAddressDelegationCertificateCmd{} -> "stake-address delegation-certificate" - StakeAddressDeregistrationCertificateCmd{} -> "stake-address deregistration-certificate" diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Commands/StakePool.hs b/cardano-cli/src/Cardano/CLI/Legacy/Commands/StakePool.hs deleted file mode 100644 index e688e93bff..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Commands/StakePool.hs +++ /dev/null @@ -1,70 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE LambdaCase #-} - -module Cardano.CLI.Legacy.Commands.StakePool - ( LegacyStakePoolCmds (..) - , renderLegacyStakePoolCmds - ) -where - -import Cardano.Api.Ledger (Coin) -import Cardano.Api.Shelley hiding (QueryInShelleyBasedEra (..)) - -import Cardano.CLI.Types.Common -import Cardano.CLI.Types.Key - -import Prelude - -import Data.Text (Text) - -data LegacyStakePoolCmds - = StakePoolDeregistrationCertificateCmd - (EraInEon ShelleyBasedEra) - -- ^ Era in which to retire the stake pool. - (VerificationKeyOrFile StakePoolKey) - -- ^ Stake pool verification key. - EpochNo - -- ^ Epoch in which to retire the stake pool. - (File () Out) - | StakePoolIdCmd - (VerificationKeyOrFile StakePoolKey) - IdOutputFormat - (Maybe (File () Out)) - | StakePoolMetadataHashCmd - (StakePoolMetadataFile In) - (Maybe (File () Out)) - | StakePoolRegistrationCertificateCmd - (EraInEon ShelleyBasedEra) - -- ^ Era in which to register the stake pool. - (VerificationKeyOrFile StakePoolKey) - -- ^ Stake pool verification key. - (VerificationKeyOrFile VrfKey) - -- ^ VRF Verification key. - Coin - -- ^ Pool pledge. - Coin - -- ^ Pool cost. - Rational - -- ^ Pool margin. - (VerificationKeyOrFile StakeKey) - -- ^ Reward account verification staking key. - [VerificationKeyOrFile StakeKey] - -- ^ Pool owner verification staking key(s). - [StakePoolRelay] - -- ^ Stake pool relays. - (Maybe StakePoolMetadataReference) - -- ^ Stake pool metadata. - NetworkId - (File () Out) - deriving Show - -renderLegacyStakePoolCmds :: LegacyStakePoolCmds -> Text -renderLegacyStakePoolCmds = \case - StakePoolDeregistrationCertificateCmd{} -> - "stake-pool deregistration-certificate" - StakePoolIdCmd{} -> - "stake-pool id" - StakePoolMetadataHashCmd{} -> - "stake-pool metadata-hash" - StakePoolRegistrationCertificateCmd{} -> - "stake-pool registration-certificate" diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Commands/TextView.hs b/cardano-cli/src/Cardano/CLI/Legacy/Commands/TextView.hs deleted file mode 100644 index 6e0b82f095..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Commands/TextView.hs +++ /dev/null @@ -1,20 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE LambdaCase #-} - -module Cardano.CLI.Legacy.Commands.TextView - ( LegacyTextViewCmds (..) - , renderLegacyTextViewCmds - ) -where - -import Cardano.Api.Shelley - -import Data.Text (Text) - -data LegacyTextViewCmds - = TextViewInfo !FilePath (Maybe (File () Out)) - deriving Show - -renderLegacyTextViewCmds :: LegacyTextViewCmds -> Text -renderLegacyTextViewCmds = \case - TextViewInfo _ _ -> "text-view decode-cbor" diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Commands/Transaction.hs b/cardano-cli/src/Cardano/CLI/Legacy/Commands/Transaction.hs deleted file mode 100644 index abf02690c0..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Commands/Transaction.hs +++ /dev/null @@ -1,151 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE LambdaCase #-} - -module Cardano.CLI.Legacy.Commands.Transaction - ( LegacyTransactionCmds (..) - , renderLegacyTransactionCmds - ) -where - -import qualified Cardano.Api.Experimental as Exp -import Cardano.Api.Ledger (Coin) -import Cardano.Api.Shelley - -import Cardano.CLI.Types.Common -import Cardano.CLI.Types.Governance - -import Data.Text (Text) - -data LegacyTransactionCmds - = TransactionBuildRawCmd - AnyCardanoEra - (Maybe ScriptValidity) - -- ^ Mark script as expected to pass or fail validation - [(TxIn, Maybe (ScriptWitnessFiles WitCtxTxIn))] - -- ^ Transaction inputs with optional spending scripts - [TxIn] - -- ^ Read only reference inputs - [TxIn] - -- ^ Transaction inputs for collateral, only key witnesses, no scripts. - (Maybe TxOutShelleyBasedEra) - -- ^ Return collateral - (Maybe Coin) - -- ^ Total collateral - [RequiredSigner] - -- ^ Required signers - [TxOutAnyEra] - (Maybe (Value, [ScriptWitnessFiles WitCtxMint])) - -- ^ Multi-Asset value with script witness - (Maybe SlotNo) - -- ^ Transaction lower bound - (Maybe SlotNo) - -- ^ Transaction upper bound - Coin - -- ^ Tx fee - [(CertificateFile, Maybe (ScriptWitnessFiles WitCtxStake))] - -- ^ Certificates with potential script witness - [(StakeAddress, Coin, Maybe (ScriptWitnessFiles WitCtxStake))] - TxMetadataJsonSchema - [ScriptFile] - -- ^ Auxiliary scripts - [MetadataFile] - (Maybe ProtocolParamsFile) - (Maybe UpdateProposalFile) - (TxBodyFile Out) - | -- | Like 'TransactionBuildRaw' but without the fee, and with a change output. - TransactionBuildCmd - SocketPath - (Exp.Some Exp.Era) - ConsensusModeParams - NetworkId - (Maybe ScriptValidity) - -- ^ Mark script as expected to pass or fail validation - (Maybe Word) - -- ^ Override the required number of tx witnesses - [(TxIn, Maybe (ScriptWitnessFiles WitCtxTxIn))] - -- ^ Transaction inputs with optional spending scripts - [TxIn] - -- ^ Read only reference inputs - [RequiredSigner] - -- ^ Required signers - [TxIn] - -- ^ Transaction inputs for collateral, only key witnesses, no scripts. - (Maybe TxOutShelleyBasedEra) - -- ^ Return collateral - (Maybe Coin) - -- ^ Total collateral - [TxOutAnyEra] - -- ^ Normal outputs - TxOutChangeAddress - -- ^ A change output - (Maybe (Value, [ScriptWitnessFiles WitCtxMint])) - -- ^ Multi-Asset value with script witness - (Maybe SlotNo) - -- ^ Transaction lower bound - (Maybe SlotNo) - -- ^ Transaction upper bound - [(CertificateFile, Maybe (ScriptWitnessFiles WitCtxStake))] - -- ^ Certificates with potential script witness - [(StakeAddress, Coin, Maybe (ScriptWitnessFiles WitCtxStake))] - -- ^ Withdrawals with potential script witness - TxMetadataJsonSchema - [ScriptFile] - -- ^ Auxiliary scripts - [MetadataFile] - (Maybe UpdateProposalFile) - [(VoteFile In, Maybe (ScriptWitnessFiles WitCtxStake))] - [(ProposalFile In, Maybe (ScriptWitnessFiles WitCtxStake))] - (Maybe TxTreasuryDonation) - TxBuildOutputOptions - | TransactionSignCmd - InputTxBodyOrTxFile - [WitnessSigningData] - (Maybe NetworkId) - (TxFile Out) - | TransactionWitnessCmd - (TxBodyFile In) - WitnessSigningData - (Maybe NetworkId) - (File () Out) - | TransactionSignWitnessCmd - (TxBodyFile In) - [WitnessFile] - (File () Out) - | TransactionSubmitCmd - SocketPath - ConsensusModeParams - NetworkId - FilePath - | TransactionPolicyIdCmd - ScriptFile - | -- | The total size in bytes of the transaction reference scripts. - TransactionCalculateMinFeeCmd - (TxBodyFile In) - ProtocolParamsFile - TxShelleyWitnessCount - TxByronWitnessCount - ReferenceScriptSize - (Maybe OutputFormatJsonOrText) - (Maybe (File () Out)) - | TransactionCalculateMinValueCmd - (EraInEon ShelleyBasedEra) - ProtocolParamsFile - TxOutShelleyBasedEra - | TransactionHashScriptDataCmd - ScriptDataOrFile - | TransactionTxIdCmd - InputTxBodyOrTxFile - -renderLegacyTransactionCmds :: LegacyTransactionCmds -> Text -renderLegacyTransactionCmds = \case - TransactionBuildCmd{} -> "transaction build" - TransactionBuildRawCmd{} -> "transaction build-raw" - TransactionSignCmd{} -> "transaction sign" - TransactionWitnessCmd{} -> "transaction witness" - TransactionSignWitnessCmd{} -> "transaction sign-witness" - TransactionSubmitCmd{} -> "transaction submit" - TransactionPolicyIdCmd{} -> "transaction policyid" - TransactionCalculateMinFeeCmd{} -> "transaction calculate-min-fee" - TransactionCalculateMinValueCmd{} -> "transaction calculate-min-value" - TransactionHashScriptDataCmd{} -> "transaction hash-script-data" - TransactionTxIdCmd{} -> "transaction txid" diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs index 15ecdce68b..e15ce47d92 100644 --- a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs +++ b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs @@ -12,8 +12,6 @@ module Cardano.CLI.Legacy.Options -- * Field parser and renderers , parseTxIn - , pLegacyCardanoEra - , pLegacyShelleyBasedEra , pKeyRegistDeposit , pStakePoolRegistrationParserRequirements , pStakePoolVerificationKeyOrHashOrFile @@ -439,98 +437,3 @@ pGenesisCmds envCli = , Opt.help "Each bulk pool to contain this many pool credential sets [default is 0]." , Opt.value 0 ] - -pLegacyCardanoEra :: EnvCli -> Parser AnyCardanoEra -pLegacyCardanoEra envCli = - asum $ - mconcat - [ - [ Opt.flag' (AnyCardanoEra ByronEra) $ - mconcat - [ Opt.long "byron-era" - , Opt.help $ "Specify the Byron era" <> deprecationText - ] - , Opt.flag' (AnyCardanoEra ShelleyEra) $ - mconcat - [ Opt.long "shelley-era" - , Opt.help $ "Specify the Shelley era" <> deprecationText - ] - , Opt.flag' (AnyCardanoEra AllegraEra) $ - mconcat - [ Opt.long "allegra-era" - , Opt.help $ "Specify the Allegra era" <> deprecationText - ] - , Opt.flag' (AnyCardanoEra MaryEra) $ - mconcat - [ Opt.long "mary-era" - , Opt.help $ "Specify the Mary era" <> deprecationText - ] - , Opt.flag' (AnyCardanoEra AlonzoEra) $ - mconcat - [ Opt.long "alonzo-era" - , Opt.help $ "Specify the Alonzo era" <> deprecationText - ] - , Opt.flag' (AnyCardanoEra BabbageEra) $ - mconcat - [ Opt.long "babbage-era" - , Opt.help $ "Specify the Babbage era (default)" <> deprecationText - ] - ] - , maybeToList $ pure <$> envCliAnyCardanoEra envCli - , pure . pure $ AnyCardanoEra BabbageEra - ] - -pLegacyShelleyBasedEra :: EnvCli -> Parser (EraInEon ShelleyBasedEra) -pLegacyShelleyBasedEra envCli = - asum $ - mconcat - [ - [ Opt.flag' (EraInEon ShelleyBasedEraShelley) $ - mconcat - [ Opt.long "shelley-era" - , Opt.help $ "Specify the Shelley era" <> deprecationText - ] - , Opt.flag' (EraInEon ShelleyBasedEraAllegra) $ - mconcat - [ Opt.long "allegra-era" - , Opt.help $ "Specify the Allegra era" <> deprecationText - ] - , Opt.flag' (EraInEon ShelleyBasedEraMary) $ - mconcat - [ Opt.long "mary-era" - , Opt.help $ "Specify the Mary era" <> deprecationText - ] - , Opt.flag' (EraInEon ShelleyBasedEraAlonzo) $ - mconcat - [ Opt.long "alonzo-era" - , Opt.help $ "Specify the Alonzo era" <> deprecationText - ] - , Opt.flag' (EraInEon ShelleyBasedEraBabbage) $ - mconcat - [ Opt.long "babbage-era" - , Opt.help $ "Specify the Babbage era (default)" <> deprecationText - ] - ] - , maybeToList $ pure <$> envCliAnyEon envCli - , pure . pure $ EraInEon ShelleyBasedEraBabbage - ] - -pEra :: EnvCli -> Parser (Exp.Some Exp.Era) -pEra envCli = - asum $ - mconcat - [ - [ Opt.flag' (Exp.Some Exp.BabbageEra) $ - mconcat - [ Opt.long "babbage-era" - , Opt.help "Specify the Babbage era (default)" - ] - , Opt.flag' (Exp.Some Exp.ConwayEra) $ - mconcat - [ Opt.long "conway-era" - , Opt.help "Specify the Conway era" - ] - ] - , maybeToList $ pure <$> envCliSomeEra envCli - , pure $ pure (Exp.Some Exp.BabbageEra) - ] diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Options/Key.hs b/cardano-cli/src/Cardano/CLI/Legacy/Options/Key.hs deleted file mode 100644 index 4448343f99..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Options/Key.hs +++ /dev/null @@ -1,265 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE FlexibleContexts #-} -{-# LANGUAGE GADTs #-} -{-# LANGUAGE ScopedTypeVariables #-} - -module Cardano.CLI.Legacy.Options.Key - ( pKeyCmds - ) -where - -import Cardano.Api hiding (QueryInShelleyBasedEra (..), parseFilePath) - -import Cardano.CLI.EraBased.Options.Common -import Cardano.CLI.Legacy.Commands.Key -import Cardano.CLI.Types.Common - -import Data.Foldable -import Data.Text (Text) -import Options.Applicative hiding (help, str) -import qualified Options.Applicative as Opt - -pKeyCmds :: Parser LegacyKeyCmds -pKeyCmds = - asum - [ subParser "verification-key" $ - Opt.info pKeyVerificationKeyCmd $ - Opt.progDesc $ - mconcat - [ "Get a verification key from a signing key. This " - , " supports all key types." - ] - , subParser "non-extended-key" $ - Opt.info pKeyNonExtendedKeyCmd $ - Opt.progDesc $ - mconcat - [ "Get a non-extended verification key from an " - , "extended verification key. This supports all " - , "extended key types." - ] - , subParser "convert-byron-key" $ - Opt.info pKeyConvertByronKeyCmd $ - Opt.progDesc $ - mconcat - [ "Convert a Byron payment, genesis or genesis " - , "delegate key (signing or verification) to a " - , "corresponding Shelley-format key." - ] - , subParser "convert-byron-genesis-vkey" $ - Opt.info pKeyConvertByronGenesisVKeyCmd $ - Opt.progDesc $ - mconcat - [ "Convert a Base64-encoded Byron genesis " - , "verification key to a Shelley genesis " - , "verification key" - ] - , subParser "convert-itn-key" $ - Opt.info pKeyConvertITNKeyCmd $ - Opt.progDesc $ - mconcat - [ "Convert an Incentivized Testnet (ITN) non-extended " - , "(Ed25519) signing or verification key to a " - , "corresponding Shelley stake key" - ] - , subParser "convert-itn-extended-key" $ - Opt.info pKeyConvertITNExtendedKeyCmd $ - Opt.progDesc $ - mconcat - [ "Convert an Incentivized Testnet (ITN) extended " - , "(Ed25519Extended) signing key to a corresponding " - , "Shelley stake signing key" - ] - , subParser "convert-itn-bip32-key" $ - Opt.info pKeyConvertITNBip32KeyCmd $ - Opt.progDesc $ - mconcat - [ "Convert an Incentivized Testnet (ITN) BIP32 " - , "(Ed25519Bip32) signing key to a corresponding " - , "Shelley stake signing key" - ] - , subParser "convert-cardano-address-key" $ - Opt.info pKeyConvertCardanoAddressKeyCmd $ - Opt.progDesc $ - mconcat - [ "Convert a cardano-address extended signing key " - , "to a corresponding Shelley-format key." - ] - ] - -pKeyVerificationKeyCmd :: Parser LegacyKeyCmds -pKeyVerificationKeyCmd = - KeyVerificationKeyCmd - <$> pSigningKeyFileIn - <*> pVerificationKeyFileOut - -pKeyNonExtendedKeyCmd :: Parser LegacyKeyCmds -pKeyNonExtendedKeyCmd = - KeyNonExtendedKeyCmd - <$> pExtendedVerificationKeyFileIn - <*> pVerificationKeyFileOut - -pKeyConvertByronKeyCmd :: Parser LegacyKeyCmds -pKeyConvertByronKeyCmd = - KeyConvertByronKeyCmd - <$> optional pPassword - <*> pByronKeyType - <*> pByronKeyFile - <*> pOutputFile - -pPassword :: Parser Text -pPassword = - Opt.strOption $ - mconcat - [ Opt.long "password" - , Opt.metavar "TEXT" - , Opt.help "Password for signing key (if applicable)." - ] - -pByronKeyType :: Parser ByronKeyType -pByronKeyType = - asum - [ Opt.flag' (ByronPaymentKey NonLegacyByronKeyFormat) $ - mconcat - [ Opt.long "byron-payment-key-type" - , Opt.help "Use a Byron-era payment key." - ] - , Opt.flag' (ByronPaymentKey LegacyByronKeyFormat) $ - mconcat - [ Opt.long "legacy-byron-payment-key-type" - , Opt.help "Use a Byron-era payment key, in legacy SL format." - ] - , Opt.flag' (ByronGenesisKey NonLegacyByronKeyFormat) $ - mconcat - [ Opt.long "byron-genesis-key-type" - , Opt.help "Use a Byron-era genesis key." - ] - , Opt.flag' (ByronGenesisKey LegacyByronKeyFormat) $ - mconcat - [ Opt.long "legacy-byron-genesis-key-type" - , Opt.help "Use a Byron-era genesis key, in legacy SL format." - ] - , Opt.flag' (ByronDelegateKey NonLegacyByronKeyFormat) $ - mconcat - [ Opt.long "byron-genesis-delegate-key-type" - , Opt.help "Use a Byron-era genesis delegate key." - ] - , Opt.flag' (ByronDelegateKey LegacyByronKeyFormat) $ - mconcat - [ Opt.long "legacy-byron-genesis-delegate-key-type" - , Opt.help "Use a Byron-era genesis delegate key, in legacy SL format." - ] - ] - -pByronKeyFile :: Parser (SomeKeyFile In) -pByronKeyFile = - asum - [ ASigningKeyFile <$> pByronSigningKeyFile - , AVerificationKeyFile <$> pByronVerificationKeyFile - ] - -pByronSigningKeyFile :: Parser (SigningKeyFile In) -pByronSigningKeyFile = - File <$> parseFilePath "byron-signing-key-file" "Input filepath of the Byron-format signing key." - -pByronVerificationKeyFile :: Parser (VerificationKeyFile In) -pByronVerificationKeyFile = - File - <$> parseFilePath "byron-verification-key-file" "Input filepath of the Byron-format verification key." - -pKeyConvertByronGenesisVKeyCmd :: Parser LegacyKeyCmds -pKeyConvertByronGenesisVKeyCmd = - KeyConvertByronGenesisVKeyCmd - <$> pByronGenesisVKeyBase64 - <*> pOutputFile - -pByronGenesisVKeyBase64 :: Parser VerificationKeyBase64 -pByronGenesisVKeyBase64 = - fmap VerificationKeyBase64 $ - Opt.strOption $ - mconcat - [ Opt.long "byron-genesis-verification-key" - , Opt.metavar "BASE64" - , Opt.help "Base64 string for the Byron genesis verification key." - ] - -pKeyConvertITNKeyCmd :: Parser LegacyKeyCmds -pKeyConvertITNKeyCmd = - KeyConvertITNKeyCmd - <$> pITNKeyFIle - <*> pOutputFile - -pKeyConvertITNExtendedKeyCmd :: Parser LegacyKeyCmds -pKeyConvertITNExtendedKeyCmd = - KeyConvertITNExtendedKeyCmd - <$> pITNSigningKeyFile - <*> pOutputFile - -pKeyConvertITNBip32KeyCmd :: Parser LegacyKeyCmds -pKeyConvertITNBip32KeyCmd = - KeyConvertITNBip32KeyCmd - <$> pITNSigningKeyFile - <*> pOutputFile - -pITNKeyFIle :: Parser (SomeKeyFile direction) -pITNKeyFIle = - asum - [ pITNSigningKeyFile - , pITNVerificationKeyFile - ] - -pITNSigningKeyFile :: Parser (SomeKeyFile direction) -pITNSigningKeyFile = - ASigningKeyFile . File - <$> parseFilePath "itn-signing-key-file" "Filepath of the ITN signing key." - -pITNVerificationKeyFile :: Parser (SomeKeyFile direction) -pITNVerificationKeyFile = - AVerificationKeyFile . File - <$> parseFilePath "itn-verification-key-file" "Filepath of the ITN verification key." - -pKeyConvertCardanoAddressKeyCmd :: Parser LegacyKeyCmds -pKeyConvertCardanoAddressKeyCmd = - KeyConvertCardanoAddressKeyCmd - <$> pCardanoAddressKeyType - <*> pSigningKeyFileIn - <*> pOutputFile - -pCardanoAddressKeyType :: Parser CardanoAddressKeyType -pCardanoAddressKeyType = - asum - [ Opt.flag' CardanoAddressCommitteeColdKey $ - mconcat - [ Opt.long "cc-cold-key" - , Opt.help "Use a committee cold key." - ] - , Opt.flag' CardanoAddressCommitteeHotKey $ - mconcat - [ Opt.long "cc-hot-key" - , Opt.help "Use a committee hot key." - ] - , Opt.flag' CardanoAddressDRepKey $ - mconcat - [ Opt.long "drep-key" - , Opt.help "Use a DRep key." - ] - , Opt.flag' CardanoAddressShelleyPaymentKey $ - mconcat - [ Opt.long "shelley-payment-key" - , Opt.help "Use a Shelley-era extended payment key." - ] - , Opt.flag' CardanoAddressShelleyStakeKey $ - mconcat - [ Opt.long "shelley-stake-key" - , Opt.help "Use a Shelley-era extended stake key." - ] - , Opt.flag' CardanoAddressIcarusPaymentKey $ - mconcat - [ Opt.long "icarus-payment-key" - , Opt.help "Use a Byron-era extended payment key formatted in the Icarus style." - ] - , Opt.flag' CardanoAddressByronPaymentKey $ - mconcat - [ Opt.long "byron-payment-key" - , Opt.help "Use a Byron-era extended payment key formatted in the deprecated Byron style." - ] - ] diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Run/Address.hs b/cardano-cli/src/Cardano/CLI/Legacy/Run/Address.hs deleted file mode 100644 index d9bcd20868..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Run/Address.hs +++ /dev/null @@ -1,68 +0,0 @@ -{-# LANGUAGE CPP #-} -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE FlexibleContexts #-} -{-# LANGUAGE LambdaCase #-} -{-# LANGUAGE RankNTypes #-} -{-# LANGUAGE ScopedTypeVariables #-} - -module Cardano.CLI.Legacy.Run.Address - ( runLegacyAddressCmds - ) -where - -import Cardano.Api - -import Cardano.CLI.EraBased.Run.Address -import Cardano.CLI.EraBased.Run.Address.Info -import Cardano.CLI.Legacy.Commands.Address -import Cardano.CLI.Types.Common -import Cardano.CLI.Types.Errors.AddressCmdError -import Cardano.CLI.Types.Errors.AddressInfoError -import Cardano.CLI.Types.Key (PaymentVerifier (..), StakeIdentifier (..), - VerificationKeyTextOrFile) - -import Data.Function -import Data.Text (Text) - -runLegacyAddressCmds :: LegacyAddressCmds -> ExceptT AddressCmdError IO () -runLegacyAddressCmds = \case - AddressKeyGen fmt kt vkf skf -> - runLegacyAddressKeyGenCmd fmt kt vkf skf - AddressKeyHash vkf mOFp -> - runLegacyAddressKeyHashCmd vkf mOFp - AddressBuild paymentVerifier mbStakeVerifier nw mOutFp -> - runLegacyAddressBuildCmd paymentVerifier mbStakeVerifier nw mOutFp - AddressInfo txt mOFp -> - runLegacyAddressInfoCmd txt mOFp & firstExceptT AddressCmdAddressInfoError - -runLegacyAddressKeyGenCmd - :: () - => KeyOutputFormat - -> AddressKeyType - -> VerificationKeyFile Out - -> SigningKeyFile Out - -> ExceptT AddressCmdError IO () -runLegacyAddressKeyGenCmd = runAddressKeyGenCmd - -runLegacyAddressKeyHashCmd - :: () - => VerificationKeyTextOrFile - -> Maybe (File () Out) - -> ExceptT AddressCmdError IO () -runLegacyAddressKeyHashCmd = runAddressKeyHashCmd - -runLegacyAddressBuildCmd - :: () - => PaymentVerifier - -> Maybe StakeIdentifier - -> NetworkId - -> Maybe (File () Out) - -> ExceptT AddressCmdError IO () -runLegacyAddressBuildCmd = runAddressBuildCmd - -runLegacyAddressInfoCmd - :: () - => Text - -> Maybe (File () Out) - -> ExceptT AddressInfoError IO () -runLegacyAddressInfoCmd = runAddressInfoCmd diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Run/Key.hs b/cardano-cli/src/Cardano/CLI/Legacy/Run/Key.hs deleted file mode 100644 index 4a454f7142..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Run/Key.hs +++ /dev/null @@ -1,123 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE LambdaCase #-} - -module Cardano.CLI.Legacy.Run.Key - ( runLegacyKeyCmds - ) -where - -import Cardano.Api - -import qualified Cardano.CLI.EraBased.Commands.Key as Cmd -import Cardano.CLI.EraBased.Run.Key -import Cardano.CLI.Legacy.Commands.Key -import Cardano.CLI.Types.Common -import Cardano.CLI.Types.Errors.KeyCmdError - -import Data.Text (Text) - -runLegacyKeyCmds - :: () - => LegacyKeyCmds - -> ExceptT KeyCmdError IO () -runLegacyKeyCmds = \case - KeyVerificationKeyCmd skf vkf -> - runLegacyVerificationKeyCmd skf vkf - KeyNonExtendedKeyCmd evkf vkf -> - runLegacyNonExtendedKeyCmd evkf vkf - KeyConvertByronKeyCmd mPassword keytype skfOld skfNew -> - runLegacyConvertByronKeyCmd mPassword keytype skfOld skfNew - KeyConvertByronGenesisVKeyCmd oldVk newVkf -> - runLegacyConvertByronGenesisVKeyCmd oldVk newVkf - KeyConvertITNKeyCmd itnKeyFile outFile -> - runLegacyConvertITNStakeKeyCmd itnKeyFile outFile - KeyConvertITNExtendedKeyCmd itnPrivKeyFile outFile -> - runLegacyConvertITNExtendedKeyCmd itnPrivKeyFile outFile - KeyConvertITNBip32KeyCmd itnPrivKeyFile outFile -> - runLegacyConvertITNBip32KeyCmd itnPrivKeyFile outFile - KeyConvertCardanoAddressKeyCmd keyType skfOld skfNew -> - runLegacyConvertCardanoAddressKeyCmd keyType skfOld skfNew - -runLegacyVerificationKeyCmd - :: () - => SigningKeyFile In - -> VerificationKeyFile Out - -> ExceptT KeyCmdError IO () -runLegacyVerificationKeyCmd skf vkf = - runVerificationKeyCmd $ - Cmd.KeyVerificationKeyCmdArgs skf vkf - -runLegacyNonExtendedKeyCmd - :: () - => VerificationKeyFile In - -> VerificationKeyFile Out - -> ExceptT KeyCmdError IO () -runLegacyNonExtendedKeyCmd evkf vkf = - runNonExtendedKeyCmd $ - Cmd.KeyNonExtendedKeyCmdArgs evkf vkf - -runLegacyConvertByronKeyCmd - :: () - => Maybe Text - -- ^ Password (if applicable) - -> ByronKeyType - -> SomeKeyFile In - -- ^ Input file: old format - -> File () Out - -- ^ Output file: new format - -> ExceptT KeyCmdError IO () -runLegacyConvertByronKeyCmd mPassword keytype skfOld skfNew = - runConvertByronKeyCmd $ - Cmd.KeyConvertByronKeyCmdArgs mPassword keytype skfOld skfNew - -runLegacyConvertByronGenesisVKeyCmd - :: () - => VerificationKeyBase64 - -- ^ Input key raw old format - -> File () Out - -- ^ Output file: new format - -> ExceptT KeyCmdError IO () -runLegacyConvertByronGenesisVKeyCmd oldVk newVkf = - runConvertByronGenesisVKeyCmd $ - Cmd.KeyConvertByronGenesisVKeyCmdArgs oldVk newVkf - --------------------------------------------------------------------------------- --- ITN verification/signing key conversion to Haskell verficiation/signing keys --------------------------------------------------------------------------------- - -runLegacyConvertITNStakeKeyCmd - :: () - => SomeKeyFile In - -> File () Out - -> ExceptT KeyCmdError IO () -runLegacyConvertITNStakeKeyCmd itnKeyFile outFile = - runConvertITNKeyCmd $ - Cmd.KeyConvertITNKeyCmdArgs itnKeyFile outFile - -runLegacyConvertITNExtendedKeyCmd - :: () - => SomeKeyFile In - -> File () Out - -> ExceptT KeyCmdError IO () -runLegacyConvertITNExtendedKeyCmd itnPrivKeyFile outFile = - runConvertITNExtendedKeyCmd $ - Cmd.KeyConvertITNExtendedKeyCmdArgs itnPrivKeyFile outFile - -runLegacyConvertITNBip32KeyCmd - :: () - => SomeKeyFile In - -> File () Out - -> ExceptT KeyCmdError IO () -runLegacyConvertITNBip32KeyCmd itnPrivKeyFile outFile = - runConvertITNBip32KeyCmd $ - Cmd.KeyConvertITNBip32KeyCmdArgs itnPrivKeyFile outFile - -runLegacyConvertCardanoAddressKeyCmd - :: () - => CardanoAddressKeyType - -> SigningKeyFile In - -> File () Out - -> ExceptT KeyCmdError IO () -runLegacyConvertCardanoAddressKeyCmd keyType skfOld skfNew = - runConvertCardanoAddressKeyCmd $ - Cmd.KeyConvertCardanoAddressKeyCmdArgs keyType skfOld skfNew diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Run/Node.hs b/cardano-cli/src/Cardano/CLI/Legacy/Run/Node.hs deleted file mode 100644 index ac16054de0..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Run/Node.hs +++ /dev/null @@ -1,64 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE LambdaCase #-} - -module Cardano.CLI.Legacy.Run.Node - ( runLegacyNodeCmds - ) -where - -import qualified Cardano.CLI.EraBased.Commands.Node as Cmd -import Cardano.CLI.EraBased.Run.Node -import Cardano.CLI.Legacy.Commands.Node -import Cardano.CLI.Types.Errors.NodeCmdError - -import Control.Monad.Trans.Except (ExceptT) - -{- HLINT ignore "Reduce duplication" -} - -runLegacyNodeCmds - :: () - => LegacyNodeCmds - -> ExceptT NodeCmdError IO () -runLegacyNodeCmds = \case - LegacyNodeKeyGenColdCmd args -> runLegacyNodeKeyGenColdCmd args - LegacyNodeKeyGenKESCmd args -> runLegacyNodeKeyGenKesCmd args - LegacyNodeKeyGenVRFCmd args -> runLegacyNodeKeyGenVrfCmd args - LegacyNodeKeyHashVRFCmd args -> runLegacyNodeKeyHashVrfCmd args - LegacyNodeNewCounterCmd args -> runLegacyNodeNewCounterCmd args - LegacyNodeIssueOpCertCmd args -> runLegacyNodeIssueOpCertCmd args - -runLegacyNodeKeyGenColdCmd - :: () - => Cmd.NodeKeyGenColdCmdArgs - -> ExceptT NodeCmdError IO () -runLegacyNodeKeyGenColdCmd = runNodeKeyGenColdCmd - -runLegacyNodeKeyGenKesCmd - :: () - => Cmd.NodeKeyGenKESCmdArgs - -> ExceptT NodeCmdError IO () -runLegacyNodeKeyGenKesCmd = runNodeKeyGenKesCmd - -runLegacyNodeKeyGenVrfCmd - :: () - => Cmd.NodeKeyGenVRFCmdArgs - -> ExceptT NodeCmdError IO () -runLegacyNodeKeyGenVrfCmd = runNodeKeyGenVrfCmd - -runLegacyNodeKeyHashVrfCmd - :: () - => Cmd.NodeKeyHashVRFCmdArgs - -> ExceptT NodeCmdError IO () -runLegacyNodeKeyHashVrfCmd = runNodeKeyHashVrfCmd - -runLegacyNodeNewCounterCmd - :: () - => Cmd.NodeNewCounterCmdArgs - -> ExceptT NodeCmdError IO () -runLegacyNodeNewCounterCmd = runNodeNewCounterCmd - -runLegacyNodeIssueOpCertCmd - :: () - => Cmd.NodeIssueOpCertCmdArgs - -> ExceptT NodeCmdError IO () -runLegacyNodeIssueOpCertCmd = runNodeIssueOpCertCmd diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Run/Query.hs b/cardano-cli/src/Cardano/CLI/Legacy/Run/Query.hs deleted file mode 100644 index cf554583c7..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Run/Query.hs +++ /dev/null @@ -1,150 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE GADTs #-} -{-# LANGUAGE LambdaCase #-} -{-# LANGUAGE RecordWildCards #-} -{-# OPTIONS_GHC -Wno-unticked-promoted-constructors #-} - -module Cardano.CLI.Legacy.Run.Query - ( runLegacyQueryCmds - ) -where - -import qualified Cardano.CLI.EraBased.Commands.Query as EraBased -import qualified Cardano.CLI.EraBased.Run.Query as EraBased -import qualified Cardano.CLI.Legacy.Commands.Query as Cmd -import Cardano.CLI.Types.Errors.QueryCmdError -import qualified Ouroboros.Network.Protocol.LocalStateQuery.Type as Consensus - -import Control.Monad.Trans.Except - -runLegacyQueryCmds :: Cmd.LegacyQueryCmds -> ExceptT QueryCmdError IO () -runLegacyQueryCmds = \case - Cmd.QueryLeadershipScheduleCmd args -> runLegacyQueryLeadershipScheduleCmd args - Cmd.QueryProtocolParametersCmd args -> runLegacyQueryProtocolParametersCmd args - Cmd.QueryTipCmd args -> runLegacyQueryTipCmd args - Cmd.QueryStakePoolsCmd args -> runLegacyQueryStakePoolsCmd args - Cmd.QueryStakeDistributionCmd args -> runLegacyQueryStakeDistributionCmd args - Cmd.QueryStakeAddressInfoCmd args -> runLegacyQueryStakeAddressInfoCmd args - Cmd.QueryLedgerStateCmd args -> runLegacyQueryLedgerStateCmd args - Cmd.QueryStakeSnapshotCmd args -> runLegacyQueryStakeSnapshotCmd args - Cmd.QueryProtocolStateCmd args -> runLegacyQueryProtocolStateCmd args - Cmd.QueryUTxOCmd args -> runLegacyQueryUTxOCmd args - Cmd.QueryKesPeriodInfoCmd args -> runLegacyQueryKesPeriodInfoCmd args - Cmd.QueryPoolStateCmd args -> runLegacyQueryPoolStateCmd args - Cmd.QueryTxMempoolCmd args -> runLegacyQueryTxMempoolCmd args - Cmd.QuerySlotNumberCmd args -> runLegacyQuerySlotNumberCmd args - -runLegacyQueryProtocolParametersCmd - :: () - => Cmd.LegacyQueryProtocolParametersCmdArgs - -> ExceptT QueryCmdError IO () -runLegacyQueryProtocolParametersCmd Cmd.LegacyQueryProtocolParametersCmdArgs{..} = - EraBased.runQueryProtocolParametersCmd EraBased.QueryProtocolParametersCmdArgs{..} - -runLegacyQueryTipCmd - :: () - => Cmd.LegacyQueryTipCmdArgs - -> ExceptT QueryCmdError IO () -runLegacyQueryTipCmd Cmd.LegacyQueryTipCmdArgs{..} = - EraBased.runQueryTipCmd EraBased.QueryTipCmdArgs{target = Consensus.VolatileTip, ..} - --- | Query the UTxO, filtered by a given set of addresses, from a Shelley node --- via the local state query protocol. -runLegacyQueryUTxOCmd - :: () - => Cmd.LegacyQueryUTxOCmdArgs - -> ExceptT QueryCmdError IO () -runLegacyQueryUTxOCmd Cmd.LegacyQueryUTxOCmdArgs{..} = - EraBased.runQueryUTxOCmd EraBased.QueryUTxOCmdArgs{target = Consensus.VolatileTip, ..} - -runLegacyQueryKesPeriodInfoCmd - :: () - => Cmd.LegacyQueryKesPeriodInfoCmdArgs - -> ExceptT QueryCmdError IO () -runLegacyQueryKesPeriodInfoCmd Cmd.LegacyQueryKesPeriodInfoCmdArgs{..} = - EraBased.runQueryKesPeriodInfoCmd - EraBased.QueryKesPeriodInfoCmdArgs{target = Consensus.VolatileTip, ..} - --- | Query the current and future parameters for a stake pool, including the retirement date. --- Any of these may be empty (in which case a null will be displayed). -runLegacyQueryPoolStateCmd - :: () - => Cmd.LegacyQueryPoolStateCmdArgs - -> ExceptT QueryCmdError IO () -runLegacyQueryPoolStateCmd Cmd.LegacyQueryPoolStateCmdArgs{..} = - EraBased.runQueryPoolStateCmd EraBased.QueryPoolStateCmdArgs{target = Consensus.VolatileTip, ..} - --- | Query the local mempool state -runLegacyQueryTxMempoolCmd - :: () - => Cmd.LegacyQueryTxMempoolCmdArgs - -> ExceptT QueryCmdError IO () -runLegacyQueryTxMempoolCmd Cmd.LegacyQueryTxMempoolCmdArgs{..} = - EraBased.runQueryTxMempoolCmd EraBased.QueryTxMempoolCmdArgs{..} - -runLegacyQuerySlotNumberCmd - :: () - => Cmd.LegacyQuerySlotNumberCmdArgs - -> ExceptT QueryCmdError IO () -runLegacyQuerySlotNumberCmd Cmd.LegacyQuerySlotNumberCmdArgs{..} = - EraBased.runQuerySlotNumberCmd EraBased.QuerySlotNumberCmdArgs{target = Consensus.VolatileTip, ..} - --- | Obtain stake snapshot information for a pool, plus information about the total active stake. --- This information can be used for leader slot calculation, for example, and has been requested by SPOs. --- Obtaining the information directly is significantly more time and memory efficient than using a full ledger state dump. -runLegacyQueryStakeSnapshotCmd - :: () - => Cmd.LegacyQueryStakeSnapshotCmdArgs - -> ExceptT QueryCmdError IO () -runLegacyQueryStakeSnapshotCmd Cmd.LegacyQueryStakeSnapshotCmdArgs{..} = - EraBased.runQueryStakeSnapshotCmd - EraBased.QueryStakeSnapshotCmdArgs{target = Consensus.VolatileTip, ..} - -runLegacyQueryLedgerStateCmd - :: () - => Cmd.LegacyQueryLedgerStateCmdArgs - -> ExceptT QueryCmdError IO () -runLegacyQueryLedgerStateCmd Cmd.LegacyQueryLedgerStateCmdArgs{..} = - EraBased.runQueryLedgerStateCmd - EraBased.QueryLedgerStateCmdArgs{target = Consensus.VolatileTip, ..} - -runLegacyQueryProtocolStateCmd - :: () - => Cmd.LegacyQueryProtocolStateCmdArgs - -> ExceptT QueryCmdError IO () -runLegacyQueryProtocolStateCmd Cmd.LegacyQueryProtocolStateCmdArgs{..} = - EraBased.runQueryProtocolStateCmd - EraBased.QueryProtocolStateCmdArgs{target = Consensus.VolatileTip, ..} - --- | Query the current delegations and reward accounts, filtered by a given --- set of addresses, from a Shelley node via the local state query protocol. -runLegacyQueryStakeAddressInfoCmd - :: () - => Cmd.LegacyQueryStakeAddressInfoCmdArgs - -> ExceptT QueryCmdError IO () -runLegacyQueryStakeAddressInfoCmd Cmd.LegacyQueryStakeAddressInfoCmdArgs{..} = - EraBased.runQueryStakeAddressInfoCmd - EraBased.QueryStakeAddressInfoCmdArgs{target = Consensus.VolatileTip, ..} - -runLegacyQueryStakePoolsCmd - :: () - => Cmd.LegacyQueryStakePoolsCmdArgs - -> ExceptT QueryCmdError IO () -runLegacyQueryStakePoolsCmd Cmd.LegacyQueryStakePoolsCmdArgs{..} = - EraBased.runQueryStakePoolsCmd EraBased.QueryStakePoolsCmdArgs{target = Consensus.VolatileTip, ..} - -runLegacyQueryStakeDistributionCmd - :: () - => Cmd.LegacyQueryStakeDistributionCmdArgs - -> ExceptT QueryCmdError IO () -runLegacyQueryStakeDistributionCmd Cmd.LegacyQueryStakeDistributionCmdArgs{..} = - EraBased.runQueryStakeDistributionCmd - EraBased.QueryStakeDistributionCmdArgs{target = Consensus.VolatileTip, ..} - -runLegacyQueryLeadershipScheduleCmd - :: () - => Cmd.LegacyQueryLeadershipScheduleCmdArgs - -> ExceptT QueryCmdError IO () -runLegacyQueryLeadershipScheduleCmd Cmd.LegacyQueryLeadershipScheduleCmdArgs{..} = - EraBased.runQueryLeadershipScheduleCmd - EraBased.QueryLeadershipScheduleCmdArgs{target = Consensus.VolatileTip, ..} diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Run/StakeAddress.hs b/cardano-cli/src/Cardano/CLI/Legacy/Run/StakeAddress.hs deleted file mode 100644 index 87fa7df8a7..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Run/StakeAddress.hs +++ /dev/null @@ -1,98 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE LambdaCase #-} - -module Cardano.CLI.Legacy.Run.StakeAddress - ( runLegacyStakeAddressCmds - ) -where - -import Cardano.Api -import Cardano.Api.Ledger (Coin) -import Cardano.Api.Shelley - -import Cardano.CLI.EraBased.Run.StakeAddress -import Cardano.CLI.Legacy.Commands.StakeAddress -import Cardano.CLI.Types.Common -import Cardano.CLI.Types.Errors.StakeAddressCmdError -import Cardano.CLI.Types.Key - -import Control.Monad (void) - -runLegacyStakeAddressCmds - :: () - => LegacyStakeAddressCmds - -> ExceptT StakeAddressCmdError IO () -runLegacyStakeAddressCmds = \case - StakeAddressKeyGenCmd fmt vk sk -> - runLegacyStakeAddressKeyGenCmd fmt vk sk - StakeAddressKeyHashCmd vk mOutputFp -> - runLegacyStakeAddressKeyHashCmd vk mOutputFp - StakeAddressBuildCmd stakeVerifier nw mOutputFp -> - runLegacyStakeAddressBuildCmd stakeVerifier nw mOutputFp - StakeAddressRegistrationCertificateCmd anyEra stakeIdentifier mDeposit outputFp -> - runLegacyStakeAddressRegistrationCertificateCmd anyEra stakeIdentifier mDeposit outputFp - StakeAddressDelegationCertificateCmd anyEra stakeIdentifier stkPoolVerKeyHashOrFp outputFp -> - runLegacyStakeAddresslDelegationCertificateCmd anyEra stakeIdentifier stkPoolVerKeyHashOrFp outputFp - StakeAddressDeregistrationCertificateCmd anyEra stakeIdentifier mDeposit outputFp -> - runLegacyStakeAddressDeregistrationCertificateCmd anyEra stakeIdentifier mDeposit outputFp - -runLegacyStakeAddressKeyGenCmd - :: () - => KeyOutputFormat - -> VerificationKeyFile Out - -> SigningKeyFile Out - -> ExceptT StakeAddressCmdError IO () -runLegacyStakeAddressKeyGenCmd vk sk = - void <$> runStakeAddressKeyGenCmd vk sk - -runLegacyStakeAddressKeyHashCmd - :: () - => VerificationKeyOrFile StakeKey - -> Maybe (File () Out) - -> ExceptT StakeAddressCmdError IO () -runLegacyStakeAddressKeyHashCmd = - runStakeAddressKeyHashCmd - -runLegacyStakeAddressBuildCmd - :: () - => StakeVerifier - -> NetworkId - -> Maybe (File () Out) - -> ExceptT StakeAddressCmdError IO () -runLegacyStakeAddressBuildCmd = - runStakeAddressBuildCmd - -runLegacyStakeAddressRegistrationCertificateCmd - :: () - => EraInEon ShelleyBasedEra - -> StakeIdentifier - -> Maybe Coin - -- ^ Deposit required in conway era - -> File () Out - -> ExceptT StakeAddressCmdError IO () -runLegacyStakeAddressRegistrationCertificateCmd (EraInEon sbe) = - runStakeAddressRegistrationCertificateCmd sbe - -runLegacyStakeAddresslDelegationCertificateCmd - :: () - => EraInEon ShelleyBasedEra - -> StakeIdentifier - -- ^ Delegator stake verification key, verification key file or script file. - -> VerificationKeyOrHashOrFile StakePoolKey - -- ^ Delegatee stake pool verification key or verification key file or - -- verification key hash. - -> File () Out - -> ExceptT StakeAddressCmdError IO () -runLegacyStakeAddresslDelegationCertificateCmd (EraInEon sbe) = - runStakeAddressStakeDelegationCertificateCmd sbe - -runLegacyStakeAddressDeregistrationCertificateCmd - :: () - => EraInEon ShelleyBasedEra - -> StakeIdentifier - -> Maybe Coin - -- ^ Deposit required in conway era - -> File () Out - -> ExceptT StakeAddressCmdError IO () -runLegacyStakeAddressDeregistrationCertificateCmd (EraInEon sbe) = - runStakeAddressDeregistrationCertificateCmd sbe diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Run/StakePool.hs b/cardano-cli/src/Cardano/CLI/Legacy/Run/StakePool.hs deleted file mode 100644 index 7ffe0bbb44..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Run/StakePool.hs +++ /dev/null @@ -1,155 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE GADTs #-} -{-# LANGUAGE LambdaCase #-} - -module Cardano.CLI.Legacy.Run.StakePool - ( runLegacyStakePoolCmds - ) -where - -import Cardano.Api -import qualified Cardano.Api.Ledger as L -import Cardano.Api.Shelley - -import qualified Cardano.CLI.EraBased.Commands.StakePool as Cmd -import Cardano.CLI.EraBased.Run.StakePool -import Cardano.CLI.Legacy.Commands.StakePool -import Cardano.CLI.Types.Common -import Cardano.CLI.Types.Errors.StakePoolCmdError -import Cardano.CLI.Types.Key (VerificationKeyOrFile) - -runLegacyStakePoolCmds - :: () - => LegacyStakePoolCmds - -> ExceptT StakePoolCmdError IO () -runLegacyStakePoolCmds = \case - StakePoolDeregistrationCertificateCmd anyEra sPvkeyFp retireEpoch outFile -> - runLegacyStakePoolDeregistrationCertificateCmd anyEra sPvkeyFp retireEpoch outFile - StakePoolIdCmd poolVerificationKeyOrFile outputFormat mOutFile -> - runLegacyStakePoolIdCmd poolVerificationKeyOrFile outputFormat mOutFile - StakePoolMetadataHashCmd poolMdFile mOutFile -> - runLegacyStakePoolMetadataHashCmd poolMdFile mOutFile - StakePoolRegistrationCertificateCmd - anyEra - poolVerificationKeyOrFile - vrfVkey - poolPledge - pCost - pMrgn - rwdVerFp - ownerVerFps - relays - mbMetadata - network - outFile -> - runLegacyStakePoolRegistrationCertificateCmd - anyEra - poolVerificationKeyOrFile - vrfVkey - poolPledge - pCost - pMrgn - rwdVerFp - ownerVerFps - relays - mbMetadata - network - outFile - --- | Create a stake pool registration cert. --- TODO: Metadata and more stake pool relay support to be --- added in the future. -runLegacyStakePoolRegistrationCertificateCmd - :: () - => EraInEon ShelleyBasedEra - -> VerificationKeyOrFile StakePoolKey - -- ^ Stake pool verification key. - -> VerificationKeyOrFile VrfKey - -- ^ VRF Verification key. - -> Lovelace - -- ^ Pool pledge. - -> Lovelace - -- ^ Pool cost. - -> Rational - -- ^ Pool margin. - -> VerificationKeyOrFile StakeKey - -- ^ Stake verification key for reward account. - -> [VerificationKeyOrFile StakeKey] - -- ^ Pool owner stake verification key(s). - -> [StakePoolRelay] - -- ^ Stake pool relays. - -> Maybe StakePoolMetadataReference - -- ^ Stake pool metadata. - -> NetworkId - -> File () Out - -> ExceptT StakePoolCmdError IO () -runLegacyStakePoolRegistrationCertificateCmd - inSbe - poolVerificationKeyOrFile - vrfVerificationKeyOrFile - poolPledge - poolCost - poolMargin - rewardStakeVerificationKeyOrFile - ownerStakeVerificationKeyOrFiles - relays - mbMetadata - network - outFile = - case inSbe of - EraInEon sbe -> - runStakePoolRegistrationCertificateCmd $ - Cmd.StakePoolRegistrationCertificateCmdArgs - sbe - poolVerificationKeyOrFile - vrfVerificationKeyOrFile - poolPledge - poolCost - poolMargin - rewardStakeVerificationKeyOrFile - ownerStakeVerificationKeyOrFiles - relays - mbMetadata - network - outFile - -runLegacyStakePoolDeregistrationCertificateCmd - :: () - => EraInEon ShelleyBasedEra - -> VerificationKeyOrFile StakePoolKey - -> L.EpochNo - -> File () Out - -> ExceptT StakePoolCmdError IO () -runLegacyStakePoolDeregistrationCertificateCmd inSbe poolVerificationKeyOrFile retireEpoch outFile = - case inSbe of - EraInEon sbe -> - runStakePoolDeregistrationCertificateCmd $ - Cmd.StakePoolDeregistrationCertificateCmdArgs - sbe - poolVerificationKeyOrFile - retireEpoch - outFile - -runLegacyStakePoolIdCmd - :: () - => VerificationKeyOrFile StakePoolKey - -> IdOutputFormat - -> Maybe (File () Out) - -> ExceptT StakePoolCmdError IO () -runLegacyStakePoolIdCmd poolVerificationKeyOrFile outputFormat mOutFile = - runStakePoolIdCmd $ - Cmd.StakePoolIdCmdArgs - poolVerificationKeyOrFile - outputFormat - mOutFile - -runLegacyStakePoolMetadataHashCmd - :: () - => StakePoolMetadataFile In - -> Maybe (File () Out) - -> ExceptT StakePoolCmdError IO () -runLegacyStakePoolMetadataHashCmd poolMetadataFile mOutFile = - runStakePoolMetadataHashCmd $ - Cmd.StakePoolMetadataHashCmdArgs - poolMetadataFile - mOutFile diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Run/TextView.hs b/cardano-cli/src/Cardano/CLI/Legacy/Run/TextView.hs deleted file mode 100644 index 05a7c554d2..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Run/TextView.hs +++ /dev/null @@ -1,24 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE LambdaCase #-} - -module Cardano.CLI.Legacy.Run.TextView - ( runLegacyTextViewCmds - ) -where - -import Cardano.Api - -import Cardano.CLI.EraBased.Run.TextView -import Cardano.CLI.Legacy.Commands.TextView -import Cardano.CLI.Types.Errors.TextViewFileError - -runLegacyTextViewCmds :: LegacyTextViewCmds -> ExceptT TextViewFileError IO () -runLegacyTextViewCmds = \case - TextViewInfo fpath mOutfile -> runLegacyTextViewInfoCmd fpath mOutfile - -runLegacyTextViewInfoCmd - :: () - => FilePath - -> Maybe (File () Out) - -> ExceptT TextViewFileError IO () -runLegacyTextViewInfoCmd = runTextViewInfoCmd diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Run/Transaction.hs b/cardano-cli/src/Cardano/CLI/Legacy/Run/Transaction.hs deleted file mode 100644 index 190da7d850..0000000000 --- a/cardano-cli/src/Cardano/CLI/Legacy/Run/Transaction.hs +++ /dev/null @@ -1,550 +0,0 @@ -{-# LANGUAGE DataKinds #-} -{-# LANGUAGE FlexibleContexts #-} -{-# LANGUAGE GADTs #-} -{-# LANGUAGE LambdaCase #-} -{-# LANGUAGE RankNTypes #-} -{-# LANGUAGE ScopedTypeVariables #-} - -module Cardano.CLI.Legacy.Run.Transaction - ( runLegacyTransactionCmds - ) -where - -import Cardano.Api -import qualified Cardano.Api.Byron as Api -import qualified Cardano.Api.Experimental as Exp -import Cardano.Api.Ledger (Coin) - -import qualified Cardano.CLI.EraBased.Commands.Transaction as Cmd -import Cardano.CLI.EraBased.Run.Transaction -import Cardano.CLI.Helpers (printEraDeprecationWarning) -import Cardano.CLI.Legacy.Commands.Transaction -import Cardano.CLI.Types.Common -import Cardano.CLI.Types.Errors.TxCmdError -import Cardano.CLI.Types.Errors.TxValidationError -import Cardano.CLI.Types.Governance - -import Data.Function - -runLegacyTransactionCmds :: LegacyTransactionCmds -> ExceptT TxCmdError IO () -runLegacyTransactionCmds = \case - TransactionBuildCmd - mNodeSocketPath - era@(Exp.Some expEra) - consensusModeParams - nid - mScriptValidity - mOverrideWits - txins - readOnlyRefIns - reqSigners - txinsc - mReturnColl - mTotCollateral - txouts - changeAddr - mValue - mLowBound - mUpperBound - certs - wdrls - metadataSchema - scriptFiles - metadataFiles - mUpProp - mconwayVote - mNewConstitution - mTreasuryDonation - outputOptions -> do - printEraDeprecationWarning $ Exp.eraToSbe expEra - runLegacyTransactionBuildCmd - mNodeSocketPath - era - consensusModeParams - nid - mScriptValidity - mOverrideWits - txins - readOnlyRefIns - reqSigners - txinsc - mReturnColl - mTotCollateral - txouts - changeAddr - mValue - mLowBound - mUpperBound - certs - wdrls - metadataSchema - scriptFiles - metadataFiles - mUpProp - mconwayVote - mNewConstitution - mTreasuryDonation - outputOptions - TransactionBuildRawCmd - era@(AnyCardanoEra cardanoEra') - mScriptValidity - txins - readOnlyRefIns - txinsc - mReturnColl - mTotColl - reqSigners - txouts - mValue - mLowBound - mUpperBound - fee - certs - wdrls - metadataSchema - scriptFiles - metadataFiles - mProtocolParamsFile - mUpProp - out -> do - printEraDeprecationWarning cardanoEra' - runLegacyTransactionBuildRawCmd - era - mScriptValidity - txins - readOnlyRefIns - txinsc - mReturnColl - mTotColl - reqSigners - txouts - mValue - mLowBound - mUpperBound - fee - certs - wdrls - metadataSchema - scriptFiles - metadataFiles - mProtocolParamsFile - mUpProp - out - TransactionSignCmd txinfile skfiles network txoutfile -> - runLegacyTransactionSignCmd txinfile skfiles network txoutfile - TransactionSubmitCmd mNodeSocketPath consensusModeParams network txFp -> - runLegacyTransactionSubmitCmd mNodeSocketPath consensusModeParams network txFp - TransactionCalculateMinFeeCmd - txbody - pParamsFile - nShelleyKeyWitnesses - nByronKeyWitnesses - referenceScriptSize - format - mOutFile -> - runLegacyTransactionCalculateMinFeeCmd - txbody - pParamsFile - nShelleyKeyWitnesses - nByronKeyWitnesses - referenceScriptSize - format - mOutFile - TransactionCalculateMinValueCmd (EraInEon sbe) pParamsFile txOuts' -> do - printEraDeprecationWarning sbe - runLegacyTransactionCalculateMinValueCmd (AnyShelleyBasedEra sbe) pParamsFile txOuts' - TransactionHashScriptDataCmd scriptDataOrFile -> - runLegacyTransactionHashScriptDataCmd scriptDataOrFile - TransactionTxIdCmd txinfile -> - runLegacyTransactionTxIdCmd txinfile - TransactionPolicyIdCmd sFile -> - runLegacyTransactionPolicyIdCmd sFile - TransactionWitnessCmd txBodyfile witSignData mbNw outFile -> - runLegacyTransactionWitnessCmd txBodyfile witSignData mbNw outFile - TransactionSignWitnessCmd txBodyFile witnessFile outFile -> - runLegacyTransactionSignWitnessCmd txBodyFile witnessFile outFile - --- ---------------------------------------------------------------------------- --- Building transactions --- - -runLegacyTransactionBuildCmd - :: () - => SocketPath - -> Exp.Some Exp.Era - -> ConsensusModeParams - -> NetworkId - -> Maybe ScriptValidity - -> Maybe Word - -- ^ Override the required number of tx witnesses - -> [(TxIn, Maybe (ScriptWitnessFiles WitCtxTxIn))] - -- ^ Transaction inputs with optional spending scripts - -> [TxIn] - -- ^ Read only reference inputs - -> [RequiredSigner] - -- ^ Required signers - -> [TxIn] - -- ^ Transaction inputs for collateral, only key witnesses, no scripts. - -> Maybe TxOutShelleyBasedEra - -- ^ Return collateral - -> Maybe Coin - -- ^ Total collateral - -> [TxOutAnyEra] - -> TxOutChangeAddress - -> Maybe (Value, [ScriptWitnessFiles WitCtxMint]) - -> Maybe SlotNo - -- ^ Validity lower bound - -> Maybe SlotNo - -- ^ Validity upper bound - -> [(CertificateFile, Maybe (ScriptWitnessFiles WitCtxStake))] - -> [(StakeAddress, Coin, Maybe (ScriptWitnessFiles WitCtxStake))] - -- ^ Withdrawals with potential script witness - -> TxMetadataJsonSchema - -> [ScriptFile] - -> [MetadataFile] - -> Maybe UpdateProposalFile - -> [(VoteFile In, Maybe (ScriptWitnessFiles WitCtxStake))] - -> [(ProposalFile In, Maybe (ScriptWitnessFiles WitCtxStake))] - -> Maybe TxTreasuryDonation - -> TxBuildOutputOptions - -> ExceptT TxCmdError IO () -runLegacyTransactionBuildCmd - socketPath - (Exp.Some era) - consensusModeParams - nid - mScriptValidity - mOverrideWits - txins - readOnlyRefIns - reqSigners - txinsc - mReturnColl - mTotCollateral - txouts - changeAddr - mValue - mLowBound - mUpperBound - certs - wdrls - metadataSchema - scriptFiles - metadataFiles - mUpdateProposal - voteFiles - proposalFiles - mTreasuryDonation - outputOptions = do - let sbe = Exp.eraToSbe era - mUpdateProposalFile <- - validateUpdateProposalFile (toCardanoEra sbe) mUpdateProposal - & hoistEither - & firstExceptT TxCmdNotSupportedInEraValidationError - - let upperBound = TxValidityUpperBound sbe mUpperBound - - runTransactionBuildCmd - ( Cmd.TransactionBuildCmdArgs - era - socketPath - consensusModeParams - nid - mScriptValidity - mOverrideWits - txins - readOnlyRefIns - reqSigners - txinsc - mReturnColl - mTotCollateral - txouts - changeAddr - mValue - mLowBound - upperBound - certs - wdrls - metadataSchema - scriptFiles - metadataFiles - mUpdateProposalFile - voteFiles - proposalFiles - mTreasuryDonation - outputOptions - ) - --- TODO: Neither QA nor Sam is using `cardano-cli byron transaction build-raw` --- for Byron era transactions. So we can parameterize this function on ShelleyBasedEra. --- They are using `issue-utxo-expenditure`. However we will deprecate it in a follow up PR. --- TODO: As a follow up we need to expose a simple tx building command that only --- uses inputs, outputs and update proposals. NB: Update proposals are a separate --- thing in the Byron era so we need to figure out how we are handling that at the --- cli command level. -runLegacyTransactionBuildRawCmd - :: () - => AnyCardanoEra - -> Maybe ScriptValidity - -> [(TxIn, Maybe (ScriptWitnessFiles WitCtxTxIn))] - -> [TxIn] - -- ^ Read only reference inputs - -> [TxIn] - -- ^ Transaction inputs for collateral, only key witnesses, no scripts. - -> Maybe TxOutShelleyBasedEra - -- ^ Return collateral - -> Maybe Coin - -- ^ Total collateral - -> [RequiredSigner] - -> [TxOutAnyEra] - -> Maybe (Value, [ScriptWitnessFiles WitCtxMint]) - -- ^ Multi-Asset value with script witness - -> Maybe SlotNo - -- ^ Validity lower bound - -> Maybe SlotNo - -- ^ Validity upper bound - -> Coin - -- ^ Tx fee - -> [(CertificateFile, Maybe (ScriptWitnessFiles WitCtxStake))] - -> [(StakeAddress, Coin, Maybe (ScriptWitnessFiles WitCtxStake))] - -> TxMetadataJsonSchema - -> [ScriptFile] - -> [MetadataFile] - -> Maybe ProtocolParamsFile - -> Maybe UpdateProposalFile - -> TxBodyFile Out - -> ExceptT TxCmdError IO () -runLegacyTransactionBuildRawCmd - (AnyCardanoEra ByronEra) - _ - txins - _ - _ - _ - _ - _ - txouts - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - _ - outFile = do - let apiTxIns = [(txIn, BuildTxWith (KeyWitness KeyWitnessForSpending)) | (txIn, _) <- txins] - byronOuts <- mapM toTxOutByronEra txouts - case makeByronTransactionBody apiTxIns byronOuts of - Left err -> error $ "Error occurred while creating a Byron based UTxO transaction: " <> show err - Right txBody -> do - let noWitTx = makeSignedByronTransaction [] txBody - lift (Api.writeByronTxFileTextEnvelopeCddl outFile noWitTx) - & onLeft (left . TxCmdWriteFileError) -runLegacyTransactionBuildRawCmd - (AnyCardanoEra era) - mScriptValidity - txins - readOnlyRefIns - txinsc - mReturnColl - mTotColl - reqSigners - txouts - mValue - mLowBound - mUpperBound - fee - certs - wdrls - metadataSchema - scriptFiles - metadataFiles - mProtocolParamsFile - mUpdateProposal - outFile = do - caseByronOrShelleyBasedEra - (error "runLegacyTransactionBuildRawCmd: This should be impossible") - ( \sbe -> do - mUpdateProposalFile <- - validateUpdateProposalFile era mUpdateProposal - & hoistEither - & firstExceptT TxCmdNotSupportedInEraValidationError - - let upperBound = TxValidityUpperBound sbe mUpperBound - - runTransactionBuildRawCmd - ( Cmd.TransactionBuildRawCmdArgs - sbe - mScriptValidity - txins - readOnlyRefIns - txinsc - mReturnColl - mTotColl - reqSigners - txouts - mValue - mLowBound - upperBound - fee - certs - wdrls - metadataSchema - scriptFiles - metadataFiles - mProtocolParamsFile - mUpdateProposalFile - [] - [] - Nothing - outFile - ) - ) - era - -runLegacyTransactionSignCmd - :: InputTxBodyOrTxFile - -> [WitnessSigningData] - -> Maybe NetworkId - -> TxFile Out - -> ExceptT TxCmdError IO () -runLegacyTransactionSignCmd - txOrTxBody - witSigningData - mnw - outTxFile = - runTransactionSignCmd - ( Cmd.TransactionSignCmdArgs - txOrTxBody - witSigningData - mnw - outTxFile - ) - -runLegacyTransactionSubmitCmd - :: () - => SocketPath - -> ConsensusModeParams - -> NetworkId - -> FilePath - -> ExceptT TxCmdError IO () -runLegacyTransactionSubmitCmd - socketPath - consensusModeParams - network - txFilePath = - runTransactionSubmitCmd - ( Cmd.TransactionSubmitCmdArgs - socketPath - consensusModeParams - network - txFilePath - ) - -runLegacyTransactionCalculateMinFeeCmd - :: () - => TxBodyFile In - -> ProtocolParamsFile - -> TxShelleyWitnessCount - -> TxByronWitnessCount - -> ReferenceScriptSize - -> Maybe OutputFormatJsonOrText - -> Maybe (File () Out) - -> ExceptT TxCmdError IO () -runLegacyTransactionCalculateMinFeeCmd - txbodyFile - pParamsFile - txShelleyWitnessCount - txByronWitnessCount - referenceScriptSize - outputFormat - outFile = - runTransactionCalculateMinFeeCmd - ( Cmd.TransactionCalculateMinFeeCmdArgs - txbodyFile - pParamsFile - txShelleyWitnessCount - txByronWitnessCount - referenceScriptSize - outputFormat - outFile - ) - -runLegacyTransactionCalculateMinValueCmd - :: () - => AnyShelleyBasedEra - -> ProtocolParamsFile - -> TxOutShelleyBasedEra - -> ExceptT TxCmdError IO () -runLegacyTransactionCalculateMinValueCmd - (AnyShelleyBasedEra era) - pParamsFile - txOut = - runTransactionCalculateMinValueCmd - ( Cmd.TransactionCalculateMinValueCmdArgs - era - pParamsFile - txOut - ) - -runLegacyTransactionPolicyIdCmd :: ScriptFile -> ExceptT TxCmdError IO () -runLegacyTransactionPolicyIdCmd scriptFile = - runTransactionPolicyIdCmd - ( Cmd.TransactionPolicyIdCmdArgs - scriptFile - ) - -runLegacyTransactionHashScriptDataCmd :: ScriptDataOrFile -> ExceptT TxCmdError IO () -runLegacyTransactionHashScriptDataCmd scriptDataOrFile = - runTransactionHashScriptDataCmd - ( Cmd.TransactionHashScriptDataCmdArgs - scriptDataOrFile - ) - -runLegacyTransactionTxIdCmd :: InputTxBodyOrTxFile -> ExceptT TxCmdError IO () -runLegacyTransactionTxIdCmd txfile = - runTransactionTxIdCmd - ( Cmd.TransactionTxIdCmdArgs - txfile - ) - -runLegacyTransactionWitnessCmd - :: () - => TxBodyFile In - -> WitnessSigningData - -> Maybe NetworkId - -> File () Out - -> ExceptT TxCmdError IO () -runLegacyTransactionWitnessCmd - txbodyFile - witSignData - mbNw - outFile = - runTransactionWitnessCmd - ( Cmd.TransactionWitnessCmdArgs - txbodyFile - witSignData - mbNw - outFile - ) - -runLegacyTransactionSignWitnessCmd - :: () - => TxBodyFile In - -> [WitnessFile] - -> File () Out - -> ExceptT TxCmdError IO () -runLegacyTransactionSignWitnessCmd - txbodyFile - witnessFiles - outFile = - runTransactionSignWitnessCmd - ( Cmd.TransactionSignWitnessCmdArgs - txbodyFile - witnessFiles - outFile - ) From 86723b6752d034c32e29e6b2067fd33615595462 Mon Sep 17 00:00:00 2001 From: Jordan Millar Date: Fri, 20 Sep 2024 10:23:05 -0400 Subject: [PATCH 5/7] Update commands in tests --- cardano-cli/src/Cardano/CLI/Legacy/Options.hs | 1 - .../Golden/Babbage/Transaction/CalculateMinFee.hs | 3 ++- .../Test/Golden/Governance/Action.hs | 3 ++- .../Test/Golden/Key/NonExtendedKey.hs | 6 ++++-- .../Test/Golden/Shelley/Address/Build.hs | 6 ++++-- .../Test/Golden/Shelley/Address/Info.hs | 9 ++++++--- .../Test/Golden/Shelley/Address/KeyGen.hs | 6 ++++-- .../Test/Golden/Shelley/Genesis/Create.hs | 6 ++++-- .../Test/Golden/Shelley/Genesis/InitialTxIn.hs | 3 ++- .../Test/Golden/Shelley/Genesis/KeyGenDelegate.hs | 3 ++- .../Test/Golden/Shelley/Genesis/KeyGenGenesis.hs | 3 ++- .../Test/Golden/Shelley/Genesis/KeyGenUtxo.hs | 3 ++- .../Test/Golden/Shelley/Genesis/KeyHash.hs | 3 ++- .../Shelley/Key/ConvertCardanoAddressKey.hs | 15 ++++++++++----- .../Golden/Shelley/Metadata/StakePoolMetadata.hs | 3 ++- .../Test/Golden/Shelley/MultiSig/Address.hs | 9 ++++++--- .../Test/Golden/Shelley/Node/IssueOpCert.hs | 3 ++- .../Test/Golden/Shelley/Node/KeyGen.hs | 9 ++++++--- .../Test/Golden/Shelley/Node/KeyGenKes.hs | 9 ++++++--- .../Test/Golden/Shelley/Node/KeyGenVrf.hs | 9 ++++++--- .../Test/Golden/Shelley/StakeAddress/Build.hs | 3 ++- .../Test/Golden/Shelley/StakeAddress/KeyGen.hs | 3 ++- .../Test/Golden/Shelley/StakeAddress/KeyHash.hs | 3 ++- .../Certificates/GenesisKeyDelegation.hs | 9 ++++++--- .../Shelley/TextEnvelope/Certificates/MIR.hs | 3 ++- .../TextEnvelope/Certificates/Operational.hs | 9 ++++++--- .../TextEnvelope/Certificates/StakePool.hs | 9 ++++++--- .../TextEnvelope/Keys/ExtendedPaymentKeys.hs | 9 ++++++--- .../TextEnvelope/Keys/GenesisDelegateKeys.hs | 3 ++- .../Shelley/TextEnvelope/Keys/GenesisKeys.hs | 3 ++- .../Shelley/TextEnvelope/Keys/GenesisUTxOKeys.hs | 3 ++- .../Golden/Shelley/TextEnvelope/Keys/KESKeys.hs | 9 ++++++--- .../Shelley/TextEnvelope/Keys/PaymentKeys.hs | 9 ++++++--- .../Golden/Shelley/TextEnvelope/Keys/StakeKeys.hs | 9 ++++++--- .../Golden/Shelley/TextEnvelope/Keys/VRFKeys.hs | 9 ++++++--- .../Test/Golden/Shelley/TextEnvelope/Tx/Tx.hs | 6 ++++-- .../Test/Golden/Shelley/TextView/DecodeCbor.hs | 3 ++- .../Test/Golden/Shelley/Transaction/Assemble.hs | 3 ++- .../Test/Golden/Shelley/Transaction/Build.hs | 3 ++- .../Golden/Shelley/Transaction/CalculateMinFee.hs | 3 ++- .../Golden/Shelley/Transaction/CreateWitness.hs | 3 ++- .../Test/Golden/Shelley/Transaction/Sign.hs | 12 ++++++++---- .../test/cardano-cli-golden/Test/Golden/TxView.hs | 3 ++- 43 files changed, 160 insertions(+), 81 deletions(-) diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs index e15ce47d92..4187470f6f 100644 --- a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs +++ b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs @@ -19,7 +19,6 @@ module Cardano.CLI.Legacy.Options where import Cardano.Api hiding (QueryInShelleyBasedEra (..), parseFilePath) -import qualified Cardano.Api.Experimental as Exp import Cardano.Api.Ledger (Coin (..)) import Cardano.Chain.Common (BlockCount (BlockCount)) diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Babbage/Transaction/CalculateMinFee.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Babbage/Transaction/CalculateMinFee.hs index 6cc28bbfaf..eba767a054 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Babbage/Transaction/CalculateMinFee.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Babbage/Transaction/CalculateMinFee.hs @@ -21,7 +21,8 @@ hprop_golden_babbage_transaction_calculate_min_fee = propertyOnce $ do minFeeTxt <- execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "calculate-min-fee" , "--witness-count" , "1" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs index a122f5b3bb..b4439c5aad 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs @@ -47,7 +47,8 @@ hprop_golden_governance_action_create_constitution = void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--verification-key-file" , stakeAddressVKeyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Key/NonExtendedKey.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Key/NonExtendedKey.hs index e539a4ae38..5599f29bf3 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Key/NonExtendedKey.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Key/NonExtendedKey.hs @@ -29,7 +29,8 @@ hprop_golden_KeyNonExtendedKey_GenesisExtendedVerificationKey = -- Convert the `cardano-address` signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "non-extended-key" , "--extended-verification-key-file" , genesisVKeyFp @@ -53,7 +54,8 @@ hprop_golden_KeyNonExtendedKey_StakeExtendedVerificationKeyShelley = -- Convert the `cardano-address` signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "non-extended-key" , "--extended-verification-key-file" , genesisVKeyFp diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Build.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Build.hs index 1033238a8b..a3223d578e 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Build.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Build.hs @@ -29,7 +29,8 @@ hprop_golden_shelleyAddressBuild = propertyOnce . H.moduleWorkspace "tmp" $ \tem stakingAddressText <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "build" , "--testnet-magic" , "14" @@ -49,7 +50,8 @@ hprop_golden_shelleyAddressBuild = propertyOnce . H.moduleWorkspace "tmp" $ \tem enterpriseAddressText <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "build" , "--testnet-magic" , "14" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Info.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Info.hs index b743e31008..993a02113a 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Info.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Info.hs @@ -21,7 +21,8 @@ hprop_golden_shelleyAddressInfo = propertyOnce $ do infoText1 <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "info" , "--address" , byronBase58 @@ -35,7 +36,8 @@ hprop_golden_shelleyAddressInfo = propertyOnce $ do infoText2 <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "info" , "--address" , byronHex @@ -48,7 +50,8 @@ hprop_golden_shelleyAddressInfo = propertyOnce $ do infoText3 <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "info" , "--address" , shelleyHex diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/KeyGen.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/KeyGen.hs index 00afc396fc..8aa7dcaee4 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/KeyGen.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/KeyGen.hs @@ -20,7 +20,8 @@ hprop_golden_shelley_address_key_gen = propertyOnce . H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--verification-key-file" , addressVKeyFile @@ -51,7 +52,8 @@ hprop_golden_shelley_address_extended_key_gen = propertyOnce . H.moduleWorkspace void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--extended-key" , "--verification-key-file" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/Create.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/Create.hs index cdec6c7ed3..e3f1d6df52 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/Create.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/Create.hs @@ -97,7 +97,8 @@ hprop_golden_shelleyGenesisCreate = propertyOnce $ do -- Create the genesis json file and required keys void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "create" , "--testnet-magic" , "12" @@ -194,7 +195,8 @@ hprop_golden_shelleyGenesisCreate = propertyOnce $ do -- Create the genesis json file and required keys void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "create" , "--testnet-magic" , "12" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/InitialTxIn.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/InitialTxIn.hs index 9cc554d53a..29b5d61c7c 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/InitialTxIn.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/InitialTxIn.hs @@ -19,7 +19,8 @@ hprop_golden_shelleyGenesisInitialTxIn = propertyOnce $ do H.note "test/cardano-cli-golden/files/golden/shelley/keys/genesis_utxo_hashes/utxo_hash" utxoHash <- execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "initial-txin" , "--testnet-magic" , "16" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenDelegate.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenDelegate.hs index aec076e758..17429d5f21 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenDelegate.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenDelegate.hs @@ -21,7 +21,8 @@ hprop_golden_shelley_genesis_key_gen_delegate = propertyOnce . H.moduleWorkspace void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-delegate" , "--verification-key-file" , verificationKeyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenGenesis.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenGenesis.hs index a441b0ff3d..4e345a276d 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenGenesis.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenGenesis.hs @@ -20,7 +20,8 @@ hprop_golden_shelleyGenesisKeyGenGenesis = propertyOnce . H.moduleWorkspace "tmp void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-genesis" , "--verification-key-file" , verificationKeyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenUtxo.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenUtxo.hs index bb2896f1ef..647293a95d 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenUtxo.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenUtxo.hs @@ -20,7 +20,8 @@ hprop_golden_shelleyGenesisKeyGenUtxo = propertyOnce . H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-utxo" , "--verification-key-file" , utxoVerificationKeyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyHash.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyHash.hs index b961e67906..46a639d980 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyHash.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyHash.hs @@ -21,7 +21,8 @@ hprop_golden_shelleyGenesisKeyHash = propertyOnce . H.moduleWorkspace "tmp" $ \t genesisVerificationKeyHash <- execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-hash" , "--verification-key-file" , referenceVerificationKey diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Key/ConvertCardanoAddressKey.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Key/ConvertCardanoAddressKey.hs index 5ad89d8269..6b3c3a495f 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Key/ConvertCardanoAddressKey.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Key/ConvertCardanoAddressKey.hs @@ -61,7 +61,8 @@ hprop_golden_convertCardanoAddressByronSigningKey = -- Convert the `cardano-address` signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-cardano-address-key" , "--byron-payment-key" , "--signing-key-file" @@ -98,7 +99,8 @@ hprop_golden_convertCardanoAddressIcarusSigningKey = -- Convert the `cardano-address` signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-cardano-address-key" , "--icarus-payment-key" , "--signing-key-file" @@ -136,7 +138,8 @@ hprop_golden_convertCardanoAddressShelleyPaymentSigningKey = -- Convert the `cardano-address` signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-cardano-address-key" , "--shelley-payment-key" , "--signing-key-file" @@ -174,7 +177,8 @@ hprop_golden_convertCardanoAddressShelleyStakeSigningKey = -- Convert the `cardano-address` signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-cardano-address-key" , "--shelley-stake-key" , "--signing-key-file" @@ -214,7 +218,8 @@ hprop_golden_convert_cardano_address_cc_drep = do -- Convert the `cardano-address` signing key H.noteShowM_ $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-cardano-address-key" , flag , "--signing-key-file" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Metadata/StakePoolMetadata.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Metadata/StakePoolMetadata.hs index f521facdbe..6c5eb4846e 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Metadata/StakePoolMetadata.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Metadata/StakePoolMetadata.hs @@ -29,7 +29,8 @@ hprop_golden_stakePoolMetadataHash = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Hash the stake pool metadata void $ execCardanoCLI - [ "stake-pool" + [ "latest" + , "stake-pool" , "metadata-hash" , "--pool-metadata-file" , stakePoolMetadataFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/MultiSig/Address.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/MultiSig/Address.hs index 27a84a9197..e9b8719249 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/MultiSig/Address.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/MultiSig/Address.hs @@ -17,7 +17,8 @@ hprop_golden_shelleyAllMultiSigAddressBuild = propertyOnce . H.moduleWorkspace " allMultiSigAddress <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "build" , "--payment-script-file" , allMultiSigFp @@ -37,7 +38,8 @@ hprop_golden_shelleyAnyMultiSigAddressBuild = propertyOnce . H.moduleWorkspace " anyMultiSigAddress <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "build" , "--payment-script-file" , anyMultiSigFp @@ -58,7 +60,8 @@ hprop_golden_shelleyAtLeastMultiSigAddressBuild = propertyOnce . H.moduleWorkspa atLeastMultiSigAddress <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "build" , "--payment-script-file" , atLeastMultiSigFp diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/IssueOpCert.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/IssueOpCert.hs index bf1398c8a3..e8cbb3f625 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/IssueOpCert.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/IssueOpCert.hs @@ -35,7 +35,8 @@ hprop_golden_shelleyNodeIssueOpCert = propertyOnce . H.moduleWorkspace "tmp" $ \ -- --signing-key-file /dev/null void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "issue-op-cert" , "--hot-kes-verification-key-file" , hotKesVerificationKeyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGen.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGen.hs index 81d4116e9d..75c2d6733a 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGen.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGen.hs @@ -21,7 +21,8 @@ hprop_golden_shelleyNodeKeyGen = propertyOnce . H.moduleWorkspace "tmp" $ \tempD void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen" , "--verification-key-file" , verificationKeyFile @@ -57,7 +58,8 @@ hprop_golden_shelleyNodeKeyGen_te = propertyOnce . H.moduleWorkspace "tmp" $ \te void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen" , "--verification-key-file" , verificationKeyFile @@ -93,7 +95,8 @@ hprop_golden_shelleyNodeKeyGen_bech32 = propertyOnce . H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenKes.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenKes.hs index f3bab09955..e6ce286766 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenKes.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenKes.hs @@ -20,7 +20,8 @@ hprop_golden_shelleyNodeKeyGenKes = propertyOnce . H.moduleWorkspace "tmp" $ \te void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--verification-key-file" , verificationKey @@ -45,7 +46,8 @@ hprop_golden_shelleyNodeKeyGenKes_te = propertyOnce . H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--key-output-format" , "text-envelope" @@ -72,7 +74,8 @@ hprop_golden_shelleyNodeKeyGenKes_bech32 = propertyOnce . H.moduleWorkspace "tmp void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenVrf.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenVrf.hs index 4807de24c4..3347f4de48 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenVrf.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenVrf.hs @@ -20,7 +20,8 @@ hprop_golden_shelleyNodeKeyGenVrf = propertyOnce . H.moduleWorkspace "tmp" $ \te void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--verification-key-file" , verificationKey @@ -45,7 +46,8 @@ hprop_golden_shelleyNodeKeyGenVrf_te = propertyOnce . H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--key-output-format" , "text-envelope" @@ -72,7 +74,8 @@ hprop_golden_shelleyNodeKeyGenVrf_bech32 = propertyOnce . H.moduleWorkspace "tmp void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/Build.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/Build.hs index 2afb42b5d3..5a16e930a2 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/Build.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/Build.hs @@ -19,7 +19,8 @@ hprop_golden_shelleyStakeAddressBuild = propertyOnce . H.moduleWorkspace "tmp" $ rewardAddress <- execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "build" , "--mainnet" , "--staking-verification-key-file" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyGen.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyGen.hs index 67c03cd8db..c72a53679b 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyGen.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyGen.hs @@ -19,7 +19,8 @@ hprop_golden_shelleyStakeAddressKeyGen = propertyOnce . H.moduleWorkspace "tmp" void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--verification-key-file" , verificationKeyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyHash.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyHash.hs index ea2ce1eecf..e275393382 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyHash.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyHash.hs @@ -20,7 +20,8 @@ hprop_golden_shelleyStakeAddressKeyHash = propertyOnce . H.moduleWorkspace "tmp" verificationKeyHash <- execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-hash" , "--stake-verification-key-file" , verificationKeyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/GenesisKeyDelegation.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/GenesisKeyDelegation.hs index daf095f1d0..d41d5a7981 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/GenesisKeyDelegation.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/GenesisKeyDelegation.hs @@ -45,7 +45,8 @@ hprop_golden_shelleyGenesisKeyDelegationCertificate = -- Generate genesis key pair void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-genesis" , "--verification-key-file" , genesisVerKeyFilePath @@ -56,7 +57,8 @@ hprop_golden_shelleyGenesisKeyDelegationCertificate = -- Generate genesis delegate key pair void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-delegate" , "--verification-key-file" , genesisDelegVerKeyFilePath @@ -69,7 +71,8 @@ hprop_golden_shelleyGenesisKeyDelegationCertificate = -- Generate VRF key pair void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--verification-key-file" , vrfVerKeyFilePath diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/MIR.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/MIR.hs index 934966dbe6..5730cb0528 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/MIR.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/MIR.hs @@ -33,7 +33,8 @@ hprop_golden_shelleyMIRCertificate = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Generate stake key pair void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--verification-key-file" , verKey diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/Operational.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/Operational.hs index 60c9775742..ee962f9310 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/Operational.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/Operational.hs @@ -35,7 +35,8 @@ hprop_golden_shelleyOperationalCertificate = propertyOnce . H.moduleWorkspace "t -- Create KES key pair void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--verification-key-file" , kesVerKey @@ -48,7 +49,8 @@ hprop_golden_shelleyOperationalCertificate = propertyOnce . H.moduleWorkspace "t -- Create cold key pair void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen" , "--cold-verification-key-file" , coldVerKey @@ -63,7 +65,8 @@ hprop_golden_shelleyOperationalCertificate = propertyOnce . H.moduleWorkspace "t -- Create operational certificate void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "issue-op-cert" , "--kes-verification-key-file" , kesVerKey diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/StakePool.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/StakePool.hs index 0ed34287a0..3a1db87bb7 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/StakePool.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/StakePool.hs @@ -47,7 +47,8 @@ hprop_golden_shelleyStakePoolCertificates = propertyOnce . H.moduleWorkspace "tm -- Create cold key pair void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen" , "--cold-verification-key-file" , coldVerKey @@ -62,7 +63,8 @@ hprop_golden_shelleyStakePoolCertificates = propertyOnce . H.moduleWorkspace "tm -- Generate stake key pair void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--verification-key-file" , poolRewardAccountAndOwnerVerKey @@ -75,7 +77,8 @@ hprop_golden_shelleyStakePoolCertificates = propertyOnce . H.moduleWorkspace "tm -- Generate vrf verification key void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--verification-key-file" , vrfVerKey diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/ExtendedPaymentKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/ExtendedPaymentKeys.hs index 33688b81e8..2726984e41 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/ExtendedPaymentKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/ExtendedPaymentKeys.hs @@ -36,7 +36,8 @@ hprop_golden_shelleyExtendedPaymentKeys = propertyOnce . H.moduleWorkspace "tmp" -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--extended-key" , "--verification-key-file" @@ -72,7 +73,8 @@ hprop_golden_shelleyExtendedPaymentKeys_te = propertyOnce . H.moduleWorkspace "t -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--key-output-format" , "text-envelope" @@ -105,7 +107,8 @@ hprop_golden_shelleyExtendedPaymentKeys_bech32 = propertyOnce . H.moduleWorkspac -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisDelegateKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisDelegateKeys.hs index 65c9c7550e..1b28ca5637 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisDelegateKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisDelegateKeys.hs @@ -36,7 +36,8 @@ hprop_golden_shelleyGenesisDelegateKeys = propertyOnce . H.moduleWorkspace "tmp" -- Generate payment verification key void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-delegate" , "--verification-key-file" , verKey diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisKeys.hs index 500316dd18..8427026e91 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisKeys.hs @@ -31,7 +31,8 @@ hprop_golden_shelleyGenesisKeys = propertyOnce . H.moduleWorkspace "tmp" $ \temp -- Generate payment verification key void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-genesis" , "--verification-key-file" , verKey diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisUTxOKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisUTxOKeys.hs index 3898d1a3bd..21c8e74e3f 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisUTxOKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisUTxOKeys.hs @@ -31,7 +31,8 @@ hprop_golden_shelleyGenesisUTxOKeys = propertyOnce . H.moduleWorkspace "tmp" $ \ -- Generate payment verification key void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-utxo" , "--verification-key-file" , verKey diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/KESKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/KESKeys.hs index 60add90692..cb09756794 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/KESKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/KESKeys.hs @@ -35,7 +35,8 @@ hprop_golden_shelleyKESKeys = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -- Generate payment verification key void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--verification-key-file" , verKey @@ -69,7 +70,8 @@ hprop_golden_shelleyKESKeys_te = propertyOnce . H.moduleWorkspace "tmp" $ \tempD -- Generate payment verification key void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--key-output-format" , "text-envelope" @@ -99,7 +101,8 @@ hprop_golden_shelleyKESKeys_bech32 = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Generate payment verification key void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/PaymentKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/PaymentKeys.hs index db600a5498..d91b9536ef 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/PaymentKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/PaymentKeys.hs @@ -35,7 +35,8 @@ hprop_golden_shelleyPaymentKeys = propertyOnce . H.moduleWorkspace "tmp" $ \temp -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--verification-key-file" , verKey @@ -69,7 +70,8 @@ hprop_golden_shelleyPaymentKeys_te = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--key-output-format" , "text-envelope" @@ -101,7 +103,8 @@ hprop_golden_shelleyPaymentKeys_bech32 = propertyOnce . H.moduleWorkspace "tmp" -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/StakeKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/StakeKeys.hs index b56628c264..8865a2d9b2 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/StakeKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/StakeKeys.hs @@ -35,7 +35,8 @@ hprop_golden_shelleyStakeKeys = propertyOnce . H.moduleWorkspace "tmp" $ \tempDi -- Generate stake key pair void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--verification-key-file" , verKey @@ -69,7 +70,8 @@ hprop_golden_shelleyStakeKeys_te = propertyOnce . H.moduleWorkspace "tmp" $ \tem -- Generate stake key pair void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--key-output-format" , "text-envelope" @@ -101,7 +103,8 @@ hprop_golden_shelleyStakeKeys_bech32 = propertyOnce . H.moduleWorkspace "tmp" $ -- Generate stake key pair void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/VRFKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/VRFKeys.hs index d5e47bd24b..5f30c173b0 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/VRFKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/VRFKeys.hs @@ -37,7 +37,8 @@ hprop_golden_shelleyVRFKeys = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -- Generate vrf verification key void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--verification-key-file" , verKey @@ -73,7 +74,8 @@ hprop_golden_shelleyVRFKeys_te = propertyOnce . H.moduleWorkspace "tmp" $ \tempD -- Generate vrf verification key void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--key-output-format" , "text-envelope" @@ -105,7 +107,8 @@ hprop_golden_shelleyVRFKeys_bech32 = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Generate vrf verification key void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Tx/Tx.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Tx/Tx.hs index 4c989d8500..d64fa9f357 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Tx/Tx.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Tx/Tx.hs @@ -47,7 +47,8 @@ hprop_golden_shelleyTx = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> do -- Sign transaction void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--tx-body-file" , transactionBodyFile @@ -98,7 +99,8 @@ disable_hprop_golden_checkIfConstitutionalCommitteeKeyCanSign = propertyOnce . H -- Sign transaction void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--tx-body-file" , transactionBodyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextView/DecodeCbor.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextView/DecodeCbor.hs index 8a6aaf5e3d..d743f19f93 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextView/DecodeCbor.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextView/DecodeCbor.hs @@ -19,7 +19,8 @@ hprop_golden_shelleyTextViewDecodeCbor = propertyOnce $ H.moduleWorkspace "tmp" decodedTxt <- execCardanoCLI - [ "text-view" + [ "latest" + , "text-view" , "decode-cbor" , "--file" , unsignedTxFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Assemble.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Assemble.hs index 5457510830..29556aa66c 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Assemble.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Assemble.hs @@ -22,7 +22,8 @@ hprop_golden_shelleyTransactionAssembleWitness_SigningKey = propertyOnce $ H.mod noteInputFile "test/cardano-cli-golden/files/input/shelley/witnesses/singleSigningKeyWitness" void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign-witness" , "--tx-body-file" , txBodyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Build.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Build.hs index 1458dcd2de..f6b3e9343f 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Build.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Build.hs @@ -83,7 +83,8 @@ hprop_golden_shelley_transaction_build_minting = polid <- execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "policyid" , "--script-file" , scriptWit diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CalculateMinFee.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CalculateMinFee.hs index d7ec1364c2..e3512046bd 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CalculateMinFee.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CalculateMinFee.hs @@ -43,7 +43,8 @@ hprop_golden_shelley_transaction_calculate_min_fee = do minFeeTxt <- execCardanoCLI $ - [ "transaction" + [ "latest" + , "transaction" , "calculate-min-fee" , "--byron-witness-count" , "10" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CreateWitness.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CreateWitness.hs index 7b74679c49..fe319de342 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CreateWitness.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CreateWitness.hs @@ -48,7 +48,8 @@ hprop_golden_shelley_transaction_signing_key_witness = propertyOnce $ H.moduleWo void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "witness" , "--tx-body-file" , txBodyOutFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Sign.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Sign.hs index bd2dc39dcd..f7cc64e6bf 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Sign.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Sign.hs @@ -31,7 +31,8 @@ hprop_golden_shelley_transaction_sign = propertyOnce $ H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--mainnet" , "--tx-body-file" @@ -49,7 +50,8 @@ hprop_golden_shelley_transaction_sign = propertyOnce $ H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--mainnet" , "--tx-body-file" @@ -69,7 +71,8 @@ hprop_golden_shelley_transaction_sign = propertyOnce $ H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--mainnet" , "--tx-body-file" @@ -89,7 +92,8 @@ hprop_golden_shelley_transaction_sign = propertyOnce $ H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--mainnet" , "--tx-body-file" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/TxView.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/TxView.hs index 628b1edbcb..acb0f3b02d 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/TxView.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/TxView.hs @@ -421,7 +421,8 @@ hprop_golden_view_alonzo_signed_yaml = -- Sign void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--tx-body-file" , transactionBodyFile From 922c696f73d6f408c56370439489bf710e85a601 Mon Sep 17 00:00:00 2001 From: Jordan Millar Date: Fri, 20 Sep 2024 10:23:43 -0400 Subject: [PATCH 6/7] Update golden files --- .../Test/Golden/Governance/Action.hs | 21 +- .../cardano-cli-golden/files/golden/help.cli | 16971 +++++++--------- .../files/golden/help/address.cli | 2 +- .../files/golden/help/genesis.cli | 68 +- .../golden/help/genesis_create-cardano.cli | 21 +- .../golden/help/genesis_create-staked.cli | 24 +- .../help/genesis_create-testnet-data.cli | 66 + .../files/golden/help/genesis_create.cli | 21 +- .../files/golden/help/governance.cli | 23 +- .../files/golden/help/governance_action.cli | 27 + .../governance_action_create-constitution.cli | 49 + .../governance_action_create-hardfork.cli | 52 + .../help/governance_action_create-info.cli | 35 + ...governance_action_create-no-confidence.cli | 43 + ...tion_create-protocol-parameters-update.cli | 205 + ...ance_action_create-treasury-withdrawal.cli | 54 + .../governance_action_update-committee.cli | 74 + .../golden/help/governance_action_view.cli | 13 + .../golden/help/governance_committee.cli | 25 + ...reate-cold-key-resignation-certificate.cli | 33 + ...eate-hot-key-authorization-certificate.cli | 42 + .../governance_committee_key-gen-cold.cli | 12 + .../help/governance_committee_key-gen-hot.cli | 11 + .../help/governance_committee_key-hash.cli | 15 + .../files/golden/help/governance_drep.cli | 22 + .../files/golden/help/governance_drep_id.cli | 18 + .../golden/help/governance_drep_key-gen.cli | 11 + .../help/governance_drep_metadata-hash.cli | 10 + ...vernance_drep_registration-certificate.cli | 29 + ...governance_drep_retirement-certificate.cli | 24 + .../governance_drep_update-certificate.cli | 26 + .../files/golden/help/governance_vote.cli | 10 + .../golden/help/governance_vote_create.cli | 54 + .../golden/help/governance_vote_view.cli | 13 + .../files/golden/help/key.cli | 2 +- .../files/golden/help/latest.cli | 2 +- .../files/golden/help/latest_governance.cli | 19 +- .../golden/help/latest_governance_action.cli | 27 + ..._governance_action_create-constitution.cli | 69 + ...test_governance_action_create-hardfork.cli | 62 + .../latest_governance_action_create-info.cli | 42 + ...governance_action_create-no-confidence.cli | 50 + ...tion_create-protocol-parameters-update.cli | 148 +- ...ance_action_create-treasury-withdrawal.cli | 71 + ...est_governance_action_update-committee.cli | 84 + .../help/latest_governance_action_view.cli | 15 + .../help/latest_governance_committee.cli | 25 + ...reate-cold-key-resignation-certificate.cli | 33 + ...eate-hot-key-authorization-certificate.cli | 42 + ...test_governance_committee_key-gen-cold.cli | 12 + ...atest_governance_committee_key-gen-hot.cli | 11 + .../latest_governance_committee_key-hash.cli | 15 + .../golden/help/latest_governance_drep.cli | 22 + .../golden/help/latest_governance_drep_id.cli | 18 + .../help/latest_governance_drep_key-gen.cli | 11 + .../latest_governance_drep_metadata-hash.cli | 10 + ...vernance_drep_registration-certificate.cli | 29 + ...governance_drep_retirement-certificate.cli | 24 + ...est_governance_drep_update-certificate.cli | 26 + .../golden/help/latest_governance_vote.cli | 10 + .../help/latest_governance_vote_create.cli | 54 + .../help/latest_governance_vote_view.cli | 13 + .../files/golden/help/latest_query.cli | 14 + .../help/latest_query_committee-state.cli | 64 + .../golden/help/latest_query_constitution.cli | 32 + .../latest_query_drep-stake-distribution.cli | 50 + .../golden/help/latest_query_drep-state.cli | 53 + .../golden/help/latest_query_gov-state.cli | 30 + .../help/latest_query_kes-period-info.cli | 6 + .../help/latest_query_leadership-schedule.cli | 6 + .../golden/help/latest_query_ledger-state.cli | 6 + .../golden/help/latest_query_pool-params.cli | 4 + .../golden/help/latest_query_pool-state.cli | 4 + .../help/latest_query_protocol-state.cli | 6 + .../help/latest_query_ref-script-size.cli | 6 + .../golden/help/latest_query_slot-number.cli | 4 + .../latest_query_spo-stake-distribution.cli | 46 + .../help/latest_query_stake-address-info.cli | 6 + .../help/latest_query_stake-distribution.cli | 6 + .../golden/help/latest_query_stake-pools.cli | 4 + .../help/latest_query_stake-snapshot.cli | 6 + .../files/golden/help/latest_query_tip.cli | 4 + .../golden/help/latest_query_treasury.cli | 28 + .../files/golden/help/latest_query_utxo.cli | 4 + .../golden/help/latest_stake-address.cli | 10 + ...ake-address_deregistration-certificate.cli | 3 + ...stake-address_registration-certificate.cli | 3 + ..._stake-and-vote-delegation-certificate.cli | 51 + ...ke-address_vote-delegation-certificate.cli | 40 + .../latest_transaction_build-estimate.cli | 112 +- .../help/latest_transaction_build-raw.cli | 112 +- .../golden/help/latest_transaction_build.cli | 95 +- .../golden/help/latest_transaction_view.cli | 1 + .../golden/help/legacy_Legacy_commands.cli | 2 +- .../files/golden/help/legacy_governance.cli | 6 - .../files/golden/help/node.cli | 2 +- .../files/golden/help/query.cli | 17 + .../golden/help/query_committee-state.cli | 60 + .../files/golden/help/query_constitution.cli | 27 + .../help/query_drep-stake-distribution.cli | 49 + .../files/golden/help/query_drep-state.cli | 50 + .../files/golden/help/query_gov-state.cli | 27 + .../golden/help/query_kes-period-info.cli | 4 + .../golden/help/query_leadership-schedule.cli | 6 + .../files/golden/help/query_ledger-state.cli | 4 + .../files/golden/help/query_pool-params.cli | 4 + .../files/golden/help/query_pool-state.cli | 4 + .../golden/help/query_protocol-state.cli | 4 + .../golden/help/query_ref-script-size.cli | 36 + .../files/golden/help/query_slot-number.cli | 4 + .../help/query_spo-stake-distribution.cli | 46 + .../golden/help/query_stake-address-info.cli | 4 + .../golden/help/query_stake-distribution.cli | 4 + .../files/golden/help/query_stake-pools.cli | 4 + .../golden/help/query_stake-snapshot.cli | 4 + .../files/golden/help/query_tip.cli | 4 + .../files/golden/help/query_treasury.cli | 27 + .../files/golden/help/query_utxo.cli | 4 + .../files/golden/help/stake-address.cli | 23 +- ...ake-address_deregistration-certificate.cli | 20 +- .../golden/help/stake-address_key-hash.cli | 2 +- ...stake-address_registration-certificate.cli | 20 +- ..._stake-and-vote-delegation-certificate.cli | 51 + ...e-address_stake-delegation-certificate.cli | 34 + ...ke-address_vote-delegation-certificate.cli | 40 + .../files/golden/help/stake-pool.cli | 2 +- .../stake-pool_deregistration-certificate.cli | 18 - .../stake-pool_registration-certificate.cli | 18 - .../files/golden/help/transaction.cli | 6 +- .../help/transaction_build-estimate.cli | 514 + .../golden/help/transaction_build-raw.cli | 126 +- .../files/golden/help/transaction_build.cli | 7 +- ...ransaction_calculate-min-required-utxo.cli | 21 +- .../help/transaction_calculate-min-value.cli | 21 +- .../Test/Cli/FilePermissions.hs | 3 +- .../test/cardano-cli-test/Test/Cli/ITN.hs | 12 +- .../Test/Cli/Pioneers/Exercise1.hs | 15 +- .../Test/Cli/Pioneers/Exercise2.hs | 9 +- .../Test/Cli/Pioneers/Exercise3.hs | 9 +- .../Test/Cli/Pioneers/Exercise4.hs | 3 +- .../Test/Cli/Pioneers/Exercise5.hs | 9 +- .../Test/Cli/Pioneers/Exercise6.hs | 9 +- 142 files changed, 11580 insertions(+), 9701 deletions(-) create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-testnet-data.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-constitution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-hardfork.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-info.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-no-confidence.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-protocol-parameters-update.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-treasury-withdrawal.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_update-committee.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_view.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-cold-key-resignation-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-hot-key-authorization-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-cold.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-hot.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-hash.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_id.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_key-gen.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_metadata-hash.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_registration-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_retirement-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_update-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_create.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_view.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-info.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-treasury-withdrawal.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_update-committee.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_view.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-hot-key-authorization-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-hash.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_metadata-hash.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_spo-stake-distribution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_vote-delegation-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_view.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_committee-state.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_constitution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-stake-distribution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-state.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_gov-state.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_ref-script-size.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_spo-stake-distribution.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_treasury.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-and-vote-delegation-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-delegation-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_vote-delegation-certificate.cli create mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-estimate.cli diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs index b4439c5aad..dd8558319b 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs @@ -45,20 +45,19 @@ hprop_golden_governance_action_create_constitution = exampleAnchorDataHash2 tempDir - void $ - execCardanoCLI - [ "latest" - , "stake-address" - , "key-gen" - , "--verification-key-file" - , stakeAddressVKeyFile - , "--signing-key-file" - , stakeAddressSKeyFile - ] +base_golden_governance_action_create_constitution + :: (MonadBaseControl IO m, MonadTest m, MonadIO m, MonadCatch m) + => String + -> String + -> FilePath + -> m () +base_golden_governance_action_create_constitution hash1 hash2 tempDir = do + stakeAddressVKeyFile <- noteTempFile tempDir "stake-address.vkey" + stakeAddressSKeyFile <- noteTempFile tempDir "stake-address.skey" void $ execCardanoCLI - [ "legacy" + [ "latest" , "stake-address" , "key-gen" , "--verification-key-file" 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 3b0fa7c67f..3c638d0375 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -1,8007 +1,6904 @@ Usage: cardano-cli - ( shelley + ( legacy + | byron + | shelley | allegra | mary | alonzo | babbage | conway | latest - | legacy - | Legacy commands - | byron | hash | ping | debug commands | version ) -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 +Usage: cardano-cli legacy Legacy commands -Usage: cardano-cli shelley address (key-gen | key-hash | build | info) + Legacy commands - Payment address commands. +Usage: cardano-cli legacy governance + ( create-mir-certificate + | create-genesis-key-delegation-certificate + | create-update-proposal + ) -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 + Governance commands - Create an address key pair. +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 shelley address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] + Create an MIR (Move Instantaneous Rewards) certificate - Print the hash of an address key. +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 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] + Create an MIR certificate to pay stake addresses - Build a Shelley payment address, with optional delegation to a stake address. +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 shelley address info --address ADDRESS [--out-file FILEPATH] + Create an MIR certificate to transfer from the reserves pot to the treasury + pot - Print information about an address. +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 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 - ) + Create an MIR certificate to transfer from the treasury pot to the reserves + pot - Key utility commands. +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 shelley key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH + Create a genesis key delegation certificate - Get a verification key from a signing key. This supports all key types. +Usage: cardano-cli legacy governance create-update-proposal --out-file FILEPATH + --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + [--decentralization-parameter RATIONAL] + [ --extra-entropy HEX + | --reset-extra-entropy + ] + [--max-block-header-size WORD16] + [--max-block-body-size WORD32] + [--max-tx-size WORD32] + [--min-fee-constant LOVELACE] + [--min-fee-linear LOVELACE] + [--min-utxo-value NATURAL] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--min-pool-cost NATURAL] + [--pool-retirement-epoch-interval WORD32] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--monetary-expansion RATIONAL] + [--treasury-expansion RATIONAL] + [--price-execution-steps RATIONAL + --price-execution-memory RATIONAL] + [--max-tx-execution-units (INT, INT)] + [--max-block-execution-units (INT, INT)] + [--max-value-size INT] + [--collateral-percent INT] + [--max-collateral-inputs INT] + [--utxo-cost-per-byte LOVELACE] + [--cost-model-file FILE] -Usage: cardano-cli shelley key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH + Create an update proposal - Get a non-extended verification key from an extended verification key. This - supports all extended key types. +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 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 + Genesis block commands - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. +Usage: cardano-cli legacy genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli shelley key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH + Create a Shelley genesis key pair - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key +Usage: cardano-cli legacy genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH -Usage: cardano-cli shelley key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH + Create a Shelley genesis delegate key pair - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key +Usage: cardano-cli legacy genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli shelley key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH + Create a Shelley genesis UTxO key pair - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key +Usage: cardano-cli legacy genesis key-hash --verification-key-file FILEPATH -Usage: cardano-cli shelley key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH + Print the identifier (hash) of a public key - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key +Usage: cardano-cli legacy genesis get-ver-key --verification-key-file FILEPATH + --signing-key-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 + Derive the verification key from a signing key - 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 - ) - - Genesis block commands. - -Usage: cardano-cli shelley genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a Shelley genesis key pair - -Usage: cardano-cli shelley genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - - Create a Shelley genesis delegate key pair - -Usage: cardano-cli shelley genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a Shelley genesis UTxO key pair - -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 - - Derive the verification key from a signing key - -Usage: cardano-cli shelley genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli 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 shelley 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 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 - ) - - 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] +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] - [--gen-pools INT] - [--gen-stake-delegs INT] [--start-time UTC-TIME] [--supply LOVELACE] - [--supply-delegated LOVELACE] + [--security-param INT] + [--slot-length INT] + [--slot-coefficient RATIONAL] ( --mainnet | --testnet-magic NATURAL ) - [--bulk-pool-cred-files INT] - [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] - [--relay-specification-file FILEPATH] + --byron-template FILEPATH + --shelley-template FILEPATH + --alonzo-template FILEPATH + --conway-template FILEPATH + [--node-config-template FILEPATH] - Create a staked Shelley genesis file from a genesis template and + Create a Byron and Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli shelley genesis create-testnet-data [--spec-shelley FILEPATH] - [--spec-alonzo FILEPATH] - [--spec-conway FILEPATH] - [--genesis-keys INT] - [--pools INT] - [ --stake-delegators INT - | --transient-stake-delegators INT - ] - [ --drep-keys INT - | --transient-drep-keys INT - ] - [--stuffed-utxo INT] - [--utxo-keys INT] - [--total-supply LOVELACE] - [--delegated-supply LOVELACE] - [--testnet-magic NATURAL] - [--relays FILEPATH] - [--start-time UTC-TIME] - --out-dir DIR +Usage: cardano-cli 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 data to use for starting a testnet. + Create a Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -Usage: cardano-cli shelley genesis hash --genesis 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. + +Usage: cardano-cli legacy 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 byron + ( key + | transaction + | genesis + | governance + | miscellaneous + ) - Governance commands. + Byron specific 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 byron key ( keygen + | to-verification + | signing-key-public + | signing-key-address + | migrate-delegate-key-from + ) - Create an MIR (Move Instantaneous Rewards) certificate + Byron key utility commands -Usage: cardano-cli shelley governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli byron key keygen --secret FILEPATH - Create an MIR certificate to pay stake addresses + Generate a signing key. -Usage: cardano-cli shelley governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli byron key to-verification + [ --byron-legacy-formats + | --byron-formats + ] + --secret FILEPATH + --to FILEPATH - Create an MIR certificate to transfer from the reserves pot to the treasury - pot + Extract a verification key in its base64 form. -Usage: cardano-cli shelley governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli byron key signing-key-public + [ --byron-legacy-formats + | --byron-formats + ] + --secret FILEPATH - Create an MIR certificate to transfer from the treasury pot to the reserves - pot + Pretty-print a signing key's verification key (not a secret). -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 - -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 - - 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 byron key signing-key-address + [ --byron-legacy-formats + | --byron-formats + ] + ( --mainnet + | --testnet-magic NATURAL + ) + --secret FILEPATH - Node operation commands. + Print address of a signing key. -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 byron key migrate-delegate-key-from --from FILEPATH + --to FILEPATH - Create a key pair for a node operator's offline key and a new certificate - issue counter + Migrate a delegate key from an older version. -Usage: cardano-cli shelley node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli byron transaction ( submit-tx + | issue-genesis-utxo-expenditure + | issue-utxo-expenditure + | txid + ) - Create a key pair for a node KES operational key + Byron transaction commands -Usage: cardano-cli shelley node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli byron transaction submit-tx --socket-path SOCKET_PATH + ( --mainnet + | --testnet-magic NATURAL + ) + --tx FILEPATH - Create a key pair for a node VRF operational key + Submit a raw, signed transaction, in its on-wire representation. -Usage: cardano-cli shelley node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] +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)') - Print hash of a node's operational VRF key. + Write a file with a signed transaction, spending genesis UTxO. -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 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)') - Create a new certificate issue counter + Write a file with a signed transaction, spending normal UTxO. -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 byron transaction txid --tx FILEPATH - Issue a node operational certificate + Print the txid of a raw, signed transaction. -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 byron genesis (genesis | print-genesis-hash) - Node query commands. Will query the local node whose Unix domain socket is - obtained from the CARDANO_NODE_SOCKET_PATH environment variable. + Byron genesis block commands -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 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] - Get the node's current protocol parameters + Create genesis. -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 byron genesis print-genesis-hash --genesis-json FILEPATH - Get the node's current tip (slot no, hash, block no) + Compute hash of a genesis file. -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 byron governance COMMAND - Get the node's current set of stake pool ids + Byron governance commands -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 byron governance submit-proposal-vote + --socket-path SOCKET_PATH + ( --mainnet + | --testnet-magic NATURAL + ) + --filepath FILEPATH - Get the node's current aggregated stake distribution + Submit a proposal vote. -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 byron governance submit-update-proposal + --socket-path SOCKET_PATH + ( --mainnet + | --testnet-magic NATURAL + ) + --filepath FILEPATH - Get the current delegations and reward accounts filtered by stake address. + Submit an update proposal. -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 byron governance create-proposal-vote + ( --mainnet + | --testnet-magic NATURAL + ) + --signing-key FILEPATH + --proposal-filepath FILEPATH + ( --vote-yes + | --vote-no + ) + --output-filepath FILEPATH - Get a portion of the current UTxO: by tx in, by address or the whole. + Create an update proposal vote. -Usage: cardano-cli shelley query ledger-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] +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. + +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 + + Validate a CBOR blockchain object. + +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 ) - [--out-file FILEPATH] + --filepath FILEPATH - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) + Submit a proposal vote. -Usage: cardano-cli shelley query protocol-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] +Usage: cardano-cli byron submit-update-proposal --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) - [--out-file FILEPATH] + --filepath FILEPATH - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) + Submit an update proposal. -Usage: cardano-cli shelley query stake-snapshot --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] +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 ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] + --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] - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) + Create an update proposal. -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 + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced - command) + Shelley era commands - DEPRECATED - will be removed in the future -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 address (key-gen | key-hash | build | info) - Get the slots the node is expected to mint a block in (advanced command) + Payment address commands. -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 address key-gen [--key-output-format STRING] + [ --normal-key + | --extended-key + | --byron-key + ] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Get information about the current KES period and your node's operational - certificate. + Create an address key pair. -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) +Usage: cardano-cli shelley address key-hash + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH ) [--out-file FILEPATH] - Dump the pool state + Print the hash of an address key. -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 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] - Local Mempool info + Build a Shelley payment address, with optional delegation to a stake address. -Usage: cardano-cli shelley query tx-mempool info +Usage: cardano-cli shelley address info --address ADDRESS [--out-file FILEPATH] - Ask the node about the current mempool's capacity and sizes + Print information about an address. -Usage: cardano-cli shelley query tx-mempool next-tx +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 + ) - Requests the next transaction from the mempool's current list + Key utility commands. -Usage: cardano-cli shelley query tx-mempool tx-exists TX_ID +Usage: cardano-cli shelley key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH - Query if a particular transaction exists in the mempool + Get a verification key from a signing key. This supports all key types. -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 key non-extended-key --extended-verification-key-file FILEPATH + --verification-key-file FILEPATH - Query slot number for UTC timestamp + Get a non-extended verification key from an extended verification key. This + supports all extended key types. -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 +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 ) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] + ( --byron-signing-key-file FILEPATH + | --byron-verification-key-file FILEPATH + ) + --out-file FILEPATH - Calculate the reference input scripts size in bytes for provided transaction - inputs. + Convert a Byron payment, genesis or genesis delegate key (signing or + verification) to a corresponding Shelley-format key. -Usage: cardano-cli shelley stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate - ) +Usage: cardano-cli shelley key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 + --out-file FILEPATH - Stake address commands. + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis + verification key -Usage: cardano-cli shelley stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli shelley key convert-itn-key + ( --itn-signing-key-file FILEPATH + | --itn-verification-key-file FILEPATH + ) + --out-file FILEPATH - Create a stake address key pair + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or + verification key to a corresponding Shelley stake key -Usage: cardano-cli shelley stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli shelley key convert-itn-extended-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Print the hash of a stake address key + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key + to a corresponding Shelley stake signing 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 key convert-itn-bip32-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Build a stake address + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a + corresponding Shelley stake signing key -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 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 certificate + Convert a cardano-address extended signing key to a corresponding + Shelley-format key. -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 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 + ) - Create a stake address deregistration certificate + Genesis block commands. -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 genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. + Create a Shelley genesis key pair -Usage: cardano-cli shelley stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) +Usage: cardano-cli shelley genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH - Stake pool commands. + Create a Shelley genesis delegate key pair -Usage: cardano-cli shelley stake-pool registration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH +Usage: cardano-cli shelley genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH - Create a stake pool registration certificate + Create a Shelley genesis UTxO key pair -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 genesis key-hash --verification-key-file FILEPATH - Create a stake pool deregistration certificate + Print the identifier (hash) of a public key -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 genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH - Build pool id from the offline key + Derive the verification key from a signing key -Usage: cardano-cli shelley stake-pool metadata-hash --pool-metadata-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli shelley genesis initial-addr --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Print the hash of pool metadata. + Get the address for an initial UTxO based on the verification key -Usage: cardano-cli shelley text-view decode-cbor +Usage: cardano-cli shelley genesis initial-txin --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + Get the TxIn for an initial UTxO based on the verification key -Usage: cardano-cli shelley text-view decode-cbor --in-file FILEPATH - [--out-file 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] - Print a TextView file as decoded CBOR. + Create a Byron and Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -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 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 + ) - 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 + Create a Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - Build a transaction (low-level, inconvenient) +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] - 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 + Create a staked Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -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 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 - Sign a transaction + Create data to use for starting a testnet. -Usage: cardano-cli shelley transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH +Usage: cardano-cli shelley genesis hash --genesis FILEPATH - Create a transaction witness + Compute the hash of a genesis file -Usage: cardano-cli shelley transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH +Usage: cardano-cli shelley governance + ( create-mir-certificate + | create-genesis-key-delegation-certificate + | action + ) - Assemble a tx body and witness(es) to form a transaction + Governance commands. -Usage: cardano-cli shelley transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH +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 + ) - Assemble a tx body and witness(es) to form a transaction + Create an MIR (Move Instantaneous Rewards) certificate -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 governance create-mir-certificate stake-addresses + ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. + Create an MIR certificate to pay stake addresses -Usage: cardano-cli shelley transaction policyid --script-file FILEPATH +Usage: cardano-cli shelley governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH - Calculate the PolicyId from the monetary policy script. + Create an MIR certificate to transfer from the reserves pot to the treasury + pot -Usage: cardano-cli shelley transaction calculate-min-fee --tx-body-file FILEPATH - --protocol-params-file FILEPATH - --witness-count NATURAL - [--byron-witness-count NATURAL] - [--reference-script-size NATURAL] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - [ --mainnet - | --testnet-magic NATURAL - ] - [--tx-in-count NATURAL] - [--tx-out-count NATURAL] +Usage: cardano-cli shelley governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH - Calculate the minimum fee for a transaction. + Create an MIR certificate to transfer from the treasury pot to the reserves + pot -Usage: cardano-cli shelley transaction calculate-min-required-utxo --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] - - Calculate the minimum required UTxO for a transaction output. - -Usage: cardano-cli shelley transaction calculate-min-value --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] +Usage: cardano-cli shelley 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 - DEPRECATED: Use 'calculate-min-required-utxo' instead. + Create a genesis key delegation certificate -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 governance action create-protocol-parameters-update - Calculate the hash of script data. + Governance action commands. -Usage: cardano-cli shelley transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) +Usage: cardano-cli shelley governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--min-fee-linear LOVELACE] + [--min-fee-constant LOVELACE] + [--max-block-body-size WORD32] + [--max-tx-size WORD32] + [--max-block-header-size WORD16] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--pool-retirement-epoch-interval WORD32] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--treasury-expansion RATIONAL] + [--monetary-expansion RATIONAL] + [--min-pool-cost NATURAL] + [--min-utxo-value NATURAL] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + [ --extra-entropy HEX + | --reset-extra-entropy + ] + [--decentralization-parameter RATIONAL] + --out-file FILEPATH - Print a transaction identifier. + Create a protocol parameters update. -Usage: cardano-cli allegra - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +Usage: cardano-cli shelley node + ( key-gen + | key-gen-KES + | key-gen-VRF + | key-hash-VRF + | new-counter + | issue-op-cert + ) - Allegra era commands - DEPRECATED - will be removed in the future + Node operation commands. -Usage: cardano-cli allegra address (key-gen | key-hash | build | info) +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 - Payment address commands. + Create a key pair for a node operator's offline key and a new certificate + issue counter -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 shelley node key-gen-KES [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Create an address key pair. + Create a key pair for a node KES operational key -Usage: cardano-cli allegra address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli shelley node key-gen-VRF [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Print the hash of an address key. + Create a key pair for a node VRF operational 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 shelley node key-hash-VRF + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + [--out-file FILEPATH] - Build a Shelley payment address, with optional delegation to a stake address. + Print hash of a node's operational VRF key. -Usage: cardano-cli allegra address info --address ADDRESS [--out-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 - Print information about an address. + Create a new certificate issue counter -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 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 - Key utility commands. + Issue a node operational certificate -Usage: cardano-cli allegra key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH +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 + ) - Get a verification key from a signing key. This supports all key types. + 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 key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-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 a non-extended verification key from an extended verification key. This - supports all extended key types. + Get the node's current protocol parameters -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 shelley query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. + Get the node's current tip (slot no, hash, block no) -Usage: cardano-cli allegra key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --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] - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key + Get the node's current set of stake pool ids -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 - - 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 - - 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 - - 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 - ) - - Genesis block commands. - -Usage: cardano-cli allegra genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a Shelley genesis key pair - -Usage: cardano-cli allegra genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli shelley query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --output-json + | --output-text + ] + [--out-file FILEPATH] - Create a Shelley genesis delegate key pair + Get the node's current aggregated stake distribution -Usage: cardano-cli allegra genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-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] - Create a Shelley genesis UTxO key pair + Get the current delegations and reward accounts filtered by stake address. -Usage: cardano-cli allegra genesis key-hash --verification-key-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] - Print the identifier (hash) of a public key + Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli allegra genesis get-ver-key --verification-key-file FILEPATH - --signing-key-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] - Derive the verification key from a signing key + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced + command) -Usage: cardano-cli allegra genesis initial-addr --verification-key-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] - Get the address for an initial UTxO based on the verification key + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced + command) -Usage: cardano-cli allegra genesis initial-txin --verification-key-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] - Get the TxIn for an initial UTxO based on the verification key + Obtain the three stake snapshots for a pool, plus the total active stake + (advanced command) -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 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] - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + DEPRECATED. Use query pool-state instead. Dump the pool parameters + (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced + command) -Usage: cardano-cli allegra genesis create [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - ( --mainnet - | --testnet-magic NATURAL - ) +Usage: cardano-cli 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] - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Get the slots the node is expected to mint a block in (advanced command) -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] +Usage: cardano-cli shelley query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] ( --mainnet | --testnet-magic NATURAL ) - [--bulk-pool-cred-files INT] - [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] - [--relay-specification-file FILEPATH] + --op-cert-file FILEPATH + [--out-file FILEPATH] - Create a staked Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Get information about the current KES period and your node's operational + certificate. -Usage: cardano-cli allegra genesis create-testnet-data [--spec-shelley FILEPATH] - [--spec-alonzo FILEPATH] - [--spec-conway FILEPATH] - [--genesis-keys INT] - [--pools INT] - [ --stake-delegators INT - | --transient-stake-delegators INT - ] - [ --drep-keys INT - | --transient-drep-keys INT - ] - [--stuffed-utxo INT] - [--utxo-keys INT] - [--total-supply LOVELACE] - [--delegated-supply LOVELACE] - [--testnet-magic NATURAL] - [--relays FILEPATH] - [--start-time UTC-TIME] - --out-dir DIR +Usage: cardano-cli 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] - Create data to use for starting a testnet. + Dump the pool state -Usage: cardano-cli allegra genesis hash --genesis 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] - Compute the hash of a genesis file + Local Mempool info -Usage: cardano-cli allegra governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) +Usage: cardano-cli shelley query tx-mempool info - Governance commands. + Ask the node about the current mempool's capacity and sizes -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 shelley query tx-mempool next-tx - Create an MIR (Move Instantaneous Rewards) certificate + Requests the next transaction from the mempool's current list -Usage: cardano-cli allegra governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli shelley query tx-mempool tx-exists TX_ID - Create an MIR certificate to pay stake addresses + Query if a particular transaction exists in the mempool -Usage: cardano-cli allegra governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli shelley query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + TIMESTAMP - Create an MIR certificate to transfer from the reserves pot to the treasury - pot + Query slot number for UTC timestamp -Usage: cardano-cli allegra governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --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] - Create an MIR certificate to transfer from the treasury pot to the reserves - pot + Calculate the reference input scripts size in bytes for provided transaction + inputs. -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 shelley stake-address + ( key-gen + | key-hash + | build + | registration-certificate + | deregistration-certificate + | stake-delegation-certificate + ) - Create a genesis key delegation certificate + Stake address commands. -Usage: cardano-cli allegra governance action create-protocol-parameters-update +Usage: cardano-cli shelley stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Governance action commands. + Create a stake address key pair -Usage: cardano-cli allegra governance action create-protocol-parameters-update --epoch NATURAL - (--genesis-verification-key-file FILEPATH) - [--min-fee-linear LOVELACE] - [--min-fee-constant LOVELACE] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--max-block-header-size WORD16] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--treasury-expansion RATIONAL] - [--monetary-expansion RATIONAL] - [--min-pool-cost NATURAL] - [--min-utxo-value NATURAL] - [ --extra-entropy HEX - | --reset-extra-entropy - ] - [--decentralization-parameter RATIONAL] - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] - --out-file FILEPATH +Usage: cardano-cli shelley stake-address key-hash + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + ) + [--out-file FILEPATH] - Create a protocol parameters update. + Print the hash of a stake address key -Usage: cardano-cli allegra node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +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] - Node operation commands. + Build a stake address -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 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 key pair for a node operator's offline key and a new certificate - issue counter + Create a stake address registration certificate -Usage: cardano-cli allegra node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-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 - Create a key pair for a node KES operational key + Create a stake address deregistration certificate -Usage: cardano-cli allegra node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-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 key pair for a node VRF operational key + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. -Usage: cardano-cli allegra node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli shelley stake-pool + ( registration-certificate + | deregistration-certificate + | id + | metadata-hash + ) - Print hash of a node's operational VRF key. + Stake pool commands. -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 shelley stake-pool registration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + ) + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + ( --pool-reward-account-verification-key STRING + | --pool-reward-account-verification-key-file FILEPATH + ) + ( --pool-owner-verification-key STRING + | --pool-owner-stake-verification-key-file FILEPATH + ) + [ [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT + | --single-host-pool-relay STRING + [--pool-relay-port INT] + | --multi-host-pool-relay STRING + ] + [--metadata-url URL + --metadata-hash HASH] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILEPATH - Create a new certificate issue counter + Create a stake pool registration certificate -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 shelley stake-pool deregistration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + --epoch NATURAL + --out-file FILEPATH - Issue a node operational certificate + Create a stake pool deregistration 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 shelley stake-pool id + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] - Node query commands. Will query the local node whose Unix domain socket is - obtained from the CARDANO_NODE_SOCKET_PATH environment variable. + Build pool id from the offline key -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 shelley stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] - Get the node's current protocol parameters + Print the hash of pool metadata. -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 shelley text-view decode-cbor - Get the node's current tip (slot no, hash, block no) + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. -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 shelley text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] - Get the node's current set of stake pool ids + Print a TextView file as decoded CBOR. -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 shelley transaction + ( build-raw + | sign + | witness + | assemble + | submit + | policyid + | calculate-min-fee + | calculate-min-required-utxo + | hash-script-data + | txid + ) - Get the node's current aggregated stake distribution + Transaction commands. -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 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 - Get the current delegations and reward accounts filtered by stake address. + Build a transaction (low-level, inconvenient) -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] + 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 - Get a portion of the current UTxO: by tx in, by address or the whole. +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 allegra query ledger-state --socket-path SOCKET_PATH + 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 + + Create a transaction witness + +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 + + 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 ) - [--out-file FILEPATH] + --tx-file FILEPATH - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) + Submit a transaction to the local node whose Unix domain socket is obtained + from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli allegra query protocol-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli shelley transaction policyid --script-file FILEPATH - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) + Calculate the PolicyId from the monetary policy script. -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 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] - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) + Calculate the minimum fee for a transaction. -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 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] - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced - command) + Calculate the minimum required UTxO for a transaction output. -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 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] - Get the slots the node is expected to mint a block in (advanced command) + DEPRECATED: Use 'calculate-min-required-utxo' instead. -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 shelley transaction hash-script-data + ( --script-data-cbor-file CBOR_FILE + | --script-data-file JSON_FILE + | --script-data-value JSON_VALUE + ) - Get information about the current KES period and your node's operational - certificate. + Calculate the hash of script data. -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) +Usage: cardano-cli shelley transaction txid + ( --tx-body-file FILEPATH + | --tx-file FILEPATH ) - [--out-file FILEPATH] - Dump the pool state + Print a transaction identifier. -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 + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) - Local Mempool info + Allegra era commands - DEPRECATED - will be removed in the future -Usage: cardano-cli allegra query tx-mempool info +Usage: cardano-cli allegra address (key-gen | key-hash | build | info) - Ask the node about the current mempool's capacity and sizes + Payment address commands. -Usage: cardano-cli allegra query tx-mempool next-tx +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 - Requests the next transaction from the mempool's current list + Create an address key pair. -Usage: cardano-cli allegra query tx-mempool tx-exists TX_ID +Usage: cardano-cli allegra address key-hash + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + ) + [--out-file FILEPATH] - Query if a particular transaction exists in the mempool + Print the hash of an address key. -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 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] - Query slot number for UTC timestamp + Build a Shelley payment address, with optional delegation to a stake address. -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 address info --address ADDRESS [--out-file FILEPATH] - Calculate the reference input scripts size in bytes for provided transaction - inputs. + Print information about an address. -Usage: cardano-cli allegra stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate - ) +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 + ) - Stake address commands. + Key utility commands. -Usage: cardano-cli allegra stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli allegra key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH - Create a stake address key pair + Get a verification key from a signing key. This supports all key types. -Usage: cardano-cli allegra stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli allegra key non-extended-key --extended-verification-key-file FILEPATH + --verification-key-file FILEPATH - Print the hash of a stake address key + Get a non-extended verification key from an extended verification key. This + supports all extended key types. -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 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 - Build a stake address + Convert a Byron payment, genesis or genesis delegate key (signing or + verification) to a corresponding Shelley-format key. -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 key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 + --out-file FILEPATH - Create a stake address registration certificate + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis + verification key -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 key convert-itn-key + ( --itn-signing-key-file FILEPATH + | --itn-verification-key-file FILEPATH + ) + --out-file FILEPATH - Create a stake address deregistration certificate + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or + verification key to a corresponding Shelley stake key -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 key convert-itn-extended-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key + to a corresponding Shelley stake signing key -Usage: cardano-cli allegra stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) +Usage: cardano-cli allegra key convert-itn-bip32-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Stake pool commands. + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a + corresponding Shelley stake signing key -Usage: cardano-cli allegra stake-pool registration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH +Usage: cardano-cli allegra 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 pool registration certificate + Convert a cardano-address extended signing key to a corresponding + Shelley-format key. -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 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 + ) - Create a stake pool deregistration certificate + Genesis block commands. -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 genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH - Build pool id from the offline key + Create a Shelley genesis key pair -Usage: cardano-cli allegra stake-pool metadata-hash --pool-metadata-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli allegra genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH - Print the hash of pool metadata. + Create a Shelley genesis delegate key pair -Usage: cardano-cli allegra text-view decode-cbor +Usage: cardano-cli allegra genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + Create a Shelley genesis UTxO key pair -Usage: cardano-cli allegra text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli allegra genesis key-hash --verification-key-file FILEPATH - Print a TextView file as decoded CBOR. + Print the identifier (hash) of a public key -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 genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH - Transaction commands. + Derive the verification key from a signing key -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 genesis initial-addr --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Build a transaction (low-level, inconvenient) + Get the address for an initial UTxO based on the verification key - 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 genesis initial-txin --verification-key-file FILEPATH + ( --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 + Get the TxIn for an initial UTxO based on the verification key - Sign a transaction +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 transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH + Create a Byron and Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - Create a transaction witness +Usage: cardano-cli allegra genesis create [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + ( --mainnet + | --testnet-magic NATURAL + ) -Usage: cardano-cli allegra transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH + Create a Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - Assemble a tx body and witness(es) to form a transaction +Usage: cardano-cli allegra genesis create-staked [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--gen-pools INT] + [--gen-stake-delegs INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--supply-delegated LOVELACE] + ( --mainnet + | --testnet-magic NATURAL + ) + [--bulk-pool-cred-files INT] + [--bulk-pools-per-file INT] + [--num-stuffed-utxo INT] + [--relay-specification-file FILEPATH] -Usage: cardano-cli allegra transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH + Create a staked Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - Assemble a tx body and witness(es) to form a transaction +Usage: cardano-cli allegra genesis create-testnet-data [--spec-shelley FILEPATH] + [--spec-alonzo FILEPATH] + [--spec-conway FILEPATH] + [--genesis-keys INT] + [--pools INT] + [ --stake-delegators INT + | --transient-stake-delegators INT + ] + [ --drep-keys INT + | --transient-drep-keys INT + ] + [--stuffed-utxo INT] + [--utxo-keys INT] + [--total-supply LOVELACE] + [--delegated-supply LOVELACE] + [--testnet-magic NATURAL] + [--relays FILEPATH] + [--start-time UTC-TIME] + --out-dir DIR -Usage: cardano-cli allegra transaction submit --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --tx-file FILEPATH + Create data to use for starting a testnet. - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. +Usage: cardano-cli allegra genesis hash --genesis FILEPATH -Usage: cardano-cli allegra transaction policyid --script-file FILEPATH + Compute the hash of a genesis file - Calculate the PolicyId from the monetary policy script. +Usage: cardano-cli allegra governance + ( create-mir-certificate + | create-genesis-key-delegation-certificate + | action + ) -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] + Governance commands. - Calculate the minimum fee for a transaction. +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 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] + Create an MIR (Move Instantaneous Rewards) certificate - Calculate the minimum required UTxO for a transaction output. +Usage: cardano-cli allegra governance create-mir-certificate stake-addresses + ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH -Usage: cardano-cli allegra transaction calculate-min-value --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] + Create an MIR certificate to pay stake addresses - DEPRECATED: Use 'calculate-min-required-utxo' instead. +Usage: cardano-cli allegra governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH -Usage: cardano-cli allegra transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) + Create an MIR certificate to transfer from the reserves pot to the treasury + pot - Calculate the hash of script data. +Usage: cardano-cli allegra governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH -Usage: cardano-cli allegra transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - - Print a transaction identifier. + Create an MIR certificate to transfer from the treasury pot to the reserves + pot -Usage: cardano-cli mary - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +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 - Mary era commands - DEPRECATED - will be removed in the future + Create a genesis key delegation certificate -Usage: cardano-cli mary address (key-gen | key-hash | build | info) +Usage: cardano-cli allegra governance action create-protocol-parameters-update - Payment address commands. + Governance action 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 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 an address key pair. + Create a protocol parameters update. -Usage: cardano-cli mary address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli allegra node + ( key-gen + | key-gen-KES + | key-gen-VRF + | key-hash-VRF + | new-counter + | issue-op-cert + ) - Print the hash of an address key. + Node operation commands. -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 allegra node key-gen [--key-output-format STRING] + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH - Build a Shelley payment address, with optional delegation to a stake address. + Create a key pair for a node operator's offline key and a new certificate + issue counter -Usage: cardano-cli mary address info --address ADDRESS [--out-file FILEPATH] +Usage: cardano-cli allegra node key-gen-KES [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Print information about an address. + Create a key pair for a node KES operational 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 - ) +Usage: cardano-cli allegra node key-gen-VRF [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Key utility commands. + Create a key pair for a node VRF operational key -Usage: cardano-cli mary key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli allegra node key-hash-VRF + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + [--out-file FILEPATH] - Get a verification key from a signing key. This supports all key types. + Print hash of a node's operational VRF key. -Usage: cardano-cli mary key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-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 - Get a non-extended verification key from an extended verification key. This - supports all extended key types. + Create a new certificate issue counter -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 +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 - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. + Issue a node operational certificate -Usage: cardano-cli mary key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH +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 + ) - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key + 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 key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --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] - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key + Get the node's current protocol parameters -Usage: cardano-cli mary key convert-itn-extended-key --itn-signing-key-file FILEPATH - --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] - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key + Get the node's current tip (slot no, hash, block no) -Usage: cardano-cli mary key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --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] - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key + Get the node's current set of stake pool ids -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 allegra query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --output-json + | --output-text + ] + [--out-file FILEPATH] - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. + Get the node's current aggregated stake distribution -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 +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] - Create a Shelley genesis key pair + Get the current delegations and reward accounts filtered by stake address. -Usage: cardano-cli mary genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli 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] - Create a Shelley genesis delegate key pair + Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli mary genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-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] - Create a Shelley genesis UTxO key pair + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced + command) -Usage: cardano-cli mary genesis key-hash --verification-key-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] - Print the identifier (hash) of a public key + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced + command) -Usage: cardano-cli mary genesis get-ver-key --verification-key-file FILEPATH - --signing-key-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] - Derive the verification key from a signing key + Obtain the three stake snapshots for a pool, plus the total active stake + (advanced command) -Usage: cardano-cli mary genesis initial-addr --verification-key-file FILEPATH +Usage: cardano-cli allegra query pool-params --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] ( --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 + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) ) [--out-file FILEPATH] - Get the TxIn for an initial UTxO based on the verification key - -Usage: cardano-cli mary genesis create-cardano --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--security-param INT] - [--slot-length INT] - [--slot-coefficient RATIONAL] - ( --mainnet - | --testnet-magic NATURAL - ) - --byron-template FILEPATH - --shelley-template FILEPATH - --alonzo-template FILEPATH - --conway-template FILEPATH - [--node-config-template FILEPATH] - - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. - -Usage: cardano-cli mary genesis create [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - (--mainnet | --testnet-magic NATURAL) + DEPRECATED. Use query pool-state instead. Dump the pool parameters + (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced + command) - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. +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 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] + Get the slots the node is expected to mint a block in (advanced command) - Create a staked Shelley genesis file from a genesis template and - genesis/delegation/spending keys. +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 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 + Get information about the current KES period and your node's operational + certificate. - Create data to use for starting a testnet. +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 mary genesis hash --genesis FILEPATH + Dump the pool state - Compute the hash of a genesis file +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 mary governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) + Local Mempool info - Governance commands. +Usage: cardano-cli allegra query tx-mempool info -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 - ) + Ask the node about the current mempool's capacity and sizes - Create an MIR (Move Instantaneous Rewards) certificate +Usage: cardano-cli allegra query tx-mempool next-tx -Usage: cardano-cli mary governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH + Requests the next transaction from the mempool's current list - Create an MIR certificate to pay stake addresses +Usage: cardano-cli allegra query tx-mempool tx-exists TX_ID -Usage: cardano-cli mary governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH + Query if a particular transaction exists in the mempool - Create an MIR certificate to transfer from the reserves pot to the treasury - pot +Usage: cardano-cli allegra query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + TIMESTAMP -Usage: cardano-cli mary governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH + Query slot number for UTC timestamp - Create an MIR certificate to transfer from the treasury pot to the reserves - pot +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 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 + Calculate the reference input scripts size in bytes for provided transaction + inputs. - Create a genesis key delegation certificate +Usage: cardano-cli allegra stake-address + ( key-gen + | key-hash + | build + | registration-certificate + | deregistration-certificate + | stake-delegation-certificate + ) -Usage: cardano-cli mary governance action create-protocol-parameters-update + Stake address commands. - Governance action commands. +Usage: cardano-cli allegra stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli mary governance action create-protocol-parameters-update --epoch NATURAL - (--genesis-verification-key-file FILEPATH) - [--min-fee-linear LOVELACE] - [--min-fee-constant LOVELACE] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--max-block-header-size WORD16] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--treasury-expansion RATIONAL] - [--monetary-expansion RATIONAL] - [--min-pool-cost NATURAL] - [--min-utxo-value NATURAL] - [ --extra-entropy HEX - | --reset-extra-entropy - ] - [--decentralization-parameter RATIONAL] - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] - --out-file FILEPATH + Create a stake address key pair - Create a protocol parameters update. +Usage: cardano-cli allegra stake-address key-hash + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + ) + [--out-file FILEPATH] -Usage: cardano-cli mary node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) + Print the hash of a stake address key - Node operation commands. +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 mary node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH + Build a stake address - Create a key pair for a node operator's offline key and a new certificate - issue counter +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 mary node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + Create a stake address registration certificate - Create a key pair for a node KES operational key +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 mary node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + Create a stake address deregistration certificate - Create a key pair for a node VRF operational key +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 mary node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. - Print hash of a node's operational VRF key. +Usage: cardano-cli allegra stake-pool + ( registration-certificate + | deregistration-certificate + | id + | metadata-hash + ) -Usage: cardano-cli mary node new-counter + Stake pool commands. + +Usage: cardano-cli allegra stake-pool registration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + ) + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + ( --pool-reward-account-verification-key STRING + | --pool-reward-account-verification-key-file FILEPATH + ) + ( --pool-owner-verification-key STRING + | --pool-owner-stake-verification-key-file FILEPATH + ) + [ [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT + | --single-host-pool-relay STRING + [--pool-relay-port INT] + | --multi-host-pool-relay STRING + ] + [--metadata-url URL + --metadata-hash HASH] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILEPATH + + 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 - | --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 + [--output-format STRING] + [--out-file FILEPATH] - Issue a node operational certificate + Build pool id from the offline key -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 allegra stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] - Node query commands. Will query the local node whose Unix domain socket is - obtained from the CARDANO_NODE_SOCKET_PATH environment variable. + Print the hash of pool metadata. -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 allegra text-view decode-cbor - Get the node's current protocol parameters + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. -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 allegra text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] - Get the node's current tip (slot no, hash, block no) + Print a TextView file as decoded CBOR. -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 allegra transaction + ( build-raw + | sign + | witness + | assemble + | submit + | policyid + | calculate-min-fee + | calculate-min-required-utxo + | hash-script-data + | txid + ) - Get the node's current set of stake pool ids + Transaction commands. -Usage: cardano-cli mary query stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --output-json - | --output-text +Usage: cardano-cli allegra transaction build-raw + [ --script-valid + | --script-invalid ] - [--out-file FILEPATH] + (--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 - Get the node's current aggregated stake distribution + Build a transaction (low-level, inconvenient) -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] + 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 - Get the current delegations and reward accounts filtered by stake address. +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 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] + Sign a transaction - Get a portion of the current UTxO: by tx in, by address or the whole. +Usage: cardano-cli allegra transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [ --mainnet + | --testnet-magic NATURAL + ] + --out-file FILEPATH -Usage: cardano-cli mary query ledger-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + Create a transaction witness - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) +Usage: cardano-cli allegra transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --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] + Assemble a tx body and witness(es) to form a transaction - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) +Usage: cardano-cli allegra transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --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] + Assemble a tx body and witness(es) to form a transaction - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) +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 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] + Submit a transaction to the local node whose Unix domain socket is obtained + from the CARDANO_NODE_SOCKET_PATH environment variable. - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced - command) +Usage: cardano-cli allegra transaction policyid --script-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] + Calculate the PolicyId from the monetary policy script. - Get the slots the node is expected to mint a block in (advanced command) +Usage: cardano-cli allegra transaction calculate-min-fee --tx-body-file FILEPATH + --protocol-params-file FILEPATH + --witness-count NATURAL + [--byron-witness-count NATURAL] + [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILEPATH] + [ --mainnet + | --testnet-magic NATURAL + ] + [--tx-in-count NATURAL] + [--tx-out-count NATURAL] -Usage: cardano-cli 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] + Calculate the minimum fee for a transaction. - Get information about the current KES period and your node's operational - certificate. +Usage: cardano-cli allegra transaction calculate-min-required-utxo --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] -Usage: cardano-cli 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] + Calculate the minimum required UTxO for a transaction output. - Dump the pool state +Usage: cardano-cli allegra transaction calculate-min-value --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] -Usage: cardano-cli 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] + DEPRECATED: Use 'calculate-min-required-utxo' instead. - Local Mempool info +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 mary query tx-mempool info + Calculate the hash of script data. - Ask the node about the current mempool's capacity and sizes +Usage: cardano-cli allegra transaction txid + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) -Usage: cardano-cli mary query tx-mempool next-tx + Print a transaction identifier. - Requests the next transaction from the mempool's current list +Usage: cardano-cli mary + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) -Usage: cardano-cli mary query tx-mempool tx-exists TX_ID + Mary era commands - DEPRECATED - will be removed in the future - Query if a particular transaction exists in the mempool +Usage: cardano-cli mary address (key-gen | key-hash | build | info) -Usage: cardano-cli mary query slot-number --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - TIMESTAMP + Payment address commands. - Query slot number for UTC timestamp +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 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] + Create an address key pair. - Calculate the reference input scripts size in bytes for provided transaction - inputs. +Usage: cardano-cli mary address key-hash + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + ) + [--out-file FILEPATH] -Usage: cardano-cli mary stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate + 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] - Stake address commands. + Build a Shelley payment address, with optional delegation to a stake address. -Usage: cardano-cli mary stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli mary address info --address ADDRESS [--out-file FILEPATH] - Create a stake address key pair + Print information about an address. -Usage: cardano-cli mary stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +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 + ) - Print the hash of a stake address key + Key utility commands. -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 key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH - Build a stake address + Get a verification key from a signing key. This supports all key types. -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 key non-extended-key --extended-verification-key-file FILEPATH + --verification-key-file FILEPATH - Create a stake address registration certificate + Get a non-extended verification key from an extended verification key. This + supports all extended key types. -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 key convert-byron-key [--password TEXT] + ( --byron-payment-key-type + | --legacy-byron-payment-key-type + | --byron-genesis-key-type + | --legacy-byron-genesis-key-type + | --byron-genesis-delegate-key-type + | --legacy-byron-genesis-delegate-key-type + ) + ( --byron-signing-key-file FILEPATH + | --byron-verification-key-file FILEPATH + ) + --out-file FILEPATH - Create a stake address deregistration certificate + Convert a Byron payment, genesis or genesis delegate key (signing or + verification) to a corresponding Shelley-format key. -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 key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 + --out-file FILEPATH - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis + verification key -Usage: cardano-cli mary stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) +Usage: cardano-cli mary key convert-itn-key + ( --itn-signing-key-file FILEPATH + | --itn-verification-key-file FILEPATH + ) + --out-file FILEPATH - Stake pool commands. + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or + verification key to a corresponding Shelley stake key -Usage: cardano-cli mary stake-pool registration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH +Usage: cardano-cli mary key convert-itn-extended-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Create a stake pool registration certificate + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key + to a corresponding Shelley stake signing key -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 key convert-itn-bip32-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Create a stake pool deregistration certificate + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a + corresponding Shelley stake signing key -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 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 - Build pool id from the offline key + Convert a cardano-address extended signing key to a corresponding + Shelley-format key. -Usage: cardano-cli mary stake-pool metadata-hash --pool-metadata-file FILEPATH - [--out-file FILEPATH] +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 + ) - Print the hash of pool metadata. + Genesis block commands. -Usage: cardano-cli mary text-view decode-cbor +Usage: cardano-cli mary genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + Create a Shelley genesis key pair -Usage: cardano-cli mary text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli mary genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH - Print a TextView file as decoded CBOR. + Create a Shelley genesis delegate key pair -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 genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH - Transaction commands. + Create a Shelley genesis UTxO key pair -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 genesis key-hash --verification-key-file FILEPATH - Build a transaction (low-level, inconvenient) + Print the identifier (hash) of a public key - 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 mary genesis get-ver-key --verification-key-file FILEPATH + --signing-key-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 + Derive the verification key from a signing key - Sign a transaction +Usage: cardano-cli mary genesis initial-addr --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] -Usage: cardano-cli mary transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH + Get the address for an initial UTxO based on the verification key - Create a transaction witness +Usage: cardano-cli mary genesis initial-txin --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] -Usage: cardano-cli mary transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH + Get the TxIn for an initial UTxO based on the verification key - Assemble a tx body and witness(es) to form a transaction +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 transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH + Create a Byron and Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - Assemble a tx body and witness(es) to form a transaction +Usage: cardano-cli mary genesis create [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli mary transaction submit --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --tx-file FILEPATH + Create a Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. +Usage: cardano-cli mary genesis create-staked [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--gen-pools INT] + [--gen-stake-delegs INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--supply-delegated LOVELACE] + ( --mainnet + | --testnet-magic NATURAL + ) + [--bulk-pool-cred-files INT] + [--bulk-pools-per-file INT] + [--num-stuffed-utxo INT] + [--relay-specification-file FILEPATH] -Usage: cardano-cli mary transaction policyid --script-file FILEPATH + Create a staked Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - Calculate the PolicyId from the monetary policy script. +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 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] + Create data to use for starting a testnet. - Calculate the minimum fee for a transaction. +Usage: cardano-cli mary genesis hash --genesis FILEPATH -Usage: cardano-cli mary transaction calculate-min-required-utxo --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] + Compute the hash of a genesis file - Calculate the minimum required UTxO for a transaction output. +Usage: cardano-cli mary governance + ( create-mir-certificate + | create-genesis-key-delegation-certificate + | action + ) -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] + Governance commands. - DEPRECATED: Use 'calculate-min-required-utxo' instead. +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 transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) + Create an MIR (Move Instantaneous Rewards) certificate - Calculate the hash of script data. +Usage: cardano-cli mary governance create-mir-certificate stake-addresses + ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH -Usage: cardano-cli mary transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) + Create an MIR certificate to pay stake addresses - Print a transaction identifier. +Usage: cardano-cli mary governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH -Usage: cardano-cli alonzo - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) + Create an MIR certificate to transfer from the reserves pot to the treasury + pot - Alonzo era commands - DEPRECATED - will be removed in the future +Usage: cardano-cli mary governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH -Usage: cardano-cli alonzo address (key-gen | key-hash | build | info) + Create an MIR certificate to transfer from the treasury pot to the reserves + pot - Payment address commands. +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 alonzo address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + Create a genesis key delegation certificate - Create an address key pair. +Usage: cardano-cli mary governance action create-protocol-parameters-update -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] + Governance action commands. - Build a Shelley payment address, with optional delegation to a stake address. +Usage: cardano-cli mary governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--min-fee-linear LOVELACE] + [--min-fee-constant LOVELACE] + [--max-block-body-size WORD32] + [--max-tx-size WORD32] + [--max-block-header-size WORD16] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--pool-retirement-epoch-interval WORD32] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--treasury-expansion RATIONAL] + [--monetary-expansion RATIONAL] + [--min-pool-cost NATURAL] + [--min-utxo-value NATURAL] + [ --extra-entropy HEX + | --reset-extra-entropy + ] + [--decentralization-parameter RATIONAL] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + --out-file FILEPATH -Usage: cardano-cli alonzo address info --address ADDRESS [--out-file FILEPATH] + Create a protocol parameters update. - Print information about an address. +Usage: cardano-cli mary node + ( key-gen + | key-gen-KES + | key-gen-VRF + | key-hash-VRF + | new-counter + | issue-op-cert + ) -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 - ) + Node operation commands. - Key utility 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 alonzo key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH + Create a key pair for a node operator's offline key and a new certificate + issue counter - Get a verification key from a signing key. This supports all key types. +Usage: cardano-cli mary node key-gen-KES [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli alonzo key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH + Create a key pair for a node KES operational key - Get a non-extended verification key from an extended verification key. This - supports all extended key types. +Usage: cardano-cli mary node key-gen-VRF [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-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 + Create a key pair for a node VRF operational key - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. +Usage: cardano-cli mary node key-hash-VRF + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + [--out-file FILEPATH] -Usage: cardano-cli alonzo key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH + Print hash of a node's operational VRF key. - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification 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 alonzo key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH + Create a new certificate issue counter - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key +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 alonzo key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH + Issue a node operational certificate - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key +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 alonzo key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH + Node query commands. Will query the local node whose Unix domain socket is + obtained from the CARDANO_NODE_SOCKET_PATH environment variable. - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key +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 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 + Get the node's current protocol parameters - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. +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 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 - ) + Get the node's current tip (slot no, hash, block no) - Genesis block commands. +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 alonzo genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH + Get the node's current set of stake pool ids - Create a Shelley genesis key pair +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 alonzo genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH + Get the node's current aggregated stake distribution - Create a Shelley genesis delegate key pair +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 alonzo genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH + Get the current delegations and reward accounts filtered by stake address. - Create a Shelley genesis UTxO key pair +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 alonzo genesis key-hash --verification-key-file FILEPATH + Get a portion of the current UTxO: by tx in, by address or the whole. - Print the identifier (hash) of a public key +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 alonzo genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced + command) - Derive the verification key from a signing key +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 alonzo genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced + command) - Get the address for an initial UTxO based on the verification key +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 alonzo genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + Obtain the three stake snapshots for a pool, plus the total active stake + (advanced command) - Get the TxIn for an initial UTxO based on the verification key +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 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] + DEPRECATED. Use query pool-state instead. Dump the pool parameters + (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced + command) - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. +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 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) + Get the slots the node is expected to mint a block in (advanced command) - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. +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 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] + Get information about the current KES period and your node's operational + certificate. - Create a staked Shelley genesis file from a genesis template and - genesis/delegation/spending keys. +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 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 + Dump the pool state - Create data to use for starting a testnet. +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 alonzo genesis hash --genesis FILEPATH + Local Mempool info - Compute the hash of a genesis file +Usage: cardano-cli mary query tx-mempool info -Usage: cardano-cli alonzo governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) + Ask the node about the current mempool's capacity and sizes - Governance commands. +Usage: cardano-cli mary query tx-mempool next-tx -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 - ) + Requests the next transaction from the mempool's current list - Create an MIR (Move Instantaneous Rewards) certificate +Usage: cardano-cli mary query tx-mempool tx-exists TX_ID -Usage: cardano-cli alonzo governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH + Query if a particular transaction exists in the mempool - Create an MIR certificate to pay stake addresses +Usage: cardano-cli mary query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + TIMESTAMP -Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH + Query slot number for UTC timestamp - Create an MIR certificate to transfer from the reserves pot to the treasury - pot +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 alonzo governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH + Calculate the reference input scripts size in bytes for provided transaction + inputs. - Create an MIR certificate to transfer from the treasury pot to the reserves - pot +Usage: cardano-cli mary stake-address + ( key-gen + | key-hash + | build + | registration-certificate + | deregistration-certificate + | stake-delegation-certificate + ) -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 + Stake address commands. - Create a genesis key delegation certificate +Usage: cardano-cli mary stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli alonzo governance action create-protocol-parameters-update - - Governance action commands. + Create a stake address key pair -Usage: cardano-cli alonzo governance action create-protocol-parameters-update --epoch NATURAL - (--genesis-verification-key-file FILEPATH) - [--min-fee-linear LOVELACE] - [--min-fee-constant LOVELACE] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--max-block-header-size WORD16] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--treasury-expansion RATIONAL] - [--monetary-expansion RATIONAL] - [--min-pool-cost NATURAL] - [ --extra-entropy HEX - | --reset-extra-entropy - ] - [--decentralization-parameter RATIONAL] - [--price-execution-steps RATIONAL - --price-execution-memory RATIONAL] - [--max-tx-execution-units (INT, INT)] - [--max-block-execution-units (INT, INT)] - [--max-value-size INT] - [--collateral-percent INT] - [--max-collateral-inputs INT] - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] - [--cost-model-file FILE] - --out-file FILEPATH +Usage: cardano-cli mary stake-address key-hash + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + ) + [--out-file FILEPATH] - Create a protocol parameters update. + Print the hash of a stake address key -Usage: cardano-cli alonzo node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +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] - Node operation commands. + Build a stake address -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 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 key pair for a node operator's offline key and a new certificate - issue counter + Create a stake address registration certificate -Usage: cardano-cli alonzo node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-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 key pair for a node KES operational key + Create a stake address deregistration certificate -Usage: cardano-cli alonzo node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-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 key pair for a node VRF operational key + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. -Usage: cardano-cli alonzo node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli mary stake-pool + ( registration-certificate + | deregistration-certificate + | id + | metadata-hash + ) - Print hash of a node's operational VRF key. + Stake pool commands. -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 mary stake-pool registration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + ) + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + ( --pool-reward-account-verification-key STRING + | --pool-reward-account-verification-key-file FILEPATH + ) + ( --pool-owner-verification-key STRING + | --pool-owner-stake-verification-key-file FILEPATH + ) + [ [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT + | --single-host-pool-relay STRING + [--pool-relay-port INT] + | --multi-host-pool-relay STRING + ] + [--metadata-url URL + --metadata-hash HASH] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILEPATH - Create a new certificate issue counter + Create a stake pool registration certificate -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 mary stake-pool deregistration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + --epoch NATURAL + --out-file FILEPATH - Issue a node operational certificate + Create a stake pool deregistration 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 mary stake-pool id + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] - Node query commands. Will query the local node whose Unix domain socket is - obtained from the CARDANO_NODE_SOCKET_PATH environment variable. + Build pool id from the offline key -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 mary stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] - Get the node's current protocol parameters + Print the hash of pool metadata. -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 mary text-view decode-cbor - Get the node's current tip (slot no, hash, block no) + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. -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 mary text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] - Get the node's current set of stake pool ids + Print a TextView file as decoded CBOR. -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 mary transaction + ( build-raw + | sign + | witness + | assemble + | submit + | policyid + | calculate-min-fee + | calculate-min-required-utxo + | hash-script-data + | txid + ) - Get the node's current aggregated stake distribution + Transaction commands. -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] - - 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] - - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) +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 alonzo query protocol-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + Build a transaction (low-level, inconvenient) - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) + 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 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 transaction sign + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) + [--signing-key-file FILEPATH + [--address STRING]] + [--mainnet | --testnet-magic NATURAL] + --out-file FILEPATH - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) + Sign a transaction -Usage: cardano-cli alonzo query pool-params --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet +Usage: cardano-cli mary transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [ --mainnet | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] + ] + --out-file FILEPATH - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced - command) + Create a transaction witness -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 mary transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH - Get the slots the node is expected to mint a block in (advanced command) + Assemble a tx body and witness(es) to form a transaction -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 mary transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH - Get information about the current KES period and your node's operational - certificate. + Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli alonzo query pool-state --socket-path SOCKET_PATH +Usage: cardano-cli mary transaction submit --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] + --tx-file FILEPATH - Dump the pool state + Submit a transaction to the local node whose Unix domain socket is obtained + from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli alonzo 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 transaction policyid --script-file FILEPATH - Local Mempool info + Calculate the PolicyId from the monetary policy script. -Usage: cardano-cli alonzo query tx-mempool info +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] - Ask the node about the current mempool's capacity and sizes + Calculate the minimum fee for a transaction. -Usage: cardano-cli alonzo query tx-mempool next-tx +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] - Requests the next transaction from the mempool's current list + Calculate the minimum required UTxO for a transaction output. -Usage: cardano-cli alonzo query tx-mempool tx-exists TX_ID +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] - Query if a particular transaction exists in the mempool + DEPRECATED: Use 'calculate-min-required-utxo' instead. -Usage: cardano-cli alonzo query slot-number --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - TIMESTAMP +Usage: cardano-cli mary transaction hash-script-data + ( --script-data-cbor-file CBOR_FILE + | --script-data-file JSON_FILE + | --script-data-value JSON_VALUE + ) - Query slot number for UTC timestamp + Calculate the hash of script data. -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 mary transaction txid + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) - Calculate the reference input scripts size in bytes for provided transaction - inputs. + Print a transaction identifier. -Usage: cardano-cli alonzo stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate - ) +Usage: cardano-cli alonzo + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) - Stake address commands. + Alonzo era commands - DEPRECATED - will be removed in the future -Usage: cardano-cli alonzo stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli alonzo address (key-gen | key-hash | build | info) - Create a stake address key pair + Payment address commands. -Usage: cardano-cli alonzo stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli alonzo address key-gen [--key-output-format STRING] + [ --normal-key + | --extended-key + | --byron-key + ] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Print the hash of a stake address key + Create an address key pair. -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 address key-hash + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + ) + [--out-file FILEPATH] - Build a stake address + Print the hash of an address key. -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 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] - Create a stake address registration certificate + Build a Shelley payment address, with optional delegation to a stake address. -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 address info --address ADDRESS [--out-file FILEPATH] - Create a stake address deregistration certificate + Print information about an address. -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 key + ( verification-key + | non-extended-key + | convert-byron-key + | convert-byron-genesis-vkey + | convert-itn-key + | convert-itn-extended-key + | convert-itn-bip32-key + | convert-cardano-address-key + ) - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. + Key utility commands. -Usage: cardano-cli alonzo stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) +Usage: cardano-cli alonzo key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH - Stake pool commands. + Get a verification key from a signing key. This supports all key types. -Usage: cardano-cli alonzo stake-pool registration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH +Usage: cardano-cli alonzo key non-extended-key --extended-verification-key-file FILEPATH + --verification-key-file FILEPATH - Create a stake pool registration certificate + Get a non-extended verification key from an extended verification key. This + supports all extended key types. -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 key convert-byron-key [--password TEXT] + ( --byron-payment-key-type + | --legacy-byron-payment-key-type + | --byron-genesis-key-type + | --legacy-byron-genesis-key-type + | --byron-genesis-delegate-key-type + | --legacy-byron-genesis-delegate-key-type + ) + ( --byron-signing-key-file FILEPATH + | --byron-verification-key-file FILEPATH + ) + --out-file FILEPATH - Create a stake pool deregistration certificate + Convert a Byron payment, genesis or genesis delegate key (signing or + verification) to a corresponding Shelley-format key. -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 key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 + --out-file FILEPATH - Build pool id from the offline key + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis + verification key -Usage: cardano-cli alonzo stake-pool metadata-hash --pool-metadata-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 - Print the hash of pool metadata. + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or + verification key to a corresponding Shelley stake key -Usage: cardano-cli alonzo text-view decode-cbor +Usage: cardano-cli alonzo key convert-itn-extended-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key + to a corresponding Shelley stake signing key -Usage: cardano-cli alonzo text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli alonzo key convert-itn-bip32-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Print a TextView file as decoded CBOR. + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a + corresponding Shelley stake signing key -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 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 - Transaction commands. + Convert a cardano-address extended signing key to a corresponding + Shelley-format key. -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 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 + ) - Build a transaction (low-level, inconvenient) + Genesis block commands. - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m +Usage: cardano-cli alonzo genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-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 + Create a Shelley genesis key pair - Sign a transaction +Usage: cardano-cli alonzo genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH -Usage: cardano-cli alonzo transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH + Create a Shelley genesis delegate key pair - Create a transaction witness +Usage: cardano-cli alonzo genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli alonzo transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH + Create a Shelley genesis UTxO key pair - Assemble a tx body and witness(es) to form a transaction +Usage: cardano-cli alonzo genesis key-hash --verification-key-file FILEPATH -Usage: cardano-cli alonzo transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH + Print the identifier (hash) of a public key - Assemble a tx body and witness(es) to form a transaction +Usage: cardano-cli alonzo genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli alonzo transaction submit --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --tx-file FILEPATH + Derive the verification key from a signing key - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. +Usage: cardano-cli alonzo genesis initial-addr --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] -Usage: cardano-cli alonzo transaction policyid --script-file FILEPATH + Get the address for an initial UTxO based on the verification key - Calculate the PolicyId from the monetary policy script. +Usage: cardano-cli alonzo genesis initial-txin --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] -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] + Get the TxIn for an initial UTxO based on the verification key - Calculate the minimum fee for a transaction. +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 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] + Create a Byron and Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - Calculate the minimum required UTxO for a transaction output. +Usage: cardano-cli alonzo genesis create [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli alonzo 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] + Create a Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - DEPRECATED: Use 'calculate-min-required-utxo' instead. +Usage: cardano-cli alonzo genesis create-staked [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--gen-pools INT] + [--gen-stake-delegs INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--supply-delegated LOVELACE] + ( --mainnet + | --testnet-magic NATURAL + ) + [--bulk-pool-cred-files INT] + [--bulk-pools-per-file INT] + [--num-stuffed-utxo INT] + [--relay-specification-file FILEPATH] -Usage: cardano-cli alonzo transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) + Create a staked Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - Calculate the hash of script data. +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 transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) + Create data to use for starting a testnet. - Print a transaction identifier. +Usage: cardano-cli alonzo genesis hash --genesis FILEPATH -Usage: cardano-cli babbage - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) + Compute the hash of a genesis file - Babbage era commands - DEPRECATED - will be removed in the future +Usage: cardano-cli alonzo governance + ( create-mir-certificate + | create-genesis-key-delegation-certificate + | action + ) -Usage: cardano-cli babbage address (key-gen | key-hash | build | info) + Governance commands. - Payment address 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 babbage address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + Create an MIR (Move Instantaneous Rewards) certificate - Create an address key pair. +Usage: cardano-cli alonzo governance create-mir-certificate stake-addresses + ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH -Usage: cardano-cli babbage address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] + Create an MIR certificate to pay stake addresses - Print the hash of an address key. +Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --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] + Create an MIR certificate to transfer from the reserves pot to the treasury + pot - Build a Shelley payment address, with optional delegation to a stake address. +Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH -Usage: cardano-cli babbage address info --address ADDRESS [--out-file FILEPATH] + Create an MIR certificate to transfer from the treasury pot to the reserves + pot - Print information about an address. +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 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 - ) + Create a genesis key delegation certificate - Key utility commands. +Usage: cardano-cli alonzo governance action create-protocol-parameters-update -Usage: cardano-cli babbage key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH + Governance action commands. - Get a verification key from a signing key. This supports all key types. +Usage: cardano-cli alonzo governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--min-fee-linear LOVELACE] + [--min-fee-constant LOVELACE] + [--max-block-body-size WORD32] + [--max-tx-size WORD32] + [--max-block-header-size WORD16] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--pool-retirement-epoch-interval WORD32] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--treasury-expansion RATIONAL] + [--monetary-expansion RATIONAL] + [--min-pool-cost NATURAL] + [ --extra-entropy HEX + | --reset-extra-entropy + ] + [--decentralization-parameter RATIONAL] + [--price-execution-steps RATIONAL + --price-execution-memory RATIONAL] + [--max-tx-execution-units (INT, INT)] + [--max-block-execution-units (INT, INT)] + [--max-value-size INT] + [--collateral-percent INT] + [--max-collateral-inputs INT] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + [--cost-model-file FILE] + --out-file FILEPATH -Usage: cardano-cli babbage key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH + Create a protocol parameters update. - Get a non-extended verification key from an extended verification key. This - supports all extended key types. +Usage: cardano-cli alonzo node + ( key-gen + | key-gen-KES + | key-gen-VRF + | key-hash-VRF + | new-counter + | issue-op-cert + ) -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 + Node operation commands. - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. +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 babbage key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH + Create a key pair for a node operator's offline key and a new certificate + issue counter - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key +Usage: cardano-cli alonzo node key-gen-KES [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli babbage key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH + Create a key pair for a node KES operational key - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key +Usage: cardano-cli alonzo node key-gen-VRF [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli babbage key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH + Create a key pair for a node VRF operational key - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key +Usage: cardano-cli alonzo node key-hash-VRF + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + [--out-file FILEPATH] -Usage: cardano-cli babbage key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH + Print hash of a node's operational VRF key. - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing 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 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 + Create a new certificate issue counter - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. +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 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 - ) + Issue a node operational certificate - Genesis block commands. +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 babbage genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH + Node query commands. Will query the local node whose Unix domain socket is + obtained from the CARDANO_NODE_SOCKET_PATH environment variable. - Create a Shelley genesis key pair +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 babbage genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH + Get the node's current protocol parameters - Create a Shelley genesis delegate key pair +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 babbage genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH + Get the node's current tip (slot no, hash, block no) - Create a Shelley genesis UTxO key pair +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 babbage genesis key-hash --verification-key-file FILEPATH + Get the node's current set of stake pool ids - Print the identifier (hash) of a public key +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 babbage genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH + Get the node's current aggregated stake distribution - Derive the verification key from a signing key +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 babbage genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + Get the current delegations and reward accounts filtered by stake address. - Get the address for an initial UTxO based on the verification key +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 babbage genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + Get a portion of the current UTxO: by tx in, by address or the whole. - Get the TxIn for an initial UTxO based on the verification key +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 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] + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced + command) - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. +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 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 - ) + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced + command) - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. +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 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] + Obtain the three stake snapshots for a pool, plus the total active stake + (advanced command) - Create a staked Shelley genesis file from a genesis template and - genesis/delegation/spending keys. +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 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 + DEPRECATED. Use query pool-state instead. Dump the pool parameters + (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced + command) - Create data to use for starting a testnet. +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 babbage genesis hash --genesis FILEPATH + Get the slots the node is expected to mint a block in (advanced command) - Compute the hash of a genesis file +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 babbage governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - | create-poll - | answer-poll - | verify-poll - ) + Get information about the current KES period and your node's operational + certificate. - Governance commands. +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 babbage governance create-mir-certificate - ( ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - | stake-addresses - | transfer-to-treasury - | transfer-to-rewards - ) + Dump the pool state - Create an MIR (Move Instantaneous Rewards) certificate +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 babbage governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH + Local Mempool info - Create an MIR certificate to pay stake addresses +Usage: cardano-cli alonzo query tx-mempool info -Usage: cardano-cli babbage governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH + Ask the node about the current mempool's capacity and sizes - Create an MIR certificate to transfer from the reserves pot to the treasury - pot +Usage: cardano-cli alonzo query tx-mempool next-tx -Usage: cardano-cli babbage governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH + Requests the next transaction from the mempool's current list - Create an MIR certificate to transfer from the treasury pot to the reserves - pot +Usage: cardano-cli alonzo query tx-mempool tx-exists TX_ID -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 + Query if a particular transaction exists in the mempool - Create a genesis key delegation certificate +Usage: cardano-cli alonzo query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + TIMESTAMP -Usage: cardano-cli babbage governance action create-protocol-parameters-update + Query slot number for UTC timestamp - Governance action commands. +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 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 + Calculate the reference input scripts size in bytes for provided transaction + inputs. - Create a protocol parameters update. - -Usage: cardano-cli babbage governance create-poll --question STRING - (--answer STRING) - [--nonce UINT] - --out-file FILEPATH - - Create an SPO poll +Usage: cardano-cli alonzo stake-address + ( key-gen + | key-hash + | build + | registration-certificate + | deregistration-certificate + | stake-delegation-certificate + ) -Usage: cardano-cli babbage governance answer-poll --poll-file FILEPATH - [--answer INT] - [--out-file FILEPATH] + Stake address commands. - Answer an SPO poll +Usage: cardano-cli alonzo stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli babbage governance verify-poll --poll-file FILEPATH - --tx-file FILEPATH - [--out-file FILEPATH] + Create a stake address key pair - Verify an answer to a given SPO poll +Usage: cardano-cli alonzo stake-address key-hash + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + ) + [--out-file FILEPATH] -Usage: cardano-cli babbage node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) + Print the hash of a stake address key - Node operation commands. +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 babbage node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH + Build a stake address - Create a key pair for a node operator's offline key and a new certificate - issue counter +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 babbage node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + Create a stake address registration certificate - Create a key pair for a node KES operational key +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 babbage node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + Create a stake address deregistration certificate - Create a key pair for a node VRF operational key +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 babbage node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. - Print hash of a node's operational VRF key. +Usage: cardano-cli alonzo stake-pool + ( registration-certificate + | deregistration-certificate + | id + | metadata-hash + ) -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 + Stake pool commands. - Create a new certificate issue counter +Usage: cardano-cli alonzo stake-pool registration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + ) + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + ( --pool-reward-account-verification-key STRING + | --pool-reward-account-verification-key-file FILEPATH + ) + ( --pool-owner-verification-key STRING + | --pool-owner-stake-verification-key-file FILEPATH + ) + [ [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT + | --single-host-pool-relay STRING + [--pool-relay-port INT] + | --multi-host-pool-relay STRING + ] + [--metadata-url URL + --metadata-hash HASH] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILEPATH -Usage: cardano-cli 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 + Create a stake pool registration certificate - Issue a node operational 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 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 - ) + Create a stake pool deregistration certificate - 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 stake-pool id + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + [--output-format STRING] + [--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] + Build pool id from the offline key - Get the node's current protocol parameters +Usage: cardano-cli alonzo stake-pool metadata-hash --pool-metadata-file FILEPATH + [--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] + Print the hash of pool metadata. - Get the node's current tip (slot no, hash, block no) +Usage: cardano-cli alonzo text-view decode-cbor -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] + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. - Get the node's current set of stake pool ids +Usage: cardano-cli alonzo text-view decode-cbor --in-file FILEPATH + [--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] + Print a TextView file as decoded CBOR. - Get the node's current aggregated stake distribution +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 babbage query stake-address-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - --address ADDRESS - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + Transaction commands. - Get the current delegations and reward accounts filtered by stake address. +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 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] + Build a transaction (low-level, inconvenient) - Get a portion of the current UTxO: by tx in, by address or the whole. + 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 query ledger-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet +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] + ] + --out-file FILEPATH - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) + Create a transaction witness -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 alonzo transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) + Assemble a tx body and witness(es) to form a transaction -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 alonzo transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) + Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli babbage query pool-params --socket-path SOCKET_PATH +Usage: cardano-cli alonzo transaction submit --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] + --tx-file FILEPATH - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced - command) + 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 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 transaction policyid --script-file FILEPATH - Get the slots the node is expected to mint a block in (advanced command) + Calculate the PolicyId from the monetary policy script. -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 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] - Get information about the current KES period and your node's operational - certificate. + Calculate the minimum fee for a transaction. -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 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] - Dump the pool state + Calculate the minimum required UTxO for a transaction output. -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 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] - Local Mempool info + DEPRECATED: Use 'calculate-min-required-utxo' instead. -Usage: cardano-cli babbage query tx-mempool info +Usage: cardano-cli alonzo transaction hash-script-data + ( --script-data-cbor-file CBOR_FILE + | --script-data-file JSON_FILE + | --script-data-value JSON_VALUE + ) - Ask the node about the current mempool's capacity and sizes + Calculate the hash of script data. -Usage: cardano-cli babbage query tx-mempool next-tx +Usage: cardano-cli alonzo transaction txid + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) - Requests the next transaction from the mempool's current list + Print a transaction identifier. -Usage: cardano-cli babbage query tx-mempool tx-exists TX_ID +Usage: cardano-cli babbage + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) - Query if a particular transaction exists in the mempool + Babbage era commands - DEPRECATED - will be removed in the future -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 address (key-gen | key-hash | build | info) - Query slot number for UTC timestamp + Payment address commands. -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 address key-gen [--key-output-format STRING] + [ --normal-key + | --extended-key + | --byron-key + ] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Calculate the reference input scripts size in bytes for provided transaction - inputs. + Create an address key pair. -Usage: cardano-cli babbage stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate +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] - Stake address commands. + Build a Shelley payment address, with optional delegation to a stake address. -Usage: cardano-cli babbage stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli babbage address info --address ADDRESS [--out-file FILEPATH] - Create a stake address key pair + Print information about an address. -Usage: cardano-cli babbage stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +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 + ) - Print the hash of a stake address key + Key utility commands. -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 key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH - Build a stake address + Get a verification key from a signing key. This supports all key types. -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 key non-extended-key --extended-verification-key-file FILEPATH + --verification-key-file FILEPATH - Create a stake address registration certificate + Get a non-extended verification key from an extended verification key. This + supports all extended key types. -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 key convert-byron-key [--password TEXT] + ( --byron-payment-key-type + | --legacy-byron-payment-key-type + | --byron-genesis-key-type + | --legacy-byron-genesis-key-type + | --byron-genesis-delegate-key-type + | --legacy-byron-genesis-delegate-key-type + ) + ( --byron-signing-key-file FILEPATH + | --byron-verification-key-file FILEPATH + ) + --out-file FILEPATH - Create a stake address deregistration certificate + Convert a Byron payment, genesis or genesis delegate key (signing or + verification) to a corresponding Shelley-format key. -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 key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 + --out-file FILEPATH - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis + verification key -Usage: cardano-cli babbage stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) +Usage: cardano-cli babbage key convert-itn-key + ( --itn-signing-key-file FILEPATH + | --itn-verification-key-file FILEPATH + ) + --out-file FILEPATH - Stake pool commands. + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or + verification key to a corresponding Shelley stake key -Usage: cardano-cli babbage stake-pool registration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH +Usage: cardano-cli babbage key convert-itn-extended-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Create a stake pool registration certificate + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key + to a corresponding Shelley stake signing key -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 key convert-itn-bip32-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Create a stake pool deregistration certificate + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a + corresponding Shelley stake signing key -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 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 - Build pool id from the offline key + Convert a cardano-address extended signing key to a corresponding + Shelley-format key. -Usage: cardano-cli babbage stake-pool metadata-hash --pool-metadata-file FILEPATH - [--out-file FILEPATH] +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 + ) - Print the hash of pool metadata. + Genesis block commands. -Usage: cardano-cli babbage text-view decode-cbor +Usage: cardano-cli babbage genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + Create a Shelley genesis key pair -Usage: cardano-cli babbage text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli babbage genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH - Print a TextView file as decoded CBOR. + Create a Shelley genesis delegate key pair -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 genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH - Transaction commands. + Create a Shelley genesis UTxO key pair -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 genesis key-hash --verification-key-file FILEPATH - Build a transaction (low-level, inconvenient) + Print the identifier (hash) of a public key - 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 genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file 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 - ) + Derive the verification key from a signing key - Build a balanced transaction (automatically calculates fees) +Usage: cardano-cli babbage genesis initial-addr --verification-key-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 + Get the address for an initial UTxO based on the verification key -Usage: cardano-cli babbage transaction build-estimate - [ --script-valid - | --script-invalid - ] - --shelley-key-witnesses INT - [--byron-key-witnesses Int] - --protocol-params-file FILEPATH - --total-utxo-value VALUE - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ) - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - --spending-reference-tx-in-execution-units (INT, INT) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - ( --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ) - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - ) - --tx-in-execution-units (INT, INT)] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ - ( --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ) - --mint-execution-units (INT, INT)] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --mint-reference-tx-in-execution-units (INT, INT) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [ - --certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ - ( --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ) - --certificate-execution-units (INT, INT)] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - --certificate-reference-tx-in-execution-units (INT, INT) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ - ( --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ) - --withdrawal-execution-units (INT, INT)] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - --withdrawal-reference-tx-in-execution-units (INT, INT) - ]] - [--tx-total-collateral INTEGER] - [--reference-script-size NATURAL] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--update-proposal-file FILEPATH] - --out-file FILEPATH +Usage: cardano-cli babbage genesis initial-txin --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Build a balanced transaction without access to a live node (automatically estimates fees) + Get the TxIn for an initial UTxO based on the verification key - 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 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 transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH + Create a Byron and Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - Sign a transaction +Usage: cardano-cli babbage genesis create [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + ( --mainnet + | --testnet-magic NATURAL + ) -Usage: cardano-cli babbage transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH + Create a Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - Create a transaction witness +Usage: cardano-cli babbage genesis create-staked [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--gen-pools INT] + [--gen-stake-delegs INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--supply-delegated LOVELACE] + ( --mainnet + | --testnet-magic NATURAL + ) + [--bulk-pool-cred-files INT] + [--bulk-pools-per-file INT] + [--num-stuffed-utxo INT] + [--relay-specification-file FILEPATH] -Usage: cardano-cli babbage transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH + Create a staked Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - Assemble a tx body and witness(es) to form a transaction +Usage: cardano-cli babbage genesis create-testnet-data [--spec-shelley FILEPATH] + [--spec-alonzo FILEPATH] + [--spec-conway FILEPATH] + [--genesis-keys INT] + [--pools INT] + [ --stake-delegators INT + | --transient-stake-delegators INT + ] + [ --drep-keys INT + | --transient-drep-keys INT + ] + [--stuffed-utxo INT] + [--utxo-keys INT] + [--total-supply LOVELACE] + [--delegated-supply LOVELACE] + [--testnet-magic NATURAL] + [--relays FILEPATH] + [--start-time UTC-TIME] + --out-dir DIR -Usage: cardano-cli babbage transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH + Create data to use for starting a testnet. - Assemble a tx body and witness(es) to form a transaction +Usage: cardano-cli babbage genesis hash --genesis FILEPATH -Usage: cardano-cli babbage transaction submit --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --tx-file FILEPATH + Compute the hash of a genesis file - 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 governance + ( create-mir-certificate + | create-genesis-key-delegation-certificate + | action + | create-poll + | answer-poll + | verify-poll + ) -Usage: cardano-cli babbage transaction policyid --script-file FILEPATH + Governance commands. - Calculate the PolicyId from the monetary policy script. +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 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] + Create an MIR (Move Instantaneous Rewards) certificate - Calculate the minimum fee for a transaction. +Usage: cardano-cli babbage governance create-mir-certificate stake-addresses + ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH -Usage: cardano-cli babbage transaction calculate-min-required-utxo --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] + Create an MIR certificate to pay stake addresses - Calculate the minimum required UTxO for a transaction output. +Usage: cardano-cli babbage governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH -Usage: cardano-cli babbage transaction calculate-min-value --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] + Create an MIR certificate to transfer from the reserves pot to the treasury + pot - DEPRECATED: Use 'calculate-min-required-utxo' instead. +Usage: cardano-cli babbage governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH -Usage: cardano-cli babbage transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) + Create an MIR certificate to transfer from the treasury pot to the reserves + pot - Calculate the hash of script data. +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 transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) + Create a genesis key delegation certificate - Print a transaction identifier. +Usage: cardano-cli babbage governance action create-protocol-parameters-update -Usage: cardano-cli conway - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) + Governance action commands. - Conway era 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 -Usage: cardano-cli conway address (key-gen | key-hash | build | info) + Create a protocol parameters update. - Payment address commands. +Usage: cardano-cli babbage governance create-poll --question STRING + (--answer STRING) + [--nonce UINT] + --out-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 SPO poll - Create an address key pair. +Usage: cardano-cli babbage governance answer-poll --poll-file FILEPATH + [--answer INT] + [--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. + Answer an SPO poll -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 babbage governance verify-poll --poll-file FILEPATH + --tx-file FILEPATH + [--out-file FILEPATH] - Build a Shelley payment address, with optional delegation to a stake address. + Verify an answer to a given SPO poll -Usage: cardano-cli conway address info --address ADDRESS [--out-file FILEPATH] +Usage: cardano-cli babbage node + ( key-gen + | key-gen-KES + | key-gen-VRF + | key-hash-VRF + | new-counter + | issue-op-cert + ) - Print information about an address. + Node operation commands. -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 babbage node key-gen [--key-output-format STRING] + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH - Key utility commands. + Create a key pair for a node operator's offline key and a new certificate + issue counter -Usage: cardano-cli conway key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli babbage node key-gen-KES [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Get a verification key from a signing key. This supports all key types. + Create a key pair for a node KES operational key -Usage: cardano-cli conway key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli babbage node key-gen-VRF [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Get a non-extended verification key from an extended verification key. This - supports all extended key types. + Create a key pair for a node VRF operational key -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 babbage node key-hash-VRF + ( --verification-key STRING + | --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. + Print hash of a node's operational VRF key. -Usage: cardano-cli conway key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-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 - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key + Create a new certificate issue counter -Usage: cardano-cli conway key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-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 - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key + Issue a node operational certificate -Usage: cardano-cli conway key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH +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 + ) - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key + 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 key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --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] - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key + Get the node's current protocol parameters -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 babbage query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. + Get the node's current tip (slot no, hash, block no) -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 babbage query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--output-json | --output-text] + [--out-file FILEPATH] - Genesis block commands. + Get the node's current set of stake pool ids -Usage: cardano-cli conway genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-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] - Create a Shelley genesis key pair + Get the node's current aggregated stake distribution -Usage: cardano-cli conway genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli babbage query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Create a Shelley genesis delegate key pair + Get the current delegations and reward accounts filtered by stake address. -Usage: cardano-cli conway genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-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] - Create a Shelley genesis UTxO key pair + Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli conway genesis key-hash --verification-key-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] - Print the identifier (hash) of a public key + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced + command) -Usage: cardano-cli conway genesis get-ver-key --verification-key-file FILEPATH - --signing-key-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] - Derive the verification key from a signing key + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced + command) -Usage: cardano-cli conway genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--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] - Get the address for an initial UTxO based on the verification key + Obtain the three stake snapshots for a pool, plus the total active stake + (advanced command) -Usage: cardano-cli conway genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--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] - Get the TxIn for an initial UTxO based on the verification key + DEPRECATED. Use query pool-state instead. Dump the pool parameters + (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced + command) -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] +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 ) - --byron-template FILEPATH - --shelley-template FILEPATH - --alonzo-template FILEPATH - --conway-template FILEPATH - [--node-config-template FILEPATH] + --op-cert-file FILEPATH + [--out-file FILEPATH] - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Get information about the current KES period and your node's operational + certificate. -Usage: cardano-cli conway genesis create [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - (--mainnet | --testnet-magic NATURAL) +Usage: cardano-cli 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] - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Dump the pool state -Usage: cardano-cli conway genesis create-staked [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--gen-pools INT] - [--gen-stake-delegs INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--supply-delegated LOVELACE] - ( --mainnet - | --testnet-magic NATURAL - ) - [--bulk-pool-cred-files INT] - [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] - [--relay-specification-file FILEPATH] +Usage: cardano-cli 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] - Create a staked Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Local Mempool info -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 babbage query tx-mempool info - Create data to use for starting a testnet. + Ask the node about the current mempool's capacity and sizes -Usage: cardano-cli conway genesis hash --genesis FILEPATH +Usage: cardano-cli babbage query tx-mempool next-tx - Compute the hash of a genesis file + Requests the next transaction from the mempool's current list -Usage: cardano-cli conway governance (action | committee | drep | vote) +Usage: cardano-cli babbage query tx-mempool tx-exists TX_ID - Governance commands. + Query if a particular transaction exists in the mempool -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 babbage query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + TIMESTAMP - Governance action commands. + Query slot number for UTC timestamp -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 - | --trust-anchor-data - ) - --constitution-url TEXT - --constitution-hash HASH - ( --check-constitution-hash - | --trust-constitution-hash - ) - [--constitution-script-hash HASH] - --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] - Create a constitution. + Calculate the reference input scripts size in bytes for provided transaction + inputs. -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 - | --trust-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 babbage stake-address + ( key-gen + | key-hash + | build + | registration-certificate + | deregistration-certificate + | stake-delegation-certificate + ) - Create or update a new committee proposal. + Stake address commands. -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 - | --trust-anchor-data - ) - --out-file FILEPATH - - Create an info action. +Usage: cardano-cli babbage stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-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 - | --trust-anchor-data - ) - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --out-file FILEPATH + Create a stake address key pair - Create a no confidence proposal. +Usage: cardano-cli babbage stake-address key-hash + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + ) + [--out-file FILEPATH] -Usage: cardano-cli conway governance action create-protocol-parameters-update - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - ( --check-anchor-data - | --trust-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 + Print the hash of a stake address key - Create a protocol parameters update. +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 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 - | --trust-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 + Build a stake address - Create a treasury withdrawal. +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 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 - | --trust-anchor-data - ) - --protocol-major-version MAJOR - --protocol-minor-version MINOR - --out-file FILEPATH + Create a stake address registration certificate - Create a hardfork initiation proposal. +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 conway governance action view --action-file FILEPATH - [ --output-json - | --output-yaml - ] - [--out-file FILEPATH] + Create a stake address deregistration certificate - View a governance action. +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 conway governance committee - ( key-gen-cold - | key-gen-hot - | key-hash - | create-hot-key-authorization-certificate - | create-cold-key-resignation-certificate - ) + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. - Committee member commands. +Usage: cardano-cli babbage stake-pool + ( registration-certificate + | deregistration-certificate + | id + | metadata-hash + ) -Usage: cardano-cli conway governance committee key-gen-cold - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH + Stake pool commands. - Create a cold key pair for a Constitutional Committee Member +Usage: cardano-cli babbage stake-pool registration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + ) + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + ( --pool-reward-account-verification-key STRING + | --pool-reward-account-verification-key-file FILEPATH + ) + ( --pool-owner-verification-key STRING + | --pool-owner-stake-verification-key-file FILEPATH + ) + [ [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT + | --single-host-pool-relay STRING + [--pool-relay-port INT] + | --multi-host-pool-relay STRING + ] + [--metadata-url URL + --metadata-hash HASH] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILEPATH -Usage: cardano-cli conway governance committee key-gen-hot --verification-key-file FILEPATH - --signing-key-file FILEPATH + Create a stake pool registration certificate - Create a hot key pair for a Constitutional Committee Member - -Usage: cardano-cli conway governance committee key-hash - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - - Print the identifier (hash) of a public key - -Usage: cardano-cli conway governance committee create-hot-key-authorization-certificate - ( --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - | --cold-script-file FILEPATH - ) - ( --hot-verification-key STRING - | --hot-verification-key-file FILEPATH - | --hot-verification-key-hash STRING - | --hot-script-hash HASH - | --hot-script-file FILEPATH - ) - --out-file FILEPATH - - Create hot key authorization certificate for a Constitutional Committee Member - -Usage: cardano-cli conway governance committee create-cold-key-resignation-certificate - ( --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - | --cold-script-file FILEPATH - ) - [--resignation-metadata-url TEXT - --resignation-metadata-hash HASH] - --out-file FILEPATH - - Create cold key resignation certificate for a Constitutional Committee Member - -Usage: cardano-cli conway governance drep - ( key-gen - | id - | registration-certificate - | retirement-certificate - | update-certificate - | metadata-hash - ) - - DRep member commands. +Usage: cardano-cli babbage stake-pool deregistration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + --epoch NATURAL + --out-file FILEPATH -Usage: cardano-cli conway governance drep key-gen --verification-key-file FILEPATH - --signing-key-file FILEPATH + Create a stake pool deregistration certificate - Generate Delegated Representative verification and signing keys. +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 conway governance drep id - ( --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] + Build pool id from the offline key - Generate a drep id. +Usage: cardano-cli babbage stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli conway governance drep registration-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - --key-reg-deposit-amt NATURAL - [--drep-metadata-url TEXT - --drep-metadata-hash HASH] - --out-file FILEPATH + Print the hash of pool metadata. - Create a registration certificate. +Usage: cardano-cli babbage text-view decode-cbor -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 + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. - Create a DRep retirement certificate. +Usage: cardano-cli babbage text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli conway governance drep update-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - [--drep-metadata-url TEXT - --drep-metadata-hash HASH] - --out-file FILEPATH + Print a TextView file as decoded CBOR. - Create a DRep update certificate. +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 conway governance drep metadata-hash --drep-metadata-file FILEPATH - [--out-file FILEPATH] + Transaction commands. - Calculate the hash of a metadata file. +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 conway governance vote (create | view) + Build a transaction (low-level, inconvenient) - Vote commands. + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m -Usage: cardano-cli conway governance vote create (--yes | --no | --abstain) - --governance-action-tx-id TXID - --governance-action-index WORD16 - ( --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - | --drep-script-hash HASH - | --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - | --cc-hot-verification-key STRING - | --cc-hot-verification-key-file FILEPATH - | --cc-hot-key-hash STRING - | --cc-hot-script-hash HASH - ) - [--anchor-url TEXT - --anchor-data-hash HASH] - --out-file FILEPATH - - Vote creation. - -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 +Usage: cardano-cli babbage transaction build --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet | --testnet-magic NATURAL ) - [ --volatile-tip - | --immutable-tip + [ --script-valid + | --script-invalid ] - [--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 + [--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 ] - [--out-file FILEPATH] - - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) + [--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 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] + Build a balanced transaction (automatically calculates fees) - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) + 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 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 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 - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced - command) + Build a balanced transaction without access to a live node (automatically estimates fees) -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] + 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 - Get the slots the node is expected to mint a block in (advanced command) +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 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] + Sign a transaction - Get information about the current KES period and your node's operational - certificate. +Usage: cardano-cli babbage transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [ --mainnet + | --testnet-magic NATURAL + ] + --out-file FILEPATH -Usage: cardano-cli conway query 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] + Create a transaction witness - Dump the pool state +Usage: cardano-cli babbage transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --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] + Assemble a tx body and witness(es) to form a transaction - Local Mempool info +Usage: cardano-cli babbage transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH -Usage: cardano-cli conway query tx-mempool info + Assemble a tx body and witness(es) to form a transaction - Ask the node about the current mempool's capacity and sizes +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 conway query tx-mempool next-tx + Submit a transaction to the local node whose Unix domain socket is obtained + from the CARDANO_NODE_SOCKET_PATH environment variable. - Requests the next transaction from the mempool's current list +Usage: cardano-cli babbage transaction policyid --script-file FILEPATH -Usage: cardano-cli conway query tx-mempool tx-exists TX_ID + Calculate the PolicyId from the monetary policy script. - Query if a particular transaction exists in the mempool +Usage: cardano-cli babbage transaction calculate-min-fee --tx-body-file FILEPATH + --protocol-params-file FILEPATH + --witness-count NATURAL + [--byron-witness-count NATURAL] + [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILEPATH] + [ --mainnet + | --testnet-magic NATURAL + ] + [--tx-in-count NATURAL] + [--tx-out-count NATURAL] -Usage: cardano-cli conway query slot-number --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic 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 ) - [--volatile-tip | --immutable-tip] - TIMESTAMP - Query slot number for UTC timestamp + Print a transaction identifier. -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 + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) - Calculate the reference input scripts size in bytes for provided transaction - inputs. + Conway era commands -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 address (key-gen | key-hash | build | info) - Get the constitution + Payment address commands. -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 address key-gen [--key-output-format STRING] + [ --normal-key + | --extended-key + | --byron-key + ] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Get the governance state + Create an address key pair. -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 - ) +Usage: cardano-cli conway address key-hash + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH ) - [--include-stake] - [--volatile-tip | --immutable-tip] [--out-file FILEPATH] - Get the DRep state. + Print the hash of an address key. -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 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] - Get the DRep stake distribution. + Build a Shelley payment address, with optional delegation to a stake address. -Usage: cardano-cli conway query spo-stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-spos - | - ( --spo-verification-key STRING - | --spo-verification-key-file FILEPATH - | --spo-key-hash HASH - ) - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] +Usage: cardano-cli conway address info --address ADDRESS [--out-file FILEPATH] - Get the SPO stake distribution. + Print information about an address. -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 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 + ) - Get the committee state + Key utility commands. -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 key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH - Get the treasury value + Get a verification key from a signing key. This supports all key types. -Usage: cardano-cli conway stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate - | stake-and-vote-delegation-certificate - | vote-delegation-certificate - ) +Usage: cardano-cli conway key non-extended-key --extended-verification-key-file FILEPATH + --verification-key-file FILEPATH - Stake address commands. + Get a non-extended verification key from an extended verification key. This + supports all extended key types. -Usage: cardano-cli conway stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli conway key convert-byron-key [--password TEXT] + ( --byron-payment-key-type + | --legacy-byron-payment-key-type + | --byron-genesis-key-type + | --legacy-byron-genesis-key-type + | --byron-genesis-delegate-key-type + | --legacy-byron-genesis-delegate-key-type + ) + ( --byron-signing-key-file FILEPATH + | --byron-verification-key-file FILEPATH + ) + --out-file FILEPATH - Create a stake address key pair + Convert a Byron payment, genesis or genesis delegate key (signing or + verification) to a corresponding Shelley-format key. -Usage: cardano-cli conway stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli conway key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 + --out-file FILEPATH - Print the hash of a stake address key + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis + verification 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 +Usage: cardano-cli conway key convert-itn-key + ( --itn-signing-key-file FILEPATH + | --itn-verification-key-file FILEPATH ) - [--out-file FILEPATH] + --out-file FILEPATH - Build a stake address + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or + verification key to a corresponding Shelley stake key -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 key convert-itn-extended-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Create a stake address registration certificate + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key + to a corresponding Shelley stake signing key -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 key convert-itn-bip32-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Create a stake address deregistration certificate + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a + corresponding Shelley stake signing key -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 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 stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. + Convert a cardano-address extended signing key to a corresponding + Shelley-format key. -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 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 + ) - Create a stake address stake and vote delegation certificate, which when - submitted in a transaction delegates stake to a stake pool and a DRep. + Genesis block commands. -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 genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH - Create a stake address vote delegation certificate, which when submitted in a - transaction delegates stake to a DRep. + Create a Shelley genesis key pair -Usage: cardano-cli conway stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) +Usage: cardano-cli conway genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH - Stake pool commands. + Create a Shelley genesis delegate key pair -Usage: cardano-cli conway stake-pool registration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH +Usage: cardano-cli conway genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH - Create a stake pool registration certificate + Create a Shelley genesis UTxO key pair -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 genesis key-hash --verification-key-file FILEPATH - Create a stake pool deregistration certificate + Print the identifier (hash) of a public key -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 genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH - Build pool id from the offline key + Derive the verification key from a signing key -Usage: cardano-cli conway stake-pool metadata-hash --pool-metadata-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli conway genesis initial-addr --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Print the hash of pool metadata. + Get the address for an initial UTxO based on the verification key -Usage: cardano-cli conway text-view decode-cbor +Usage: cardano-cli conway genesis initial-txin --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + Get the TxIn for an initial UTxO based on the verification key -Usage: cardano-cli conway text-view decode-cbor --in-file FILEPATH - [--out-file 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] - Print a TextView file as decoded CBOR. + Create a Byron and Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -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 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) - Transaction commands. + Create a Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -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 +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 ] - ( --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 + [ --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 - Build a transaction (low-level, inconvenient) + Create data to use for starting a testnet. - 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 genesis hash --genesis 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 + 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 ) - Build a balanced transaction (automatically calculates fees) + Governance action commands. - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m +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 + | --trust-anchor-data + ) + --constitution-url TEXT + --constitution-hash HASH + ( --check-constitution-hash + | --trust-constitution-hash + ) + [--constitution-script-hash HASH] + --out-file FILEPATH -Usage: cardano-cli conway transaction build-estimate - [ --script-valid - | --script-invalid - ] - --shelley-key-witnesses INT - [--byron-key-witnesses Int] - --protocol-params-file FILEPATH - --total-utxo-value VALUE - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - --spending-reference-tx-in-execution-units (INT, INT) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - ) - --tx-in-execution-units (INT, INT)] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ - ( --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ) - --mint-execution-units (INT, INT)] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --mint-reference-tx-in-execution-units (INT, INT) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [ - --certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ - ( --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ) - --certificate-execution-units (INT, INT)] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - --certificate-reference-tx-in-execution-units (INT, INT) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ - ( --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ) - --withdrawal-execution-units (INT, INT)] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - --withdrawal-reference-tx-in-execution-units (INT, INT) - ]] - [--tx-total-collateral INTEGER] - [--reference-script-size NATURAL] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--vote-file FILEPATH - [ --vote-script-file FILEPATH - [ - ( --vote-redeemer-cbor-file CBOR_FILE - | --vote-redeemer-file JSON_FILE - | --vote-redeemer-value JSON_VALUE - ) - --vote-execution-units (INT, INT)] - | --vote-tx-in-reference TX-IN - --vote-plutus-script-v3 - ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --vote-reference-tx-in-redeemer-file JSON_FILE - | --vote-reference-tx-in-redeemer-value JSON_VALUE - ) - --vote-reference-tx-in-execution-units (INT, INT) - ]] - [--proposal-file FILEPATH - [ --proposal-script-file FILEPATH - [ - ( --proposal-redeemer-cbor-file CBOR_FILE - | --proposal-redeemer-file JSON_FILE - | --proposal-redeemer-value JSON_VALUE - ) - --proposal-execution-units (INT, INT)] - | --proposal-tx-in-reference TX-IN - --proposal-plutus-script-v3 - ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --proposal-reference-tx-in-redeemer-file JSON_FILE - | --proposal-reference-tx-in-redeemer-value JSON_VALUE - ) - --proposal-reference-tx-in-execution-units (INT, INT) - ]] - [--current-treasury-value LOVELACE - --treasury-donation LOVELACE] - --out-file FILEPATH - - Build a balanced transaction without access to a live node (automatically estimates fees) - - 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 - - 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 + Create a constitution. -Usage: cardano-cli conway transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --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 + | --trust-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 - Assemble a tx body and witness(es) to form a transaction + Create or update a new committee proposal. -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 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 + | --trust-anchor-data + ) + --out-file FILEPATH - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. + Create an info action. -Usage: cardano-cli conway transaction policyid --script-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 + | --trust-anchor-data + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH - Calculate the PolicyId from the monetary policy script. + Create a no confidence proposal. -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] +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 + | --trust-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 - DEPRECATED: Use 'calculate-min-required-utxo' instead. + Create a protocol parameters update. -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 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 + | --trust-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 - Calculate the hash of script data. + Create a treasury withdrawal. -Usage: cardano-cli conway transaction txid - ( --tx-body-file FILEPATH - | --tx-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 + | --trust-anchor-data + ) + --protocol-major-version MAJOR + --protocol-minor-version MINOR + --out-file FILEPATH - Print a transaction identifier. + Create a hardfork initiation proposal. -Usage: cardano-cli latest - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +Usage: cardano-cli conway governance action view --action-file FILEPATH + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] - Latest era commands (Babbage) - DEPRECATED - will be removed in the future + View a governance action. -Usage: cardano-cli latest address (key-gen | key-hash | build | info) +Usage: cardano-cli conway governance committee + ( key-gen-cold + | key-gen-hot + | key-hash + | create-hot-key-authorization-certificate + | create-cold-key-resignation-certificate + ) - Payment address commands. + Committee member commands. -Usage: cardano-cli latest address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli conway governance committee key-gen-cold + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH - Create an address key pair. + Create a cold key pair for a Constitutional Committee Member -Usage: cardano-cli latest address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli conway governance committee key-gen-hot --verification-key-file FILEPATH + --signing-key-file FILEPATH - Print the hash of an address key. + Create a hot key pair for a Constitutional Committee Member -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 conway governance committee key-hash + ( --verification-key STRING + | --verification-key-file FILEPATH + ) - Build a Shelley payment address, with optional delegation to a stake address. + Print the identifier (hash) of a public key -Usage: cardano-cli latest address info --address ADDRESS [--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 - Print information about an address. + Create hot key authorization certificate for a Constitutional Committee Member -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 conway governance committee create-cold-key-resignation-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + [--resignation-metadata-url TEXT + --resignation-metadata-hash HASH] + --out-file FILEPATH - Key utility commands. + Create cold key resignation certificate for a Constitutional Committee Member -Usage: cardano-cli latest key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli conway governance drep + ( key-gen + | id + | registration-certificate + | retirement-certificate + | update-certificate + | metadata-hash + ) - Get a verification key from a signing key. This supports all key types. + DRep member commands. -Usage: cardano-cli latest key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli conway governance drep key-gen --verification-key-file FILEPATH + --signing-key-file FILEPATH - Get a non-extended verification key from an extended verification key. This - supports all extended key types. + Generate Delegated Representative verification and signing keys. -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 conway governance drep id + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. + Generate a drep id. -Usage: cardano-cli latest key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH +Usage: cardano-cli conway governance drep registration-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --key-reg-deposit-amt NATURAL + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key + Create a registration certificate. -Usage: cardano-cli latest key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --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 - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key + Create a DRep retirement certificate. -Usage: cardano-cli latest key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli conway governance drep update-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key + Create a DRep update certificate. -Usage: cardano-cli latest key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli conway governance drep metadata-hash --drep-metadata-file FILEPATH + [--out-file FILEPATH] - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key + Calculate the hash of a metadata file. -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 conway governance vote (create | view) - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. + Vote commands. -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 conway governance vote create (--yes | --no | --abstain) + --governance-action-tx-id TXID + --governance-action-index WORD16 + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --drep-script-hash HASH + | --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + | --cc-hot-verification-key STRING + | --cc-hot-verification-key-file FILEPATH + | --cc-hot-key-hash STRING + | --cc-hot-script-hash HASH + ) + [--anchor-url TEXT + --anchor-data-hash HASH] + --out-file FILEPATH - Genesis block commands. + Vote creation. -Usage: cardano-cli latest genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli conway governance vote view [--output-json | --output-yaml] + --vote-file FILEPATH + [--out-file FILEPATH] - Create a Shelley genesis key pair + Vote viewing. -Usage: cardano-cli latest genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli conway node + ( key-gen + | key-gen-KES + | key-gen-VRF + | key-hash-VRF + | new-counter + | issue-op-cert + ) - Create a Shelley genesis delegate key pair + Node operation commands. -Usage: cardano-cli latest genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-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 Shelley genesis UTxO key pair + Create a key pair for a node operator's offline key and a new certificate + issue counter -Usage: cardano-cli latest genesis key-hash --verification-key-file FILEPATH +Usage: cardano-cli conway node key-gen-KES [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Print the identifier (hash) of a public key + Create a key pair for a node KES operational key -Usage: cardano-cli latest genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli conway node key-gen-VRF [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Derive the verification key from a signing key + Create a key pair for a node VRF operational key -Usage: cardano-cli latest genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli conway node key-hash-VRF + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + [--out-file FILEPATH] - Get the address for an initial UTxO based on the verification key + Print hash of a node's operational VRF key. -Usage: cardano-cli latest genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-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 - Get the TxIn for an initial UTxO based on the verification key + Create a new certificate issue counter -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 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 - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Issue a node operational certificate -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 - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - | create-poll - | answer-poll - | verify-poll - ) - - Governance commands. - -Usage: cardano-cli latest governance create-mir-certificate - ( ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - | stake-addresses - | transfer-to-treasury - | transfer-to-rewards - ) - - Create an MIR (Move Instantaneous Rewards) certificate - -Usage: cardano-cli latest governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - - Create an MIR certificate to pay stake addresses - -Usage: cardano-cli latest governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH - - Create an MIR certificate to transfer from the reserves pot to the treasury - pot - -Usage: cardano-cli latest governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH - - Create an MIR certificate to transfer from the treasury pot to the reserves - pot - -Usage: cardano-cli latest governance create-genesis-key-delegation-certificate - ( --genesis-verification-key STRING - | --genesis-verification-key-file FILEPATH - | --genesis-verification-key-hash STRING - ) - ( --genesis-delegate-verification-key STRING - | --genesis-delegate-verification-key-file FILEPATH - | --genesis-delegate-verification-key-hash STRING - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - | --vrf-verification-key-hash STRING - ) - --out-file FILEPATH - - Create a genesis key delegation certificate - -Usage: cardano-cli latest governance action create-protocol-parameters-update - - Governance action commands. - -Usage: cardano-cli latest governance action create-protocol-parameters-update --epoch NATURAL - (--genesis-verification-key-file FILEPATH) - [--min-fee-linear LOVELACE] - [--min-fee-constant LOVELACE] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--max-block-header-size WORD16] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--treasury-expansion RATIONAL] - [--monetary-expansion RATIONAL] - [--min-pool-cost NATURAL] - [--price-execution-steps RATIONAL - --price-execution-memory RATIONAL] - [--max-tx-execution-units (INT, INT)] - [--max-block-execution-units (INT, INT)] - [--max-value-size INT] - [--collateral-percent INT] - [--max-collateral-inputs INT] - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] - [--utxo-cost-per-byte LOVELACE] - [--cost-model-file FILE] - --out-file FILEPATH - - Create a protocol parameters update. - -Usage: cardano-cli latest governance create-poll --question STRING - (--answer STRING) - [--nonce UINT] - --out-file FILEPATH - - Create an SPO poll - -Usage: cardano-cli latest governance answer-poll --poll-file FILEPATH - [--answer INT] - [--out-file FILEPATH] - - Answer an SPO poll - -Usage: cardano-cli latest governance verify-poll --poll-file FILEPATH - --tx-file FILEPATH - [--out-file FILEPATH] - - Verify an answer to a given SPO poll - -Usage: cardano-cli latest node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) - - Node operation commands. - -Usage: cardano-cli latest node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - - Create a key pair for a node operator's offline key and a new certificate - issue counter - -Usage: cardano-cli latest node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a key pair for a node KES operational key - -Usage: cardano-cli latest node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a key pair for a node VRF operational key - -Usage: cardano-cli latest node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] - - Print hash of a node's operational VRF key. - -Usage: cardano-cli latest node new-counter - ( --stake-pool-verification-key STRING - | --genesis-delegate-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --counter-value INT - --operational-certificate-issue-counter-file FILEPATH - - Create a new certificate issue counter - -Usage: cardano-cli latest node issue-op-cert - ( --kes-verification-key STRING - | --kes-verification-key-file FILEPATH - ) - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - --kes-period NATURAL - --out-file FILEPATH - - Issue a node operational certificate - -Usage: cardano-cli latest query +Usage: cardano-cli conway query ( protocol-parameters | tip | stake-pools @@ -8017,12 +6914,19 @@ Usage: cardano-cli latest query | tx-mempool | slot-number | ref-script-size + | constitution + | gov-state + | drep-state + | drep-stake-distribution + | spo-stake-distribution + | committee-state + | treasury ) Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli latest query protocol-parameters --socket-path SOCKET_PATH +Usage: cardano-cli conway query protocol-parameters --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -8032,30 +6936,35 @@ Usage: cardano-cli latest query protocol-parameters --socket-path SOCKET_PATH Get the node's current protocol parameters -Usage: cardano-cli latest query tip --socket-path SOCKET_PATH +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 latest query stake-pools --socket-path SOCKET_PATH +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 latest query stake-distribution --socket-path SOCKET_PATH +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 ] @@ -8063,52 +6972,62 @@ Usage: cardano-cli latest query stake-distribution --socket-path SOCKET_PATH Get the node's current aggregated stake distribution -Usage: cardano-cli latest query stake-address-info --socket-path SOCKET_PATH +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 latest query utxo --socket-path SOCKET_PATH +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 latest query ledger-state --socket-path SOCKET_PATH +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 latest query protocol-state --socket-path SOCKET_PATH +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 latest query stake-snapshot --socket-path SOCKET_PATH +Usage: cardano-cli conway query stake-snapshot --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -8117,12 +7036,15 @@ Usage: cardano-cli latest query stake-snapshot --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) -Usage: cardano-cli latest query pool-params --socket-path SOCKET_PATH +Usage: cardano-cli conway query pool-params --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -8131,13 +7053,14 @@ Usage: cardano-cli latest query pool-params --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced command) -Usage: cardano-cli latest query leadership-schedule --socket-path SOCKET_PATH +Usage: cardano-cli conway query leadership-schedule --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -8150,6 +7073,9 @@ Usage: cardano-cli latest query leadership-schedule --socket-path SOCKET_PATH ) --vrf-signing-key-file FILEPATH (--current | --next) + [ --volatile-tip + | --immutable-tip + ] [ --output-json | --output-text ] @@ -8157,19 +7083,22 @@ Usage: cardano-cli latest query leadership-schedule --socket-path SOCKET_PATH Get the slots the node is expected to mint a block in (advanced command) -Usage: cardano-cli latest query kes-period-info --socket-path SOCKET_PATH +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 latest query pool-state --socket-path SOCKET_PATH +Usage: cardano-cli conway query pool-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -8178,11 +7107,12 @@ Usage: cardano-cli latest query pool-state --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Dump the pool state -Usage: cardano-cli latest query tx-mempool --socket-path SOCKET_PATH +Usage: cardano-cli conway query tx-mempool --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -8193,35 +7123,39 @@ Usage: cardano-cli latest query tx-mempool --socket-path SOCKET_PATH Local Mempool info -Usage: cardano-cli latest query tx-mempool info +Usage: cardano-cli conway query tx-mempool info Ask the node about the current mempool's capacity and sizes -Usage: cardano-cli latest query tx-mempool next-tx +Usage: cardano-cli conway query tx-mempool next-tx Requests the next transaction from the mempool's current list -Usage: cardano-cli latest query tx-mempool tx-exists TX_ID +Usage: cardano-cli conway query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool -Usage: cardano-cli latest query slot-number --socket-path SOCKET_PATH +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 latest query ref-script-size --socket-path SOCKET_PATH +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 ] @@ -8230,24 +7164,148 @@ Usage: cardano-cli latest query ref-script-size --socket-path SOCKET_PATH Calculate the reference input scripts size in bytes for provided transaction inputs. -Usage: cardano-cli latest stake-address +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 ) Stake address commands. -Usage: cardano-cli latest stake-address key-gen [--key-output-format STRING] +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 latest stake-address key-hash +Usage: cardano-cli conway stake-address key-hash ( --stake-verification-key STRING | --stake-verification-key-file FILEPATH ) @@ -8255,7 +7313,7 @@ Usage: cardano-cli latest stake-address key-hash Print the hash of a stake address key -Usage: cardano-cli latest stake-address build +Usage: cardano-cli conway stake-address build ( --stake-verification-key STRING | --stake-verification-key-file FILEPATH | --stake-key-hash HASH @@ -8268,29 +7326,31 @@ Usage: cardano-cli latest stake-address build Build a stake address -Usage: cardano-cli latest stake-address registration-certificate +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 latest stake-address deregistration-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 latest stake-address stake-delegation-certificate +Usage: cardano-cli conway stake-address stake-delegation-certificate ( --stake-verification-key STRING | --stake-verification-key-file FILEPATH | --stake-key-hash HASH @@ -8306,7 +7366,49 @@ Usage: cardano-cli latest stake-address stake-delegation-certificate Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. -Usage: cardano-cli latest stake-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-pool ( registration-certificate | deregistration-certificate | id @@ -8315,7 +7417,7 @@ Usage: cardano-cli latest stake-pool Stake pool commands. -Usage: cardano-cli latest stake-pool registration-certificate +Usage: cardano-cli conway stake-pool registration-certificate ( --stake-pool-verification-key STRING | --cold-verification-key-file FILEPATH ) @@ -8347,7 +7449,7 @@ Usage: cardano-cli latest stake-pool registration-certificate Create a stake pool registration certificate -Usage: cardano-cli latest stake-pool deregistration-certificate +Usage: cardano-cli conway stake-pool deregistration-certificate ( --stake-pool-verification-key STRING | --cold-verification-key-file FILEPATH ) @@ -8356,7 +7458,7 @@ Usage: cardano-cli latest stake-pool deregistration-certificate Create a stake pool deregistration certificate -Usage: cardano-cli latest stake-pool id +Usage: cardano-cli conway stake-pool id ( --stake-pool-verification-key STRING | --cold-verification-key-file FILEPATH ) @@ -8365,22 +7467,22 @@ Usage: cardano-cli latest stake-pool id Build pool id from the offline key -Usage: cardano-cli latest stake-pool metadata-hash --pool-metadata-file FILEPATH +Usage: cardano-cli conway stake-pool metadata-hash --pool-metadata-file FILEPATH [--out-file FILEPATH] Print the hash of pool metadata. -Usage: cardano-cli latest text-view decode-cbor +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 latest text-view decode-cbor --in-file FILEPATH +Usage: cardano-cli conway text-view decode-cbor --in-file FILEPATH [--out-file FILEPATH] Print a TextView file as decoded CBOR. -Usage: cardano-cli latest transaction +Usage: cardano-cli conway transaction ( build-raw | build | build-estimate @@ -8397,7 +7499,7 @@ Usage: cardano-cli latest transaction Transaction commands. -Usage: cardano-cli latest transaction build-raw +Usage: cardano-cli conway transaction build-raw [ --script-valid | --script-invalid ] @@ -8406,11 +7508,11 @@ Usage: cardano-cli latest transaction build-raw ( --spending-plutus-script-v2 | --spending-plutus-script-v3 ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE | --spending-reference-tx-in-datum-file JSON_FILE | --spending-reference-tx-in-datum-value JSON_VALUE | --spending-reference-tx-in-inline-datum-present - ) + ] ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | --spending-reference-tx-in-redeemer-file JSON_FILE | --spending-reference-tx-in-redeemer-value JSON_VALUE @@ -8419,11 +7521,11 @@ Usage: cardano-cli latest transaction build-raw | --simple-script-tx-in-reference TX-IN | --tx-in-script-file FILEPATH [ - ( --tx-in-datum-cbor-file CBOR_FILE + [ --tx-in-datum-cbor-file CBOR_FILE | --tx-in-datum-file JSON_FILE | --tx-in-datum-value JSON_VALUE | --tx-in-inline-datum-present - ) + ] ( --tx-in-redeemer-cbor-file CBOR_FILE | --tx-in-redeemer-file JSON_FILE | --tx-in-redeemer-value JSON_VALUE @@ -8518,17 +7620,50 @@ Usage: cardano-cli latest transaction build-raw | --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 latest transaction build --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet + [--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 + +Usage: cardano-cli conway transaction build --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet | --testnet-magic NATURAL ) [ --script-valid @@ -8540,11 +7675,11 @@ Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH ( --spending-plutus-script-v2 | --spending-plutus-script-v3 ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE | --spending-reference-tx-in-datum-file JSON_FILE | --spending-reference-tx-in-datum-value JSON_VALUE | --spending-reference-tx-in-inline-datum-present - ) + ] ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | --spending-reference-tx-in-redeemer-file JSON_FILE | --spending-reference-tx-in-redeemer-value JSON_VALUE @@ -8552,11 +7687,11 @@ Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH | --simple-script-tx-in-reference TX-IN | --tx-in-script-file FILEPATH [ - ( --tx-in-datum-cbor-file CBOR_FILE + [ --tx-in-datum-cbor-file CBOR_FILE | --tx-in-datum-file JSON_FILE | --tx-in-datum-value JSON_VALUE | --tx-in-inline-datum-present - ) + ] ( --tx-in-redeemer-cbor-file CBOR_FILE | --tx-in-redeemer-file JSON_FILE | --tx-in-redeemer-value JSON_VALUE @@ -8640,7 +7775,33 @@ Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH [ --metadata-json-file FILEPATH | --metadata-cbor-file FILEPATH ] - [--update-proposal-file FILEPATH] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--treasury-donation LOVELACE] ( --out-file FILEPATH | --calculate-plutus-script-cost FILEPATH ) @@ -8649,7 +7810,7 @@ Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m -Usage: cardano-cli latest transaction build-estimate +Usage: cardano-cli conway transaction build-estimate [ --script-valid | --script-invalid ] @@ -8662,11 +7823,11 @@ Usage: cardano-cli latest transaction build-estimate ( --spending-plutus-script-v2 | --spending-plutus-script-v3 ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE | --spending-reference-tx-in-datum-file JSON_FILE | --spending-reference-tx-in-datum-value JSON_VALUE | --spending-reference-tx-in-inline-datum-present - ) + ] ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | --spending-reference-tx-in-redeemer-file JSON_FILE | --spending-reference-tx-in-redeemer-value JSON_VALUE @@ -8675,11 +7836,11 @@ Usage: cardano-cli latest transaction build-estimate | --simple-script-tx-in-reference TX-IN | --tx-in-script-file FILEPATH [ - ( --tx-in-datum-cbor-file CBOR_FILE + [ --tx-in-datum-cbor-file CBOR_FILE | --tx-in-datum-file JSON_FILE | --tx-in-datum-value JSON_VALUE | --tx-in-inline-datum-present - ) + ] ( --tx-in-redeemer-cbor-file CBOR_FILE | --tx-in-redeemer-file JSON_FILE | --tx-in-redeemer-value JSON_VALUE @@ -8775,14 +7936,47 @@ Usage: cardano-cli latest transaction build-estimate [ --metadata-json-file FILEPATH | --metadata-cbor-file FILEPATH ] - [--update-proposal-file FILEPATH] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] --out-file FILEPATH Build a balanced transaction without access to a live node (automatically estimates fees) 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 +Usage: cardano-cli conway transaction sign ( --tx-body-file FILEPATH | --tx-file FILEPATH ) @@ -8795,7 +7989,7 @@ Usage: cardano-cli latest transaction sign Sign a transaction -Usage: cardano-cli latest transaction witness --tx-body-file FILEPATH +Usage: cardano-cli conway transaction witness --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] [ --mainnet @@ -8805,19 +7999,19 @@ Usage: cardano-cli latest transaction witness --tx-body-file FILEPATH Create a transaction witness -Usage: cardano-cli latest transaction assemble --tx-body-file FILEPATH +Usage: cardano-cli conway transaction assemble --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli latest transaction sign-witness --tx-body-file FILEPATH +Usage: cardano-cli conway transaction sign-witness --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli latest transaction submit --socket-path SOCKET_PATH +Usage: cardano-cli conway transaction submit --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -8828,11 +8022,11 @@ Usage: cardano-cli latest transaction submit --socket-path SOCKET_PATH Submit a transaction to the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli latest transaction policyid --script-file FILEPATH +Usage: cardano-cli conway 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 +Usage: cardano-cli conway transaction calculate-min-fee --tx-body-file FILEPATH --protocol-params-file FILEPATH --witness-count NATURAL [--byron-witness-count NATURAL] @@ -8849,7 +8043,7 @@ Usage: cardano-cli latest transaction calculate-min-fee --tx-body-file FILEPATH Calculate the minimum fee for a transaction. -Usage: cardano-cli latest transaction calculate-min-required-utxo --protocol-params-file FILEPATH +Usage: cardano-cli conway transaction calculate-min-required-utxo --protocol-params-file FILEPATH --tx-out ADDRESS VALUE [ --tx-out-datum-hash HASH | --tx-out-datum-hash-cbor-file CBOR_FILE @@ -8866,7 +8060,7 @@ Usage: cardano-cli latest transaction calculate-min-required-utxo --protocol-par Calculate the minimum required UTxO for a transaction output. -Usage: cardano-cli latest transaction calculate-min-value --protocol-params-file FILEPATH +Usage: cardano-cli conway transaction calculate-min-value --protocol-params-file FILEPATH --tx-out ADDRESS VALUE [ --tx-out-datum-hash HASH | --tx-out-datum-hash-cbor-file CBOR_FILE @@ -8883,7 +8077,7 @@ Usage: cardano-cli latest transaction calculate-min-value --protocol-params-file DEPRECATED: Use 'calculate-min-required-utxo' instead. -Usage: cardano-cli latest transaction hash-script-data +Usage: cardano-cli conway transaction hash-script-data ( --script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | --script-data-value JSON_VALUE @@ -8891,178 +8085,153 @@ Usage: cardano-cli latest transaction hash-script-data Calculate the hash of script data. -Usage: cardano-cli latest transaction txid +Usage: cardano-cli conway transaction txid ( --tx-body-file FILEPATH | --tx-file FILEPATH ) Print a transaction identifier. -Usage: cardano-cli legacy Legacy commands +Usage: cardano-cli latest + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) - Legacy commands - DEPRECATED - will be removed in the future + Latest era commands (Conway) -Usage: cardano-cli legacy text-view decode-cbor +Usage: cardano-cli latest address (key-gen | key-hash | build | info) - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + Payment address commands. -Usage: cardano-cli legacy text-view decode-cbor --in-file FILEPATH - [--out-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 - Print a TextView file as decoded CBOR. + Create an address key pair. -Usage: cardano-cli legacy governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | create-update-proposal - | create-poll - | answer-poll - | verify-poll - ) +Usage: cardano-cli latest address key-hash + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + ) + [--out-file FILEPATH] - Governance commands + Print the hash of an address key. -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 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] - Create an MIR (Move Instantaneous Rewards) certificate + Build a Shelley payment address, with optional delegation to a stake address. -Usage: cardano-cli legacy governance create-mir-certificate stake-addresses - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli latest address info --address ADDRESS [--out-file FILEPATH] - Create an MIR certificate to pay stake addresses + Print information about an address. -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 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 + ) - Create an MIR certificate to transfer from the reserves pot to the treasury - pot + Key utility commands. -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 latest key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH - Create an MIR certificate to transfer from the treasury pot to the reserves - pot + Get a verification key from a signing key. This supports all key types. -Usage: cardano-cli legacy governance create-genesis-key-delegation-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --genesis-verification-key STRING - | --genesis-verification-key-file FILEPATH - | --genesis-verification-key-hash STRING - ) - ( --genesis-delegate-verification-key STRING - | --genesis-delegate-verification-key-file FILEPATH - | --genesis-delegate-verification-key-hash STRING - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - | --vrf-verification-key-hash STRING - ) - --out-file FILEPATH +Usage: cardano-cli latest key non-extended-key --extended-verification-key-file FILEPATH + --verification-key-file FILEPATH - Create a genesis key delegation certificate + Get a non-extended verification key from an extended verification key. This + supports all extended key types. -Usage: cardano-cli legacy governance create-update-proposal --out-file FILEPATH - --epoch NATURAL - (--genesis-verification-key-file FILEPATH) - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] - [--decentralization-parameter RATIONAL] - [ --extra-entropy HEX - | --reset-extra-entropy - ] - [--max-block-header-size WORD16] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--min-fee-constant LOVELACE] - [--min-fee-linear LOVELACE] - [--min-utxo-value NATURAL] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--min-pool-cost NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--monetary-expansion RATIONAL] - [--treasury-expansion RATIONAL] - [--price-execution-steps RATIONAL - --price-execution-memory RATIONAL] - [--max-tx-execution-units (INT, INT)] - [--max-block-execution-units (INT, INT)] - [--max-value-size INT] - [--collateral-percent INT] - [--max-collateral-inputs INT] - [--utxo-cost-per-byte LOVELACE] - [--cost-model-file FILE] +Usage: cardano-cli 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 - Create an update proposal + Convert a Byron payment, genesis or genesis delegate key (signing or + verification) to a corresponding Shelley-format key. -Usage: cardano-cli legacy governance create-poll --question STRING - (--answer STRING) - [--nonce UINT] - --out-file FILEPATH +Usage: cardano-cli latest key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 + --out-file FILEPATH - Create an SPO poll + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis + verification key -Usage: cardano-cli legacy governance answer-poll --poll-file FILEPATH - [--answer INT] - [--out-file FILEPATH] +Usage: cardano-cli latest key convert-itn-key + ( --itn-signing-key-file FILEPATH + | --itn-verification-key-file FILEPATH + ) + --out-file FILEPATH - Answer an SPO poll + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or + verification key to a corresponding Shelley stake key -Usage: cardano-cli legacy governance verify-poll --poll-file FILEPATH - --tx-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli latest key convert-itn-extended-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Verify an answer to a given SPO poll + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key + to a corresponding Shelley stake signing key -Usage: cardano-cli legacy genesis +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 @@ -9073,37 +8242,38 @@ Usage: cardano-cli legacy genesis | create-cardano | create | create-staked + | create-testnet-data | hash ) - Genesis block commands + Genesis block commands. -Usage: cardano-cli legacy genesis key-gen-genesis --verification-key-file FILEPATH +Usage: cardano-cli latest genesis key-gen-genesis --verification-key-file FILEPATH --signing-key-file FILEPATH Create a Shelley genesis key pair -Usage: cardano-cli legacy genesis key-gen-delegate --verification-key-file FILEPATH +Usage: cardano-cli latest genesis key-gen-delegate --verification-key-file FILEPATH --signing-key-file FILEPATH --operational-certificate-issue-counter-file FILEPATH Create a Shelley genesis delegate key pair -Usage: cardano-cli legacy genesis key-gen-utxo --verification-key-file FILEPATH +Usage: cardano-cli latest genesis key-gen-utxo --verification-key-file FILEPATH --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair -Usage: cardano-cli legacy genesis key-hash --verification-key-file FILEPATH +Usage: cardano-cli latest 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 +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 legacy genesis initial-addr --verification-key-file FILEPATH +Usage: cardano-cli latest genesis initial-addr --verification-key-file FILEPATH ( --mainnet | --testnet-magic NATURAL ) @@ -9111,7 +8281,7 @@ Usage: cardano-cli legacy genesis initial-addr --verification-key-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 +Usage: cardano-cli latest genesis initial-txin --verification-key-file FILEPATH ( --mainnet | --testnet-magic NATURAL ) @@ -9119,15 +8289,7 @@ Usage: cardano-cli legacy genesis initial-txin --verification-key-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 +Usage: cardano-cli latest genesis create-cardano --genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT] [--start-time UTC-TIME] @@ -9147,15 +8309,7 @@ Usage: cardano-cli legacy genesis create-cardano Create a Byron and Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli legacy genesis create - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - [--key-output-format STRING] +Usage: cardano-cli latest genesis create [--key-output-format STRING] --genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT] @@ -9166,15 +8320,7 @@ Usage: cardano-cli legacy genesis create 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] +Usage: cardano-cli latest genesis create-staked [--key-output-format STRING] --genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT] @@ -9194,302 +8340,435 @@ Usage: cardano-cli legacy genesis create-staked Create a staked Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli legacy genesis hash --genesis FILEPATH - - Compute the hash of a genesis file - -Usage: cardano-cli legacy query - ( protocol-parameters - | tip - | stake-pools - | stake-distribution - | stake-address-info - | utxo - | ledger-state - | protocol-state - | stake-snapshot - | leadership-schedule - | kes-period-info - | pool-state - | tx-mempool - | slot-number - ) +Usage: cardano-cli 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 - Node query commands. Will query the local node whose Unix domain socket is - obtained from the CARDANO_NODE_SOCKET_PATH environment variable. + Create data to use for starting a testnet. -Usage: cardano-cli legacy query protocol-parameters --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli latest genesis hash --genesis FILEPATH - Get the node's current protocol parameters + Compute the hash of a genesis file -Usage: cardano-cli legacy query tip --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli latest governance (action | committee | drep | vote) - Get the node's current tip (slot no, hash, block no) + Governance commands. -Usage: cardano-cli legacy query stake-pools --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL +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 ) - [--output-json | --output-text] - [--out-file FILEPATH] - Get the node's current set of stake pool ids - -Usage: cardano-cli legacy query stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - - Get the node's current aggregated stake distribution + Governance action commands. -Usage: cardano-cli legacy query stake-address-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - --address ADDRESS - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] - - Get the current delegations and reward accounts filtered by stake address. - -Usage: cardano-cli legacy query utxo --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - ( --whole-utxo - | (--address ADDRESS) - | (--tx-in TX-IN) - ) - (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli 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 + | --trust-anchor-data + ) + --constitution-url TEXT + --constitution-hash HASH + ( --check-constitution-hash + | --trust-constitution-hash + ) + [--constitution-script-hash HASH] + --out-file FILEPATH - Get a portion of the current UTxO: by tx in, by address or the whole. + Create a constitution. -Usage: cardano-cli legacy query ledger-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli 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 + | --trust-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 - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) + Create or update a new committee proposal. -Usage: cardano-cli legacy query protocol-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli 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 + | --trust-anchor-data + ) + --out-file FILEPATH - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) + Create an info action. -Usage: cardano-cli legacy query stake-snapshot --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] +Usage: cardano-cli 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 + | --trust-anchor-data + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) + Create a no confidence proposal. -Usage: cardano-cli legacy query pool-params --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] +Usage: cardano-cli 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 + | --trust-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 - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced - command) + Create a protocol parameters update. -Usage: cardano-cli legacy query leadership-schedule --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --genesis FILEPATH - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --vrf-signing-key-file FILEPATH - (--current | --next) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] +Usage: cardano-cli 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 + | --trust-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 - Get the slots the node is expected to mint a block in (advanced command) + Create a treasury withdrawal. -Usage: cardano-cli legacy query kes-period-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli 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 + | --trust-anchor-data + ) + --protocol-major-version MAJOR + --protocol-minor-version MINOR + --out-file FILEPATH - Get information about the current KES period and your node's operational - certificate. + Create a hardfork initiation proposal. -Usage: cardano-cli legacy query pool-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] +Usage: cardano-cli latest governance action view --action-file FILEPATH + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] - Dump the pool state + View a governance action. -Usage: cardano-cli legacy query tx-mempool --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli latest governance committee + ( key-gen-cold + | key-gen-hot + | key-hash + | create-hot-key-authorization-certificate + | create-cold-key-resignation-certificate + ) - Local Mempool info + Committee member commands. -Usage: cardano-cli legacy query tx-mempool info +Usage: cardano-cli latest governance committee key-gen-cold + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH - Ask the node about the current mempool's capacity and sizes + Create a cold key pair for a Constitutional Committee Member -Usage: cardano-cli legacy query tx-mempool next-tx +Usage: cardano-cli latest governance committee key-gen-hot --verification-key-file FILEPATH + --signing-key-file FILEPATH - Requests the next transaction from the mempool's current list + Create a hot key pair for a Constitutional Committee Member -Usage: cardano-cli legacy query tx-mempool tx-exists TX_ID +Usage: cardano-cli latest governance committee key-hash + ( --verification-key STRING + | --verification-key-file FILEPATH + ) - Query if a particular transaction exists in the mempool + Print the identifier (hash) of a public key -Usage: cardano-cli legacy query slot-number --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - TIMESTAMP +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 - Query slot number for UTC timestamp + Create hot key authorization certificate for a Constitutional Committee Member -Usage: cardano-cli legacy stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) +Usage: cardano-cli latest governance committee create-cold-key-resignation-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + [--resignation-metadata-url TEXT + --resignation-metadata-hash HASH] + --out-file FILEPATH - Stake pool commands + Create cold key resignation certificate for a Constitutional Committee Member -Usage: cardano-cli legacy stake-pool registration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH +Usage: cardano-cli latest governance drep + ( key-gen + | id + | registration-certificate + | retirement-certificate + | update-certificate + | metadata-hash + ) - Create a stake pool registration certificate + DRep member commands. -Usage: cardano-cli legacy stake-pool deregistration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --epoch NATURAL - --out-file FILEPATH +Usage: cardano-cli latest governance drep key-gen --verification-key-file FILEPATH + --signing-key-file FILEPATH - Create a stake pool deregistration certificate + Generate Delegated Representative verification and signing keys. -Usage: cardano-cli legacy stake-pool id - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli latest governance drep id + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] - Build pool id from the offline key + Generate a drep id. -Usage: cardano-cli legacy stake-pool metadata-hash --pool-metadata-file FILEPATH - [--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] + --out-file FILEPATH - Print the hash of pool metadata. + Create a registration certificate. + +Usage: cardano-cli latest governance drep retirement-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --deposit-amt LOVELACE + --out-file FILEPATH + + Create a DRep retirement certificate. + +Usage: cardano-cli latest governance drep update-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH + + Create a DRep update certificate. + +Usage: cardano-cli latest governance drep metadata-hash --drep-metadata-file FILEPATH + [--out-file FILEPATH] + + Calculate the hash of a metadata file. + +Usage: cardano-cli latest governance vote (create | view) + + Vote commands. + +Usage: cardano-cli latest governance vote create (--yes | --no | --abstain) + --governance-action-tx-id TXID + --governance-action-index WORD16 + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --drep-script-hash HASH + | --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + | --cc-hot-verification-key STRING + | --cc-hot-verification-key-file FILEPATH + | --cc-hot-key-hash STRING + | --cc-hot-script-hash HASH + ) + [--anchor-url TEXT + --anchor-data-hash HASH] + --out-file FILEPATH + + Vote creation. + +Usage: cardano-cli latest governance vote view [--output-json | --output-yaml] + --vote-file FILEPATH + [--out-file FILEPATH] + + Vote viewing. -Usage: cardano-cli legacy node +Usage: cardano-cli latest node ( key-gen | key-gen-KES | key-gen-VRF @@ -9498,9 +8777,9 @@ Usage: cardano-cli legacy node | issue-op-cert ) - Node operation commands + Node operation commands. -Usage: cardano-cli legacy node key-gen [--key-output-format STRING] +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 @@ -9508,19 +8787,19 @@ Usage: cardano-cli legacy node key-gen [--key-output-format STRING] Create a key pair for a node operator's offline key and a new certificate issue counter -Usage: cardano-cli legacy node key-gen-KES [--key-output-format STRING] +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 legacy node key-gen-VRF [--key-output-format STRING] +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 legacy node key-hash-VRF +Usage: cardano-cli latest node key-hash-VRF ( --verification-key STRING | --verification-key-file FILEPATH ) @@ -9528,7 +8807,7 @@ Usage: cardano-cli legacy node key-hash-VRF Print hash of a node's operational VRF key. -Usage: cardano-cli legacy node new-counter +Usage: cardano-cli latest node new-counter ( --stake-pool-verification-key STRING | --genesis-delegate-verification-key STRING | --cold-verification-key-file FILEPATH @@ -9538,7 +8817,7 @@ Usage: cardano-cli legacy node new-counter Create a new certificate issue counter -Usage: cardano-cli legacy node issue-op-cert +Usage: cardano-cli latest node issue-op-cert ( --kes-verification-key STRING | --kes-verification-key-file FILEPATH ) @@ -9549,541 +8828,422 @@ Usage: cardano-cli legacy node issue-op-cert Issue a node operational certificate -Usage: cardano-cli legacy transaction - ( build-raw - | build - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - ) - - Transaction commands - -Usage: cardano-cli legacy transaction build-raw - [ --byron-era - | --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - [ --script-valid - | --script-invalid - ] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - --spending-reference-tx-in-execution-units (INT, INT) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - ) - --tx-in-execution-units (INT, INT)] - ]) - [--read-only-tx-in-reference TX-IN] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - [--mint VALUE - ( --mint-script-file FILEPATH - [ - ( --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ) - --mint-execution-units (INT, INT)] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --mint-reference-tx-in-execution-units (INT, INT) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - --fee LOVELACE - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ - ( --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ) - --certificate-execution-units (INT, INT)] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - --certificate-reference-tx-in-execution-units (INT, INT) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ - ( --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ) - --withdrawal-execution-units (INT, INT)] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE +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 latest query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL ) - --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 + [--out-file FILEPATH] - Build a transaction (low-level, inconvenient) + Get the node's current protocol parameters - 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 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 legacy transaction build --socket-path SOCKET_PATH - [--babbage-era | --conway-era] + Get the node's current tip (slot no, hash, block no) + +Usage: cardano-cli latest query stake-pools --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet | --testnet-magic NATURAL ) - [ --script-valid - | --script-invalid - ] - [--witness-override WORD] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - )] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--update-proposal-file FILEPATH] - [--vote-file FILEPATH - [ --vote-script-file FILEPATH - [ --vote-redeemer-cbor-file CBOR_FILE - | --vote-redeemer-file JSON_FILE - | --vote-redeemer-value JSON_VALUE - ] - | --vote-tx-in-reference TX-IN - --vote-plutus-script-v3 - ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --vote-reference-tx-in-redeemer-file JSON_FILE - | --vote-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--proposal-file FILEPATH - [ --proposal-script-file FILEPATH - [ --proposal-redeemer-cbor-file CBOR_FILE - | --proposal-redeemer-file JSON_FILE - | --proposal-redeemer-value JSON_VALUE - ] - | --proposal-tx-in-reference TX-IN - --proposal-plutus-script-v3 - ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --proposal-reference-tx-in-redeemer-file JSON_FILE - | --proposal-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--treasury-donation LOVELACE] - ( --out-file FILEPATH - | --calculate-plutus-script-cost FILEPATH - ) - - Build a balanced transaction (automatically calculates fees) - - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli legacy transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH + [--volatile-tip | --immutable-tip] + [--output-json | --output-text] + [--out-file FILEPATH] - Sign a transaction + Get the node's current set of stake pool ids -Usage: cardano-cli legacy transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH +Usage: cardano-cli 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] - Create a transaction witness + Get the node's current aggregated stake distribution -Usage: cardano-cli legacy transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --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] - Assemble a tx body and witness(es) to form a transaction + Get the current delegations and reward accounts filtered by stake address. -Usage: cardano-cli legacy transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --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] - Assemble a tx body and witness(es) to form a transaction + Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli legacy transaction submit --socket-path SOCKET_PATH +Usage: cardano-cli latest query ledger-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet | --testnet-magic NATURAL ) - --tx-file FILEPATH + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced + command) -Usage: cardano-cli legacy transaction policyid --script-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] - Calculate the PolicyId from the monetary policy script. + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced + command) -Usage: cardano-cli legacy transaction calculate-min-fee --tx-body-file FILEPATH - --protocol-params-file FILEPATH - --witness-count NATURAL - [--byron-witness-count NATURAL] - [--reference-script-size NATURAL] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - [ --mainnet - | --testnet-magic NATURAL - ] - [--tx-in-count NATURAL] - [--tx-out-count NATURAL] +Usage: cardano-cli 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] - Calculate the minimum fee for a transaction. + Obtain the three stake snapshots for a pool, plus the total active stake + (advanced command) -Usage: cardano-cli legacy transaction calculate-min-required-utxo - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] +Usage: cardano-cli 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] - Calculate the minimum required UTxO for a transaction output. + DEPRECATED. Use query pool-state instead. Dump the pool parameters + (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced + command) -Usage: cardano-cli legacy transaction calculate-min-value - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] +Usage: cardano-cli 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] - DEPRECATED: Use 'calculate-min-required-utxo' instead. + Get the slots the node is expected to mint a block in (advanced command) -Usage: cardano-cli legacy transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) +Usage: cardano-cli 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] - Calculate the hash of script data. + Get information about the current KES period and your node's operational + certificate. -Usage: cardano-cli legacy transaction txid - ( --tx-body-file FILEPATH - | --tx-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] - Print a transaction identifier. + Dump the pool state -Usage: cardano-cli legacy key - ( verification-key - | non-extended-key - | convert-byron-key - | convert-byron-genesis-vkey - | convert-itn-key - | convert-itn-extended-key - | convert-itn-bip32-key - | convert-cardano-address-key - ) +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] - Key utility commands + Local Mempool info -Usage: cardano-cli legacy key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli latest query tx-mempool info - Get a verification key from a signing key. This supports all key types. + Ask the node about the current mempool's capacity and sizes -Usage: cardano-cli legacy key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli latest query tx-mempool next-tx - Get a non-extended verification key from an extended verification key. This - supports all extended key types. + Requests the next transaction from the mempool's current list -Usage: cardano-cli legacy key convert-byron-key [--password TEXT] - ( --byron-payment-key-type - | --legacy-byron-payment-key-type - | --byron-genesis-key-type - | --legacy-byron-genesis-key-type - | --byron-genesis-delegate-key-type - | --legacy-byron-genesis-delegate-key-type - ) - ( --byron-signing-key-file FILEPATH - | --byron-verification-key-file FILEPATH +Usage: cardano-cli latest query tx-mempool tx-exists TX_ID + + Query if a particular transaction exists in the mempool + +Usage: cardano-cli latest query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--volatile-tip | --immutable-tip] + TIMESTAMP + + Query slot number for UTC timestamp + +Usage: cardano-cli latest query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + ( --mainnet + | --testnet-magic NATURAL ) - --out-file FILEPATH + [ --volatile-tip + | --immutable-tip + ] + [ --output-json + | --output-text + ] + [--out-file FILEPATH] - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. + Calculate the reference input scripts size in bytes for provided transaction + inputs. -Usage: cardano-cli legacy key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --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] - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key + Get the constitution -Usage: cardano-cli legacy key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH +Usage: cardano-cli latest query gov-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key + Get the governance state -Usage: cardano-cli legacy key convert-itn-extended-key --itn-signing-key-file FILEPATH - --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] - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key + Get the DRep state. -Usage: cardano-cli legacy key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --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] - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key + Get the DRep stake distribution. -Usage: cardano-cli legacy key convert-cardano-address-key - ( --cc-cold-key - | --cc-hot-key - | --drep-key - | --shelley-payment-key - | --shelley-stake-key - | --icarus-payment-key - | --byron-payment-key - ) - --signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli 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] - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. + Get the SPO stake distribution. + +Usage: cardano-cli latest query committee-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + ] + [ --hot-key STRING + | --hot-key-file FILEPATH + | --hot-key-hash STRING + | --hot-script-hash HASH + ] + [ --active + | --expired + | --unrecognized + ] + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the committee state + +Usage: cardano-cli latest query treasury --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the treasury value -Usage: cardano-cli legacy stake-address +Usage: cardano-cli latest stake-address ( key-gen - | build | key-hash + | build | registration-certificate | deregistration-certificate - | delegation-certificate + | stake-delegation-certificate + | stake-and-vote-delegation-certificate + | vote-delegation-certificate ) - Stake address commands + Stake address commands. -Usage: cardano-cli legacy stake-address key-gen [--key-output-format STRING] +Usage: cardano-cli latest stake-address key-gen [--key-output-format STRING] --verification-key-file FILEPATH --signing-key-file FILEPATH Create a stake address key pair -Usage: cardano-cli legacy stake-address build +Usage: cardano-cli latest stake-address key-hash + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + ) + [--out-file FILEPATH] + + Print the hash of a stake address key + +Usage: cardano-cli latest stake-address build ( --stake-verification-key STRING | --stake-verification-key-file FILEPATH | --stake-key-hash HASH @@ -10096,1642 +9256,771 @@ Usage: cardano-cli legacy stake-address build Build a stake address -Usage: cardano-cli legacy stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] - - Print the hash of a stake address key. - -Usage: cardano-cli legacy stake-address registration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] +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] + --key-reg-deposit-amt NATURAL --out-file FILEPATH Create a stake address registration certificate -Usage: cardano-cli legacy stake-address deregistration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] +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] + --key-reg-deposit-amt NATURAL --out-file FILEPATH Create a stake address deregistration certificate -Usage: cardano-cli legacy stake-address delegation-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --out-file FILEPATH - - Create a stake address pool delegation certificate - -Usage: cardano-cli legacy address (key-gen | key-hash | build | info) - - Payment address commands - -Usage: cardano-cli legacy address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create an address key pair. - -Usage: cardano-cli legacy address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] - - Print the hash of an address key. - -Usage: cardano-cli legacy address build - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - | --payment-script-file FILEPATH - ) - [ --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] - - Build a Shelley payment address, with optional delegation to a stake address. - -Usage: cardano-cli legacy address info --address ADDRESS [--out-file FILEPATH] - - Print information about an address. - -Usage: cardano-cli text-view decode-cbor - - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. - -Usage: cardano-cli text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] - - Print a TextView file as decoded CBOR. - -Usage: cardano-cli governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | create-update-proposal - | create-poll - | answer-poll - | verify-poll - ) - - Governance commands - -Usage: cardano-cli governance create-mir-certificate - ( [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - | stake-addresses - | transfer-to-treasury - | transfer-to-rewards - ) - - Create an MIR (Move Instantaneous Rewards) certificate - -Usage: cardano-cli governance create-mir-certificate stake-addresses - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --reserves - | --treasury +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 ) - (--stake-address ADDRESS) - (--reward LOVELACE) --out-file FILEPATH - Create an MIR certificate to pay stake addresses - -Usage: cardano-cli governance create-mir-certificate transfer-to-treasury - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - --transfer LOVELACE - --out-file FILEPATH - - Create an MIR certificate to transfer from the reserves pot to the treasury - pot - -Usage: cardano-cli governance create-mir-certificate transfer-to-rewards - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - --transfer LOVELACE - --out-file FILEPATH - - Create an MIR certificate to transfer from the treasury pot to the reserves - pot - -Usage: cardano-cli governance create-genesis-key-delegation-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --genesis-verification-key STRING - | --genesis-verification-key-file FILEPATH - | --genesis-verification-key-hash STRING - ) - ( --genesis-delegate-verification-key STRING - | --genesis-delegate-verification-key-file FILEPATH - | --genesis-delegate-verification-key-hash STRING - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - | --vrf-verification-key-hash STRING - ) - --out-file FILEPATH - - Create a genesis key delegation certificate - -Usage: cardano-cli governance create-update-proposal --out-file FILEPATH - --epoch NATURAL - (--genesis-verification-key-file FILEPATH) - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] - [--decentralization-parameter RATIONAL] - [ --extra-entropy HEX - | --reset-extra-entropy - ] - [--max-block-header-size WORD16] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--min-fee-constant LOVELACE] - [--min-fee-linear LOVELACE] - [--min-utxo-value NATURAL] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--min-pool-cost NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--monetary-expansion RATIONAL] - [--treasury-expansion RATIONAL] - [--price-execution-steps RATIONAL - --price-execution-memory RATIONAL] - [--max-tx-execution-units (INT, INT)] - [--max-block-execution-units (INT, INT)] - [--max-value-size INT] - [--collateral-percent INT] - [--max-collateral-inputs INT] - [--utxo-cost-per-byte LOVELACE] - [--cost-model-file FILE] - - Create an update proposal - -Usage: cardano-cli governance create-poll --question STRING - (--answer STRING) - [--nonce UINT] - --out-file FILEPATH - - Create an SPO poll - -Usage: cardano-cli governance answer-poll --poll-file FILEPATH - [--answer INT] - [--out-file FILEPATH] - - Answer an SPO poll - -Usage: cardano-cli governance verify-poll --poll-file FILEPATH - --tx-file FILEPATH - [--out-file FILEPATH] - - Verify an answer to a given SPO poll - -Usage: cardano-cli genesis - ( key-gen-genesis - | key-gen-delegate - | key-gen-utxo - | key-hash - | get-ver-key - | initial-addr - | initial-txin - | create-cardano - | create - | create-staked - | hash - ) - - Genesis block commands + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. -Usage: cardano-cli genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-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 Shelley genesis key pair + 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 genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-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 Shelley genesis delegate key pair + Create a stake address vote delegation certificate, which when submitted in a + transaction delegates stake to a DRep. -Usage: cardano-cli genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli latest stake-pool + ( registration-certificate + | deregistration-certificate + | id + | metadata-hash + ) - Create a Shelley genesis UTxO key pair + Stake pool commands. -Usage: cardano-cli genesis key-hash --verification-key-file FILEPATH +Usage: cardano-cli latest stake-pool registration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + ) + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + ( --pool-reward-account-verification-key STRING + | --pool-reward-account-verification-key-file FILEPATH + ) + ( --pool-owner-verification-key STRING + | --pool-owner-stake-verification-key-file FILEPATH + ) + [ [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT + | --single-host-pool-relay STRING + [--pool-relay-port INT] + | --multi-host-pool-relay STRING + ] + [--metadata-url URL + --metadata-hash HASH] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILEPATH - Print the identifier (hash) of a public key + Create a stake pool registration certificate -Usage: cardano-cli genesis get-ver-key --verification-key-file FILEPATH - --signing-key-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 - Derive the verification key from a signing key + Create a stake pool deregistration certificate -Usage: cardano-cli genesis initial-addr --verification-key-file FILEPATH - (--mainnet | --testnet-magic NATURAL) +Usage: cardano-cli latest stake-pool id + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + [--output-format STRING] [--out-file FILEPATH] - Get the address for an initial UTxO based on the verification key - -Usage: cardano-cli genesis initial-txin --verification-key-file FILEPATH - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] + Build pool id from the offline key - Get the TxIn for an initial UTxO based on the verification key +Usage: cardano-cli latest stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli genesis create-cardano - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--security-param INT] - [--slot-length INT] - [--slot-coefficient RATIONAL] - ( --mainnet - | --testnet-magic NATURAL - ) - --byron-template FILEPATH - --shelley-template FILEPATH - --alonzo-template FILEPATH - --conway-template FILEPATH - [--node-config-template FILEPATH] + Print the hash of pool metadata. - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. +Usage: cardano-cli latest text-view decode-cbor -Usage: cardano-cli genesis create - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - (--mainnet | --testnet-magic NATURAL) + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. +Usage: cardano-cli latest text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli genesis create-staked - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--gen-pools INT] - [--gen-stake-delegs INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--supply-delegated LOVELACE] - (--mainnet | --testnet-magic NATURAL) - [--bulk-pool-cred-files INT] - [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] - [--relay-specification-file FILEPATH] + Print a TextView file as decoded CBOR. - Create a staked Shelley genesis file from a genesis template and - genesis/delegation/spending keys. +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 genesis hash --genesis FILEPATH + Transaction commands. - Compute the hash of a genesis file - -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] - - 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) - [--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) - [--output-json | --output-text] - [--out-file FILEPATH] - - Get the node's current set of stake pool ids +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 query stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--output-json | --output-text] - [--out-file FILEPATH] + Build a transaction (low-level, inconvenient) - Get the node's current aggregated stake distribution + 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 query stake-address-info --socket-path SOCKET_PATH +Usage: cardano-cli latest transaction build --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 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 query ledger-state --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] - - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) - -Usage: cardano-cli query protocol-state --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] - - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) - -Usage: cardano-cli query stake-snapshot --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] - - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) - -Usage: cardano-cli query pool-params --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] - - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced - command) - -Usage: cardano-cli query leadership-schedule --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --genesis FILEPATH - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --vrf-signing-key-file FILEPATH - (--current | --next) - [--output-json | --output-text] - [--out-file FILEPATH] - - Get the slots the node is expected to mint a block in (advanced command) - -Usage: cardano-cli query kes-period-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - --op-cert-file FILEPATH - [--out-file FILEPATH] - - Get information about the current KES period and your node's operational - certificate. - -Usage: cardano-cli query pool-state --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] - - 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] - - Local Mempool info - -Usage: cardano-cli query tx-mempool info - - Ask the node about the current mempool's capacity and sizes - -Usage: cardano-cli query tx-mempool next-tx - - Requests the next transaction from the mempool's current list - -Usage: cardano-cli query tx-mempool tx-exists TX_ID - - Query if a particular transaction exists in the mempool - -Usage: cardano-cli query slot-number --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - TIMESTAMP - - Query slot number for UTC timestamp - -Usage: cardano-cli stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) - - Stake pool commands + [ --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 stake-pool registration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH + Build a balanced transaction (automatically calculates fees) - Create a stake pool registration certificate + 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 stake-pool deregistration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era +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 ] - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH + ( --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 ) - --epoch NATURAL - --out-file FILEPATH - - Create a stake pool deregistration certificate - -Usage: cardano-cli 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 stake-pool metadata-hash --pool-metadata-file FILEPATH - [--out-file FILEPATH] - - Print the hash of pool metadata. - -Usage: cardano-cli node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) - - Node operation commands - -Usage: cardano-cli node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - - Create a key pair for a node operator's offline key and a new certificate - issue counter - -Usage: cardano-cli node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a key pair for a node KES operational key - -Usage: cardano-cli node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a key pair for a node VRF operational key - -Usage: cardano-cli node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] - - Print hash of a node's operational VRF key. - -Usage: cardano-cli node new-counter - ( --stake-pool-verification-key STRING - | --genesis-delegate-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --counter-value INT - --operational-certificate-issue-counter-file FILEPATH - - 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 - - Issue a node operational certificate - -Usage: cardano-cli transaction - ( build-raw - | build - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - ) - - Transaction commands - -Usage: cardano-cli transaction build-raw - [ --byron-era - | --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - [--script-valid | --script-invalid] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - --spending-reference-tx-in-execution-units (INT, INT) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - ) - --tx-in-execution-units (INT, INT)] - ]) - [--read-only-tx-in-reference TX-IN] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - [--mint VALUE - ( --mint-script-file FILEPATH - [ - ( --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ) - --mint-execution-units (INT, INT)] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --mint-reference-tx-in-execution-units (INT, INT) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - --fee LOVELACE - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ - ( --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ) - --certificate-execution-units (INT, INT)] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - --certificate-reference-tx-in-execution-units (INT, INT) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ - ( --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ) - --withdrawal-execution-units (INT, INT)] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - --withdrawal-reference-tx-in-execution-units (INT, INT) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--protocol-params-file FILEPATH] - [--update-proposal-file FILEPATH] - --out-file FILEPATH - - 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 transaction build --socket-path SOCKET_PATH - [--babbage-era | --conway-era] - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--script-valid | --script-invalid] - [--witness-override WORD] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - )] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--update-proposal-file FILEPATH] - [--vote-file FILEPATH - [ --vote-script-file FILEPATH - [ --vote-redeemer-cbor-file CBOR_FILE - | --vote-redeemer-file JSON_FILE - | --vote-redeemer-value JSON_VALUE - ] - | --vote-tx-in-reference TX-IN - --vote-plutus-script-v3 - ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --vote-reference-tx-in-redeemer-file JSON_FILE - | --vote-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--proposal-file FILEPATH - [ --proposal-script-file FILEPATH - [ --proposal-redeemer-cbor-file CBOR_FILE - | --proposal-redeemer-file JSON_FILE - | --proposal-redeemer-value JSON_VALUE - ] - | --proposal-tx-in-reference TX-IN - --proposal-plutus-script-v3 - ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --proposal-reference-tx-in-redeemer-file JSON_FILE - | --proposal-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--treasury-donation LOVELACE] - ( --out-file FILEPATH - | --calculate-plutus-script-cost FILEPATH - ) - - Build a balanced transaction (automatically calculates fees) - - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [--mainnet | --testnet-magic NATURAL] - --out-file FILEPATH - - Sign a transaction - -Usage: cardano-cli transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [--mainnet | --testnet-magic NATURAL] - --out-file FILEPATH - - Create a transaction witness - -Usage: cardano-cli transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH - - Assemble a tx body and witness(es) to form a transaction - -Usage: cardano-cli transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH - - Assemble a tx body and witness(es) to form a transaction - -Usage: cardano-cli transaction submit --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - --tx-file FILEPATH - - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. - -Usage: cardano-cli transaction policyid --script-file FILEPATH - - Calculate the PolicyId from the monetary policy script. - -Usage: cardano-cli transaction calculate-min-fee --tx-body-file FILEPATH - --protocol-params-file FILEPATH - --witness-count NATURAL - [--byron-witness-count NATURAL] - [--reference-script-size NATURAL] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - [ --mainnet - | --testnet-magic NATURAL - ] - [--tx-in-count NATURAL] - [--tx-out-count NATURAL] - - Calculate the minimum fee for a transaction. - -Usage: cardano-cli transaction calculate-min-required-utxo - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE + --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-out-reference-script-file FILEPATH] - - Calculate the minimum required UTxO for a transaction output. - -Usage: cardano-cli transaction calculate-min-value - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] - - DEPRECATED: Use 'calculate-min-required-utxo' instead. - -Usage: cardano-cli transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) - - Calculate the hash of script data. - -Usage: cardano-cli transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - - Print a transaction identifier. - -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 - - 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 - - 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 - - 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 - - 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 - - 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 - - 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 - - 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 - - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. - -Usage: cardano-cli stake-address - ( key-gen - | build - | key-hash - | registration-certificate - | deregistration-certificate - | delegation-certificate - ) - - Stake address commands - -Usage: cardano-cli stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a stake address key pair - -Usage: cardano-cli stake-address build - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - ) - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] - - Build a stake address - -Usage: cardano-cli stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] - - Print the hash of a stake address key. - -Usage: cardano-cli stake-address registration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - [--key-reg-deposit-amt NATURAL] - --out-file FILEPATH - - Create a stake address registration certificate - -Usage: cardano-cli stake-address deregistration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - [--key-reg-deposit-amt NATURAL] - --out-file FILEPATH - - Create a stake address deregistration certificate - -Usage: cardano-cli stake-address delegation-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --out-file FILEPATH - - Create a stake address pool delegation certificate - -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 - - Create an address key pair. - -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] - - Build a Shelley payment address, with optional delegation to a stake address. - -Usage: cardano-cli address info --address ADDRESS [--out-file FILEPATH] - - Print information about an address. - -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 - ) - - Byron key utility commands - -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 - - Extract a verification key in its base64 form. - -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 - - Print address of a signing key. - -Usage: cardano-cli byron key migrate-delegate-key-from --from FILEPATH - --to FILEPATH - - Migrate a delegate key from an older version. - -Usage: cardano-cli byron transaction ( submit-tx - | issue-genesis-utxo-expenditure - | issue-utxo-expenditure - | txid - ) - - Byron transaction commands - -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)') - - 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)') - - Write a file with a signed transaction, spending normal UTxO. - -Usage: cardano-cli byron transaction txid --tx FILEPATH - - Print the txid of a raw, signed transaction. - -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] - - Create genesis. - -Usage: cardano-cli byron genesis print-genesis-hash --genesis-json FILEPATH - - Compute hash of a genesis file. + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + ) + --tx-in-execution-units (INT, INT)] + ]) + [--read-only-tx-in-reference TX-IN] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( --mint-script-file FILEPATH + [ + ( --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ) + --mint-execution-units (INT, INT)] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + [ + --certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ + ( --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ) + --certificate-execution-units (INT, INT)] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + --certificate-reference-tx-in-execution-units (INT, INT) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ + ( --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ) + --withdrawal-execution-units (INT, INT)] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + --withdrawal-reference-tx-in-execution-units (INT, INT) + ]] + [--tx-total-collateral INTEGER] + [--reference-script-size NATURAL] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] + --out-file FILEPATH -Usage: cardano-cli byron governance COMMAND + Build a balanced transaction without access to a live node (automatically estimates fees) - Byron governance commands + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m -Usage: cardano-cli byron governance submit-proposal-vote - --socket-path SOCKET_PATH - ( --mainnet - | --testnet-magic NATURAL - ) - --filepath 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 - Submit a proposal vote. + Sign a transaction -Usage: cardano-cli byron governance submit-update-proposal - --socket-path SOCKET_PATH - ( --mainnet - | --testnet-magic NATURAL - ) - --filepath FILEPATH +Usage: cardano-cli latest transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [ --mainnet + | --testnet-magic NATURAL + ] + --out-file FILEPATH - Submit an update proposal. + Create a transaction witness -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 latest transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH - Create an update proposal vote. + Assemble a tx body and witness(es) to form a transaction -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 latest transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH - Create an update proposal. + Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli byron miscellaneous (validate-cbor | pretty-print-cbor) +Usage: cardano-cli latest transaction submit --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --tx-file FILEPATH - Byron miscellaneous commands + Submit a transaction to the local node whose Unix domain socket is obtained + from the CARDANO_NODE_SOCKET_PATH environment variable. -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 latest transaction policyid --script-file FILEPATH - Validate a CBOR blockchain object. + Calculate the PolicyId from the monetary policy script. -Usage: cardano-cli byron miscellaneous pretty-print-cbor --filepath FILEPATH +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] - Pretty print a CBOR file. + Calculate the minimum fee for a transaction. -Usage: cardano-cli byron submit-proposal-vote --socket-path SOCKET_PATH - ( --mainnet - | --testnet-magic NATURAL - ) - --filepath FILEPATH +Usage: cardano-cli latest transaction calculate-min-required-utxo --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] - Submit a proposal vote. + Calculate the minimum required UTxO for a transaction output. -Usage: cardano-cli byron submit-update-proposal --socket-path SOCKET_PATH - ( --mainnet - | --testnet-magic NATURAL - ) - --filepath FILEPATH +Usage: cardano-cli latest transaction calculate-min-value --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] - Submit an update proposal. + DEPRECATED: Use 'calculate-min-required-utxo' instead. -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 latest transaction hash-script-data + ( --script-data-cbor-file CBOR_FILE + | --script-data-file JSON_FILE + | --script-data-value JSON_VALUE + ) - Create an update proposal vote. + Calculate the hash of script data. -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 latest transaction txid + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) - Create an update proposal. + Print a transaction identifier. Usage: cardano-cli hash (anchor-data | script) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/address.cli index 2eaf110355..42a4854636 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/address.cli @@ -1,6 +1,6 @@ Usage: cardano-cli address (key-gen | key-hash | build | info) - Payment address commands + Payment address commands. Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis.cli index a16999564b..132cc0ae7b 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,37 +1,39 @@ -Usage: cardano-cli genesis - ( key-gen-genesis - | key-gen-delegate - | key-gen-utxo - | key-hash - | get-ver-key - | initial-addr - | initial-txin - | create-cardano - | create - | create-staked - | hash - ) +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] - Genesis block commands + Create genesis. Available options: + --genesis-output-dir FILEPATH + Non-existent directory where genesis JSON file and + secrets shall be placed. + --start-time POSIXSECONDS + Start time of the new cluster to be enshrined in the + new genesis. + --protocol-parameters-file FILEPATH + JSON file with protocol parameters. + --k INT The security parameter of the Ouroboros protocol. + --protocol-magic INT The magic number unique to any instance of Cardano. + --n-poor-addresses INT Number of poor nodes (with small balance). + --n-delegate-addresses INT + Number of delegate nodes (with huge balance). + --total-balance INT Total balance owned by these nodes. + --delegate-share DOUBLE Portion of stake owned by all delegates together. + --avvm-entry-count INT Number of AVVM addresses. + --avvm-entry-balance INT AVVM address. + --avvm-balance-factor DOUBLE + AVVM balances will be multiplied by this factor + (defaults to 1). + --secret-seed INT Optionally specify the seed of generation. -h,--help Show this help text - -Available commands: - key-gen-genesis Create a Shelley genesis key pair - key-gen-delegate Create a Shelley genesis delegate key pair - key-gen-utxo Create a Shelley genesis UTxO key pair - key-hash Print the identifier (hash) of a public key - get-ver-key Derive the verification key from a signing key - initial-addr Get the address for an initial UTxO based on the - verification key - initial-txin Get the TxIn for an initial UTxO based on the - verification key - create-cardano Create a Byron and Shelley genesis file from a - genesis template and genesis/delegation/spending - keys. - create Create a Shelley genesis file from a genesis template - and genesis/delegation/spending keys. - create-staked Create a staked Shelley genesis file from a genesis - template and genesis/delegation/spending keys. - hash Compute the hash of a genesis file diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli index 428a22ac1b..d630a99e9d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli @@ -1,12 +1,4 @@ -Usage: cardano-cli genesis create-cardano - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --genesis-dir DIR +Usage: cardano-cli genesis create-cardano --genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT] [--start-time UTC-TIME] @@ -27,17 +19,6 @@ Usage: cardano-cli genesis create-cardano genesis/delegation/spending keys. Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --genesis-dir DIR The genesis directory containing the genesis template and required genesis/delegation/spending keys. --gen-genesis-keys INT The number of genesis keys to make [default is 3]. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli index 2e6f8f0ea8..65977af410 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli @@ -1,12 +1,4 @@ -Usage: cardano-cli genesis create-staked - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - [--key-output-format STRING] +Usage: cardano-cli genesis create-staked [--key-output-format STRING] --genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT] @@ -25,17 +17,6 @@ Usage: cardano-cli genesis create-staked genesis/delegation/spending keys. Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --key-output-format STRING Optional key output format. Accepted output formats are "text-envelope" and "bech32" (default is @@ -70,5 +51,6 @@ Available options: --num-stuffed-utxo INT The number of fake UTxO entries to generate [default is 0]. --relay-specification-file FILEPATH - JSON file specified the relays of each stake pool. + JSON file that specifies the relays of each stake + pool. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-testnet-data.cli new file mode 100644 index 0000000000..f9377f8b51 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-testnet-data.cli @@ -0,0 +1,66 @@ +Usage: cardano-cli genesis create-testnet-data [--spec-shelley FILEPATH] + [--spec-alonzo FILEPATH] + [--spec-conway FILEPATH] + [--genesis-keys INT] + [--pools INT] + [ --stake-delegators INT + | --transient-stake-delegators INT + ] + [ --drep-keys INT + | --transient-drep-keys INT + ] + [--stuffed-utxo INT] + [--utxo-keys INT] + [--total-supply LOVELACE] + [--delegated-supply LOVELACE] + [--testnet-magic NATURAL] + [--relays FILEPATH] + [--start-time UTC-TIME] + --out-dir DIR + + Create data to use for starting a testnet. + +Available options: + --spec-shelley FILEPATH The shelley specification file to use as input. A + default one is generated if omitted. + --spec-alonzo FILEPATH The alonzo specification file to use as input. A + default one is generated if omitted. + --spec-conway FILEPATH The conway specification file to use as input. A + default one is generated if omitted. + --genesis-keys INT The number of genesis keys to make (default is 3). + --pools INT The number of stake pool credential sets to make + (default is 0). + --stake-delegators INT The number of stake delegator credential sets to make + (default is 0). Credentials are written to disk. + --transient-stake-delegators INT + The number of stake delegator credential sets to make + (default is 0). The credentials are NOT written to + disk. + --drep-keys INT The number of DRep credentials to make (default is + 0). Credentials are written to disk. + --transient-drep-keys INT + The number of DRep credentials to make (default is + 0). The credentials are NOT written to disk. + --stuffed-utxo INT The number of fake UTxO entries to generate (default + is 0). + --utxo-keys INT The number of UTxO keys to make (default is 0). + --total-supply LOVELACE The maximum possible amount of Lovelace, which is + evenly distributed across stake holders. Overrides + the value from the shelley genesis. If + --delegated-supply is specified, a part of this + amount will be delegated. + --delegated-supply LOVELACE + The amount of the total supply which is evenly + delegated. Defaulted to half of the total supply. + Cannot be more than the amount specified with + --total-supply. + --testnet-magic NATURAL Specify a testnet magic id for the cluster. This + overrides both the network magic from the spec file + and CARDANO_NODE_NETWORK_ID environment variable. + --relays FILEPATH JSON file specifying the relays of each stake pool. + --start-time UTC-TIME The genesis start time in YYYY-MM-DDThh:mm:ssZ + format. If unspecified, will be the current time +30 + seconds. + --out-dir DIR The directory where to generate the data. Created if + not existing. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli index a949f6fe52..9b7e8bf664 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli @@ -1,12 +1,4 @@ -Usage: cardano-cli genesis create - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - [--key-output-format STRING] +Usage: cardano-cli genesis create [--key-output-format STRING] --genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT] @@ -18,17 +10,6 @@ Usage: cardano-cli genesis create genesis/delegation/spending keys. Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --key-output-format STRING Optional key output format. Accepted output formats are "text-envelope" and "bech32" (default is diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance.cli index d06eba4ede..25a25b5f94 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance.cli @@ -1,23 +1,12 @@ -Usage: cardano-cli governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | create-update-proposal - | create-poll - | answer-poll - | verify-poll - ) +Usage: cardano-cli governance (action | committee | drep | vote) - Governance commands + Governance commands. Available options: -h,--help Show this help text Available commands: - create-mir-certificate Create an MIR (Move Instantaneous Rewards) - certificate - create-genesis-key-delegation-certificate - Create a genesis key delegation certificate - create-update-proposal Create an update proposal - create-poll Create an SPO poll - answer-poll Answer an SPO poll - verify-poll Verify an answer to a given SPO poll + action Governance action commands. + committee Committee member commands. + drep DRep member commands. + vote Vote commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action.cli new file mode 100644 index 0000000000..889507f2c3 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action.cli @@ -0,0 +1,27 @@ +Usage: cardano-cli governance action + ( create-constitution + | update-committee + | create-info + | create-no-confidence + | create-protocol-parameters-update + | create-treasury-withdrawal + | create-hardfork + | view + ) + + Governance action commands. + +Available options: + -h,--help Show this help text + +Available commands: + create-constitution Create a constitution. + update-committee Create or update a new committee proposal. + create-info Create an info action. + create-no-confidence Create a no confidence proposal. + create-protocol-parameters-update + Create a protocol parameters update. + create-treasury-withdrawal + Create a treasury withdrawal. + create-hardfork Create a hardfork initiation proposal. + view View a governance action. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-constitution.cli new file mode 100644 index 0000000000..021220e101 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-constitution.cli @@ -0,0 +1,49 @@ +Usage: cardano-cli governance action create-constitution (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + --constitution-url TEXT + --constitution-hash HASH + [--constitution-script-hash HASH] + --out-file FILEPATH + + Create a constitution. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --constitution-url TEXT Constitution URL. + --constitution-hash HASH Hash of the constitution data (obtain it with + "cardano-cli hash anchor-data ..."). + --constitution-script-hash HASH + Constitution script hash (hex-encoded). Obtain it + with "cardano-cli hash script ...". + --out-file FILEPATH Output filepath of the constitution. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-hardfork.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-hardfork.cli new file mode 100644 index 0000000000..2a4ff08077 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-hardfork.cli @@ -0,0 +1,52 @@ +Usage: cardano-cli governance action create-hardfork (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + --protocol-major-version MAJOR + --protocol-minor-version MINOR + --out-file FILEPATH + + Create a hardfork initiation proposal. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --protocol-major-version MAJOR + Specify the major protocol version to fork into. An + increase indicates a hard fork. It must be the next + natural number after the current version and must be + supported by the node. + --protocol-minor-version MINOR + Minor protocol version. An increase indicates a soft + fork (old software can validate but not produce new + blocks). Must be zero when the major protocol version + is increased. + --out-file FILEPATH Output filepath of the hardfork proposal. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-info.cli new file mode 100644 index 0000000000..f1be625dbe --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-info.cli @@ -0,0 +1,35 @@ +Usage: cardano-cli governance action create-info (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + --out-file FILEPATH + + Create an info action. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --out-file FILEPATH Path to action file to be used later on with build or + build-raw + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-no-confidence.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-no-confidence.cli new file mode 100644 index 0000000000..ec863a77ee --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-no-confidence.cli @@ -0,0 +1,43 @@ +Usage: cardano-cli governance action create-no-confidence + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH + + Create a no confidence proposal. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --out-file FILEPATH Output filepath of the no confidence proposal. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-protocol-parameters-update.cli new file mode 100644 index 0000000000..73157f1f4b --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-protocol-parameters-update.cli @@ -0,0 +1,205 @@ +Usage: cardano-cli governance action create-protocol-parameters-update + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + [--constitution-script-hash HASH] + [--min-fee-linear LOVELACE] + [--min-fee-constant LOVELACE] + [--max-block-body-size WORD32] + [--max-tx-size WORD32] + [--max-block-header-size WORD16] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--pool-retirement-epoch-interval WORD32] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--treasury-expansion RATIONAL] + [--monetary-expansion RATIONAL] + [--min-pool-cost NATURAL] + [--price-execution-steps RATIONAL + --price-execution-memory RATIONAL] + [--max-tx-execution-units (INT, INT)] + [--max-block-execution-units (INT, INT)] + [--max-value-size INT] + [--collateral-percent INT] + [--max-collateral-inputs INT] + [--utxo-cost-per-byte LOVELACE] + [--pool-voting-threshold-motion-no-confidence RATIONAL + --pool-voting-threshold-committee-normal RATIONAL + --pool-voting-threshold-committee-no-confidence RATIONAL + --pool-voting-threshold-hard-fork-initiation RATIONAL + --pool-voting-threshold-pp-security-group RATIONAL] + [--drep-voting-threshold-motion-no-confidence RATIONAL + --drep-voting-threshold-committee-normal RATIONAL + --drep-voting-threshold-committee-no-confidence RATIONAL + --drep-voting-threshold-update-to-constitution RATIONAL + --drep-voting-threshold-hard-fork-initiation RATIONAL + --drep-voting-threshold-pp-network-group RATIONAL + --drep-voting-threshold-pp-economic-group RATIONAL + --drep-voting-threshold-pp-technical-group RATIONAL + --drep-voting-threshold-pp-governance-group RATIONAL + --drep-voting-threshold-treasury-withdrawal RATIONAL] + [--min-committee-size INT] + [--committee-term-length WORD32] + [--governance-action-lifetime WORD32] + [--new-governance-action-deposit NATURAL] + [--drep-deposit LOVELACE] + [--drep-activity WORD32] + [--ref-script-cost-per-byte RATIONAL] + [--cost-model-file FILE] + --out-file FILEPATH + + Create a protocol parameters update. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --constitution-script-hash HASH + Constitution script hash (hex-encoded). Obtain it + with "cardano-cli hash script ...". + --min-fee-linear LOVELACE + The linear factor per byte for the minimum fee + calculation. + --min-fee-constant LOVELACE + The constant factor for the minimum fee calculation. + --max-block-body-size WORD32 + Maximal block body size. + --max-tx-size WORD32 Maximum transaction size. + --max-block-header-size WORD16 + Maximum block header size. + --key-reg-deposit-amt NATURAL + Key registration deposit amount. + --pool-reg-deposit NATURAL + The amount of a pool registration deposit. + --pool-retirement-epoch-interval WORD32 + Epoch interval of pool retirement. + --number-of-pools NATURAL + Desired number of pools. + --pool-influence RATIONAL + Pool influence. + --treasury-expansion RATIONAL + Treasury expansion. + --monetary-expansion RATIONAL + Monetary expansion. + --min-pool-cost NATURAL The minimum allowed cost parameter for stake pools. + --price-execution-steps RATIONAL + Step price of execution units for script languages + that use them (from Alonzo era). (Examples: '1.1', + '11/10') + --price-execution-memory RATIONAL + Memory price of execution units for script languages + that use them (from Alonzo era). (Examples: '1.1', + '11/10') + --max-tx-execution-units (INT, INT) + Max total script execution resources units allowed + per tx (from Alonzo era). They are denominated as + follows (steps, memory). + --max-block-execution-units (INT, INT) + Max total script execution resources units allowed + per block (from Alonzo era). They are denominated as + follows (steps, memory). + --max-value-size INT Max size of a multi-asset value in a tx output (from + Alonzo era). + --collateral-percent INT The percentage of the script contribution to the + txfee that must be provided as collateral inputs when + including Plutus scripts (from Alonzo era). + --max-collateral-inputs INT + The maximum number of collateral inputs allowed in a + transaction (from Alonzo era). + --utxo-cost-per-byte LOVELACE + Cost in lovelace per unit of UTxO storage (from + Babbage era). + --pool-voting-threshold-motion-no-confidence RATIONAL + Acceptance threshold for stake pool votes on motions + no confidence. + --pool-voting-threshold-committee-normal RATIONAL + Acceptance threshold for stake pool votes on normal + committee updates. + --pool-voting-threshold-committee-no-confidence RATIONAL + Acceptance threshold for stake pool votes on + committee updates when the committee is in a state of + no confidence. + --pool-voting-threshold-hard-fork-initiation RATIONAL + Acceptance threshold for stake pool votes on hard + fork initiations. + --pool-voting-threshold-pp-security-group RATIONAL + Acceptance threshold for stake pool votes on protocol + parameters for parameters in the 'security' group. + --drep-voting-threshold-motion-no-confidence RATIONAL + Acceptance threshold for DRep votes on motions of no + confidence. + --drep-voting-threshold-committee-normal RATIONAL + Acceptance threshold for DRep votes on normal + committee updates. + --drep-voting-threshold-committee-no-confidence RATIONAL + Acceptance threshold for DRep votes on committee + updates when the committee is in a state of no + confidence. + --drep-voting-threshold-update-to-constitution RATIONAL + Acceptance threshold for DRep votes on constitution + updates. + --drep-voting-threshold-hard-fork-initiation RATIONAL + Acceptance threshold for DRep votes on hard fork + initiations. + --drep-voting-threshold-pp-network-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'network' group. + --drep-voting-threshold-pp-economic-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'economic' group. + --drep-voting-threshold-pp-technical-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'technical' group. + --drep-voting-threshold-pp-governance-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'governance' group. + --drep-voting-threshold-treasury-withdrawal RATIONAL + Acceptance threshold for DRep votes on treasury + withdrawals. + --min-committee-size INT Minimal size of the constitutional committee. + --committee-term-length WORD32 + Maximal term length for members of the constitutional + committee, in epochs. + --governance-action-lifetime WORD32 + Maximal lifetime of governance actions, in epochs. + --new-governance-action-deposit NATURAL + Proposed new value of the deposit required to submit + a governance action. + --drep-deposit LOVELACE DRep deposit amount. + --drep-activity WORD32 DRep activity period, in epochs. + --ref-script-cost-per-byte RATIONAL + Reference script cost per byte for the minimum fee + calculation. + --cost-model-file FILE Filepath of the JSON formatted cost model + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-treasury-withdrawal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-treasury-withdrawal.cli new file mode 100644 index 0000000000..238119081f --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-treasury-withdrawal.cli @@ -0,0 +1,54 @@ +Usage: cardano-cli governance action create-treasury-withdrawal + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + ( + ( --funds-receiving-stake-verification-key STRING + | --funds-receiving-stake-verification-key-file FILEPATH + | --funds-receiving-stake-key-hash HASH + ) + --transfer LOVELACE) + [--constitution-script-hash HASH] + --out-file FILEPATH + + Create a treasury withdrawal. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --funds-receiving-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --funds-receiving-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --funds-receiving-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --transfer LOVELACE The amount to transfer. + --constitution-script-hash HASH + Constitution script hash (hex-encoded). Obtain it + with "cardano-cli hash script ...". + --out-file FILEPATH Output filepath of the treasury withdrawal. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_update-committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_update-committee.cli new file mode 100644 index 0000000000..9802f96bf0 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_update-committee.cli @@ -0,0 +1,74 @@ +Usage: cardano-cli governance action update-committee (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [ --remove-cc-cold-verification-key STRING + | --remove-cc-cold-verification-key-file FILEPATH + | --remove-cc-cold-verification-key-hash STRING + | --remove-cc-cold-script-hash HASH + ] + [ + ( --add-cc-cold-verification-key STRING + | --add-cc-cold-verification-key-file FILEPATH + | --add-cc-cold-verification-key-hash STRING + | --add-cc-cold-script-hash HASH + ) + --epoch NATURAL] + --threshold RATIONAL + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH + + Create or update a new committee proposal. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --remove-cc-cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --remove-cc-cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --remove-cc-cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --remove-cc-cold-script-hash HASH + Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --add-cc-cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --add-cc-cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --add-cc-cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --add-cc-cold-script-hash HASH + Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --epoch NATURAL Committee member expiry epoch + --threshold RATIONAL Threshold of YES votes that are necessary for + approving a governance action. + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_view.cli new file mode 100644 index 0000000000..3ca0095045 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_view.cli @@ -0,0 +1,13 @@ +Usage: cardano-cli governance action view --action-file FILEPATH + [--output-json | --output-yaml] + [--out-file FILEPATH] + + View a governance action. + +Available options: + --action-file FILEPATH Path to action file. + --output-json Format governance action view output to JSON. + --output-yaml Format governance action view output to YAML. + Defaults to JSON if unspecified. + --out-file FILEPATH Optional output file. Default is to write to stdout. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee.cli new file mode 100644 index 0000000000..4a567f16f5 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee.cli @@ -0,0 +1,25 @@ +Usage: cardano-cli governance committee + ( key-gen-cold + | key-gen-hot + | key-hash + | create-hot-key-authorization-certificate + | create-cold-key-resignation-certificate + ) + + Committee member commands. + +Available options: + -h,--help Show this help text + +Available commands: + key-gen-cold Create a cold key pair for a Constitutional Committee + Member + key-gen-hot Create a hot key pair for a Constitutional Committee + Member + key-hash Print the identifier (hash) of a public key + create-hot-key-authorization-certificate + Create hot key authorization certificate for a + Constitutional Committee Member + create-cold-key-resignation-certificate + Create cold key resignation certificate for a + Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-cold-key-resignation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-cold-key-resignation-certificate.cli new file mode 100644 index 0000000000..5fd140f600 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-cold-key-resignation-certificate.cli @@ -0,0 +1,33 @@ +Usage: cardano-cli governance committee create-cold-key-resignation-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + [--resignation-metadata-url TEXT + --resignation-metadata-hash HASH] + --out-file FILEPATH + + Create cold key resignation certificate for a Constitutional Committee Member + +Available options: + --cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --cold-script-hash HASH Committee cold Native or Plutus script file hash + (hex-encoded). Obtain it with "cardano-cli hash + script ...". + --cold-script-file FILEPATH + Cold Native or Plutus script file + --resignation-metadata-url TEXT + Constitutional Committee cold key resignation + certificate URL + --resignation-metadata-hash HASH + Constitutional Committee cold key resignation + certificate metadata hash + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-hot-key-authorization-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-hot-key-authorization-certificate.cli new file mode 100644 index 0000000000..e9736da849 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-hot-key-authorization-certificate.cli @@ -0,0 +1,42 @@ +Usage: cardano-cli governance committee create-hot-key-authorization-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + ( --hot-verification-key STRING + | --hot-verification-key-file FILEPATH + | --hot-verification-key-hash STRING + | --hot-script-hash HASH + | --hot-script-file FILEPATH + ) + --out-file FILEPATH + + Create hot key authorization certificate for a Constitutional Committee Member + +Available options: + --cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --cold-script-hash HASH Committee cold Native or Plutus script file hash + (hex-encoded). Obtain it with "cardano-cli hash + script ...". + --cold-script-file FILEPATH + Cold Native or Plutus script file + --hot-verification-key STRING + Constitutional Committee hot key (hex-encoded). + --hot-verification-key-file FILEPATH + Filepath of the Constitutional Committee hot key. + --hot-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --hot-script-hash HASH Committee hot Native or Plutus script file hash + (hex-encoded). Obtain it with "cardano-cli hash + script ...". + --hot-script-file FILEPATH + Hot Native or Plutus script file + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-cold.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-cold.cli new file mode 100644 index 0000000000..0bdeea1947 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-cold.cli @@ -0,0 +1,12 @@ +Usage: cardano-cli governance committee key-gen-cold + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + + Create a cold key pair for a Constitutional Committee Member + +Available options: + --cold-verification-key-file FILEPATH + Filepath of the cold verification key. + --cold-signing-key-file FILEPATH + Filepath of the cold signing key. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-hot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-hot.cli new file mode 100644 index 0000000000..3451709654 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-hot.cli @@ -0,0 +1,11 @@ +Usage: cardano-cli governance committee key-gen-hot --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a hot key pair for a Constitutional Committee Member + +Available options: + --verification-key-file FILEPATH + Output filepath of the verification key. + --signing-key-file FILEPATH + Output filepath of the signing key. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-hash.cli new file mode 100644 index 0000000000..996ad90b43 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-hash.cli @@ -0,0 +1,15 @@ +Usage: cardano-cli governance committee key-hash + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + + Print the identifier (hash) of a public key + +Available options: + --verification-key STRING + Constitutional Committee Member key (hot or cold) + (Bech32-encoded) + --verification-key-file FILEPATH + Input filepath of the Constitutional Committee Member + key (hot or cold). + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep.cli new file mode 100644 index 0000000000..1ce17209f7 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep.cli @@ -0,0 +1,22 @@ +Usage: cardano-cli governance drep + ( key-gen + | id + | registration-certificate + | retirement-certificate + | update-certificate + | metadata-hash + ) + + DRep member commands. + +Available options: + -h,--help Show this help text + +Available commands: + key-gen Generate Delegated Representative verification and + signing keys. + id Generate a drep id. + registration-certificate Create a registration certificate. + retirement-certificate Create a DRep retirement certificate. + update-certificate Create a DRep update certificate. + metadata-hash Calculate the hash of a metadata file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_id.cli new file mode 100644 index 0000000000..7138c4f774 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_id.cli @@ -0,0 +1,18 @@ +Usage: cardano-cli governance drep id + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] + + Generate a drep id. + +Available options: + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --output-format STRING Optional drep id output format. Accepted output + formats are "hex" and "bech32" (default is "bech32"). + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_key-gen.cli new file mode 100644 index 0000000000..0a1e6dc660 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_key-gen.cli @@ -0,0 +1,11 @@ +Usage: cardano-cli governance drep key-gen --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Generate Delegated Representative verification and signing keys. + +Available options: + --verification-key-file FILEPATH + Output filepath of the verification key. + --signing-key-file FILEPATH + Output filepath of the signing key. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_metadata-hash.cli new file mode 100644 index 0000000000..457f2504d3 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_metadata-hash.cli @@ -0,0 +1,10 @@ +Usage: cardano-cli governance drep metadata-hash --drep-metadata-file FILEPATH + [--out-file FILEPATH] + + Calculate the hash of a metadata file. + +Available options: + --drep-metadata-file FILEPATH + JSON Metadata file to hash. + --out-file FILEPATH Optional output file. Default is to write to stdout. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_registration-certificate.cli new file mode 100644 index 0000000000..400eaf0fac --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_registration-certificate.cli @@ -0,0 +1,29 @@ +Usage: cardano-cli governance drep registration-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --key-reg-deposit-amt NATURAL + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH + + Create a registration certificate. + +Available options: + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --key-reg-deposit-amt NATURAL + Key registration deposit amount. + --drep-metadata-url TEXT DRep anchor URL + --drep-metadata-hash HASH + DRep anchor data hash. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_retirement-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_retirement-certificate.cli new file mode 100644 index 0000000000..5f3422b836 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_retirement-certificate.cli @@ -0,0 +1,24 @@ +Usage: cardano-cli governance drep retirement-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --deposit-amt LOVELACE + --out-file FILEPATH + + Create a DRep retirement certificate. + +Available options: + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --deposit-amt LOVELACE DRep deposit amount (same at registration and + retirement). + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_update-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_update-certificate.cli new file mode 100644 index 0000000000..c94633159e --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_update-certificate.cli @@ -0,0 +1,26 @@ +Usage: cardano-cli governance drep update-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH + + Create a DRep update certificate. + +Available options: + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --drep-metadata-url TEXT DRep anchor URL + --drep-metadata-hash HASH + DRep anchor data hash. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote.cli new file mode 100644 index 0000000000..79455568ae --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote.cli @@ -0,0 +1,10 @@ +Usage: cardano-cli governance vote (create | view) + + Vote commands. + +Available options: + -h,--help Show this help text + +Available commands: + create Vote creation. + view Vote viewing. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_create.cli new file mode 100644 index 0000000000..8853da8cb2 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_create.cli @@ -0,0 +1,54 @@ +Usage: cardano-cli governance vote create (--yes | --no | --abstain) + --governance-action-tx-id TXID + --governance-action-index WORD16 + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --drep-script-hash HASH + | --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + | --cc-hot-verification-key STRING + | --cc-hot-verification-key-file FILEPATH + | --cc-hot-key-hash STRING + | --cc-hot-script-hash HASH + ) + [--anchor-url TEXT + --anchor-data-hash HASH] + --out-file FILEPATH + + Vote creation. + +Available options: + --governance-action-tx-id TXID + Txid of the governance action. + --governance-action-index WORD16 + Tx's governance action index. + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --drep-script-hash HASH Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --stake-pool-verification-key STRING + Stake pool verification key (Bech32 or hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the stake pool verification key. + --stake-pool-id STAKE_POOL_ID + Stake pool ID/verification key hash (either + Bech32-encoded or hex-encoded). + --cc-hot-verification-key STRING + Constitutional Committee hot key (hex-encoded). + --cc-hot-verification-key-file FILEPATH + Filepath of the Constitutional Committee hot key. + --cc-hot-key-hash STRING Constitutional Committee key hash (hex-encoded). + --cc-hot-script-hash HASH + Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --anchor-url TEXT Vote anchor URL + --anchor-data-hash HASH Hash of the vote anchor data (obtain it with + "cardano-cli hash anchor-data ..."). + --out-file FILEPATH Output filepath of the vote. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_view.cli new file mode 100644 index 0000000000..67ca3054d7 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_view.cli @@ -0,0 +1,13 @@ +Usage: cardano-cli governance vote view [--output-json | --output-yaml] + --vote-file FILEPATH + [--out-file FILEPATH] + + Vote viewing. + +Available options: + --output-json Format governance vote view output to JSON. + --output-yaml Format governance vote view output to YAML. Defaults + to JSON if unspecified. + --vote-file FILEPATH Input filepath of the vote. + --out-file FILEPATH Optional output file. Default is to write to stdout. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli index 7152a95c84..c47902f063 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli @@ -9,7 +9,7 @@ Usage: cardano-cli key | convert-cardano-address-key ) - Key utility commands + Key utility commands. Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest.cli index 70063a9bf4..4fd3516cef 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 @@ -11,7 +11,7 @@ Usage: cardano-cli latest | transaction ) - Latest era commands (Babbage) - DEPRECATED - will be removed in the future + Latest era commands (Conway) Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance.cli index 823ba48e81..cac8787487 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance.cli @@ -1,11 +1,4 @@ -Usage: cardano-cli latest governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - | create-poll - | answer-poll - | verify-poll - ) +Usage: cardano-cli latest governance (action | committee | drep | vote) Governance commands. @@ -13,11 +6,7 @@ Available options: -h,--help Show this help text Available commands: - create-mir-certificate Create an MIR (Move Instantaneous Rewards) - certificate - create-genesis-key-delegation-certificate - Create a genesis key delegation certificate action Governance action commands. - create-poll Create an SPO poll - answer-poll Answer an SPO poll - verify-poll Verify an answer to a given SPO poll + committee Committee member commands. + drep DRep member commands. + vote Vote commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action.cli new file mode 100644 index 0000000000..d9164faa94 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action.cli @@ -0,0 +1,27 @@ +Usage: cardano-cli latest governance action + ( create-constitution + | update-committee + | create-info + | create-no-confidence + | create-protocol-parameters-update + | create-treasury-withdrawal + | create-hardfork + | view + ) + + Governance action commands. + +Available options: + -h,--help Show this help text + +Available commands: + create-constitution Create a constitution. + update-committee Create or update a new committee proposal. + create-info Create an info action. + create-no-confidence Create a no confidence proposal. + create-protocol-parameters-update + Create a protocol parameters update. + create-treasury-withdrawal + Create a treasury withdrawal. + create-hardfork Create a hardfork initiation proposal. + view View a governance action. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli new file mode 100644 index 0000000000..fba39f220b --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli @@ -0,0 +1,69 @@ +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 + | --trust-anchor-data + ) + --constitution-url TEXT + --constitution-hash HASH + ( --check-constitution-hash + | --trust-constitution-hash + ) + [--constitution-script-hash HASH] + --out-file FILEPATH + + Create a constitution. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --check-anchor-data Check the proposal hash (from --anchor-data-hash) by + downloading proposal data (from --anchor-url). + --trust-anchor-data Do not check the proposal hash (from + --anchor-data-hash) and trust it is correct. + --constitution-url TEXT Constitution URL. + --constitution-hash HASH Hash of the constitution data (obtain it with + "cardano-cli hash anchor-data ..."). + --check-constitution-hash + Check the constitution hash (from + --constitution-hash) by downloading constitution data + (from --constitution-url). + --trust-constitution-hash + Do not check the constitution hash (from + --constitution-hash) and trust it is correct. + --constitution-script-hash HASH + Constitution script hash (hex-encoded). Obtain it + with "cardano-cli hash script ...". + --out-file FILEPATH Output filepath of the constitution. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli new file mode 100644 index 0000000000..73ed48b6ca --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli @@ -0,0 +1,62 @@ +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 + | --trust-anchor-data + ) + --protocol-major-version MAJOR + --protocol-minor-version MINOR + --out-file FILEPATH + + Create a hardfork initiation proposal. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --check-anchor-data Check the proposal hash (from --anchor-data-hash) by + downloading proposal data (from --anchor-url). + --trust-anchor-data Do not check the proposal hash (from + --anchor-data-hash) and trust it is correct. + --protocol-major-version MAJOR + Specify the major protocol version to fork into. An + increase indicates a hard fork. It must be the next + natural number after the current version and must be + supported by the node. + --protocol-minor-version MINOR + Minor protocol version. An increase indicates a soft + fork (old software can validate but not produce new + blocks). Must be zero when the major protocol version + is increased. + --out-file FILEPATH Output filepath of the hardfork proposal. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-info.cli new file mode 100644 index 0000000000..91a4710282 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-info.cli @@ -0,0 +1,42 @@ +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 + | --trust-anchor-data + ) + --out-file FILEPATH + + Create an info action. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --check-anchor-data Check the proposal hash (from --anchor-data-hash) by + downloading proposal data (from --anchor-url). + --trust-anchor-data Do not check the proposal hash (from + --anchor-data-hash) and trust it is correct. + --out-file FILEPATH Path to action file to be used later on with build or + build-raw + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli new file mode 100644 index 0000000000..c172eb2a48 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli @@ -0,0 +1,50 @@ +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 + | --trust-anchor-data + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH + + Create a no confidence proposal. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --check-anchor-data Check the proposal hash (from --anchor-data-hash) by + downloading proposal data (from --anchor-url). + --trust-anchor-data Do not check the proposal hash (from + --anchor-data-hash) and trust it is correct. + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --out-file FILEPATH Output filepath of the no confidence proposal. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-protocol-parameters-update.cli index 6d974742e1..a29524ab9b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-protocol-parameters-update.cli @@ -1,5 +1,22 @@ -Usage: cardano-cli latest governance action create-protocol-parameters-update --epoch NATURAL - (--genesis-verification-key-file FILEPATH) +Usage: cardano-cli latest governance action create-protocol-parameters-update + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + ( --check-anchor-data + | --trust-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] @@ -20,19 +37,63 @@ Usage: cardano-cli latest governance action create-protocol-parameters-update -- [--max-value-size INT] [--collateral-percent INT] [--max-collateral-inputs INT] - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] [--utxo-cost-per-byte LOVELACE] + [--pool-voting-threshold-motion-no-confidence RATIONAL + --pool-voting-threshold-committee-normal RATIONAL + --pool-voting-threshold-committee-no-confidence RATIONAL + --pool-voting-threshold-hard-fork-initiation RATIONAL + --pool-voting-threshold-pp-security-group RATIONAL] + [--drep-voting-threshold-motion-no-confidence RATIONAL + --drep-voting-threshold-committee-normal RATIONAL + --drep-voting-threshold-committee-no-confidence RATIONAL + --drep-voting-threshold-update-to-constitution RATIONAL + --drep-voting-threshold-hard-fork-initiation RATIONAL + --drep-voting-threshold-pp-network-group RATIONAL + --drep-voting-threshold-pp-economic-group RATIONAL + --drep-voting-threshold-pp-technical-group RATIONAL + --drep-voting-threshold-pp-governance-group RATIONAL + --drep-voting-threshold-treasury-withdrawal RATIONAL] + [--min-committee-size INT] + [--committee-term-length WORD32] + [--governance-action-lifetime WORD32] + [--new-governance-action-deposit NATURAL] + [--drep-deposit LOVELACE] + [--drep-activity WORD32] + [--ref-script-cost-per-byte RATIONAL] [--cost-model-file FILE] --out-file FILEPATH Create a protocol parameters update. Available options: - --epoch NATURAL The epoch number in which the update proposal is - valid. - --genesis-verification-key-file FILEPATH - Filepath of the genesis verification key. + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --check-anchor-data Check the proposal hash (from --anchor-data-hash) by + downloading proposal data (from --anchor-url). + --trust-anchor-data Do not check the proposal hash (from + --anchor-data-hash) and trust it is correct. + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --constitution-script-hash HASH + Constitution script hash (hex-encoded). Obtain it + with "cardano-cli hash script ...". --min-fee-linear LOVELACE The linear factor per byte for the minimum fee calculation. @@ -82,19 +143,70 @@ Available options: --max-collateral-inputs INT The maximum number of collateral inputs allowed in a transaction (from Alonzo era). - --protocol-major-version MAJOR - Specify the major protocol version to fork into. An - increase indicates a hard fork. It must be the next - natural number after the current version and must be - supported by the node. - --protocol-minor-version MINOR - Minor protocol version. An increase indicates a soft - fork (old software can validate but not produce new - blocks). Must be zero when the major protocol version - is increased. --utxo-cost-per-byte LOVELACE Cost in lovelace per unit of UTxO storage (from Babbage era). + --pool-voting-threshold-motion-no-confidence RATIONAL + Acceptance threshold for stake pool votes on motions + no confidence. + --pool-voting-threshold-committee-normal RATIONAL + Acceptance threshold for stake pool votes on normal + committee updates. + --pool-voting-threshold-committee-no-confidence RATIONAL + Acceptance threshold for stake pool votes on + committee updates when the committee is in a state of + no confidence. + --pool-voting-threshold-hard-fork-initiation RATIONAL + Acceptance threshold for stake pool votes on hard + fork initiations. + --pool-voting-threshold-pp-security-group RATIONAL + Acceptance threshold for stake pool votes on protocol + parameters for parameters in the 'security' group. + --drep-voting-threshold-motion-no-confidence RATIONAL + Acceptance threshold for DRep votes on motions of no + confidence. + --drep-voting-threshold-committee-normal RATIONAL + Acceptance threshold for DRep votes on normal + committee updates. + --drep-voting-threshold-committee-no-confidence RATIONAL + Acceptance threshold for DRep votes on committee + updates when the committee is in a state of no + confidence. + --drep-voting-threshold-update-to-constitution RATIONAL + Acceptance threshold for DRep votes on constitution + updates. + --drep-voting-threshold-hard-fork-initiation RATIONAL + Acceptance threshold for DRep votes on hard fork + initiations. + --drep-voting-threshold-pp-network-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'network' group. + --drep-voting-threshold-pp-economic-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'economic' group. + --drep-voting-threshold-pp-technical-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'technical' group. + --drep-voting-threshold-pp-governance-group RATIONAL + Acceptance threshold for DRep votes on protocol + parameters for parameters in the 'governance' group. + --drep-voting-threshold-treasury-withdrawal RATIONAL + Acceptance threshold for DRep votes on treasury + withdrawals. + --min-committee-size INT Minimal size of the constitutional committee. + --committee-term-length WORD32 + Maximal term length for members of the constitutional + committee, in epochs. + --governance-action-lifetime WORD32 + Maximal lifetime of governance actions, in epochs. + --new-governance-action-deposit NATURAL + Proposed new value of the deposit required to submit + a governance action. + --drep-deposit LOVELACE DRep deposit amount. + --drep-activity WORD32 DRep activity period, in epochs. + --ref-script-cost-per-byte RATIONAL + Reference script cost per byte for the minimum fee + calculation. --cost-model-file FILE Filepath of the JSON formatted cost model --out-file FILEPATH The output file. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-treasury-withdrawal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-treasury-withdrawal.cli new file mode 100644 index 0000000000..b6cb909c90 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-treasury-withdrawal.cli @@ -0,0 +1,71 @@ +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 + | --trust-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. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --check-anchor-data Check the proposal hash (from --anchor-data-hash) by + downloading proposal data (from --anchor-url). + --trust-anchor-data Do not check the proposal hash (from + --anchor-data-hash) and trust it is correct. + --funds-receiving-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --funds-receiving-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --funds-receiving-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --funds-receiving-stake-script-file FILEPATH + Filepath of the staking script. + --funds-receiving-stake-address ADDRESS + Target stake address (bech32 format). + --transfer LOVELACE The amount of lovelace the proposal intends to + withdraw from the Treasury. Multiple withdrawals can + be proposed in a single governance action by + repeating the --funds-receiving-stake and --transfer + options as many times as needed. + --constitution-script-hash HASH + Constitution script hash (hex-encoded). Obtain it + with "cardano-cli hash script ...". + --out-file FILEPATH Output filepath of the treasury withdrawal. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_update-committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_update-committee.cli new file mode 100644 index 0000000000..d473190a18 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_update-committee.cli @@ -0,0 +1,84 @@ +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 + | --trust-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. + +Available options: + --mainnet Use the mainnet magic id. + --testnet Use the testnet magic id. + --governance-action-deposit NATURAL + Deposit required to submit a governance action. + --deposit-return-stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --deposit-return-stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --deposit-return-stake-key-hash HASH + Stake verification key hash (hex-encoded). + --deposit-return-stake-script-file FILEPATH + Filepath of the staking script. + --deposit-return-stake-address ADDRESS + Target stake address (bech32 format). + --anchor-url TEXT Anchor URL + --anchor-data-hash HASH Proposal anchor data hash (obtain it with + "cardano-cli hash anchor-data ...") + --check-anchor-data Check the proposal hash (from --anchor-data-hash) by + downloading proposal data (from --anchor-url). + --trust-anchor-data Do not check the proposal hash (from + --anchor-data-hash) and trust it is correct. + --remove-cc-cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --remove-cc-cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --remove-cc-cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --remove-cc-cold-script-hash HASH + Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --add-cc-cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --add-cc-cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --add-cc-cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --add-cc-cold-script-hash HASH + Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --epoch NATURAL Committee member expiry epoch + --threshold RATIONAL Threshold of YES votes that are necessary for + approving a governance action. + --prev-governance-action-tx-id TXID + Txid of the previous governance action. + --prev-governance-action-index WORD16 + Action index of the previous governance action. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_view.cli new file mode 100644 index 0000000000..52fd08bb7a --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_view.cli @@ -0,0 +1,15 @@ +Usage: cardano-cli latest governance action view --action-file FILEPATH + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + View a governance action. + +Available options: + --action-file FILEPATH Path to action file. + --output-json Format governance action view output to JSON. + --output-yaml Format governance action view output to YAML. + Defaults to JSON if unspecified. + --out-file FILEPATH Optional output file. Default is to write to stdout. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee.cli new file mode 100644 index 0000000000..baa0874cfa --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee.cli @@ -0,0 +1,25 @@ +Usage: cardano-cli latest governance committee + ( key-gen-cold + | key-gen-hot + | key-hash + | create-hot-key-authorization-certificate + | create-cold-key-resignation-certificate + ) + + Committee member commands. + +Available options: + -h,--help Show this help text + +Available commands: + key-gen-cold Create a cold key pair for a Constitutional Committee + Member + key-gen-hot Create a hot key pair for a Constitutional Committee + Member + key-hash Print the identifier (hash) of a public key + create-hot-key-authorization-certificate + Create hot key authorization certificate for a + Constitutional Committee Member + create-cold-key-resignation-certificate + Create cold key resignation certificate for a + Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli new file mode 100644 index 0000000000..702c22d520 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli @@ -0,0 +1,33 @@ +Usage: cardano-cli latest governance committee create-cold-key-resignation-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + [--resignation-metadata-url TEXT + --resignation-metadata-hash HASH] + --out-file FILEPATH + + Create cold key resignation certificate for a Constitutional Committee Member + +Available options: + --cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --cold-script-hash HASH Committee cold Native or Plutus script file hash + (hex-encoded). Obtain it with "cardano-cli hash + script ...". + --cold-script-file FILEPATH + Cold Native or Plutus script file + --resignation-metadata-url TEXT + Constitutional Committee cold key resignation + certificate URL + --resignation-metadata-hash HASH + Constitutional Committee cold key resignation + certificate metadata hash + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-hot-key-authorization-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-hot-key-authorization-certificate.cli new file mode 100644 index 0000000000..ee9c016cb2 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-hot-key-authorization-certificate.cli @@ -0,0 +1,42 @@ +Usage: cardano-cli latest governance committee create-hot-key-authorization-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + ( --hot-verification-key STRING + | --hot-verification-key-file FILEPATH + | --hot-verification-key-hash STRING + | --hot-script-hash HASH + | --hot-script-file FILEPATH + ) + --out-file FILEPATH + + Create hot key authorization certificate for a Constitutional Committee Member + +Available options: + --cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --cold-script-hash HASH Committee cold Native or Plutus script file hash + (hex-encoded). Obtain it with "cardano-cli hash + script ...". + --cold-script-file FILEPATH + Cold Native or Plutus script file + --hot-verification-key STRING + Constitutional Committee hot key (hex-encoded). + --hot-verification-key-file FILEPATH + Filepath of the Constitutional Committee hot key. + --hot-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --hot-script-hash HASH Committee hot Native or Plutus script file hash + (hex-encoded). Obtain it with "cardano-cli hash + script ...". + --hot-script-file FILEPATH + Hot Native or Plutus script file + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli new file mode 100644 index 0000000000..06e6962fab --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli @@ -0,0 +1,12 @@ +Usage: cardano-cli latest governance committee key-gen-cold + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + + Create a cold key pair for a Constitutional Committee Member + +Available options: + --cold-verification-key-file FILEPATH + Filepath of the cold verification key. + --cold-signing-key-file FILEPATH + Filepath of the cold signing key. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli new file mode 100644 index 0000000000..03c0c0c39e --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli @@ -0,0 +1,11 @@ +Usage: cardano-cli latest governance committee key-gen-hot --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a hot key pair for a Constitutional Committee Member + +Available options: + --verification-key-file FILEPATH + Output filepath of the verification key. + --signing-key-file FILEPATH + Output filepath of the signing key. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-hash.cli new file mode 100644 index 0000000000..16ee7c9cf9 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-hash.cli @@ -0,0 +1,15 @@ +Usage: cardano-cli latest governance committee key-hash + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + + Print the identifier (hash) of a public key + +Available options: + --verification-key STRING + Constitutional Committee Member key (hot or cold) + (Bech32-encoded) + --verification-key-file FILEPATH + Input filepath of the Constitutional Committee Member + key (hot or cold). + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep.cli new file mode 100644 index 0000000000..c528ca5510 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep.cli @@ -0,0 +1,22 @@ +Usage: cardano-cli latest governance drep + ( key-gen + | id + | registration-certificate + | retirement-certificate + | update-certificate + | metadata-hash + ) + + DRep member commands. + +Available options: + -h,--help Show this help text + +Available commands: + key-gen Generate Delegated Representative verification and + signing keys. + id Generate a drep id. + registration-certificate Create a registration certificate. + retirement-certificate Create a DRep retirement certificate. + update-certificate Create a DRep update certificate. + metadata-hash Calculate the hash of a metadata file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli new file mode 100644 index 0000000000..0cbbf1fc1d --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli @@ -0,0 +1,18 @@ +Usage: cardano-cli latest governance drep id + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] + + Generate a drep id. + +Available options: + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --output-format STRING Optional drep id output format. Accepted output + formats are "hex" and "bech32" (default is "bech32"). + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli new file mode 100644 index 0000000000..7e69689f7d --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli @@ -0,0 +1,11 @@ +Usage: cardano-cli latest governance drep key-gen --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Generate Delegated Representative verification and signing keys. + +Available options: + --verification-key-file FILEPATH + Output filepath of the verification key. + --signing-key-file FILEPATH + Output filepath of the signing key. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_metadata-hash.cli new file mode 100644 index 0000000000..8244533c50 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_metadata-hash.cli @@ -0,0 +1,10 @@ +Usage: cardano-cli latest governance drep metadata-hash --drep-metadata-file FILEPATH + [--out-file FILEPATH] + + Calculate the hash of a metadata file. + +Available options: + --drep-metadata-file FILEPATH + JSON Metadata file to hash. + --out-file FILEPATH Optional output file. Default is to write to stdout. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli new file mode 100644 index 0000000000..60e91638da --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli @@ -0,0 +1,29 @@ +Usage: cardano-cli latest governance drep registration-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --key-reg-deposit-amt NATURAL + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH + + Create a registration certificate. + +Available options: + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --key-reg-deposit-amt NATURAL + Key registration deposit amount. + --drep-metadata-url TEXT DRep anchor URL + --drep-metadata-hash HASH + DRep anchor data hash. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli new file mode 100644 index 0000000000..6e85043669 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli @@ -0,0 +1,24 @@ +Usage: cardano-cli latest governance drep retirement-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --deposit-amt LOVELACE + --out-file FILEPATH + + Create a DRep retirement certificate. + +Available options: + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --deposit-amt LOVELACE DRep deposit amount (same at registration and + retirement). + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli new file mode 100644 index 0000000000..56e3f622fd --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli @@ -0,0 +1,26 @@ +Usage: cardano-cli latest governance drep update-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH + + Create a DRep update certificate. + +Available options: + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --drep-metadata-url TEXT DRep anchor URL + --drep-metadata-hash HASH + DRep anchor data hash. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote.cli new file mode 100644 index 0000000000..04200e0f40 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote.cli @@ -0,0 +1,10 @@ +Usage: cardano-cli latest governance vote (create | view) + + Vote commands. + +Available options: + -h,--help Show this help text + +Available commands: + create Vote creation. + view Vote viewing. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli new file mode 100644 index 0000000000..fb93ae26f9 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli @@ -0,0 +1,54 @@ +Usage: cardano-cli latest governance vote create (--yes | --no | --abstain) + --governance-action-tx-id TXID + --governance-action-index WORD16 + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --drep-script-hash HASH + | --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + | --cc-hot-verification-key STRING + | --cc-hot-verification-key-file FILEPATH + | --cc-hot-key-hash STRING + | --cc-hot-script-hash HASH + ) + [--anchor-url TEXT + --anchor-data-hash HASH] + --out-file FILEPATH + + Vote creation. + +Available options: + --governance-action-tx-id TXID + Txid of the governance action. + --governance-action-index WORD16 + Tx's governance action index. + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --drep-script-hash HASH Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --stake-pool-verification-key STRING + Stake pool verification key (Bech32 or hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the stake pool verification key. + --stake-pool-id STAKE_POOL_ID + Stake pool ID/verification key hash (either + Bech32-encoded or hex-encoded). + --cc-hot-verification-key STRING + Constitutional Committee hot key (hex-encoded). + --cc-hot-verification-key-file FILEPATH + Filepath of the Constitutional Committee hot key. + --cc-hot-key-hash STRING Constitutional Committee key hash (hex-encoded). + --cc-hot-script-hash HASH + Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --anchor-url TEXT Vote anchor URL + --anchor-data-hash HASH Hash of the vote anchor data (obtain it with + "cardano-cli hash anchor-data ..."). + --out-file FILEPATH Output filepath of the vote. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli new file mode 100644 index 0000000000..8e03116cde --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli @@ -0,0 +1,13 @@ +Usage: cardano-cli latest governance vote view [--output-json | --output-yaml] + --vote-file FILEPATH + [--out-file FILEPATH] + + Vote viewing. + +Available options: + --output-json Format governance vote view output to JSON. + --output-yaml Format governance vote view output to YAML. Defaults + to JSON if unspecified. + --vote-file FILEPATH Input filepath of the vote. + --out-file FILEPATH Optional output file. Default is to write to stdout. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli index 1fbd07b292..29935af77a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli @@ -14,6 +14,13 @@ Usage: cardano-cli latest query | tx-mempool | slot-number | ref-script-size + | constitution + | gov-state + | drep-state + | drep-stake-distribution + | spo-stake-distribution + | committee-state + | treasury ) Node query commands. Will query the local node whose Unix domain socket is @@ -50,3 +57,10 @@ Available commands: slot-number Query slot number for UTC timestamp ref-script-size Calculate the reference input scripts size in bytes for provided transaction inputs. + constitution Get the constitution + gov-state Get the governance state + drep-state Get the DRep state. + drep-stake-distribution Get the DRep stake distribution. + spo-stake-distribution Get the SPO stake distribution. + committee-state Get the committee state + treasury Get the treasury value diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli new file mode 100644 index 0000000000..9bb5fe85d1 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli @@ -0,0 +1,64 @@ +Usage: cardano-cli latest query committee-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + ] + [ --hot-key STRING + | --hot-key-file FILEPATH + | --hot-key-hash STRING + | --hot-script-hash HASH + ] + [ --active + | --expired + | --unrecognized + ] + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the committee state + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --cold-script-hash HASH Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --hot-key STRING Constitutional Committee hot key (hex-encoded). + --hot-key-file FILEPATH Filepath of the Constitutional Committee hot key. + --hot-key-hash STRING Constitutional Committee key hash (hex-encoded). + --hot-script-hash HASH Hot Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --active Active committee members (members whose vote will + count during ratification) + --expired Expired committee members + --unrecognized Unrecognized committe members: a hot credential for + an unknown cold credential + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli new file mode 100644 index 0000000000..e10cd9d5ca --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli @@ -0,0 +1,32 @@ +Usage: cardano-cli latest query constitution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the constitution + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli new file mode 100644 index 0000000000..6393e62650 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli @@ -0,0 +1,50 @@ +Usage: cardano-cli latest query drep-stake-distribution + --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the DRep stake distribution. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --all-dreps Query for all DReps. + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli new file mode 100644 index 0000000000..9b6334588c --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli @@ -0,0 +1,53 @@ +Usage: cardano-cli latest query drep-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [--include-stake] + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the DRep state. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --all-dreps Query for all DReps. + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --include-stake Also return the stake associated with each DRep. The + result is the same as with "drep-stake-distribution"; + this is a convenience option to obtain all + information concerning a DRep at once. This is a + potentially expensive query, so it's OFF by default. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli new file mode 100644 index 0000000000..6b90d3f8b5 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli @@ -0,0 +1,30 @@ +Usage: cardano-cli latest query gov-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the governance state + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_kes-period-info.cli index 5ee0c47d87..ec1d84839c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_kes-period-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_kes-period-info.cli @@ -5,6 +5,9 @@ Usage: cardano-cli latest query kes-period-info --socket-path SOCKET_PATH | --testnet-magic NATURAL ) --op-cert-file FILEPATH + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Get information about the current KES period and your node's operational @@ -25,5 +28,8 @@ Available options: --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable --op-cert-file FILEPATH Filepath of the node's operational certificate. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_leadership-schedule.cli index 485940cbf6..6896f5dc83 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_leadership-schedule.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_leadership-schedule.cli @@ -11,6 +11,9 @@ Usage: cardano-cli latest query leadership-schedule --socket-path SOCKET_PATH ) --vrf-signing-key-file FILEPATH (--current | --next) + [ --volatile-tip + | --immutable-tip + ] [ --output-json | --output-text ] @@ -44,6 +47,9 @@ Available options: Input filepath of the VRF signing key. --current Get the leadership schedule for the current epoch. --next Get the leadership schedule for the following epoch. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format leadership-schedule query output to JSON. Default format when writing to a file --output-text Format leadership-schedule query output to TEXT. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-state.cli index 919c7fb24d..75eed818f7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-state.cli @@ -4,6 +4,9 @@ Usage: cardano-cli latest query ledger-state --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Dump the current ledger state of the node (Ledger.NewEpochState -- advanced @@ -23,5 +26,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-params.cli index 34dbe21cc8..506406ee91 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-params.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-params.cli @@ -7,6 +7,7 @@ Usage: cardano-cli latest query pool-params --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] DEPRECATED. Use query pool-state instead. Dump the pool parameters @@ -31,5 +32,8 @@ Available options: --stake-pool-id STAKE_POOL_ID Stake pool ID/verification key hash (either Bech32-encoded or hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-state.cli index d0919c0e5a..206f275dd6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-state.cli @@ -7,6 +7,7 @@ Usage: cardano-cli latest query pool-state --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Dump the pool state @@ -29,5 +30,8 @@ Available options: --stake-pool-id STAKE_POOL_ID Stake pool ID/verification key hash (either Bech32-encoded or hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-state.cli index 46187229bc..a65fbc3e58 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-state.cli @@ -4,6 +4,9 @@ Usage: cardano-cli latest query protocol-state --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced @@ -23,5 +26,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ref-script-size.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ref-script-size.cli index 506d4c70f9..4fe1fa6268 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ref-script-size.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ref-script-size.cli @@ -5,6 +5,9 @@ Usage: cardano-cli latest query ref-script-size --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [ --volatile-tip + | --immutable-tip + ] [ --output-json | --output-text ] @@ -28,6 +31,9 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format reference inputs query output to JSON. Default format when writing to a file --output-text Format reference inputs query output to TEXT. Default diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_slot-number.cli index aa29277bcb..ae52eb52de 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_slot-number.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_slot-number.cli @@ -4,6 +4,7 @@ Usage: cardano-cli latest query slot-number --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [--volatile-tip | --immutable-tip] TIMESTAMP Query slot number for UTC timestamp @@ -22,5 +23,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. TIMESTAMP UTC timestamp in YYYY-MM-DDThh:mm:ssZ format -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_spo-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_spo-stake-distribution.cli new file mode 100644 index 0000000000..d49c200112 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_spo-stake-distribution.cli @@ -0,0 +1,46 @@ +Usage: cardano-cli latest query spo-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-spos + | + ( --spo-verification-key STRING + | --spo-verification-key-file FILEPATH + | --spo-key-hash HASH + ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the SPO stake distribution. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --all-spos Query for all DReps. + --spo-verification-key STRING + SPO verification key (Bech32 or hex-encoded). + --spo-verification-key-file FILEPATH + Filepath of the SPO verification key. + --spo-key-hash HASH SPO verification key hash (either Bech32-encoded or + hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-address-info.cli index 333311b424..58fc9cc7c6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-address-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-address-info.cli @@ -5,6 +5,9 @@ Usage: cardano-cli latest query stake-address-info --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. @@ -24,5 +27,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-distribution.cli index a58bf04c99..7bf93f7514 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-distribution.cli @@ -4,6 +4,9 @@ Usage: cardano-cli latest query stake-distribution --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [ --volatile-tip + | --immutable-tip + ] [ --output-json | --output-text ] @@ -25,6 +28,9 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format stake-distribution query output to JSON. Default format when writing to a file --output-text Format stake-distribution query output to TEXT. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-pools.cli index 73766e1c6b..c1a930977e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-pools.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-pools.cli @@ -4,6 +4,7 @@ Usage: cardano-cli latest query stake-pools --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [--volatile-tip | --immutable-tip] [--output-json | --output-text] [--out-file FILEPATH] @@ -23,6 +24,9 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format stake-pools query output to JSON. Default format when writing to a file --output-text Format stake-pools query output to TEXT. Default diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-snapshot.cli index bea262c10e..703e9645a9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-snapshot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-snapshot.cli @@ -7,6 +7,9 @@ Usage: cardano-cli latest query stake-snapshot --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [ --volatile-tip + | --immutable-tip + ] [--out-file FILEPATH] Obtain the three stake snapshots for a pool, plus the total active stake @@ -30,5 +33,8 @@ Available options: --stake-pool-id STAKE_POOL_ID Stake pool ID/verification key hash (either Bech32-encoded or hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tip.cli index 69b06c7966..967245541e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tip.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tip.cli @@ -1,6 +1,7 @@ Usage: cardano-cli latest query tip --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) @@ -19,5 +20,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli new file mode 100644 index 0000000000..8159ed0e3b --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli @@ -0,0 +1,28 @@ +Usage: cardano-cli latest query treasury --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the treasury value + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_utxo.cli index d97215feee..6e22fa4560 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_utxo.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest query utxo --socket-path SOCKET_PATH | (--tx-in TX-IN) ) (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--output-json | --output-text] [--out-file FILEPATH] @@ -28,6 +29,9 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format utxo query output to JSON. Default format when writing to a file --output-text Format utxo query output to TEXT. Default format when diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address.cli index 966c73c335..ab064b3ee2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address.cli @@ -5,6 +5,8 @@ Usage: cardano-cli latest stake-address | registration-certificate | deregistration-certificate | stake-delegation-certificate + | stake-and-vote-delegation-certificate + | vote-delegation-certificate ) Stake address commands. @@ -23,3 +25,11 @@ Available commands: Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. + stake-and-vote-delegation-certificate + Create a stake address stake and vote delegation + certificate, which when submitted in a transaction + delegates stake to a stake pool and a DRep. + vote-delegation-certificate + Create a stake address vote delegation certificate, + which when submitted in a transaction delegates stake + to a DRep. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_deregistration-certificate.cli index d102761c99..574325d92d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_deregistration-certificate.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest stake-address deregistration-certificate | --stake-script-file FILEPATH | --stake-address ADDRESS ) + --key-reg-deposit-amt NATURAL --out-file FILEPATH Create a stake address deregistration certificate @@ -18,5 +19,7 @@ Available options: --stake-script-file FILEPATH Filepath of the staking script. --stake-address ADDRESS Target stake address (bech32 format). + --key-reg-deposit-amt NATURAL + Key registration deposit amount. --out-file FILEPATH The output file. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-certificate.cli index bcbf148257..b6cea3dedd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-certificate.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest stake-address registration-certificate | --stake-script-file FILEPATH | --stake-address ADDRESS ) + --key-reg-deposit-amt NATURAL --out-file FILEPATH Create a stake address registration certificate @@ -18,5 +19,7 @@ Available options: --stake-script-file FILEPATH Filepath of the staking script. --stake-address ADDRESS Target stake address (bech32 format). + --key-reg-deposit-amt NATURAL + Key registration deposit amount. --out-file FILEPATH The output file. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli new file mode 100644 index 0000000000..353f0a632a --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli @@ -0,0 +1,51 @@ +Usage: cardano-cli latest stake-address stake-and-vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH + + Create a stake address stake and vote delegation certificate, which when + submitted in a transaction delegates stake to a stake pool and a DRep. + +Available options: + --stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --stake-key-hash HASH Stake verification key hash (hex-encoded). + --stake-script-file FILEPATH + Filepath of the staking script. + --stake-address ADDRESS Target stake address (bech32 format). + --stake-pool-verification-key STRING + Stake pool verification key (Bech32 or hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the stake pool verification key. + --stake-pool-id STAKE_POOL_ID + Stake pool ID/verification key hash (either + Bech32-encoded or hex-encoded). + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --always-abstain Abstain from voting on all proposals. + --always-no-confidence Always vote no confidence + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_vote-delegation-certificate.cli new file mode 100644 index 0000000000..b68b61a1e9 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_vote-delegation-certificate.cli @@ -0,0 +1,40 @@ +Usage: cardano-cli latest stake-address vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH + + Create a stake address vote delegation certificate, which when submitted in a + transaction delegates stake to a DRep. + +Available options: + --stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --stake-key-hash HASH Stake verification key hash (hex-encoded). + --stake-script-file FILEPATH + Filepath of the staking script. + --stake-address ADDRESS Target stake address (bech32 format). + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --always-abstain Abstain from voting on all proposals. + --always-no-confidence Always vote no confidence + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-estimate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-estimate.cli index 39dad1470c..a944d0774c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-estimate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-estimate.cli @@ -11,11 +11,11 @@ Usage: cardano-cli latest transaction build-estimate ( --spending-plutus-script-v2 | --spending-plutus-script-v3 ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE | --spending-reference-tx-in-datum-file JSON_FILE | --spending-reference-tx-in-datum-value JSON_VALUE | --spending-reference-tx-in-inline-datum-present - ) + ] ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | --spending-reference-tx-in-redeemer-file JSON_FILE | --spending-reference-tx-in-redeemer-value JSON_VALUE @@ -24,11 +24,11 @@ Usage: cardano-cli latest transaction build-estimate | --simple-script-tx-in-reference TX-IN | --tx-in-script-file FILEPATH [ - ( --tx-in-datum-cbor-file CBOR_FILE + [ --tx-in-datum-cbor-file CBOR_FILE | --tx-in-datum-file JSON_FILE | --tx-in-datum-value JSON_VALUE | --tx-in-inline-datum-present - ) + ] ( --tx-in-redeemer-cbor-file CBOR_FILE | --tx-in-redeemer-file JSON_FILE | --tx-in-redeemer-value JSON_VALUE @@ -124,7 +124,40 @@ Usage: cardano-cli latest transaction build-estimate [ --metadata-json-file FILEPATH | --metadata-cbor-file FILEPATH ] - [--update-proposal-file FILEPATH] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] --out-file FILEPATH Build a balanced transaction without access to a live node (automatically estimates fees) @@ -411,7 +444,72 @@ Available options: Filepath of the metadata file, in JSON format. --metadata-cbor-file FILEPATH Filepath of the metadata, in raw CBOR format. - --update-proposal-file FILEPATH - Filepath of the update proposal. + --vote-file FILEPATH Filepath of the vote. + --vote-script-file FILEPATH + The file containing the script to witness a vote + --vote-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-execution-units (INT, INT) + The time and space units needed by the script. + --vote-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --vote-plutus-script-v3 Specify a plutus script v3 reference script. + --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-file FILEPATH Filepath of the proposal. + --proposal-script-file FILEPATH + The file containing the script to witness a proposal + --proposal-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --proposal-plutus-script-v3 + Specify a plutus script v3 reference script. + --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --current-treasury-value LOVELACE + The current treasury value. + --treasury-donation LOVELACE + The donation to the treasury to perform. --out-file FILEPATH Output filepath of the JSON TxBody. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-raw.cli index a414ace9de..7142dfae27 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-raw.cli @@ -7,11 +7,11 @@ Usage: cardano-cli latest transaction build-raw ( --spending-plutus-script-v2 | --spending-plutus-script-v3 ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE | --spending-reference-tx-in-datum-file JSON_FILE | --spending-reference-tx-in-datum-value JSON_VALUE | --spending-reference-tx-in-inline-datum-present - ) + ] ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | --spending-reference-tx-in-redeemer-file JSON_FILE | --spending-reference-tx-in-redeemer-value JSON_VALUE @@ -20,11 +20,11 @@ Usage: cardano-cli latest transaction build-raw | --simple-script-tx-in-reference TX-IN | --tx-in-script-file FILEPATH [ - ( --tx-in-datum-cbor-file CBOR_FILE + [ --tx-in-datum-cbor-file CBOR_FILE | --tx-in-datum-file JSON_FILE | --tx-in-datum-value JSON_VALUE | --tx-in-inline-datum-present - ) + ] ( --tx-in-redeemer-cbor-file CBOR_FILE | --tx-in-redeemer-file JSON_FILE | --tx-in-redeemer-value JSON_VALUE @@ -119,7 +119,40 @@ Usage: cardano-cli latest transaction build-raw | --metadata-cbor-file FILEPATH ] [--protocol-params-file FILEPATH] - [--update-proposal-file FILEPATH] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] --out-file FILEPATH Build a transaction (low-level, inconvenient) @@ -395,7 +428,72 @@ Available options: Filepath of the metadata, in raw CBOR format. --protocol-params-file FILEPATH Filepath of the JSON-encoded protocol parameters file - --update-proposal-file FILEPATH - Filepath of the update proposal. + --vote-file FILEPATH Filepath of the vote. + --vote-script-file FILEPATH + The file containing the script to witness a vote + --vote-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-execution-units (INT, INT) + The time and space units needed by the script. + --vote-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --vote-plutus-script-v3 Specify a plutus script v3 reference script. + --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-file FILEPATH Filepath of the proposal. + --proposal-script-file FILEPATH + The file containing the script to witness a proposal + --proposal-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --proposal-plutus-script-v3 + Specify a plutus script v3 reference script. + --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --current-treasury-value LOVELACE + The current treasury value. + --treasury-donation LOVELACE + The donation to the treasury to perform. --out-file FILEPATH Output filepath of the JSON TxBody. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build.cli index 457adbd89a..256b4ec1c9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build.cli @@ -13,11 +13,11 @@ Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH ( --spending-plutus-script-v2 | --spending-plutus-script-v3 ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE | --spending-reference-tx-in-datum-file JSON_FILE | --spending-reference-tx-in-datum-value JSON_VALUE | --spending-reference-tx-in-inline-datum-present - ) + ] ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE | --spending-reference-tx-in-redeemer-file JSON_FILE | --spending-reference-tx-in-redeemer-value JSON_VALUE @@ -25,11 +25,11 @@ Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH | --simple-script-tx-in-reference TX-IN | --tx-in-script-file FILEPATH [ - ( --tx-in-datum-cbor-file CBOR_FILE + [ --tx-in-datum-cbor-file CBOR_FILE | --tx-in-datum-file JSON_FILE | --tx-in-datum-value JSON_VALUE | --tx-in-inline-datum-present - ) + ] ( --tx-in-redeemer-cbor-file CBOR_FILE | --tx-in-redeemer-file JSON_FILE | --tx-in-redeemer-value JSON_VALUE @@ -113,7 +113,33 @@ Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH [ --metadata-json-file FILEPATH | --metadata-cbor-file FILEPATH ] - [--update-proposal-file FILEPATH] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--treasury-donation LOVELACE] ( --out-file FILEPATH | --calculate-plutus-script-cost FILEPATH ) @@ -388,8 +414,63 @@ Available options: Filepath of the metadata file, in JSON format. --metadata-cbor-file FILEPATH Filepath of the metadata, in raw CBOR format. - --update-proposal-file FILEPATH - Filepath of the update proposal. + --vote-file FILEPATH Filepath of the vote. + --vote-script-file FILEPATH + The file containing the script to witness a vote + --vote-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --vote-plutus-script-v3 Specify a plutus script v3 reference script. + --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-file FILEPATH Filepath of the proposal. + --proposal-script-file FILEPATH + The file containing the script to witness a proposal + --proposal-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --proposal-plutus-script-v3 + Specify a plutus script v3 reference script. + --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --treasury-donation LOVELACE + The donation to the treasury to perform. --out-file FILEPATH Output filepath of the JSON TxBody. --calculate-plutus-script-cost FILEPATH Where to write the script cost information. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_view.cli new file mode 100644 index 0000000000..9f804c4d65 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_view.cli @@ -0,0 +1 @@ +Command "era transaction view" has been removed. Please use "debug transaction view" instead. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_Legacy_commands.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_Legacy_commands.cli index 26203ad784..8079b3bab4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_Legacy_commands.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_Legacy_commands.cli @@ -2,4 +2,4 @@ Invalid argument `Legacy' Usage: cardano-cli legacy Legacy commands - Legacy commands - DEPRECATED - will be removed in the future + Legacy commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance.cli index b8aa60f019..1ac6d67f4c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance.cli @@ -2,9 +2,6 @@ Usage: cardano-cli legacy governance ( create-mir-certificate | create-genesis-key-delegation-certificate | create-update-proposal - | create-poll - | answer-poll - | verify-poll ) Governance commands @@ -18,6 +15,3 @@ Available commands: create-genesis-key-delegation-certificate Create a genesis key delegation certificate create-update-proposal Create an update proposal - create-poll Create an SPO poll - answer-poll Answer an SPO poll - verify-poll Verify an answer to a given SPO poll diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node.cli index f74940525d..f133ab4c3d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/node.cli @@ -7,7 +7,7 @@ Usage: cardano-cli node | issue-op-cert ) - Node operation commands + Node operation commands. Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli index 9db00062dc..743a3dcfbc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli @@ -13,6 +13,14 @@ Usage: cardano-cli query | pool-state | tx-mempool | slot-number + | ref-script-size + | constitution + | gov-state + | drep-state + | drep-stake-distribution + | spo-stake-distribution + | committee-state + | treasury ) Node query commands. Will query the local node whose Unix domain socket is @@ -47,3 +55,12 @@ Available commands: pool-state Dump the pool state tx-mempool Local Mempool info slot-number Query slot number for UTC timestamp + ref-script-size Calculate the reference input scripts size in bytes + for provided transaction inputs. + constitution Get the constitution + gov-state Get the governance state + drep-state Get the DRep state. + drep-stake-distribution Get the DRep stake distribution. + spo-stake-distribution Get the SPO stake distribution. + committee-state Get the committee state + treasury Get the treasury value diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_committee-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_committee-state.cli new file mode 100644 index 0000000000..e12c6b60bd --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_committee-state.cli @@ -0,0 +1,60 @@ +Usage: cardano-cli query committee-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [ --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + ] + [ --hot-key STRING + | --hot-key-file FILEPATH + | --hot-key-hash STRING + | --hot-script-hash HASH + ] + [ --active + | --expired + | --unrecognized + ] + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the committee state + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --cold-verification-key STRING + Constitutional Committee cold key (hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the Constitutional Committee cold key. + --cold-verification-key-hash STRING + Constitutional Committee key hash (hex-encoded). + --cold-script-hash HASH Cold Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --hot-key STRING Constitutional Committee hot key (hex-encoded). + --hot-key-file FILEPATH Filepath of the Constitutional Committee hot key. + --hot-key-hash STRING Constitutional Committee key hash (hex-encoded). + --hot-script-hash HASH Hot Native or Plutus script file hash (hex-encoded). + Obtain it with "cardano-cli hash script ...". + --active Active committee members (members whose vote will + count during ratification) + --expired Expired committee members + --unrecognized Unrecognized committe members: a hot credential for + an unknown cold credential + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_constitution.cli new file mode 100644 index 0000000000..25c8b17cb7 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_constitution.cli @@ -0,0 +1,27 @@ +Usage: cardano-cli query constitution --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the constitution + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-stake-distribution.cli new file mode 100644 index 0000000000..d3e30bf013 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-stake-distribution.cli @@ -0,0 +1,49 @@ +Usage: cardano-cli query drep-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the DRep stake distribution. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --all-dreps Query for all DReps. + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-state.cli new file mode 100644 index 0000000000..aabba31337 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-state.cli @@ -0,0 +1,50 @@ +Usage: cardano-cli query drep-state --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [--include-stake] + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the DRep state. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --all-dreps Query for all DReps. + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --include-stake Also return the stake associated with each DRep. The + result is the same as with "drep-stake-distribution"; + this is a convenience option to obtain all + information concerning a DRep at once. This is a + potentially expensive query, so it's OFF by default. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_gov-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_gov-state.cli new file mode 100644 index 0000000000..9eac0da961 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_gov-state.cli @@ -0,0 +1,27 @@ +Usage: cardano-cli query gov-state --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the governance state + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_kes-period-info.cli index 1135699f48..6c5976792d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_kes-period-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_kes-period-info.cli @@ -3,6 +3,7 @@ Usage: cardano-cli query kes-period-info --socket-path SOCKET_PATH [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) --op-cert-file FILEPATH + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Get information about the current KES period and your node's operational @@ -23,5 +24,8 @@ Available options: --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable --op-cert-file FILEPATH Filepath of the node's operational certificate. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_leadership-schedule.cli index 3f6a76ead2..ea7b3db9bc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_leadership-schedule.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_leadership-schedule.cli @@ -11,6 +11,9 @@ Usage: cardano-cli query leadership-schedule --socket-path SOCKET_PATH ) --vrf-signing-key-file FILEPATH (--current | --next) + [ --volatile-tip + | --immutable-tip + ] [--output-json | --output-text] [--out-file FILEPATH] @@ -42,6 +45,9 @@ Available options: Input filepath of the VRF signing key. --current Get the leadership schedule for the current epoch. --next Get the leadership schedule for the following epoch. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format leadership-schedule query output to JSON. Default format when writing to a file --output-text Format leadership-schedule query output to TEXT. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-state.cli index df3fa89fbe..5dada14b2c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-state.cli @@ -1,6 +1,7 @@ Usage: cardano-cli query ledger-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Dump the current ledger state of the node (Ledger.NewEpochState -- advanced @@ -20,5 +21,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-params.cli index 32a0f12802..5aa0f0c42b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-params.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-params.cli @@ -4,6 +4,7 @@ Usage: cardano-cli query pool-params --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] DEPRECATED. Use query pool-state instead. Dump the pool parameters @@ -28,5 +29,8 @@ Available options: --stake-pool-id STAKE_POOL_ID Stake pool ID/verification key hash (either Bech32-encoded or hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-state.cli index 3df91d9539..be6641d6b5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-state.cli @@ -4,6 +4,7 @@ Usage: cardano-cli query pool-state --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Dump the pool state @@ -26,5 +27,8 @@ Available options: --stake-pool-id STAKE_POOL_ID Stake pool ID/verification key hash (either Bech32-encoded or hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-state.cli index b965c1530a..4b8247c6fd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-state.cli @@ -1,6 +1,7 @@ Usage: cardano-cli query protocol-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced @@ -20,5 +21,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ref-script-size.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ref-script-size.cli new file mode 100644 index 0000000000..bb99625fb7 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ref-script-size.cli @@ -0,0 +1,36 @@ +Usage: cardano-cli query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--output-json | --output-text] + [--out-file FILEPATH] + + Calculate the reference input scripts size in bytes for provided transaction + inputs. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --tx-in TX-IN Transaction input (TxId#TxIx). + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --output-json Format reference inputs query output to JSON. Default + format when writing to a file + --output-text Format reference inputs query output to TEXT. Default + format when writing to stdout + --out-file FILEPATH Optional output file. Default is to write to stdout. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_slot-number.cli index 8731f9d0f0..6a77e406b9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_slot-number.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_slot-number.cli @@ -1,6 +1,7 @@ Usage: cardano-cli query slot-number --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] TIMESTAMP Query slot number for UTC timestamp @@ -19,5 +20,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. TIMESTAMP UTC timestamp in YYYY-MM-DDThh:mm:ssZ format -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_spo-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_spo-stake-distribution.cli new file mode 100644 index 0000000000..fb3065a438 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_spo-stake-distribution.cli @@ -0,0 +1,46 @@ +Usage: cardano-cli query spo-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-spos + | + ( --spo-verification-key STRING + | --spo-verification-key-file FILEPATH + | --spo-key-hash HASH + ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the SPO stake distribution. + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --all-spos Query for all DReps. + --spo-verification-key STRING + SPO verification key (Bech32 or hex-encoded). + --spo-verification-key-file FILEPATH + Filepath of the SPO verification key. + --spo-key-hash HASH SPO verification key hash (either Bech32-encoded or + hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-address-info.cli index 7b3a009878..e1dba2c354 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-address-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-address-info.cli @@ -5,6 +5,7 @@ Usage: cardano-cli query stake-address-info --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. @@ -24,5 +25,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-distribution.cli index cb7ba271ee..7c33ecc723 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-distribution.cli @@ -4,6 +4,7 @@ Usage: cardano-cli query stake-distribution --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) + [--volatile-tip | --immutable-tip] [--output-json | --output-text] [--out-file FILEPATH] @@ -23,6 +24,9 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format stake-distribution query output to JSON. Default format when writing to a file --output-text Format stake-distribution query output to TEXT. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-pools.cli index e83b3974fc..2bf8095b2e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-pools.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-pools.cli @@ -1,6 +1,7 @@ Usage: cardano-cli query stake-pools --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--output-json | --output-text] [--out-file FILEPATH] @@ -20,6 +21,9 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format stake-pools query output to JSON. Default format when writing to a file --output-text Format stake-pools query output to TEXT. Default diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-snapshot.cli index 72484d52de..f6cd339214 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-snapshot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-snapshot.cli @@ -4,6 +4,7 @@ Usage: cardano-cli query stake-snapshot --socket-path SOCKET_PATH ( --all-stake-pools | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Obtain the three stake snapshots for a pool, plus the total active stake @@ -27,5 +28,8 @@ Available options: --stake-pool-id STAKE_POOL_ID Stake pool ID/verification key hash (either Bech32-encoded or hex-encoded). + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli index 294653f0c8..647e9e2c57 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli @@ -1,6 +1,7 @@ Usage: cardano-cli query tip --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) @@ -19,5 +20,8 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --out-file FILEPATH Optional output file. Default is to write to stdout. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_treasury.cli new file mode 100644 index 0000000000..d20a1d8ef9 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_treasury.cli @@ -0,0 +1,27 @@ +Usage: cardano-cli query treasury --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the treasury value + +Available options: + --socket-path SOCKET_PATH + Path to the node socket. This overrides the + CARDANO_NODE_SOCKET_PATH environment variable. The + argument is optional if CARDANO_NODE_SOCKET_PATH is + defined and mandatory otherwise. + --cardano-mode For talking to a node running in full Cardano mode + (default). + --epoch-slots SLOTS The number of slots per epoch for the Byron era. + (default: 21600) + --mainnet Use the mainnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --testnet-magic NATURAL Specify a testnet magic id. This overrides the + CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_utxo.cli index 307fe42562..f0ecd043ab 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_utxo.cli @@ -5,6 +5,7 @@ Usage: cardano-cli query utxo --socket-path SOCKET_PATH | (--tx-in TX-IN) ) (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] [--output-json | --output-text] [--out-file FILEPATH] @@ -28,6 +29,9 @@ Available options: CARDANO_NODE_NETWORK_ID environment variable --testnet-magic NATURAL Specify a testnet magic id. This overrides the CARDANO_NODE_NETWORK_ID environment variable + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. --output-json Format utxo query output to JSON. Default format when writing to a file --output-text Format utxo query output to TEXT. Default format when diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address.cli index b6290d65db..0260544a2f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address.cli @@ -1,22 +1,35 @@ Usage: cardano-cli stake-address ( key-gen - | build | key-hash + | build | registration-certificate | deregistration-certificate - | delegation-certificate + | stake-delegation-certificate + | stake-and-vote-delegation-certificate + | vote-delegation-certificate ) - Stake address commands + Stake address commands. Available options: -h,--help Show this help text Available commands: key-gen Create a stake address key pair + key-hash Print the hash of a stake address key build Build a stake address - key-hash Print the hash of a stake address key. registration-certificate Create a stake address registration certificate deregistration-certificate Create a stake address deregistration certificate - delegation-certificate Create a stake address pool delegation certificate + stake-delegation-certificate + Create a stake address stake delegation certificate, + which when submitted in a transaction delegates stake + to a stake pool. + stake-and-vote-delegation-certificate + Create a stake address stake and vote delegation + certificate, which when submitted in a transaction + delegates stake to a stake pool and a DRep. + vote-delegation-certificate + Create a stake address vote delegation certificate, + which when submitted in a transaction delegates stake + to a DRep. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli index af53ad6360..642aed6c16 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli @@ -1,34 +1,16 @@ Usage: cardano-cli stake-address deregistration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] ( --stake-verification-key STRING | --stake-verification-key-file FILEPATH | --stake-key-hash HASH | --stake-script-file FILEPATH | --stake-address ADDRESS ) - [--key-reg-deposit-amt NATURAL] + --key-reg-deposit-amt NATURAL --out-file FILEPATH Create a stake address deregistration certificate Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). --stake-verification-key-file FILEPATH diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-hash.cli index 85675b4e66..b15ffc192d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-hash.cli @@ -4,7 +4,7 @@ Usage: cardano-cli stake-address key-hash ) [--out-file FILEPATH] - Print the hash of a stake address key. + Print the hash of a stake address key Available options: --stake-verification-key STRING diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli index ab6824898e..ae34eb235d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli @@ -1,34 +1,16 @@ Usage: cardano-cli stake-address registration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] ( --stake-verification-key STRING | --stake-verification-key-file FILEPATH | --stake-key-hash HASH | --stake-script-file FILEPATH | --stake-address ADDRESS ) - [--key-reg-deposit-amt NATURAL] + --key-reg-deposit-amt NATURAL --out-file FILEPATH Create a stake address registration certificate Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --stake-verification-key STRING Stake verification key (Bech32 or hex-encoded). --stake-verification-key-file FILEPATH diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-and-vote-delegation-certificate.cli new file mode 100644 index 0000000000..81b8ed73bc --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-and-vote-delegation-certificate.cli @@ -0,0 +1,51 @@ +Usage: cardano-cli stake-address stake-and-vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH + + Create a stake address stake and vote delegation certificate, which when + submitted in a transaction delegates stake to a stake pool and a DRep. + +Available options: + --stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --stake-key-hash HASH Stake verification key hash (hex-encoded). + --stake-script-file FILEPATH + Filepath of the staking script. + --stake-address ADDRESS Target stake address (bech32 format). + --stake-pool-verification-key STRING + Stake pool verification key (Bech32 or hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the stake pool verification key. + --stake-pool-id STAKE_POOL_ID + Stake pool ID/verification key hash (either + Bech32-encoded or hex-encoded). + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --always-abstain Abstain from voting on all proposals. + --always-no-confidence Always vote no confidence + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-delegation-certificate.cli new file mode 100644 index 0000000000..d439099c84 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-delegation-certificate.cli @@ -0,0 +1,34 @@ +Usage: cardano-cli stake-address stake-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --out-file FILEPATH + + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. + +Available options: + --stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --stake-key-hash HASH Stake verification key hash (hex-encoded). + --stake-script-file FILEPATH + Filepath of the staking script. + --stake-address ADDRESS Target stake address (bech32 format). + --stake-pool-verification-key STRING + Stake pool verification key (Bech32 or hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the stake pool verification key. + --stake-pool-id STAKE_POOL_ID + Stake pool ID/verification key hash (either + Bech32-encoded or hex-encoded). + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_vote-delegation-certificate.cli new file mode 100644 index 0000000000..8f6d5de2ac --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_vote-delegation-certificate.cli @@ -0,0 +1,40 @@ +Usage: cardano-cli stake-address vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH + + Create a stake address vote delegation certificate, which when submitted in a + transaction delegates stake to a DRep. + +Available options: + --stake-verification-key STRING + Stake verification key (Bech32 or hex-encoded). + --stake-verification-key-file FILEPATH + Filepath of the staking verification key. + --stake-key-hash HASH Stake verification key hash (hex-encoded). + --stake-script-file FILEPATH + Filepath of the staking script. + --stake-address ADDRESS Target stake address (bech32 format). + --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with + "cardano-cli hash script ...". + --drep-verification-key STRING + DRep verification key (Bech32 or hex-encoded). + --drep-verification-key-file FILEPATH + Filepath of the DRep verification key. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --always-abstain Abstain from voting on all proposals. + --always-no-confidence Always vote no confidence + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool.cli index a88bc7d54e..bcb59ea082 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool.cli @@ -5,7 +5,7 @@ Usage: cardano-cli stake-pool | metadata-hash ) - Stake pool commands + Stake pool commands. Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli index 0e2c287b6c..2f7a9c9fd1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli @@ -1,11 +1,4 @@ Usage: cardano-cli stake-pool deregistration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] ( --stake-pool-verification-key STRING | --cold-verification-key-file FILEPATH ) @@ -15,17 +8,6 @@ Usage: cardano-cli stake-pool deregistration-certificate Create a stake pool deregistration certificate Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --stake-pool-verification-key STRING Stake pool verification key (Bech32 or hex-encoded). --cold-verification-key-file FILEPATH diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli index a8393daa97..2565f4178e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli @@ -1,11 +1,4 @@ Usage: cardano-cli stake-pool registration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] ( --stake-pool-verification-key STRING | --cold-verification-key-file FILEPATH ) @@ -38,17 +31,6 @@ Usage: cardano-cli stake-pool registration-certificate Create a stake pool registration certificate Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --stake-pool-verification-key STRING Stake pool verification key (Bech32 or hex-encoded). --cold-verification-key-file FILEPATH diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli index c69057f6c4..d7f540cd43 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli @@ -1,6 +1,7 @@ Usage: cardano-cli transaction ( build-raw | build + | build-estimate | sign | witness | assemble @@ -12,7 +13,7 @@ Usage: cardano-cli transaction | txid ) - Transaction commands + Transaction commands. Available options: -h,--help Show this help text @@ -23,6 +24,9 @@ Available commands: Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m build Build a balanced transaction (automatically calculates fees) + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + build-estimate Build a balanced transaction without access to a live node (automatically estimates fees) + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m sign Sign a transaction witness Create a transaction witness diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-estimate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-estimate.cli new file mode 100644 index 0000000000..ad2d068c03 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-estimate.cli @@ -0,0 +1,514 @@ +Usage: cardano-cli transaction build-estimate + [ --script-valid + | --script-invalid + ] + --shelley-key-witnesses INT + [--byron-key-witnesses Int] + --protocol-params-file FILEPATH + --total-utxo-value VALUE + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ] + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + --spending-reference-tx-in-execution-units (INT, INT) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + [ --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present + ] + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + ) + --tx-in-execution-units (INT, INT)] + ]) + [--read-only-tx-in-reference TX-IN] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( --mint-script-file FILEPATH + [ + ( --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ) + --mint-execution-units (INT, INT)] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + [--certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ + ( --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ) + --certificate-execution-units (INT, INT)] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + --certificate-reference-tx-in-execution-units (INT, INT) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ + ( --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ) + --withdrawal-execution-units (INT, INT)] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + --withdrawal-reference-tx-in-execution-units (INT, INT) + ]] + [--tx-total-collateral INTEGER] + [--reference-script-size NATURAL] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] + --out-file FILEPATH + + Build a balanced transaction without access to a live node (automatically estimates fees) + + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + +Available options: + --script-valid Assertion that the script is valid. (default) + --script-invalid Assertion that the script is invalid. If a + transaction is submitted with such a script, the + script will fail and the collateral will be taken. + --shelley-key-witnesses INT + Specify the number of Shelley key witnesses the + transaction requires. + --byron-key-witnesses Int + Specify the number of Byron key witnesses the + transaction requires. + --protocol-params-file FILEPATH + Filepath of the JSON-encoded protocol parameters file + --total-utxo-value VALUE The total value of the UTxO that exists at the tx + inputs being spent. + --tx-in TX-IN TxId#TxIx + --spending-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --spending-plutus-script-v2 + Specify a plutus script v2 reference script. + --spending-plutus-script-v3 + Specify a plutus script v3 reference script. + --spending-reference-tx-in-datum-cbor-file CBOR_FILE + The script datum file. The file has to be in CBOR + format. + --spending-reference-tx-in-datum-file JSON_FILE + The script datum file. The file must follow the + detailed JSON schema for script data. + --spending-reference-tx-in-datum-value JSON_VALUE + The script datum. There is no schema: (almost) any + JSON value is supported, including top-level strings + and numbers. + --spending-reference-tx-in-inline-datum-present + Inline datum present at transaction input. + --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --spending-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --spending-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --spending-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --simple-script-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a simple reference script attached. + --tx-in-script-file FILEPATH + The file containing the script to witness the + spending of the transaction input. + --tx-in-datum-cbor-file CBOR_FILE + The script datum file. The file has to be in CBOR + format. + --tx-in-datum-file JSON_FILE + The script datum file. The file must follow the + detailed JSON schema for script data. + --tx-in-datum-value JSON_VALUE + The script datum. There is no schema: (almost) any + JSON value is supported, including top-level strings + and numbers. + --tx-in-inline-datum-present + Inline datum present at transaction input. + --tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --read-only-tx-in-reference TX-IN + Specify a read only reference input. This reference + input is not witnessing anything it is simply + provided in the plutus script context. + --required-signer FILEPATH + Input filepath of the signing key (zero or more) + whose signature is required. + --required-signer-hash HASH + Hash of the verification key (zero or more) whose + signature is required. + --tx-in-collateral TX-IN TxId#TxIx + --tx-out-return-collateral ADDRESS VALUE + The transaction output as ADDRESS VALUE where ADDRESS + is the Bech32-encoded address followed by the value + in Lovelace. In the situation where your collateral + txin over collateralizes the transaction, you can + optionally specify a tx out of your choosing to + return the excess Lovelace. + --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS + is the Bech32-encoded address followed by the value + in the multi-asset syntax (including simply + Lovelace). + --tx-out-datum-hash HASH The script datum hash for this tx output, as the raw + datum hash (in hex). + --tx-out-datum-hash-cbor-file CBOR_FILE + The script datum hash for this tx output, by hashing + the script datum in the file. The file has to be in + CBOR format. + --tx-out-datum-hash-file JSON_FILE + The script datum hash for this tx output, by hashing + the script datum in the file. The file must follow + the detailed JSON schema for script data. + --tx-out-datum-hash-value JSON_VALUE + The script datum hash for this tx output, by hashing + the script datum given here. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --tx-out-datum-embed-cbor-file CBOR_FILE + The script datum to embed in the tx for this output, + in the given file. The file has to be in CBOR format. + --tx-out-datum-embed-file JSON_FILE + The script datum to embed in the tx for this output, + in the given file. The file must follow the detailed + JSON schema for script data. + --tx-out-datum-embed-value JSON_VALUE + The script datum to embed in the tx for this output, + given here. There is no schema: (almost) any JSON + value is supported, including top-level strings and + numbers. + --tx-out-inline-datum-cbor-file CBOR_FILE + The script datum to embed in the tx output as an + inline datum, in the given file. The file has to be + in CBOR format. + --tx-out-inline-datum-file JSON_FILE + The script datum to embed in the tx output as an + inline datum, in the given file. The file must follow + the detailed JSON schema for script data. + --tx-out-inline-datum-value JSON_VALUE + The script datum to embed in the tx output as an + inline datum, given here. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --tx-out-reference-script-file FILEPATH + Reference script input file. + --change-address ADDRESS Address where ADA in excess of the tx fee will go to. + --mint VALUE Mint multi-asset value(s) with the multi-asset cli + syntax. You must specify a script witness. + --mint-script-file FILEPATH + The file containing the script to witness the minting + of assets for a particular policy Id. + --mint-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --mint-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --mint-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --mint-execution-units (INT, INT) + The time and space units needed by the script. + --simple-minting-script-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a simple reference script attached. + --policy-id HASH Policy id of minting script. + --mint-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --mint-plutus-script-v2 Specify a plutus script v2 reference script. + --mint-plutus-script-v3 Specify a plutus script v3 reference script. + --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --mint-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --mint-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --mint-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --policy-id HASH Policy id of minting script. + --invalid-before SLOT Time that transaction is valid from (in slots). + --invalid-hereafter SLOT Time that transaction is valid until (in slots). + --certificate-file FILEPATH + Filepath of the certificate. This encompasses all + types of certificates (stake pool certificates, stake + key certificates etc). Optionally specify a script + witness. + --certificate-script-file FILEPATH + The file containing the script to witness the use of + the certificate. + --certificate-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --certificate-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --certificate-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --certificate-execution-units (INT, INT) + The time and space units needed by the script. + --certificate-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --certificate-plutus-script-v2 + Specify a plutus script v2 reference script. + --certificate-plutus-script-v3 + Specify a plutus script v3 reference script. + --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --certificate-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --certificate-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --certificate-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --withdrawal WITHDRAWAL The reward withdrawal as StakeAddress+Lovelace where + StakeAddress is the Bech32-encoded stake address + followed by the amount in Lovelace. Optionally + specify a script witness. + --withdrawal-script-file FILEPATH + The file containing the script to witness the + withdrawal of rewards. + --withdrawal-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --withdrawal-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --withdrawal-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --withdrawal-execution-units (INT, INT) + The time and space units needed by the script. + --withdrawal-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --withdrawal-plutus-script-v2 + Specify a plutus script v2 reference script. + --withdrawal-plutus-script-v3 + Specify a plutus script v3 reference script. + --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --withdrawal-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --withdrawal-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --tx-total-collateral INTEGER + The total amount of collateral that will be collected + as fees in the event of a Plutus script failure. Must + be used in conjuction with + "--tx-out-return-collateral". + --reference-script-size NATURAL + Total size in bytes of transaction reference scripts + (default is 0). + --json-metadata-no-schema + Use the "no schema" conversion from JSON to tx + metadata (default). + --json-metadata-detailed-schema + Use the "detailed schema" conversion from JSON to tx + metadata. + --auxiliary-script-file FILEPATH + Filepath of auxiliary script(s) + --metadata-json-file FILEPATH + Filepath of the metadata file, in JSON format. + --metadata-cbor-file FILEPATH + Filepath of the metadata, in raw CBOR format. + --vote-file FILEPATH Filepath of the vote. + --vote-script-file FILEPATH + The file containing the script to witness a vote + --vote-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-execution-units (INT, INT) + The time and space units needed by the script. + --vote-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --vote-plutus-script-v3 Specify a plutus script v3 reference script. + --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-file FILEPATH Filepath of the proposal. + --proposal-script-file FILEPATH + The file containing the script to witness a proposal + --proposal-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --proposal-plutus-script-v3 + Specify a plutus script v3 reference script. + --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --current-treasury-value LOVELACE + The current treasury value. + --treasury-donation LOVELACE + The donation to the treasury to perform. + --out-file FILEPATH Output filepath of the JSON TxBody. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli index 3514145ce1..b3bb631dd2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli @@ -1,12 +1,4 @@ -Usage: cardano-cli transaction build-raw - [ --byron-era - | --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - [--script-valid | --script-invalid] +Usage: cardano-cli transaction build-raw [--script-valid | --script-invalid] (--tx-in TX-IN [ --spending-tx-in-reference TX-IN ( --spending-plutus-script-v2 @@ -124,7 +116,40 @@ Usage: cardano-cli transaction build-raw | --metadata-cbor-file FILEPATH ] [--protocol-params-file FILEPATH] - [--update-proposal-file FILEPATH] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] --out-file FILEPATH Build a transaction (low-level, inconvenient) @@ -132,18 +157,6 @@ Usage: cardano-cli transaction build-raw Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m Available options: - --byron-era Specify the Byron era - DEPRECATED - will be removed - in the future - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future --script-valid Assertion that the script is valid. (default) --script-invalid Assertion that the script is invalid. If a transaction is submitted with such a script, the @@ -412,7 +425,72 @@ Available options: Filepath of the metadata, in raw CBOR format. --protocol-params-file FILEPATH Filepath of the JSON-encoded protocol parameters file - --update-proposal-file FILEPATH - Filepath of the update proposal. + --vote-file FILEPATH Filepath of the vote. + --vote-script-file FILEPATH + The file containing the script to witness a vote + --vote-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-execution-units (INT, INT) + The time and space units needed by the script. + --vote-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --vote-plutus-script-v3 Specify a plutus script v3 reference script. + --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --vote-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --vote-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --vote-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-file FILEPATH Filepath of the proposal. + --proposal-script-file FILEPATH + The file containing the script to witness a proposal + --proposal-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-execution-units (INT, INT) + The time and space units needed by the script. + --proposal-tx-in-reference TX-IN + TxId#TxIx - Specify a reference input. The reference + input must have a plutus reference script attached. + --proposal-plutus-script-v3 + Specify a plutus script v3 reference script. + --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + The script redeemer file. The file has to be in CBOR + format. + --proposal-reference-tx-in-redeemer-file JSON_FILE + The script redeemer file. The file must follow the + detailed JSON schema for script data. + --proposal-reference-tx-in-redeemer-value JSON_VALUE + The script redeemer value. There is no schema: + (almost) any JSON value is supported, including + top-level strings and numbers. + --proposal-reference-tx-in-execution-units (INT, INT) + The time and space units needed by the script. + --current-treasury-value LOVELACE + The current treasury value. + --treasury-donation LOVELACE + The donation to the treasury to perform. --out-file FILEPATH Output filepath of the JSON TxBody. -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli index a3470c8069..ef8d5227fc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli @@ -1,5 +1,4 @@ Usage: cardano-cli transaction build --socket-path SOCKET_PATH - [--babbage-era | --conway-era] [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) [--script-valid | --script-invalid] @@ -109,7 +108,6 @@ Usage: cardano-cli transaction build --socket-path SOCKET_PATH [ --metadata-json-file FILEPATH | --metadata-cbor-file FILEPATH ] - [--update-proposal-file FILEPATH] [--vote-file FILEPATH [ --vote-script-file FILEPATH [ --vote-redeemer-cbor-file CBOR_FILE @@ -151,8 +149,11 @@ Available options: CARDANO_NODE_SOCKET_PATH environment variable. The argument is optional if CARDANO_NODE_SOCKET_PATH is defined and mandatory otherwise. +<<<<<<< HEAD --babbage-era Specify the Babbage era (default) --conway-era Specify the Conway era +======= +>>>>>>> 1a727cee4 (Update golden files) --cardano-mode For talking to a node running in full Cardano mode (default). --epoch-slots SLOTS The number of slots per epoch for the Byron era. @@ -413,8 +414,6 @@ Available options: Filepath of the metadata file, in JSON format. --metadata-cbor-file FILEPATH Filepath of the metadata, in raw CBOR format. - --update-proposal-file FILEPATH - Filepath of the update proposal. --vote-file FILEPATH Filepath of the vote. --vote-script-file FILEPATH The file containing the script to witness a vote diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli index 6e7bb3deb5..6e6f04fa4b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli @@ -1,12 +1,4 @@ -Usage: cardano-cli transaction calculate-min-required-utxo - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --protocol-params-file FILEPATH +Usage: cardano-cli transaction calculate-min-required-utxo --protocol-params-file FILEPATH --tx-out ADDRESS VALUE [ --tx-out-datum-hash HASH | --tx-out-datum-hash-cbor-file CBOR_FILE @@ -24,17 +16,6 @@ Usage: cardano-cli transaction calculate-min-required-utxo Calculate the minimum required UTxO for a transaction output. Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --protocol-params-file FILEPATH Filepath of the JSON-encoded protocol parameters file --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli index cc90686150..6749ce5a25 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli @@ -1,12 +1,4 @@ -Usage: cardano-cli transaction calculate-min-value - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --protocol-params-file FILEPATH +Usage: cardano-cli transaction calculate-min-value --protocol-params-file FILEPATH --tx-out ADDRESS VALUE [ --tx-out-datum-hash HASH | --tx-out-datum-hash-cbor-file CBOR_FILE @@ -24,17 +16,6 @@ Usage: cardano-cli transaction calculate-min-value DEPRECATED: Use 'calculate-min-required-utxo' instead. Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era --protocol-params-file FILEPATH Filepath of the JSON-encoded protocol parameters file --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/FilePermissions.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/FilePermissions.hs index 9650adf735..377647955f 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/FilePermissions.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/FilePermissions.hs @@ -28,7 +28,8 @@ hprop_createVRFSigningKeyFilePermissions = -- Create VRF key pair void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--verification-key-file" , vrfVerKey diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/ITN.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/ITN.hs index 0d2b1af04f..9d953b33f3 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/ITN.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/ITN.hs @@ -54,7 +54,8 @@ hprop_convertITNKeys = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> do -- Generate haskell stake verification key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-itn-key" , "--itn-verification-key-file" , itnVerKeyFp @@ -64,7 +65,8 @@ hprop_convertITNKeys = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> do -- Generate haskell signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-itn-key" , "--itn-signing-key-file" , itnSignKeyFp @@ -97,7 +99,8 @@ hprop_convertITNExtendedSigningKey = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Generate haskell signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-itn-extended-key" , "--itn-signing-key-file" , itnSignKeyFp @@ -132,7 +135,8 @@ hprop_convertITNBIP32SigningKey = propertyOnce . H.moduleWorkspace "tmp" $ \temp -- Generate haskell signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-itn-bip32-key" , "--itn-signing-key-file" , itnSignKeyFp diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise1.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise1.hs index fb012aae3e..9824e4adad 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise1.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise1.hs @@ -26,7 +26,8 @@ hprop_buildShelleyPaymentAddress = propertyOnce . H.moduleWorkspace "tmp" $ \tem -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--verification-key-file" , verKey @@ -39,7 +40,8 @@ hprop_buildShelleyPaymentAddress = propertyOnce . H.moduleWorkspace "tmp" $ \tem -- Build shelley payment address void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "build" , "--payment-verification-key-file" , verKey @@ -62,7 +64,8 @@ hprop_buildShelleyStakeAddress = propertyOnce . H.moduleWorkspace "tmp" $ \tempD -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--verification-key-file" , paymentVerKey @@ -73,7 +76,8 @@ hprop_buildShelleyStakeAddress = propertyOnce . H.moduleWorkspace "tmp" $ \tempD -- Generate stake verification key void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--verification-key-file" , stakeVerKey @@ -86,7 +90,8 @@ hprop_buildShelleyStakeAddress = propertyOnce . H.moduleWorkspace "tmp" $ \tempD -- Build shelley stake address void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "build" , "--payment-verification-key-file" , paymentVerKey diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise2.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise2.hs index 7b756d4373..70e0e76b24 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise2.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise2.hs @@ -27,7 +27,8 @@ hprop_createTransaction = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> d -- Generate payment signing key to sign transaction void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--verification-key-file" , paymentVerKey @@ -40,7 +41,8 @@ hprop_createTransaction = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> d -- Create transaction body void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "build-raw" , "--tx-in" , "91999ea21177b33ebe6b8690724a0c026d410a11ad7521caa350abdafa5394c3#0" @@ -65,7 +67,8 @@ hprop_createTransaction = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> d -- Sign transaction void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--tx-body-file" , transactionBodyFile diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise3.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise3.hs index 4847b8d064..3bde21bf9b 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise3.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise3.hs @@ -30,7 +30,8 @@ hprop_createOperationalCertificate = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Create KES key pair void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--verification-key-file" , kesVerKey @@ -43,7 +44,8 @@ hprop_createOperationalCertificate = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Create cold key pair void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen" , "--cold-verification-key-file" , coldVerKey @@ -58,7 +60,8 @@ hprop_createOperationalCertificate = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Create operational certificate void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "issue-op-cert" , "--kes-verification-key-file" , kesVerKey diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise4.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise4.hs index 860929a29f..4fb7765f26 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise4.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise4.hs @@ -25,7 +25,8 @@ hprop_createStakeAddressRegistrationCertificate = propertyOnce . H.moduleWorkspa -- Generate stake verification key void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--verification-key-file" , verKey diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise5.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise5.hs index e6e2d1be27..8fb7554d06 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise5.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise5.hs @@ -27,7 +27,8 @@ hprop_createLegacyZeroTxOutTransaction = propertyOnce . H.moduleWorkspace "tmp" -- Generate payment signing key to sign transaction void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--verification-key-file" , paymentVerKey @@ -40,7 +41,8 @@ hprop_createLegacyZeroTxOutTransaction = propertyOnce . H.moduleWorkspace "tmp" -- Create transaction body void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "build-raw" , "--tx-in" , "91999ea21177b33ebe6b8690724a0c026d410a11ad7521caa350abdafa5394c3#0" @@ -59,7 +61,8 @@ hprop_createLegacyZeroTxOutTransaction = propertyOnce . H.moduleWorkspace "tmp" -- Sign transaction void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--tx-body-file" , transactionBodyFile diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise6.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise6.hs index 50d1b8825a..c2731ffad8 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise6.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise6.hs @@ -27,7 +27,8 @@ hprop_createZeroLovelaceTxOutTransaction = propertyOnce . H.moduleWorkspace "tmp -- Generate payment signing key to sign transaction void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--verification-key-file" , paymentVerKey @@ -40,7 +41,8 @@ hprop_createZeroLovelaceTxOutTransaction = propertyOnce . H.moduleWorkspace "tmp -- Create transaction body void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "build-raw" , "--tx-in" , "91999ea21177b33ebe6b8690724a0c026d410a11ad7521caa350abdafa5394c3#0" @@ -59,7 +61,8 @@ hprop_createZeroLovelaceTxOutTransaction = propertyOnce . H.moduleWorkspace "tmp -- Sign transaction void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--tx-body-file" , transactionBodyFile From 935cea1f7278e6f808a3af38c54f1e4ea1ed3466 Mon Sep 17 00:00:00 2001 From: Jordan Millar Date: Fri, 20 Sep 2024 10:26:26 -0400 Subject: [PATCH 7/7] Deleted golden files --- .../files/golden/help/address.cli | 13 - .../files/golden/help/address_build.cli | 37 -- .../files/golden/help/address_info.cli | 8 - .../files/golden/help/address_key-gen.cli | 23 - .../files/golden/help/address_key-hash.cli | 15 - .../golden/help/genesis_create-cardano.cli | 51 -- .../golden/help/genesis_create-staked.cli | 56 -- .../help/genesis_create-testnet-data.cli | 66 --- .../files/golden/help/genesis_create.cli | 31 -- .../files/golden/help/genesis_get-ver-key.cli | 11 - .../files/golden/help/genesis_hash.cli | 7 - .../golden/help/genesis_initial-addr.cli | 15 - .../golden/help/genesis_initial-txin.cli | 15 - .../golden/help/genesis_key-gen-delegate.cli | 15 - .../golden/help/genesis_key-gen-genesis.cli | 11 - .../golden/help/genesis_key-gen-utxo.cli | 11 - .../files/golden/help/genesis_key-hash.cli | 8 - .../files/golden/help/governance.cli | 12 - .../files/golden/help/governance_action.cli | 27 - .../governance_action_create-constitution.cli | 49 -- .../governance_action_create-hardfork.cli | 52 -- .../help/governance_action_create-info.cli | 35 -- ...governance_action_create-no-confidence.cli | 43 -- ...tion_create-protocol-parameters-update.cli | 205 ------- ...ance_action_create-treasury-withdrawal.cli | 54 -- .../governance_action_update-committee.cli | 74 --- .../golden/help/governance_action_view.cli | 13 - .../golden/help/governance_answer-poll.cli | 12 - .../golden/help/governance_committee.cli | 25 - ...reate-cold-key-resignation-certificate.cli | 33 -- ...eate-hot-key-authorization-certificate.cli | 42 -- .../governance_committee_key-gen-cold.cli | 12 - .../help/governance_committee_key-gen-hot.cli | 11 - .../help/governance_committee_key-hash.cli | 15 - ...ate-genesis-key-delegation-certificate.cli | 54 -- .../governance_create-mir-certificate.cli | 44 -- ...create-mir-certificate_stake-addresses.cli | 33 -- ...te-mir-certificate_transfer-to-rewards.cli | 27 - ...e-mir-certificate_transfer-to-treasury.cli | 27 - .../golden/help/governance_create-poll.cli | 14 - .../governance_create-update-proposal.cli | 111 ---- .../files/golden/help/governance_drep.cli | 22 - .../files/golden/help/governance_drep_id.cli | 18 - .../golden/help/governance_drep_key-gen.cli | 11 - .../help/governance_drep_metadata-hash.cli | 10 - ...vernance_drep_registration-certificate.cli | 29 - ...governance_drep_retirement-certificate.cli | 24 - .../governance_drep_update-certificate.cli | 26 - .../golden/help/governance_verify-poll.cli | 12 - .../files/golden/help/governance_vote.cli | 10 - .../golden/help/governance_vote_create.cli | 54 -- .../golden/help/governance_vote_view.cli | 13 - .../files/golden/help/key.cli | 40 -- .../help/key_convert-byron-genesis-vkey.cli | 11 - .../golden/help/key_convert-byron-key.cli | 35 -- .../help/key_convert-cardano-address-key.cli | 29 - .../golden/help/key_convert-itn-bip32-key.cli | 11 - .../help/key_convert-itn-extended-key.cli | 11 - .../files/golden/help/key_convert-itn-key.cli | 16 - .../golden/help/key_non-extended-key.cli | 12 - .../golden/help/key_verification-key.cli | 11 - .../help/latest_governance_answer-poll.cli | 12 - ...ate-genesis-key-delegation-certificate.cli | 38 -- ...test_governance_create-mir-certificate.cli | 28 - ...create-mir-certificate_stake-addresses.cli | 17 - ...te-mir-certificate_transfer-to-rewards.cli | 10 - ...e-mir-certificate_transfer-to-treasury.cli | 10 - .../help/latest_governance_create-poll.cli | 14 - .../help/latest_governance_verify-poll.cli | 12 - .../golden/help/latest_transaction_view.cli | 1 - .../files/golden/help/legacy_address.cli | 13 - .../golden/help/legacy_address_build.cli | 37 -- .../files/golden/help/legacy_address_info.cli | 8 - .../golden/help/legacy_address_key-gen.cli | 23 - .../golden/help/legacy_address_key-hash.cli | 15 - .../help/legacy_governance_answer-poll.cli | 12 - .../help/legacy_governance_create-poll.cli | 14 - .../help/legacy_governance_verify-poll.cli | 12 - .../files/golden/help/legacy_key.cli | 40 -- .../legacy_key_convert-byron-genesis-vkey.cli | 11 - .../help/legacy_key_convert-byron-key.cli | 35 -- ...legacy_key_convert-cardano-address-key.cli | 29 - .../help/legacy_key_convert-itn-bip32-key.cli | 11 - .../legacy_key_convert-itn-extended-key.cli | 11 - .../help/legacy_key_convert-itn-key.cli | 16 - .../help/legacy_key_non-extended-key.cli | 12 - .../help/legacy_key_verification-key.cli | 11 - .../files/golden/help/legacy_node.cli | 22 - .../golden/help/legacy_node_issue-op-cert.cli | 24 - .../golden/help/legacy_node_key-gen-KES.cli | 16 - .../golden/help/legacy_node_key-gen-VRF.cli | 16 - .../files/golden/help/legacy_node_key-gen.cli | 21 - .../golden/help/legacy_node_key-hash-VRF.cli | 15 - .../golden/help/legacy_node_new-counter.cli | 22 - .../files/golden/help/legacy_query.cli | 49 -- .../help/legacy_query_kes-period-info.cli | 29 - .../help/legacy_query_leadership-schedule.cli | 52 -- .../golden/help/legacy_query_ledger-state.cli | 27 - .../golden/help/legacy_query_pool-params.cli | 35 -- .../golden/help/legacy_query_pool-state.cli | 33 -- .../help/legacy_query_protocol-parameters.cli | 26 - .../help/legacy_query_protocol-state.cli | 27 - .../golden/help/legacy_query_slot-number.cli | 26 - .../help/legacy_query_stake-address-info.cli | 28 - .../help/legacy_query_stake-distribution.cli | 33 -- .../golden/help/legacy_query_stake-pools.cli | 31 -- .../help/legacy_query_stake-snapshot.cli | 34 -- .../files/golden/help/legacy_query_tip.cli | 23 - .../golden/help/legacy_query_tx-mempool.cli | 35 -- .../help/legacy_query_tx-mempool_info.cli | 12 - .../help/legacy_query_tx-mempool_next-tx.cli | 12 - ...egacy_query_tx-mempool_tx-exists_TX_ID.cli | 12 - .../files/golden/help/legacy_query_utxo.cli | 36 -- .../golden/help/legacy_stake-address.cli | 22 - .../help/legacy_stake-address_build.cli | 27 - ...y_stake-address_delegation-certificate.cli | 51 -- ...ake-address_deregistration-certificate.cli | 43 -- .../help/legacy_stake-address_key-gen.cli | 16 - .../help/legacy_stake-address_key-hash.cli | 15 - ...stake-address_registration-certificate.cli | 43 -- .../files/golden/help/legacy_stake-pool.cli | 18 - ..._stake-pool_deregistration-certificate.cli | 35 -- .../golden/help/legacy_stake-pool_id.cli | 18 - .../help/legacy_stake-pool_metadata-hash.cli | 10 - ...cy_stake-pool_registration-certificate.cli | 91 ---- .../help/legacy_text-view_decode-cbor.cli | 9 - .../files/golden/help/legacy_transaction.cli | 41 -- .../help/legacy_transaction_assemble.cli | 11 - .../help/legacy_transaction_build-raw.cli | 420 -------------- .../golden/help/legacy_transaction_build.cli | 483 ---------------- .../legacy_transaction_calculate-min-fee.cli | 37 -- ...ransaction_calculate-min-required-utxo.cli | 86 --- ...legacy_transaction_calculate-min-value.cli | 85 --- .../legacy_transaction_hash-script-data.cli | 20 - .../help/legacy_transaction_policyid.cli | 7 - .../help/legacy_transaction_sign-witness.cli | 10 - .../golden/help/legacy_transaction_sign.cli | 25 - .../golden/help/legacy_transaction_submit.cli | 27 - .../golden/help/legacy_transaction_txid.cli | 11 - .../help/legacy_transaction_witness.cli | 21 - .../files/golden/help/node.cli | 22 - .../files/golden/help/node_issue-op-cert.cli | 24 - .../files/golden/help/node_key-gen-KES.cli | 16 - .../files/golden/help/node_key-gen-VRF.cli | 16 - .../files/golden/help/node_key-gen.cli | 21 - .../files/golden/help/node_key-hash-VRF.cli | 15 - .../files/golden/help/node_new-counter.cli | 22 - .../files/golden/help/query.cli | 66 --- .../golden/help/query_committee-state.cli | 60 -- .../files/golden/help/query_constitution.cli | 27 - .../help/query_drep-stake-distribution.cli | 49 -- .../files/golden/help/query_drep-state.cli | 50 -- .../files/golden/help/query_gov-state.cli | 27 - .../golden/help/query_kes-period-info.cli | 31 -- .../golden/help/query_leadership-schedule.cli | 56 -- .../files/golden/help/query_ledger-state.cli | 28 - .../files/golden/help/query_pool-params.cli | 36 -- .../files/golden/help/query_pool-state.cli | 34 -- .../golden/help/query_protocol-parameters.cli | 26 - .../golden/help/query_protocol-state.cli | 28 - .../golden/help/query_ref-script-size.cli | 36 -- .../files/golden/help/query_slot-number.cli | 27 - .../help/query_spo-stake-distribution.cli | 46 -- .../golden/help/query_stake-address-info.cli | 32 -- .../golden/help/query_stake-distribution.cli | 35 -- .../files/golden/help/query_stake-pools.cli | 32 -- .../golden/help/query_stake-snapshot.cli | 35 -- .../files/golden/help/query_tip.cli | 27 - .../files/golden/help/query_treasury.cli | 27 - .../files/golden/help/query_tx-mempool.cli | 32 -- .../golden/help/query_tx-mempool_info.cli | 9 - .../golden/help/query_tx-mempool_next-tx.cli | 9 - .../help/query_tx-mempool_tx-exists_TX_ID.cli | 9 - .../files/golden/help/query_utxo.cli | 40 -- .../files/golden/help/stake-address.cli | 35 -- .../files/golden/help/stake-address_build.cli | 25 - .../stake-address_delegation-certificate.cli | 51 -- ...ake-address_deregistration-certificate.cli | 25 - .../golden/help/stake-address_key-gen.cli | 16 - .../golden/help/stake-address_key-hash.cli | 15 - ...stake-address_registration-certificate.cli | 25 - ..._stake-and-vote-delegation-certificate.cli | 51 -- ...e-address_stake-delegation-certificate.cli | 34 -- ...ke-address_vote-delegation-certificate.cli | 40 -- .../files/golden/help/stake-pool.cli | 18 - .../stake-pool_deregistration-certificate.cli | 17 - .../files/golden/help/stake-pool_id.cli | 18 - .../golden/help/stake-pool_metadata-hash.cli | 10 - .../stake-pool_registration-certificate.cli | 73 --- .../golden/help/text-view_decode-cbor.cli | 9 - .../files/golden/help/transaction.cli | 45 -- .../golden/help/transaction_assemble.cli | 11 - .../help/transaction_build-estimate.cli | 514 ------------------ .../golden/help/transaction_build-raw.cli | 496 ----------------- .../files/golden/help/transaction_build.cli | 477 ---------------- .../help/transaction_calculate-min-fee.cli | 37 -- ...ransaction_calculate-min-required-utxo.cli | 67 --- .../help/transaction_calculate-min-value.cli | 66 --- .../help/transaction_hash-script-data.cli | 20 - .../golden/help/transaction_policyid.cli | 7 - .../golden/help/transaction_sign-witness.cli | 10 - .../files/golden/help/transaction_sign.cli | 23 - .../files/golden/help/transaction_submit.cli | 24 - .../files/golden/help/transaction_txid.cli | 11 - .../files/golden/help/transaction_witness.cli | 19 - 205 files changed, 7991 deletions(-) delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/address.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/address_build.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/address_info.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-gen.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-hash.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-testnet-data.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_get-ver-key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_hash.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-addr.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-txin.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-delegate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-genesis.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-utxo.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-hash.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-constitution.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-hardfork.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-info.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-no-confidence.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-protocol-parameters-update.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-treasury-withdrawal.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_update-committee.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_view.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_answer-poll.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-cold-key-resignation-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-hot-key-authorization-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-cold.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-hot.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-hash.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-genesis-key-delegation-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_stake-addresses.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-rewards.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-treasury.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-poll.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-update-proposal.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_id.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_key-gen.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_metadata-hash.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_registration-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_retirement-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_update-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_verify-poll.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_create.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_view.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-genesis-vkey.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-cardano-address-key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-bip32-key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-extended-key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/key_non-extended-key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/key_verification-key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_answer-poll.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-genesis-key-delegation-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_stake-addresses.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-rewards.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-treasury.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-poll.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_verify-poll.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_view.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_build.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_info.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-gen.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-hash.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_answer-poll.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-poll.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_verify-poll.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-genesis-vkey.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-cardano-address-key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-bip32-key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-extended-key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_non-extended-key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_verification-key.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_issue-op-cert.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-KES.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-VRF.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-hash-VRF.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_new-counter.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_kes-period-info.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_leadership-schedule.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_ledger-state.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-params.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-state.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-parameters.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-state.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_slot-number.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-address-info.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-distribution.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-pools.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-snapshot.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tip.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_info.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_next-tx.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_tx-exists_TX_ID.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_utxo.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_build.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_delegation-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_deregistration-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-gen.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-hash.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_registration-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_deregistration-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_id.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_metadata-hash.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_registration-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_text-view_decode-cbor.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_assemble.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-required-utxo.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-value.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_hash-script-data.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_policyid.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign-witness.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_submit.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_txid.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_witness.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/node.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/node_issue-op-cert.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-KES.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-VRF.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-hash-VRF.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/node_new-counter.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_committee-state.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_constitution.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-stake-distribution.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-state.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_gov-state.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_kes-period-info.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_leadership-schedule.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-state.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-params.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-state.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-parameters.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-state.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_ref-script-size.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_slot-number.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_spo-stake-distribution.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-address-info.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-distribution.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-pools.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-snapshot.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_treasury.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_info.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_next-tx.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_tx-exists_TX_ID.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/query_utxo.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_build.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_delegation-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-gen.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-hash.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-and-vote-delegation-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-delegation-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_vote-delegation-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_id.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_metadata-hash.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/text-view_decode-cbor.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_assemble.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-estimate.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_hash-script-data.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_policyid.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign-witness.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_submit.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_txid.cli delete mode 100644 cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_witness.cli diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/address.cli deleted file mode 100644 index 42a4854636..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/address.cli +++ /dev/null @@ -1,13 +0,0 @@ -Usage: cardano-cli address (key-gen | key-hash | build | info) - - Payment address commands. - -Available options: - -h,--help Show this help text - -Available commands: - key-gen Create an address key pair. - key-hash Print the hash of an address key. - build Build a Shelley payment address, with optional - delegation to a stake address. - info Print information about an address. 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 deleted file mode 100644 index 82f6a7f340..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_build.cli +++ /dev/null @@ -1,37 +0,0 @@ -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. - -Available options: - --payment-verification-key STRING - Payment verification key (Bech32-encoded) - --payment-verification-key-file FILEPATH - Filepath of the payment verification key. - --payment-script-file FILEPATH - Filepath of the payment script. - --stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --stake-key-hash HASH Stake verification key hash (hex-encoded). - --stake-script-file FILEPATH - Filepath of the staking script. - --stake-address ADDRESS Target stake address (bech32 format). - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_info.cli deleted file mode 100644 index 3367ff824d..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_info.cli +++ /dev/null @@ -1,8 +0,0 @@ -Usage: cardano-cli address info --address ADDRESS [--out-file FILEPATH] - - Print information about an address. - -Available options: - --address ADDRESS A Cardano address - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-gen.cli deleted file mode 100644 index b29878f8b7..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-gen.cli +++ /dev/null @@ -1,23 +0,0 @@ -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. - -Available options: - --key-output-format STRING - Optional key output format. Accepted output formats - are "text-envelope" and "bech32" (default is - "text-envelope"). - --normal-key Use a normal Shelley-era key (default). - --extended-key Use an extended ed25519 Shelley-era key. - --byron-key Use a Byron-era key. - --verification-key-file FILEPATH - Output filepath of the verification key. - --signing-key-file FILEPATH - Output filepath of the signing key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-hash.cli deleted file mode 100644 index c5de318e95..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-hash.cli +++ /dev/null @@ -1,15 +0,0 @@ -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. - -Available options: - --payment-verification-key STRING - Payment verification key (Bech32-encoded) - --payment-verification-key-file FILEPATH - Filepath of the payment verification key. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli deleted file mode 100644 index d630a99e9d..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-cardano.cli +++ /dev/null @@ -1,51 +0,0 @@ -Usage: cardano-cli genesis create-cardano --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--security-param INT] - [--slot-length INT] - [--slot-coefficient RATIONAL] - ( --mainnet - | --testnet-magic NATURAL - ) - --byron-template FILEPATH - --shelley-template FILEPATH - --alonzo-template FILEPATH - --conway-template FILEPATH - [--node-config-template FILEPATH] - - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. - -Available options: - --genesis-dir DIR The genesis directory containing the genesis template - and required genesis/delegation/spending keys. - --gen-genesis-keys INT The number of genesis keys to make [default is 3]. - --gen-utxo-keys INT The number of UTxO keys to make [default is 0]. - --start-time UTC-TIME The genesis start time in YYYY-MM-DDThh:mm:ssZ - format. If unspecified, will be the current time +30 - seconds. - --supply LOVELACE The initial coin supply in Lovelace which will be - evenly distributed across initial, non-delegating - stake holders. - --security-param INT Security parameter for genesis file [default is 108]. - --slot-length INT slot length (ms) parameter for genesis file [default - is 1000]. - --slot-coefficient RATIONAL - Slot Coefficient for genesis file [default is .05]. - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --byron-template FILEPATH - JSON file with genesis defaults for each byron. - --shelley-template FILEPATH - JSON file with genesis defaults for each shelley. - --alonzo-template FILEPATH - JSON file with genesis defaults for alonzo. - --conway-template FILEPATH - JSON file with genesis defaults for conway. - --node-config-template FILEPATH - the node config template - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli deleted file mode 100644 index 65977af410..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-staked.cli +++ /dev/null @@ -1,56 +0,0 @@ -Usage: cardano-cli genesis create-staked [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--gen-pools INT] - [--gen-stake-delegs INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--supply-delegated LOVELACE] - (--mainnet | --testnet-magic NATURAL) - [--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. - -Available options: - --key-output-format STRING - Optional key output format. Accepted output formats - are "text-envelope" and "bech32" (default is - "text-envelope"). - --genesis-dir DIR The genesis directory containing the genesis template - and required genesis/delegation/spending keys. - --gen-genesis-keys INT The number of genesis keys to make [default is 3]. - --gen-utxo-keys INT The number of UTxO keys to make [default is 0]. - --gen-pools INT The number of stake pool credential sets to make - [default is 0]. - --gen-stake-delegs INT The number of stake delegator credential sets to make - [default is 0]. - --start-time UTC-TIME The genesis start time in YYYY-MM-DDThh:mm:ssZ - format. If unspecified, will be the current time +30 - seconds. - --supply LOVELACE The initial coin supply in Lovelace which will be - evenly distributed across initial, non-delegating - stake holders. - --supply-delegated LOVELACE - The initial coin supply in Lovelace which will be - evenly distributed across initial, delegating stake - holders. - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --bulk-pool-cred-files INT - Generate bulk pool credential files [default is 0]. - --bulk-pools-per-file INT - Each bulk pool to contain this many pool credential - sets [default is 0]. - --num-stuffed-utxo INT The number of fake UTxO entries to generate [default - is 0]. - --relay-specification-file FILEPATH - JSON file that specifies the relays of each stake - pool. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-testnet-data.cli deleted file mode 100644 index f9377f8b51..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create-testnet-data.cli +++ /dev/null @@ -1,66 +0,0 @@ -Usage: cardano-cli genesis create-testnet-data [--spec-shelley FILEPATH] - [--spec-alonzo FILEPATH] - [--spec-conway FILEPATH] - [--genesis-keys INT] - [--pools INT] - [ --stake-delegators INT - | --transient-stake-delegators INT - ] - [ --drep-keys INT - | --transient-drep-keys INT - ] - [--stuffed-utxo INT] - [--utxo-keys INT] - [--total-supply LOVELACE] - [--delegated-supply LOVELACE] - [--testnet-magic NATURAL] - [--relays FILEPATH] - [--start-time UTC-TIME] - --out-dir DIR - - Create data to use for starting a testnet. - -Available options: - --spec-shelley FILEPATH The shelley specification file to use as input. A - default one is generated if omitted. - --spec-alonzo FILEPATH The alonzo specification file to use as input. A - default one is generated if omitted. - --spec-conway FILEPATH The conway specification file to use as input. A - default one is generated if omitted. - --genesis-keys INT The number of genesis keys to make (default is 3). - --pools INT The number of stake pool credential sets to make - (default is 0). - --stake-delegators INT The number of stake delegator credential sets to make - (default is 0). Credentials are written to disk. - --transient-stake-delegators INT - The number of stake delegator credential sets to make - (default is 0). The credentials are NOT written to - disk. - --drep-keys INT The number of DRep credentials to make (default is - 0). Credentials are written to disk. - --transient-drep-keys INT - The number of DRep credentials to make (default is - 0). The credentials are NOT written to disk. - --stuffed-utxo INT The number of fake UTxO entries to generate (default - is 0). - --utxo-keys INT The number of UTxO keys to make (default is 0). - --total-supply LOVELACE The maximum possible amount of Lovelace, which is - evenly distributed across stake holders. Overrides - the value from the shelley genesis. If - --delegated-supply is specified, a part of this - amount will be delegated. - --delegated-supply LOVELACE - The amount of the total supply which is evenly - delegated. Defaulted to half of the total supply. - Cannot be more than the amount specified with - --total-supply. - --testnet-magic NATURAL Specify a testnet magic id for the cluster. This - overrides both the network magic from the spec file - and CARDANO_NODE_NETWORK_ID environment variable. - --relays FILEPATH JSON file specifying the relays of each stake pool. - --start-time UTC-TIME The genesis start time in YYYY-MM-DDThh:mm:ssZ - format. If unspecified, will be the current time +30 - seconds. - --out-dir DIR The directory where to generate the data. Created if - not existing. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli deleted file mode 100644 index 9b7e8bf664..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_create.cli +++ /dev/null @@ -1,31 +0,0 @@ -Usage: cardano-cli genesis create [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - (--mainnet | --testnet-magic NATURAL) - - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. - -Available options: - --key-output-format STRING - Optional key output format. Accepted output formats - are "text-envelope" and "bech32" (default is - "text-envelope"). - --genesis-dir DIR The genesis directory containing the genesis template - and required genesis/delegation/spending keys. - --gen-genesis-keys INT The number of genesis keys to make [default is 3]. - --gen-utxo-keys INT The number of UTxO keys to make [default is 0]. - --start-time UTC-TIME The genesis start time in YYYY-MM-DDThh:mm:ssZ - format. If unspecified, will be the current time +30 - seconds. - --supply LOVELACE The initial coin supply in Lovelace which will be - evenly distributed across initial, non-delegating - stake holders. - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_get-ver-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_get-ver-key.cli deleted file mode 100644 index f4384f266d..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_get-ver-key.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Derive the verification key from a signing key - -Available options: - --verification-key-file FILEPATH - Output filepath of the verification key. - --signing-key-file FILEPATH - Input filepath of the signing key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_hash.cli deleted file mode 100644 index 71d1f50997..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_hash.cli +++ /dev/null @@ -1,7 +0,0 @@ -Usage: cardano-cli genesis hash --genesis FILEPATH - - Compute the hash of a genesis file - -Available options: - --genesis FILEPATH The genesis file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-addr.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-addr.cli deleted file mode 100644 index 2d4149d005..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-addr.cli +++ /dev/null @@ -1,15 +0,0 @@ -Usage: cardano-cli genesis initial-addr --verification-key-file FILEPATH - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] - - Get the address for an initial UTxO based on the verification key - -Available options: - --verification-key-file FILEPATH - Input filepath of the verification key. - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-txin.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-txin.cli deleted file mode 100644 index 51d6d87744..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_initial-txin.cli +++ /dev/null @@ -1,15 +0,0 @@ -Usage: cardano-cli genesis initial-txin --verification-key-file FILEPATH - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] - - Get the TxIn for an initial UTxO based on the verification key - -Available options: - --verification-key-file FILEPATH - Input filepath of the verification key. - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-delegate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-delegate.cli deleted file mode 100644 index 576628abe3..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-delegate.cli +++ /dev/null @@ -1,15 +0,0 @@ -Usage: cardano-cli genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - - Create a Shelley genesis delegate key pair - -Available options: - --verification-key-file FILEPATH - Output filepath of the verification key. - --signing-key-file FILEPATH - Output filepath of the signing key. - --operational-certificate-issue-counter-file FILEPATH - The file with the issue counter for the operational - certificate. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-genesis.cli deleted file mode 100644 index b055e3516a..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-genesis.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a Shelley genesis key pair - -Available options: - --verification-key-file FILEPATH - Output filepath of the verification key. - --signing-key-file FILEPATH - Output filepath of the signing key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-utxo.cli deleted file mode 100644 index 836b5ffe39..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-gen-utxo.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a Shelley genesis UTxO key pair - -Available options: - --verification-key-file FILEPATH - Output filepath of the verification key. - --signing-key-file FILEPATH - Output filepath of the signing key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-hash.cli deleted file mode 100644 index 8a8170c244..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis_key-hash.cli +++ /dev/null @@ -1,8 +0,0 @@ -Usage: cardano-cli genesis key-hash --verification-key-file FILEPATH - - Print the identifier (hash) of a public key - -Available options: - --verification-key-file FILEPATH - Input filepath of the verification key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance.cli deleted file mode 100644 index 25a25b5f94..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance.cli +++ /dev/null @@ -1,12 +0,0 @@ -Usage: cardano-cli governance (action | committee | drep | vote) - - Governance commands. - -Available options: - -h,--help Show this help text - -Available commands: - action Governance action commands. - committee Committee member commands. - drep DRep member commands. - vote Vote commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action.cli deleted file mode 100644 index 889507f2c3..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action.cli +++ /dev/null @@ -1,27 +0,0 @@ -Usage: cardano-cli governance action - ( create-constitution - | update-committee - | create-info - | create-no-confidence - | create-protocol-parameters-update - | create-treasury-withdrawal - | create-hardfork - | view - ) - - Governance action commands. - -Available options: - -h,--help Show this help text - -Available commands: - create-constitution Create a constitution. - update-committee Create or update a new committee proposal. - create-info Create an info action. - create-no-confidence Create a no confidence proposal. - create-protocol-parameters-update - Create a protocol parameters update. - create-treasury-withdrawal - Create a treasury withdrawal. - create-hardfork Create a hardfork initiation proposal. - view View a governance action. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-constitution.cli deleted file mode 100644 index 021220e101..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-constitution.cli +++ /dev/null @@ -1,49 +0,0 @@ -Usage: cardano-cli governance action create-constitution (--mainnet | --testnet) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --anchor-url TEXT - --anchor-data-hash HASH - --constitution-url TEXT - --constitution-hash HASH - [--constitution-script-hash HASH] - --out-file FILEPATH - - Create a constitution. - -Available options: - --mainnet Use the mainnet magic id. - --testnet Use the testnet magic id. - --governance-action-deposit NATURAL - Deposit required to submit a governance action. - --deposit-return-stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --deposit-return-stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --deposit-return-stake-key-hash HASH - Stake verification key hash (hex-encoded). - --deposit-return-stake-script-file FILEPATH - Filepath of the staking script. - --deposit-return-stake-address ADDRESS - Target stake address (bech32 format). - --prev-governance-action-tx-id TXID - Txid of the previous governance action. - --prev-governance-action-index WORD16 - Action index of the previous governance action. - --anchor-url TEXT Anchor URL - --anchor-data-hash HASH Proposal anchor data hash (obtain it with - "cardano-cli hash anchor-data ...") - --constitution-url TEXT Constitution URL. - --constitution-hash HASH Hash of the constitution data (obtain it with - "cardano-cli hash anchor-data ..."). - --constitution-script-hash HASH - Constitution script hash (hex-encoded). Obtain it - with "cardano-cli hash script ...". - --out-file FILEPATH Output filepath of the constitution. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-hardfork.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-hardfork.cli deleted file mode 100644 index 2a4ff08077..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-hardfork.cli +++ /dev/null @@ -1,52 +0,0 @@ -Usage: cardano-cli governance action create-hardfork (--mainnet | --testnet) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --anchor-url TEXT - --anchor-data-hash HASH - --protocol-major-version MAJOR - --protocol-minor-version MINOR - --out-file FILEPATH - - Create a hardfork initiation proposal. - -Available options: - --mainnet Use the mainnet magic id. - --testnet Use the testnet magic id. - --governance-action-deposit NATURAL - Deposit required to submit a governance action. - --deposit-return-stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --deposit-return-stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --deposit-return-stake-key-hash HASH - Stake verification key hash (hex-encoded). - --deposit-return-stake-script-file FILEPATH - Filepath of the staking script. - --deposit-return-stake-address ADDRESS - Target stake address (bech32 format). - --prev-governance-action-tx-id TXID - Txid of the previous governance action. - --prev-governance-action-index WORD16 - Action index of the previous governance action. - --anchor-url TEXT Anchor URL - --anchor-data-hash HASH Proposal anchor data hash (obtain it with - "cardano-cli hash anchor-data ...") - --protocol-major-version MAJOR - Specify the major protocol version to fork into. An - increase indicates a hard fork. It must be the next - natural number after the current version and must be - supported by the node. - --protocol-minor-version MINOR - Minor protocol version. An increase indicates a soft - fork (old software can validate but not produce new - blocks). Must be zero when the major protocol version - is increased. - --out-file FILEPATH Output filepath of the hardfork proposal. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-info.cli deleted file mode 100644 index f1be625dbe..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-info.cli +++ /dev/null @@ -1,35 +0,0 @@ -Usage: cardano-cli governance action create-info (--mainnet | --testnet) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - --out-file FILEPATH - - Create an info action. - -Available options: - --mainnet Use the mainnet magic id. - --testnet Use the testnet magic id. - --governance-action-deposit NATURAL - Deposit required to submit a governance action. - --deposit-return-stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --deposit-return-stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --deposit-return-stake-key-hash HASH - Stake verification key hash (hex-encoded). - --deposit-return-stake-script-file FILEPATH - Filepath of the staking script. - --deposit-return-stake-address ADDRESS - Target stake address (bech32 format). - --anchor-url TEXT Anchor URL - --anchor-data-hash HASH Proposal anchor data hash (obtain it with - "cardano-cli hash anchor-data ...") - --out-file FILEPATH Path to action file to be used later on with build or - build-raw - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-no-confidence.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-no-confidence.cli deleted file mode 100644 index ec863a77ee..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-no-confidence.cli +++ /dev/null @@ -1,43 +0,0 @@ -Usage: cardano-cli governance action create-no-confidence - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --out-file FILEPATH - - Create a no confidence proposal. - -Available options: - --mainnet Use the mainnet magic id. - --testnet Use the testnet magic id. - --governance-action-deposit NATURAL - Deposit required to submit a governance action. - --deposit-return-stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --deposit-return-stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --deposit-return-stake-key-hash HASH - Stake verification key hash (hex-encoded). - --deposit-return-stake-script-file FILEPATH - Filepath of the staking script. - --deposit-return-stake-address ADDRESS - Target stake address (bech32 format). - --anchor-url TEXT Anchor URL - --anchor-data-hash HASH Proposal anchor data hash (obtain it with - "cardano-cli hash anchor-data ...") - --prev-governance-action-tx-id TXID - Txid of the previous governance action. - --prev-governance-action-index WORD16 - Action index of the previous governance action. - --out-file FILEPATH Output filepath of the no confidence proposal. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-protocol-parameters-update.cli deleted file mode 100644 index 73157f1f4b..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-protocol-parameters-update.cli +++ /dev/null @@ -1,205 +0,0 @@ -Usage: cardano-cli governance action create-protocol-parameters-update - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - [--constitution-script-hash HASH] - [--min-fee-linear LOVELACE] - [--min-fee-constant LOVELACE] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--max-block-header-size WORD16] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--treasury-expansion RATIONAL] - [--monetary-expansion RATIONAL] - [--min-pool-cost NATURAL] - [--price-execution-steps RATIONAL - --price-execution-memory RATIONAL] - [--max-tx-execution-units (INT, INT)] - [--max-block-execution-units (INT, INT)] - [--max-value-size INT] - [--collateral-percent INT] - [--max-collateral-inputs INT] - [--utxo-cost-per-byte LOVELACE] - [--pool-voting-threshold-motion-no-confidence RATIONAL - --pool-voting-threshold-committee-normal RATIONAL - --pool-voting-threshold-committee-no-confidence RATIONAL - --pool-voting-threshold-hard-fork-initiation RATIONAL - --pool-voting-threshold-pp-security-group RATIONAL] - [--drep-voting-threshold-motion-no-confidence RATIONAL - --drep-voting-threshold-committee-normal RATIONAL - --drep-voting-threshold-committee-no-confidence RATIONAL - --drep-voting-threshold-update-to-constitution RATIONAL - --drep-voting-threshold-hard-fork-initiation RATIONAL - --drep-voting-threshold-pp-network-group RATIONAL - --drep-voting-threshold-pp-economic-group RATIONAL - --drep-voting-threshold-pp-technical-group RATIONAL - --drep-voting-threshold-pp-governance-group RATIONAL - --drep-voting-threshold-treasury-withdrawal RATIONAL] - [--min-committee-size INT] - [--committee-term-length WORD32] - [--governance-action-lifetime WORD32] - [--new-governance-action-deposit NATURAL] - [--drep-deposit LOVELACE] - [--drep-activity WORD32] - [--ref-script-cost-per-byte RATIONAL] - [--cost-model-file FILE] - --out-file FILEPATH - - Create a protocol parameters update. - -Available options: - --mainnet Use the mainnet magic id. - --testnet Use the testnet magic id. - --governance-action-deposit NATURAL - Deposit required to submit a governance action. - --deposit-return-stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --deposit-return-stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --deposit-return-stake-key-hash HASH - Stake verification key hash (hex-encoded). - --deposit-return-stake-script-file FILEPATH - Filepath of the staking script. - --deposit-return-stake-address ADDRESS - Target stake address (bech32 format). - --anchor-url TEXT Anchor URL - --anchor-data-hash HASH Proposal anchor data hash (obtain it with - "cardano-cli hash anchor-data ...") - --prev-governance-action-tx-id TXID - Txid of the previous governance action. - --prev-governance-action-index WORD16 - Action index of the previous governance action. - --constitution-script-hash HASH - Constitution script hash (hex-encoded). Obtain it - with "cardano-cli hash script ...". - --min-fee-linear LOVELACE - The linear factor per byte for the minimum fee - calculation. - --min-fee-constant LOVELACE - The constant factor for the minimum fee calculation. - --max-block-body-size WORD32 - Maximal block body size. - --max-tx-size WORD32 Maximum transaction size. - --max-block-header-size WORD16 - Maximum block header size. - --key-reg-deposit-amt NATURAL - Key registration deposit amount. - --pool-reg-deposit NATURAL - The amount of a pool registration deposit. - --pool-retirement-epoch-interval WORD32 - Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. - --pool-influence RATIONAL - Pool influence. - --treasury-expansion RATIONAL - Treasury expansion. - --monetary-expansion RATIONAL - Monetary expansion. - --min-pool-cost NATURAL The minimum allowed cost parameter for stake pools. - --price-execution-steps RATIONAL - Step price of execution units for script languages - that use them (from Alonzo era). (Examples: '1.1', - '11/10') - --price-execution-memory RATIONAL - Memory price of execution units for script languages - that use them (from Alonzo era). (Examples: '1.1', - '11/10') - --max-tx-execution-units (INT, INT) - Max total script execution resources units allowed - per tx (from Alonzo era). They are denominated as - follows (steps, memory). - --max-block-execution-units (INT, INT) - Max total script execution resources units allowed - per block (from Alonzo era). They are denominated as - follows (steps, memory). - --max-value-size INT Max size of a multi-asset value in a tx output (from - Alonzo era). - --collateral-percent INT The percentage of the script contribution to the - txfee that must be provided as collateral inputs when - including Plutus scripts (from Alonzo era). - --max-collateral-inputs INT - The maximum number of collateral inputs allowed in a - transaction (from Alonzo era). - --utxo-cost-per-byte LOVELACE - Cost in lovelace per unit of UTxO storage (from - Babbage era). - --pool-voting-threshold-motion-no-confidence RATIONAL - Acceptance threshold for stake pool votes on motions - no confidence. - --pool-voting-threshold-committee-normal RATIONAL - Acceptance threshold for stake pool votes on normal - committee updates. - --pool-voting-threshold-committee-no-confidence RATIONAL - Acceptance threshold for stake pool votes on - committee updates when the committee is in a state of - no confidence. - --pool-voting-threshold-hard-fork-initiation RATIONAL - Acceptance threshold for stake pool votes on hard - fork initiations. - --pool-voting-threshold-pp-security-group RATIONAL - Acceptance threshold for stake pool votes on protocol - parameters for parameters in the 'security' group. - --drep-voting-threshold-motion-no-confidence RATIONAL - Acceptance threshold for DRep votes on motions of no - confidence. - --drep-voting-threshold-committee-normal RATIONAL - Acceptance threshold for DRep votes on normal - committee updates. - --drep-voting-threshold-committee-no-confidence RATIONAL - Acceptance threshold for DRep votes on committee - updates when the committee is in a state of no - confidence. - --drep-voting-threshold-update-to-constitution RATIONAL - Acceptance threshold for DRep votes on constitution - updates. - --drep-voting-threshold-hard-fork-initiation RATIONAL - Acceptance threshold for DRep votes on hard fork - initiations. - --drep-voting-threshold-pp-network-group RATIONAL - Acceptance threshold for DRep votes on protocol - parameters for parameters in the 'network' group. - --drep-voting-threshold-pp-economic-group RATIONAL - Acceptance threshold for DRep votes on protocol - parameters for parameters in the 'economic' group. - --drep-voting-threshold-pp-technical-group RATIONAL - Acceptance threshold for DRep votes on protocol - parameters for parameters in the 'technical' group. - --drep-voting-threshold-pp-governance-group RATIONAL - Acceptance threshold for DRep votes on protocol - parameters for parameters in the 'governance' group. - --drep-voting-threshold-treasury-withdrawal RATIONAL - Acceptance threshold for DRep votes on treasury - withdrawals. - --min-committee-size INT Minimal size of the constitutional committee. - --committee-term-length WORD32 - Maximal term length for members of the constitutional - committee, in epochs. - --governance-action-lifetime WORD32 - Maximal lifetime of governance actions, in epochs. - --new-governance-action-deposit NATURAL - Proposed new value of the deposit required to submit - a governance action. - --drep-deposit LOVELACE DRep deposit amount. - --drep-activity WORD32 DRep activity period, in epochs. - --ref-script-cost-per-byte RATIONAL - Reference script cost per byte for the minimum fee - calculation. - --cost-model-file FILE Filepath of the JSON formatted cost model - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-treasury-withdrawal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-treasury-withdrawal.cli deleted file mode 100644 index 238119081f..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_create-treasury-withdrawal.cli +++ /dev/null @@ -1,54 +0,0 @@ -Usage: cardano-cli governance action create-treasury-withdrawal - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - ( - ( --funds-receiving-stake-verification-key STRING - | --funds-receiving-stake-verification-key-file FILEPATH - | --funds-receiving-stake-key-hash HASH - ) - --transfer LOVELACE) - [--constitution-script-hash HASH] - --out-file FILEPATH - - Create a treasury withdrawal. - -Available options: - --mainnet Use the mainnet magic id. - --testnet Use the testnet magic id. - --governance-action-deposit NATURAL - Deposit required to submit a governance action. - --deposit-return-stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --deposit-return-stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --deposit-return-stake-key-hash HASH - Stake verification key hash (hex-encoded). - --deposit-return-stake-script-file FILEPATH - Filepath of the staking script. - --deposit-return-stake-address ADDRESS - Target stake address (bech32 format). - --anchor-url TEXT Anchor URL - --anchor-data-hash HASH Proposal anchor data hash (obtain it with - "cardano-cli hash anchor-data ...") - --funds-receiving-stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --funds-receiving-stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --funds-receiving-stake-key-hash HASH - Stake verification key hash (hex-encoded). - --transfer LOVELACE The amount to transfer. - --constitution-script-hash HASH - Constitution script hash (hex-encoded). Obtain it - with "cardano-cli hash script ...". - --out-file FILEPATH Output filepath of the treasury withdrawal. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_update-committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_update-committee.cli deleted file mode 100644 index 9802f96bf0..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_update-committee.cli +++ /dev/null @@ -1,74 +0,0 @@ -Usage: cardano-cli governance action update-committee (--mainnet | --testnet) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [ --remove-cc-cold-verification-key STRING - | --remove-cc-cold-verification-key-file FILEPATH - | --remove-cc-cold-verification-key-hash STRING - | --remove-cc-cold-script-hash HASH - ] - [ - ( --add-cc-cold-verification-key STRING - | --add-cc-cold-verification-key-file FILEPATH - | --add-cc-cold-verification-key-hash STRING - | --add-cc-cold-script-hash HASH - ) - --epoch NATURAL] - --threshold RATIONAL - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --out-file FILEPATH - - Create or update a new committee proposal. - -Available options: - --mainnet Use the mainnet magic id. - --testnet Use the testnet magic id. - --governance-action-deposit NATURAL - Deposit required to submit a governance action. - --deposit-return-stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --deposit-return-stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --deposit-return-stake-key-hash HASH - Stake verification key hash (hex-encoded). - --deposit-return-stake-script-file FILEPATH - Filepath of the staking script. - --deposit-return-stake-address ADDRESS - Target stake address (bech32 format). - --anchor-url TEXT Anchor URL - --anchor-data-hash HASH Proposal anchor data hash (obtain it with - "cardano-cli hash anchor-data ...") - --remove-cc-cold-verification-key STRING - Constitutional Committee cold key (hex-encoded). - --remove-cc-cold-verification-key-file FILEPATH - Filepath of the Constitutional Committee cold key. - --remove-cc-cold-verification-key-hash STRING - Constitutional Committee key hash (hex-encoded). - --remove-cc-cold-script-hash HASH - Cold Native or Plutus script file hash (hex-encoded). - Obtain it with "cardano-cli hash script ...". - --add-cc-cold-verification-key STRING - Constitutional Committee cold key (hex-encoded). - --add-cc-cold-verification-key-file FILEPATH - Filepath of the Constitutional Committee cold key. - --add-cc-cold-verification-key-hash STRING - Constitutional Committee key hash (hex-encoded). - --add-cc-cold-script-hash HASH - Cold Native or Plutus script file hash (hex-encoded). - Obtain it with "cardano-cli hash script ...". - --epoch NATURAL Committee member expiry epoch - --threshold RATIONAL Threshold of YES votes that are necessary for - approving a governance action. - --prev-governance-action-tx-id TXID - Txid of the previous governance action. - --prev-governance-action-index WORD16 - Action index of the previous governance action. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_view.cli deleted file mode 100644 index 3ca0095045..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_action_view.cli +++ /dev/null @@ -1,13 +0,0 @@ -Usage: cardano-cli governance action view --action-file FILEPATH - [--output-json | --output-yaml] - [--out-file FILEPATH] - - View a governance action. - -Available options: - --action-file FILEPATH Path to action file. - --output-json Format governance action view output to JSON. - --output-yaml Format governance action view output to YAML. - Defaults to JSON if unspecified. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_answer-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_answer-poll.cli deleted file mode 100644 index 2116c3254c..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_answer-poll.cli +++ /dev/null @@ -1,12 +0,0 @@ -Usage: cardano-cli governance answer-poll --poll-file FILEPATH - [--answer INT] - [--out-file FILEPATH] - - Answer an SPO poll - -Available options: - --poll-file FILEPATH Filepath to the ongoing poll. - --answer INT The index of the chosen answer in the poll. Optional. - Asked interactively if omitted. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee.cli deleted file mode 100644 index 4a567f16f5..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee.cli +++ /dev/null @@ -1,25 +0,0 @@ -Usage: cardano-cli governance committee - ( key-gen-cold - | key-gen-hot - | key-hash - | create-hot-key-authorization-certificate - | create-cold-key-resignation-certificate - ) - - Committee member commands. - -Available options: - -h,--help Show this help text - -Available commands: - key-gen-cold Create a cold key pair for a Constitutional Committee - Member - key-gen-hot Create a hot key pair for a Constitutional Committee - Member - key-hash Print the identifier (hash) of a public key - create-hot-key-authorization-certificate - Create hot key authorization certificate for a - Constitutional Committee Member - create-cold-key-resignation-certificate - Create cold key resignation certificate for a - Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-cold-key-resignation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-cold-key-resignation-certificate.cli deleted file mode 100644 index 5fd140f600..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-cold-key-resignation-certificate.cli +++ /dev/null @@ -1,33 +0,0 @@ -Usage: cardano-cli governance committee create-cold-key-resignation-certificate - ( --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - | --cold-script-file FILEPATH - ) - [--resignation-metadata-url TEXT - --resignation-metadata-hash HASH] - --out-file FILEPATH - - Create cold key resignation certificate for a Constitutional Committee Member - -Available options: - --cold-verification-key STRING - Constitutional Committee cold key (hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the Constitutional Committee cold key. - --cold-verification-key-hash STRING - Constitutional Committee key hash (hex-encoded). - --cold-script-hash HASH Committee cold Native or Plutus script file hash - (hex-encoded). Obtain it with "cardano-cli hash - script ...". - --cold-script-file FILEPATH - Cold Native or Plutus script file - --resignation-metadata-url TEXT - Constitutional Committee cold key resignation - certificate URL - --resignation-metadata-hash HASH - Constitutional Committee cold key resignation - certificate metadata hash - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-hot-key-authorization-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-hot-key-authorization-certificate.cli deleted file mode 100644 index e9736da849..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_create-hot-key-authorization-certificate.cli +++ /dev/null @@ -1,42 +0,0 @@ -Usage: cardano-cli governance committee create-hot-key-authorization-certificate - ( --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - | --cold-script-file FILEPATH - ) - ( --hot-verification-key STRING - | --hot-verification-key-file FILEPATH - | --hot-verification-key-hash STRING - | --hot-script-hash HASH - | --hot-script-file FILEPATH - ) - --out-file FILEPATH - - Create hot key authorization certificate for a Constitutional Committee Member - -Available options: - --cold-verification-key STRING - Constitutional Committee cold key (hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the Constitutional Committee cold key. - --cold-verification-key-hash STRING - Constitutional Committee key hash (hex-encoded). - --cold-script-hash HASH Committee cold Native or Plutus script file hash - (hex-encoded). Obtain it with "cardano-cli hash - script ...". - --cold-script-file FILEPATH - Cold Native or Plutus script file - --hot-verification-key STRING - Constitutional Committee hot key (hex-encoded). - --hot-verification-key-file FILEPATH - Filepath of the Constitutional Committee hot key. - --hot-verification-key-hash STRING - Constitutional Committee key hash (hex-encoded). - --hot-script-hash HASH Committee hot Native or Plutus script file hash - (hex-encoded). Obtain it with "cardano-cli hash - script ...". - --hot-script-file FILEPATH - Hot Native or Plutus script file - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-cold.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-cold.cli deleted file mode 100644 index 0bdeea1947..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-cold.cli +++ /dev/null @@ -1,12 +0,0 @@ -Usage: cardano-cli governance committee key-gen-cold - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - - Create a cold key pair for a Constitutional Committee Member - -Available options: - --cold-verification-key-file FILEPATH - Filepath of the cold verification key. - --cold-signing-key-file FILEPATH - Filepath of the cold signing key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-hot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-hot.cli deleted file mode 100644 index 3451709654..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-gen-hot.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli governance committee key-gen-hot --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a hot key pair for a Constitutional Committee Member - -Available options: - --verification-key-file FILEPATH - Output filepath of the verification key. - --signing-key-file FILEPATH - Output filepath of the signing key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-hash.cli deleted file mode 100644 index 996ad90b43..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_committee_key-hash.cli +++ /dev/null @@ -1,15 +0,0 @@ -Usage: cardano-cli governance committee key-hash - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - - Print the identifier (hash) of a public key - -Available options: - --verification-key STRING - Constitutional Committee Member key (hot or cold) - (Bech32-encoded) - --verification-key-file FILEPATH - Input filepath of the Constitutional Committee Member - key (hot or cold). - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-genesis-key-delegation-certificate.cli deleted file mode 100644 index d3d8d60b12..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-genesis-key-delegation-certificate.cli +++ /dev/null @@ -1,54 +0,0 @@ -Usage: cardano-cli governance create-genesis-key-delegation-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --genesis-verification-key STRING - | --genesis-verification-key-file FILEPATH - | --genesis-verification-key-hash STRING - ) - ( --genesis-delegate-verification-key STRING - | --genesis-delegate-verification-key-file FILEPATH - | --genesis-delegate-verification-key-hash STRING - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - | --vrf-verification-key-hash STRING - ) - --out-file FILEPATH - - Create a genesis key delegation certificate - -Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --genesis-verification-key STRING - Genesis verification key (hex-encoded). - --genesis-verification-key-file FILEPATH - Filepath of the genesis verification key. - --genesis-verification-key-hash STRING - Genesis verification key hash (hex-encoded). - --genesis-delegate-verification-key STRING - Genesis delegate verification key (hex-encoded). - --genesis-delegate-verification-key-file FILEPATH - Filepath of the genesis delegate verification key. - --genesis-delegate-verification-key-hash STRING - Genesis delegate verification key hash (hex-encoded). - --vrf-verification-key STRING - VRF verification key (Bech32 or hex-encoded). - --vrf-verification-key-file FILEPATH - Filepath of the VRF verification key. - --vrf-verification-key-hash STRING - VRF verification key hash (hex-encoded). - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate.cli deleted file mode 100644 index 5b06ced44f..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate.cli +++ /dev/null @@ -1,44 +0,0 @@ -Usage: cardano-cli governance create-mir-certificate - ( [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - | stake-addresses - | transfer-to-treasury - | transfer-to-rewards - ) - - Create an MIR (Move Instantaneous Rewards) certificate - -Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --reserves Use the reserves pot. - --treasury Use the treasury pot. - --stake-address ADDRESS Target stake address (bech32 format). - --reward LOVELACE The reward for the relevant reward account. - --out-file FILEPATH The output file. - -h,--help Show this help text - -Available commands: - stake-addresses Create an MIR certificate to pay stake addresses - transfer-to-treasury Create an MIR certificate to transfer from the - reserves pot to the treasury pot - transfer-to-rewards Create an MIR certificate to transfer from the - treasury pot to the reserves pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_stake-addresses.cli deleted file mode 100644 index d86d15f6b1..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_stake-addresses.cli +++ /dev/null @@ -1,33 +0,0 @@ -Usage: cardano-cli governance create-mir-certificate stake-addresses - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - - Create an MIR certificate to pay stake addresses - -Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --reserves Use the reserves pot. - --treasury Use the treasury pot. - --stake-address ADDRESS Target stake address (bech32 format). - --reward LOVELACE The reward for the relevant reward account. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-rewards.cli deleted file mode 100644 index bcc0244a52..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-rewards.cli +++ /dev/null @@ -1,27 +0,0 @@ -Usage: cardano-cli governance create-mir-certificate transfer-to-rewards - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - --transfer LOVELACE - --out-file FILEPATH - - Create an MIR certificate to transfer from the treasury pot to the reserves - pot - -Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --transfer LOVELACE The amount to transfer. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-treasury.cli deleted file mode 100644 index 3e1cf6cbf0..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-mir-certificate_transfer-to-treasury.cli +++ /dev/null @@ -1,27 +0,0 @@ -Usage: cardano-cli governance create-mir-certificate transfer-to-treasury - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - --transfer LOVELACE - --out-file FILEPATH - - Create an MIR certificate to transfer from the reserves pot to the treasury - pot - -Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --transfer LOVELACE The amount to transfer. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-poll.cli deleted file mode 100644 index 3cc9ea2edd..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-poll.cli +++ /dev/null @@ -1,14 +0,0 @@ -Usage: cardano-cli governance create-poll --question STRING - (--answer STRING) - [--nonce UINT] - --out-file FILEPATH - - Create an SPO poll - -Available options: - --question STRING The question for the poll. - --answer STRING A possible choice for the poll. The option is - repeatable. - --nonce UINT An (optional) nonce for non-replayability. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-update-proposal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-update-proposal.cli deleted file mode 100644 index 1fcef2c202..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_create-update-proposal.cli +++ /dev/null @@ -1,111 +0,0 @@ -Usage: cardano-cli governance create-update-proposal --out-file FILEPATH - --epoch NATURAL - (--genesis-verification-key-file FILEPATH) - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] - [--decentralization-parameter RATIONAL] - [ --extra-entropy HEX - | --reset-extra-entropy - ] - [--max-block-header-size WORD16] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--min-fee-constant LOVELACE] - [--min-fee-linear LOVELACE] - [--min-utxo-value NATURAL] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--min-pool-cost NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--monetary-expansion RATIONAL] - [--treasury-expansion RATIONAL] - [--price-execution-steps RATIONAL - --price-execution-memory RATIONAL] - [--max-tx-execution-units (INT, INT)] - [--max-block-execution-units (INT, INT)] - [--max-value-size INT] - [--collateral-percent INT] - [--max-collateral-inputs INT] - [--utxo-cost-per-byte LOVELACE] - [--cost-model-file FILE] - - Create an update proposal - -Available options: - --out-file FILEPATH The output file. - --epoch NATURAL The epoch number in which the update proposal is - valid. - --genesis-verification-key-file FILEPATH - Filepath of the genesis verification key. - --protocol-major-version MAJOR - Specify the major protocol version to fork into. An - increase indicates a hard fork. It must be the next - natural number after the current version and must be - supported by the node. - --protocol-minor-version MINOR - Minor protocol version. An increase indicates a soft - fork (old software can validate but not produce new - blocks). Must be zero when the major protocol version - is increased. - --decentralization-parameter RATIONAL - Decentralization parameter. - --extra-entropy HEX Praos extra entropy seed, as a hex byte string. - --reset-extra-entropy Reset the Praos extra entropy to none. - --max-block-header-size WORD16 - Maximum block header size. - --max-block-body-size WORD32 - Maximal block body size. - --max-tx-size WORD32 Maximum transaction size. - --min-fee-constant LOVELACE - The constant factor for the minimum fee calculation. - --min-fee-linear LOVELACE - The linear factor per byte for the minimum fee - calculation. - --min-utxo-value NATURAL The minimum allowed UTxO value (Shelley to Mary - eras). - --key-reg-deposit-amt NATURAL - Key registration deposit amount. - --pool-reg-deposit NATURAL - The amount of a pool registration deposit. - --min-pool-cost NATURAL The minimum allowed cost parameter for stake pools. - --pool-retirement-epoch-interval WORD32 - Epoch interval of pool retirement. - --number-of-pools NATURAL - Desired number of pools. - --pool-influence RATIONAL - Pool influence. - --monetary-expansion RATIONAL - Monetary expansion. - --treasury-expansion RATIONAL - Treasury expansion. - --price-execution-steps RATIONAL - Step price of execution units for script languages - that use them (from Alonzo era). (Examples: '1.1', - '11/10') - --price-execution-memory RATIONAL - Memory price of execution units for script languages - that use them (from Alonzo era). (Examples: '1.1', - '11/10') - --max-tx-execution-units (INT, INT) - Max total script execution resources units allowed - per tx (from Alonzo era). They are denominated as - follows (steps, memory). - --max-block-execution-units (INT, INT) - Max total script execution resources units allowed - per block (from Alonzo era). They are denominated as - follows (steps, memory). - --max-value-size INT Max size of a multi-asset value in a tx output (from - Alonzo era). - --collateral-percent INT The percentage of the script contribution to the - txfee that must be provided as collateral inputs when - including Plutus scripts (from Alonzo era). - --max-collateral-inputs INT - The maximum number of collateral inputs allowed in a - transaction (from Alonzo era). - --utxo-cost-per-byte LOVELACE - Cost in lovelace per unit of UTxO storage (from - Babbage era). - --cost-model-file FILE Filepath of the JSON formatted cost model - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep.cli deleted file mode 100644 index 1ce17209f7..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep.cli +++ /dev/null @@ -1,22 +0,0 @@ -Usage: cardano-cli governance drep - ( key-gen - | id - | registration-certificate - | retirement-certificate - | update-certificate - | metadata-hash - ) - - DRep member commands. - -Available options: - -h,--help Show this help text - -Available commands: - key-gen Generate Delegated Representative verification and - signing keys. - id Generate a drep id. - registration-certificate Create a registration certificate. - retirement-certificate Create a DRep retirement certificate. - update-certificate Create a DRep update certificate. - metadata-hash Calculate the hash of a metadata file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_id.cli deleted file mode 100644 index 7138c4f774..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_id.cli +++ /dev/null @@ -1,18 +0,0 @@ -Usage: cardano-cli governance drep id - ( --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] - - Generate a drep id. - -Available options: - --drep-verification-key STRING - DRep verification key (Bech32 or hex-encoded). - --drep-verification-key-file FILEPATH - Filepath of the DRep verification key. - --output-format STRING Optional drep id output format. Accepted output - formats are "hex" and "bech32" (default is "bech32"). - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_key-gen.cli deleted file mode 100644 index 0a1e6dc660..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_key-gen.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli governance drep key-gen --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Generate Delegated Representative verification and signing keys. - -Available options: - --verification-key-file FILEPATH - Output filepath of the verification key. - --signing-key-file FILEPATH - Output filepath of the signing key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_metadata-hash.cli deleted file mode 100644 index 457f2504d3..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_metadata-hash.cli +++ /dev/null @@ -1,10 +0,0 @@ -Usage: cardano-cli governance drep metadata-hash --drep-metadata-file FILEPATH - [--out-file FILEPATH] - - Calculate the hash of a metadata file. - -Available options: - --drep-metadata-file FILEPATH - JSON Metadata file to hash. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_registration-certificate.cli deleted file mode 100644 index 400eaf0fac..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_registration-certificate.cli +++ /dev/null @@ -1,29 +0,0 @@ -Usage: cardano-cli governance drep registration-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - --key-reg-deposit-amt NATURAL - [--drep-metadata-url TEXT - --drep-metadata-hash HASH] - --out-file FILEPATH - - Create a registration certificate. - -Available options: - --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with - "cardano-cli hash script ...". - --drep-verification-key STRING - DRep verification key (Bech32 or hex-encoded). - --drep-verification-key-file FILEPATH - Filepath of the DRep verification key. - --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or - hex-encoded). - --key-reg-deposit-amt NATURAL - Key registration deposit amount. - --drep-metadata-url TEXT DRep anchor URL - --drep-metadata-hash HASH - DRep anchor data hash. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_retirement-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_retirement-certificate.cli deleted file mode 100644 index 5f3422b836..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_retirement-certificate.cli +++ /dev/null @@ -1,24 +0,0 @@ -Usage: cardano-cli governance drep retirement-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - --deposit-amt LOVELACE - --out-file FILEPATH - - Create a DRep retirement certificate. - -Available options: - --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with - "cardano-cli hash script ...". - --drep-verification-key STRING - DRep verification key (Bech32 or hex-encoded). - --drep-verification-key-file FILEPATH - Filepath of the DRep verification key. - --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or - hex-encoded). - --deposit-amt LOVELACE DRep deposit amount (same at registration and - retirement). - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_update-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_update-certificate.cli deleted file mode 100644 index c94633159e..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_drep_update-certificate.cli +++ /dev/null @@ -1,26 +0,0 @@ -Usage: cardano-cli governance drep update-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - [--drep-metadata-url TEXT - --drep-metadata-hash HASH] - --out-file FILEPATH - - Create a DRep update certificate. - -Available options: - --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with - "cardano-cli hash script ...". - --drep-verification-key STRING - DRep verification key (Bech32 or hex-encoded). - --drep-verification-key-file FILEPATH - Filepath of the DRep verification key. - --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or - hex-encoded). - --drep-metadata-url TEXT DRep anchor URL - --drep-metadata-hash HASH - DRep anchor data hash. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_verify-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_verify-poll.cli deleted file mode 100644 index d41b54659d..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_verify-poll.cli +++ /dev/null @@ -1,12 +0,0 @@ -Usage: cardano-cli governance verify-poll --poll-file FILEPATH - --tx-file FILEPATH - [--out-file FILEPATH] - - Verify an answer to a given SPO poll - -Available options: - --poll-file FILEPATH Filepath to the ongoing poll. - --tx-file FILEPATH Filepath to the JSON TxBody or JSON Tx carrying a - valid poll answer. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote.cli deleted file mode 100644 index 79455568ae..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote.cli +++ /dev/null @@ -1,10 +0,0 @@ -Usage: cardano-cli governance vote (create | view) - - Vote commands. - -Available options: - -h,--help Show this help text - -Available commands: - create Vote creation. - view Vote viewing. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_create.cli deleted file mode 100644 index 8853da8cb2..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_create.cli +++ /dev/null @@ -1,54 +0,0 @@ -Usage: cardano-cli governance vote create (--yes | --no | --abstain) - --governance-action-tx-id TXID - --governance-action-index WORD16 - ( --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - | --drep-script-hash HASH - | --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - | --cc-hot-verification-key STRING - | --cc-hot-verification-key-file FILEPATH - | --cc-hot-key-hash STRING - | --cc-hot-script-hash HASH - ) - [--anchor-url TEXT - --anchor-data-hash HASH] - --out-file FILEPATH - - Vote creation. - -Available options: - --governance-action-tx-id TXID - Txid of the governance action. - --governance-action-index WORD16 - Tx's governance action index. - --drep-verification-key STRING - DRep verification key (Bech32 or hex-encoded). - --drep-verification-key-file FILEPATH - Filepath of the DRep verification key. - --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or - hex-encoded). - --drep-script-hash HASH Cold Native or Plutus script file hash (hex-encoded). - Obtain it with "cardano-cli hash script ...". - --stake-pool-verification-key STRING - Stake pool verification key (Bech32 or hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the stake pool verification key. - --stake-pool-id STAKE_POOL_ID - Stake pool ID/verification key hash (either - Bech32-encoded or hex-encoded). - --cc-hot-verification-key STRING - Constitutional Committee hot key (hex-encoded). - --cc-hot-verification-key-file FILEPATH - Filepath of the Constitutional Committee hot key. - --cc-hot-key-hash STRING Constitutional Committee key hash (hex-encoded). - --cc-hot-script-hash HASH - Cold Native or Plutus script file hash (hex-encoded). - Obtain it with "cardano-cli hash script ...". - --anchor-url TEXT Vote anchor URL - --anchor-data-hash HASH Hash of the vote anchor data (obtain it with - "cardano-cli hash anchor-data ..."). - --out-file FILEPATH Output filepath of the vote. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_view.cli deleted file mode 100644 index 67ca3054d7..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/governance_vote_view.cli +++ /dev/null @@ -1,13 +0,0 @@ -Usage: cardano-cli governance vote view [--output-json | --output-yaml] - --vote-file FILEPATH - [--out-file FILEPATH] - - Vote viewing. - -Available options: - --output-json Format governance vote view output to JSON. - --output-yaml Format governance vote view output to YAML. Defaults - to JSON if unspecified. - --vote-file FILEPATH Input filepath of the vote. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli deleted file mode 100644 index c47902f063..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli +++ /dev/null @@ -1,40 +0,0 @@ -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. - -Available options: - -h,--help Show this help text - -Available commands: - verification-key Get a verification key from a signing key. This - supports all key types. - non-extended-key Get a non-extended verification key from an extended - verification key. This supports all extended key - types. - convert-byron-key Convert a Byron payment, genesis or genesis delegate - key (signing or verification) to a corresponding - Shelley-format key. - convert-byron-genesis-vkey - Convert a Base64-encoded Byron genesis verification - key to a Shelley genesis verification key - convert-itn-key Convert an Incentivized Testnet (ITN) non-extended - (Ed25519) signing or verification key to a - corresponding Shelley stake key - convert-itn-extended-key Convert an Incentivized Testnet (ITN) extended - (Ed25519Extended) signing key to a corresponding - Shelley stake signing key - convert-itn-bip32-key Convert an Incentivized Testnet (ITN) BIP32 - (Ed25519Bip32) signing key to a corresponding Shelley - stake signing key - convert-cardano-address-key - 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-byron-genesis-vkey.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-genesis-vkey.cli deleted file mode 100644 index dc80c4e3e9..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-genesis-vkey.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH - - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key - -Available options: - --byron-genesis-verification-key BASE64 - Base64 string for the Byron genesis verification key. - --out-file FILEPATH The output file. - -h,--help Show this help text 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 deleted file mode 100644 index 5103818e2b..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-key.cli +++ /dev/null @@ -1,35 +0,0 @@ -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. - -Available options: - --password TEXT Password for signing key (if applicable). - --byron-payment-key-type Use a Byron-era payment key. - --legacy-byron-payment-key-type - Use a Byron-era payment key, in legacy SL format. - --byron-genesis-key-type Use a Byron-era genesis key. - --legacy-byron-genesis-key-type - Use a Byron-era genesis key, in legacy SL format. - --byron-genesis-delegate-key-type - Use a Byron-era genesis delegate key. - --legacy-byron-genesis-delegate-key-type - Use a Byron-era genesis delegate key, in legacy SL - format. - --byron-signing-key-file FILEPATH - Input filepath of the Byron-format signing key. - --byron-verification-key-file FILEPATH - Input filepath of the Byron-format verification key. - --out-file FILEPATH The output file. - -h,--help Show this help text 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 deleted file mode 100644 index 20829714ec..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-cardano-address-key.cli +++ /dev/null @@ -1,29 +0,0 @@ -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. - -Available options: - --cc-cold-key Use a committee cold key. - --cc-hot-key Use a committee hot key. - --drep-key Use a DRep key. - --shelley-payment-key Use a Shelley-era extended payment key. - --shelley-stake-key Use a Shelley-era extended stake key. - --icarus-payment-key Use a Byron-era extended payment key formatted in the - Icarus style. - --byron-payment-key Use a Byron-era extended payment key formatted in the - deprecated Byron style. - --signing-key-file FILEPATH - Input filepath of the signing key. - --out-file FILEPATH The output file. - -h,--help Show this help text 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 deleted file mode 100644 index cc2fb482b7..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-bip32-key.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH - - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key - -Available options: - --itn-signing-key-file FILEPATH - Filepath of the ITN signing key. - --out-file FILEPATH The output file. - -h,--help Show this help text 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 deleted file mode 100644 index bc21c345c1..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-extended-key.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH - - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key - -Available options: - --itn-signing-key-file FILEPATH - Filepath of the ITN signing key. - --out-file FILEPATH The output file. - -h,--help Show this help text 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 deleted file mode 100644 index fa5d03634d..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-key.cli +++ /dev/null @@ -1,16 +0,0 @@ -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 - -Available options: - --itn-signing-key-file FILEPATH - Filepath of the ITN signing key. - --itn-verification-key-file FILEPATH - Filepath of the ITN verification key. - --out-file FILEPATH The output file. - -h,--help Show this help text 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 deleted file mode 100644 index d30e9aa908..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_non-extended-key.cli +++ /dev/null @@ -1,12 +0,0 @@ -Usage: cardano-cli key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH - - Get a non-extended verification key from an extended verification key. This - supports all extended key types. - -Available options: - --extended-verification-key-file FILEPATH - Input filepath of the ed25519-bip32 verification key. - --verification-key-file FILEPATH - Output filepath of the verification key. - -h,--help Show this help text 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 deleted file mode 100644 index 69e7ff42ed..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_verification-key.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH - - Get a verification key from a signing key. This supports all key types. - -Available options: - --signing-key-file FILEPATH - Input filepath of the signing key. - --verification-key-file FILEPATH - Output filepath of the verification key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_answer-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_answer-poll.cli deleted file mode 100644 index 5531f7916b..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_answer-poll.cli +++ /dev/null @@ -1,12 +0,0 @@ -Usage: cardano-cli latest governance answer-poll --poll-file FILEPATH - [--answer INT] - [--out-file FILEPATH] - - Answer an SPO poll - -Available options: - --poll-file FILEPATH Filepath to the ongoing poll. - --answer INT The index of the chosen answer in the poll. Optional. - Asked interactively if omitted. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-genesis-key-delegation-certificate.cli deleted file mode 100644 index 845e520668..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-genesis-key-delegation-certificate.cli +++ /dev/null @@ -1,38 +0,0 @@ -Usage: cardano-cli latest governance create-genesis-key-delegation-certificate - ( --genesis-verification-key STRING - | --genesis-verification-key-file FILEPATH - | --genesis-verification-key-hash STRING - ) - ( --genesis-delegate-verification-key STRING - | --genesis-delegate-verification-key-file FILEPATH - | --genesis-delegate-verification-key-hash STRING - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - | --vrf-verification-key-hash STRING - ) - --out-file FILEPATH - - Create a genesis key delegation certificate - -Available options: - --genesis-verification-key STRING - Genesis verification key (hex-encoded). - --genesis-verification-key-file FILEPATH - Filepath of the genesis verification key. - --genesis-verification-key-hash STRING - Genesis verification key hash (hex-encoded). - --genesis-delegate-verification-key STRING - Genesis delegate verification key (hex-encoded). - --genesis-delegate-verification-key-file FILEPATH - Filepath of the genesis delegate verification key. - --genesis-delegate-verification-key-hash STRING - Genesis delegate verification key hash (hex-encoded). - --vrf-verification-key STRING - VRF verification key (Bech32 or hex-encoded). - --vrf-verification-key-file FILEPATH - Filepath of the VRF verification key. - --vrf-verification-key-hash STRING - VRF verification key hash (hex-encoded). - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate.cli deleted file mode 100644 index feebace602..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate.cli +++ /dev/null @@ -1,28 +0,0 @@ -Usage: cardano-cli latest governance create-mir-certificate - ( ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - | stake-addresses - | transfer-to-treasury - | transfer-to-rewards - ) - - Create an MIR (Move Instantaneous Rewards) certificate - -Available options: - --reserves Use the reserves pot. - --treasury Use the treasury pot. - --stake-address ADDRESS Target stake address (bech32 format). - --reward LOVELACE The reward for the relevant reward account. - --out-file FILEPATH The output file. - -h,--help Show this help text - -Available commands: - stake-addresses Create an MIR certificate to pay stake addresses - transfer-to-treasury Create an MIR certificate to transfer from the - reserves pot to the treasury pot - transfer-to-rewards Create an MIR certificate to transfer from the - treasury pot to the reserves pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_stake-addresses.cli deleted file mode 100644 index e8f0dd41d7..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_stake-addresses.cli +++ /dev/null @@ -1,17 +0,0 @@ -Usage: cardano-cli latest governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - - Create an MIR certificate to pay stake addresses - -Available options: - --reserves Use the reserves pot. - --treasury Use the treasury pot. - --stake-address ADDRESS Target stake address (bech32 format). - --reward LOVELACE The reward for the relevant reward account. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-rewards.cli deleted file mode 100644 index d0d43121f5..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-rewards.cli +++ /dev/null @@ -1,10 +0,0 @@ -Usage: cardano-cli latest governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH - - Create an MIR certificate to transfer from the treasury pot to the reserves - pot - -Available options: - --transfer LOVELACE The amount to transfer. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-treasury.cli deleted file mode 100644 index 9dad1f21ee..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-mir-certificate_transfer-to-treasury.cli +++ /dev/null @@ -1,10 +0,0 @@ -Usage: cardano-cli latest governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH - - Create an MIR certificate to transfer from the reserves pot to the treasury - pot - -Available options: - --transfer LOVELACE The amount to transfer. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-poll.cli deleted file mode 100644 index 9e8bda8108..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_create-poll.cli +++ /dev/null @@ -1,14 +0,0 @@ -Usage: cardano-cli latest governance create-poll --question STRING - (--answer STRING) - [--nonce UINT] - --out-file FILEPATH - - Create an SPO poll - -Available options: - --question STRING The question for the poll. - --answer STRING A possible choice for the poll. The option is - repeatable. - --nonce UINT An (optional) nonce for non-replayability. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_verify-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_verify-poll.cli deleted file mode 100644 index 8e535e017e..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_verify-poll.cli +++ /dev/null @@ -1,12 +0,0 @@ -Usage: cardano-cli latest governance verify-poll --poll-file FILEPATH - --tx-file FILEPATH - [--out-file FILEPATH] - - Verify an answer to a given SPO poll - -Available options: - --poll-file FILEPATH Filepath to the ongoing poll. - --tx-file FILEPATH Filepath to the JSON TxBody or JSON Tx carrying a - valid poll answer. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_view.cli deleted file mode 100644 index 9f804c4d65..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_view.cli +++ /dev/null @@ -1 +0,0 @@ -Command "era transaction view" has been removed. Please use "debug transaction view" instead. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address.cli deleted file mode 100644 index e4032f1df3..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address.cli +++ /dev/null @@ -1,13 +0,0 @@ -Usage: cardano-cli legacy address (key-gen | key-hash | build | info) - - Payment address commands - -Available options: - -h,--help Show this help text - -Available commands: - key-gen Create an address key pair. - key-hash Print the hash of an address key. - build Build a Shelley payment address, with optional - delegation to a stake address. - info Print information about an address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_build.cli deleted file mode 100644 index 6d04249bd4..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_build.cli +++ /dev/null @@ -1,37 +0,0 @@ -Usage: cardano-cli legacy address build - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - | --payment-script-file FILEPATH - ) - [ --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] - - Build a Shelley payment address, with optional delegation to a stake address. - -Available options: - --payment-verification-key STRING - Payment verification key (Bech32-encoded) - --payment-verification-key-file FILEPATH - Filepath of the payment verification key. - --payment-script-file FILEPATH - Filepath of the payment script. - --stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --stake-key-hash HASH Stake verification key hash (hex-encoded). - --stake-script-file FILEPATH - Filepath of the staking script. - --stake-address ADDRESS Target stake address (bech32 format). - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_info.cli deleted file mode 100644 index 33407a597f..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_info.cli +++ /dev/null @@ -1,8 +0,0 @@ -Usage: cardano-cli legacy address info --address ADDRESS [--out-file FILEPATH] - - Print information about an address. - -Available options: - --address ADDRESS A Cardano address - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-gen.cli deleted file mode 100644 index 5e2382090f..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-gen.cli +++ /dev/null @@ -1,23 +0,0 @@ -Usage: cardano-cli legacy address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create an address key pair. - -Available options: - --key-output-format STRING - Optional key output format. Accepted output formats - are "text-envelope" and "bech32" (default is - "text-envelope"). - --normal-key Use a normal Shelley-era key (default). - --extended-key Use an extended ed25519 Shelley-era key. - --byron-key Use a Byron-era key. - --verification-key-file FILEPATH - Output filepath of the verification key. - --signing-key-file FILEPATH - Output filepath of the signing key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-hash.cli deleted file mode 100644 index e7f1945a7b..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_address_key-hash.cli +++ /dev/null @@ -1,15 +0,0 @@ -Usage: cardano-cli legacy address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] - - Print the hash of an address key. - -Available options: - --payment-verification-key STRING - Payment verification key (Bech32-encoded) - --payment-verification-key-file FILEPATH - Filepath of the payment verification key. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_answer-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_answer-poll.cli deleted file mode 100644 index 3e7921918e..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_answer-poll.cli +++ /dev/null @@ -1,12 +0,0 @@ -Usage: cardano-cli legacy governance answer-poll --poll-file FILEPATH - [--answer INT] - [--out-file FILEPATH] - - Answer an SPO poll - -Available options: - --poll-file FILEPATH Filepath to the ongoing poll. - --answer INT The index of the chosen answer in the poll. Optional. - Asked interactively if omitted. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-poll.cli deleted file mode 100644 index 2bacb20048..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_create-poll.cli +++ /dev/null @@ -1,14 +0,0 @@ -Usage: cardano-cli legacy governance create-poll --question STRING - (--answer STRING) - [--nonce UINT] - --out-file FILEPATH - - Create an SPO poll - -Available options: - --question STRING The question for the poll. - --answer STRING A possible choice for the poll. The option is - repeatable. - --nonce UINT An (optional) nonce for non-replayability. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_verify-poll.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_verify-poll.cli deleted file mode 100644 index a51c694ce4..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_governance_verify-poll.cli +++ /dev/null @@ -1,12 +0,0 @@ -Usage: cardano-cli legacy governance verify-poll --poll-file FILEPATH - --tx-file FILEPATH - [--out-file FILEPATH] - - Verify an answer to a given SPO poll - -Available options: - --poll-file FILEPATH Filepath to the ongoing poll. - --tx-file FILEPATH Filepath to the JSON TxBody or JSON Tx carrying a - valid poll answer. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key.cli deleted file mode 100644 index 8e519236bc..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key.cli +++ /dev/null @@ -1,40 +0,0 @@ -Usage: cardano-cli legacy key - ( verification-key - | non-extended-key - | convert-byron-key - | convert-byron-genesis-vkey - | convert-itn-key - | convert-itn-extended-key - | convert-itn-bip32-key - | convert-cardano-address-key - ) - - Key utility commands - -Available options: - -h,--help Show this help text - -Available commands: - verification-key Get a verification key from a signing key. This - supports all key types. - non-extended-key Get a non-extended verification key from an extended - verification key. This supports all extended key - types. - convert-byron-key Convert a Byron payment, genesis or genesis delegate - key (signing or verification) to a corresponding - Shelley-format key. - convert-byron-genesis-vkey - Convert a Base64-encoded Byron genesis verification - key to a Shelley genesis verification key - convert-itn-key Convert an Incentivized Testnet (ITN) non-extended - (Ed25519) signing or verification key to a - corresponding Shelley stake key - convert-itn-extended-key Convert an Incentivized Testnet (ITN) extended - (Ed25519Extended) signing key to a corresponding - Shelley stake signing key - convert-itn-bip32-key Convert an Incentivized Testnet (ITN) BIP32 - (Ed25519Bip32) signing key to a corresponding Shelley - stake signing key - convert-cardano-address-key - Convert a cardano-address extended signing key to a - corresponding Shelley-format key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-genesis-vkey.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-genesis-vkey.cli deleted file mode 100644 index ebda609038..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-genesis-vkey.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli legacy key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH - - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key - -Available options: - --byron-genesis-verification-key BASE64 - Base64 string for the Byron genesis verification key. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-key.cli deleted file mode 100644 index 3d35c17992..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-byron-key.cli +++ /dev/null @@ -1,35 +0,0 @@ -Usage: cardano-cli legacy key convert-byron-key [--password TEXT] - ( --byron-payment-key-type - | --legacy-byron-payment-key-type - | --byron-genesis-key-type - | --legacy-byron-genesis-key-type - | --byron-genesis-delegate-key-type - | --legacy-byron-genesis-delegate-key-type - ) - ( --byron-signing-key-file FILEPATH - | --byron-verification-key-file FILEPATH - ) - --out-file FILEPATH - - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. - -Available options: - --password TEXT Password for signing key (if applicable). - --byron-payment-key-type Use a Byron-era payment key. - --legacy-byron-payment-key-type - Use a Byron-era payment key, in legacy SL format. - --byron-genesis-key-type Use a Byron-era genesis key. - --legacy-byron-genesis-key-type - Use a Byron-era genesis key, in legacy SL format. - --byron-genesis-delegate-key-type - Use a Byron-era genesis delegate key. - --legacy-byron-genesis-delegate-key-type - Use a Byron-era genesis delegate key, in legacy SL - format. - --byron-signing-key-file FILEPATH - Input filepath of the Byron-format signing key. - --byron-verification-key-file FILEPATH - Input filepath of the Byron-format verification key. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-cardano-address-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-cardano-address-key.cli deleted file mode 100644 index 577bb69fd8..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-cardano-address-key.cli +++ /dev/null @@ -1,29 +0,0 @@ -Usage: cardano-cli legacy key convert-cardano-address-key - ( --cc-cold-key - | --cc-hot-key - | --drep-key - | --shelley-payment-key - | --shelley-stake-key - | --icarus-payment-key - | --byron-payment-key - ) - --signing-key-file FILEPATH - --out-file FILEPATH - - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. - -Available options: - --cc-cold-key Use a committee cold key. - --cc-hot-key Use a committee hot key. - --drep-key Use a DRep key. - --shelley-payment-key Use a Shelley-era extended payment key. - --shelley-stake-key Use a Shelley-era extended stake key. - --icarus-payment-key Use a Byron-era extended payment key formatted in the - Icarus style. - --byron-payment-key Use a Byron-era extended payment key formatted in the - deprecated Byron style. - --signing-key-file FILEPATH - Input filepath of the signing key. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-bip32-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-bip32-key.cli deleted file mode 100644 index dba7fb4da5..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-bip32-key.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli legacy key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH - - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key - -Available options: - --itn-signing-key-file FILEPATH - Filepath of the ITN signing key. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-extended-key.cli deleted file mode 100644 index 42fde31a57..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-extended-key.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli legacy key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH - - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key - -Available options: - --itn-signing-key-file FILEPATH - Filepath of the ITN signing key. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-key.cli deleted file mode 100644 index d9e02ece5f..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_convert-itn-key.cli +++ /dev/null @@ -1,16 +0,0 @@ -Usage: cardano-cli legacy key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH - - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key - -Available options: - --itn-signing-key-file FILEPATH - Filepath of the ITN signing key. - --itn-verification-key-file FILEPATH - Filepath of the ITN verification key. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_non-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_non-extended-key.cli deleted file mode 100644 index f437456aff..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_non-extended-key.cli +++ /dev/null @@ -1,12 +0,0 @@ -Usage: cardano-cli legacy key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH - - Get a non-extended verification key from an extended verification key. This - supports all extended key types. - -Available options: - --extended-verification-key-file FILEPATH - Input filepath of the ed25519-bip32 verification key. - --verification-key-file FILEPATH - Output filepath of the verification key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_verification-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_verification-key.cli deleted file mode 100644 index 74f543a911..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_key_verification-key.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli legacy key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH - - Get a verification key from a signing key. This supports all key types. - -Available options: - --signing-key-file FILEPATH - Input filepath of the signing key. - --verification-key-file FILEPATH - Output filepath of the verification key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node.cli deleted file mode 100644 index dc7de45870..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node.cli +++ /dev/null @@ -1,22 +0,0 @@ -Usage: cardano-cli legacy node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) - - Node operation commands - -Available options: - -h,--help Show this help text - -Available commands: - key-gen Create a key pair for a node operator's offline key - and a new certificate issue counter - key-gen-KES Create a key pair for a node KES operational key - key-gen-VRF Create a key pair for a node VRF operational key - key-hash-VRF Print hash of a node's operational VRF key. - new-counter Create a new certificate issue counter - issue-op-cert Issue a node operational certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_issue-op-cert.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_issue-op-cert.cli deleted file mode 100644 index 409fc720d6..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_issue-op-cert.cli +++ /dev/null @@ -1,24 +0,0 @@ -Usage: cardano-cli legacy node issue-op-cert - ( --kes-verification-key STRING - | --kes-verification-key-file FILEPATH - ) - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - --kes-period NATURAL - --out-file FILEPATH - - Issue a node operational certificate - -Available options: - --kes-verification-key STRING - A Bech32 or hex-encoded hot KES verification key. - --kes-verification-key-file FILEPATH - Filepath of the hot KES verification key. - --cold-signing-key-file FILEPATH - Filepath of the cold signing key. - --operational-certificate-issue-counter-file FILEPATH - The file with the issue counter for the operational - certificate. - --kes-period NATURAL The start of the KES key validity period. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-KES.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-KES.cli deleted file mode 100644 index e3ab3b3fbb..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-KES.cli +++ /dev/null @@ -1,16 +0,0 @@ -Usage: cardano-cli legacy node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a key pair for a node KES operational key - -Available options: - --key-output-format STRING - Optional key output format. Accepted output formats - are "text-envelope" and "bech32" (default is - "text-envelope"). - --verification-key-file FILEPATH - Output filepath of the verification key. - --signing-key-file FILEPATH - Output filepath of the signing key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-VRF.cli deleted file mode 100644 index bceaa379e4..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen-VRF.cli +++ /dev/null @@ -1,16 +0,0 @@ -Usage: cardano-cli legacy node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a key pair for a node VRF operational key - -Available options: - --key-output-format STRING - Optional key output format. Accepted output formats - are "text-envelope" and "bech32" (default is - "text-envelope"). - --verification-key-file FILEPATH - Output filepath of the verification key. - --signing-key-file FILEPATH - Output filepath of the signing key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen.cli deleted file mode 100644 index 7d9c53612f..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-gen.cli +++ /dev/null @@ -1,21 +0,0 @@ -Usage: cardano-cli legacy node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - - Create a key pair for a node operator's offline key and a new certificate - issue counter - -Available options: - --key-output-format STRING - Optional key output format. Accepted output formats - are "text-envelope" and "bech32" (default is - "text-envelope"). - --cold-verification-key-file FILEPATH - Filepath of the cold verification key. - --cold-signing-key-file FILEPATH - Filepath of the cold signing key. - --operational-certificate-issue-counter-file FILEPATH - The file with the issue counter for the operational - certificate. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-hash-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-hash-VRF.cli deleted file mode 100644 index 74c2bf089a..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_key-hash-VRF.cli +++ /dev/null @@ -1,15 +0,0 @@ -Usage: cardano-cli legacy node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] - - Print hash of a node's operational VRF key. - -Available options: - --verification-key STRING - Verification key (Bech32 or hex-encoded). - --verification-key-file FILEPATH - Input filepath of the verification key. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_new-counter.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_new-counter.cli deleted file mode 100644 index c55646fa45..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_node_new-counter.cli +++ /dev/null @@ -1,22 +0,0 @@ -Usage: cardano-cli legacy node new-counter - ( --stake-pool-verification-key STRING - | --genesis-delegate-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --counter-value INT - --operational-certificate-issue-counter-file FILEPATH - - Create a new certificate issue counter - -Available options: - --stake-pool-verification-key STRING - Stake pool verification key (Bech32 or hex-encoded). - --genesis-delegate-verification-key STRING - Genesis delegate verification key (hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the cold verification key. - --counter-value INT The next certificate issue counter value to use. - --operational-certificate-issue-counter-file FILEPATH - The file with the issue counter for the operational - certificate. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query.cli deleted file mode 100644 index 20cf8c21fb..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query.cli +++ /dev/null @@ -1,49 +0,0 @@ -Usage: cardano-cli legacy query - ( protocol-parameters - | tip - | stake-pools - | stake-distribution - | stake-address-info - | utxo - | ledger-state - | protocol-state - | stake-snapshot - | leadership-schedule - | kes-period-info - | pool-state - | tx-mempool - | slot-number - ) - - Node query commands. Will query the local node whose Unix domain socket is - obtained from the CARDANO_NODE_SOCKET_PATH environment variable. - -Available options: - -h,--help Show this help text - -Available commands: - protocol-parameters Get the node's current protocol parameters - tip Get the node's current tip (slot no, hash, block no) - stake-pools Get the node's current set of stake pool ids - stake-distribution Get the node's current aggregated stake distribution - stake-address-info Get the current delegations and reward accounts - filtered by stake address. - utxo Get a portion of the current UTxO: by tx in, by - address or the whole. - ledger-state Dump the current ledger state of the node - (Ledger.NewEpochState -- advanced command) - protocol-state Dump the current protocol state of the node - (Ledger.ChainDepState -- advanced command) - stake-snapshot Obtain the three stake snapshots for a pool, plus the - total active stake (advanced command) - pool-params DEPRECATED. Use query pool-state instead. Dump the - pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams - -- advanced command) - leadership-schedule Get the slots the node is expected to mint a block in - (advanced command) - kes-period-info Get information about the current KES period and your - node's operational certificate. - pool-state Dump the pool state - tx-mempool Local Mempool info - slot-number Query slot number for UTC timestamp diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_kes-period-info.cli deleted file mode 100644 index 5e7a19ef30..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_kes-period-info.cli +++ /dev/null @@ -1,29 +0,0 @@ -Usage: cardano-cli legacy query kes-period-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --op-cert-file FILEPATH - [--out-file FILEPATH] - - Get information about the current KES period and your node's operational - certificate. - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --op-cert-file FILEPATH Filepath of the node's operational certificate. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_leadership-schedule.cli deleted file mode 100644 index b86509ab05..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_leadership-schedule.cli +++ /dev/null @@ -1,52 +0,0 @@ -Usage: cardano-cli legacy query leadership-schedule --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --genesis FILEPATH - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --vrf-signing-key-file FILEPATH - (--current | --next) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - - Get the slots the node is expected to mint a block in (advanced command) - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --genesis FILEPATH Shelley genesis filepath - --stake-pool-verification-key STRING - Stake pool verification key (Bech32 or hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the stake pool verification key. - --stake-pool-id STAKE_POOL_ID - Stake pool ID/verification key hash (either - Bech32-encoded or hex-encoded). - --vrf-signing-key-file FILEPATH - Input filepath of the VRF signing key. - --current Get the leadership schedule for the current epoch. - --next Get the leadership schedule for the following epoch. - --output-json Format leadership-schedule query output to JSON. - Default format when writing to a file - --output-text Format leadership-schedule query output to TEXT. - Default format when writing to stdout - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_ledger-state.cli deleted file mode 100644 index 7c6cdeffae..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_ledger-state.cli +++ /dev/null @@ -1,27 +0,0 @@ -Usage: cardano-cli legacy query ledger-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] - - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-params.cli deleted file mode 100644 index 8c0bde6e6e..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-params.cli +++ /dev/null @@ -1,35 +0,0 @@ -Usage: cardano-cli legacy query pool-params --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] - - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced - command) - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --all-stake-pools Query for all stake pools - --stake-pool-id STAKE_POOL_ID - Stake pool ID/verification key hash (either - Bech32-encoded or hex-encoded). - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-state.cli deleted file mode 100644 index a2620751c5..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_pool-state.cli +++ /dev/null @@ -1,33 +0,0 @@ -Usage: cardano-cli legacy query pool-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] - - Dump the pool state - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --all-stake-pools Query for all stake pools - --stake-pool-id STAKE_POOL_ID - Stake pool ID/verification key hash (either - Bech32-encoded or hex-encoded). - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-parameters.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-parameters.cli deleted file mode 100644 index 0fa4bf6b16..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-parameters.cli +++ /dev/null @@ -1,26 +0,0 @@ -Usage: cardano-cli legacy query protocol-parameters --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] - - Get the node's current protocol parameters - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-state.cli deleted file mode 100644 index 141d187a60..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_protocol-state.cli +++ /dev/null @@ -1,27 +0,0 @@ -Usage: cardano-cli legacy query protocol-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] - - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_slot-number.cli deleted file mode 100644 index 35ceb97fbb..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_slot-number.cli +++ /dev/null @@ -1,26 +0,0 @@ -Usage: cardano-cli legacy query slot-number --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - TIMESTAMP - - Query slot number for UTC timestamp - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - TIMESTAMP UTC timestamp in YYYY-MM-DDThh:mm:ssZ format - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-address-info.cli deleted file mode 100644 index af4befd91f..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-address-info.cli +++ /dev/null @@ -1,28 +0,0 @@ -Usage: cardano-cli legacy query stake-address-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - --address ADDRESS - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] - - Get the current delegations and reward accounts filtered by stake address. - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --address ADDRESS Filter by Cardano stake address (Bech32-encoded). - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-distribution.cli deleted file mode 100644 index 2494482cc3..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-distribution.cli +++ /dev/null @@ -1,33 +0,0 @@ -Usage: cardano-cli legacy query stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - - Get the node's current aggregated stake distribution - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --output-json Format stake-distribution query output to JSON. - Default format when writing to a file - --output-text Format stake-distribution query output to TEXT. - Default format when writing to stdout - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-pools.cli deleted file mode 100644 index f874bb252d..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-pools.cli +++ /dev/null @@ -1,31 +0,0 @@ -Usage: cardano-cli legacy query stake-pools --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--output-json | --output-text] - [--out-file FILEPATH] - - Get the node's current set of stake pool ids - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --output-json Format stake-pools query output to JSON. Default - format when writing to a file - --output-text Format stake-pools query output to TEXT. Default - format when writing to stdout - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-snapshot.cli deleted file mode 100644 index 4920c20ff4..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_stake-snapshot.cli +++ /dev/null @@ -1,34 +0,0 @@ -Usage: cardano-cli legacy query stake-snapshot --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] - - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --all-stake-pools Query for all stake pools - --stake-pool-id STAKE_POOL_ID - Stake pool ID/verification key hash (either - Bech32-encoded or hex-encoded). - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tip.cli deleted file mode 100644 index 05528afd34..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tip.cli +++ /dev/null @@ -1,23 +0,0 @@ -Usage: cardano-cli legacy query tip --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] - - Get the node's current tip (slot no, hash, block no) - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool.cli deleted file mode 100644 index 2fc954e14f..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool.cli +++ /dev/null @@ -1,35 +0,0 @@ -Usage: cardano-cli legacy query tx-mempool --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - (info | next-tx | tx-exists) - [--out-file FILEPATH] - - Local Mempool info - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text - -Available commands: - info Ask the node about the current mempool's capacity and - sizes - next-tx Requests the next transaction from the mempool's - current list - tx-exists Query if a particular transaction exists in the - mempool diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_info.cli deleted file mode 100644 index 416fddeada..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_info.cli +++ /dev/null @@ -1,12 +0,0 @@ -Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) - -Usage: cardano-cli legacy query tx-mempool --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - (info | next-tx | tx-exists) - [--out-file FILEPATH] - - Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_next-tx.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_next-tx.cli deleted file mode 100644 index 416fddeada..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_next-tx.cli +++ /dev/null @@ -1,12 +0,0 @@ -Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) - -Usage: cardano-cli legacy query tx-mempool --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - (info | next-tx | tx-exists) - [--out-file FILEPATH] - - Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_tx-exists_TX_ID.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_tx-exists_TX_ID.cli deleted file mode 100644 index 416fddeada..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_tx-mempool_tx-exists_TX_ID.cli +++ /dev/null @@ -1,12 +0,0 @@ -Missing: --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) - -Usage: cardano-cli legacy query tx-mempool --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - (info | next-tx | tx-exists) - [--out-file FILEPATH] - - Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_utxo.cli deleted file mode 100644 index 5646a5b4ea..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_query_utxo.cli +++ /dev/null @@ -1,36 +0,0 @@ -Usage: cardano-cli legacy query utxo --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - ( --whole-utxo - | (--address ADDRESS) - | (--tx-in TX-IN) - ) - (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] - [--out-file FILEPATH] - - Get a portion of the current UTxO: by tx in, by address or the whole. - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --whole-utxo Return the whole UTxO (only appropriate on small - testnets). - --address ADDRESS Filter by Cardano address(es) (Bech32-encoded). - --tx-in TX-IN Filter by transaction input (TxId#TxIx). - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --output-json Format utxo query output to JSON. Default format when - writing to a file - --output-text Format utxo query output to TEXT. Default format when - writing to stdout - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address.cli deleted file mode 100644 index 4ffe5092c2..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address.cli +++ /dev/null @@ -1,22 +0,0 @@ -Usage: cardano-cli legacy stake-address - ( key-gen - | build - | key-hash - | registration-certificate - | deregistration-certificate - | delegation-certificate - ) - - Stake address commands - -Available options: - -h,--help Show this help text - -Available commands: - key-gen Create a stake address key pair - build Build a stake address - key-hash Print the hash of a stake address key. - registration-certificate Create a stake address registration certificate - deregistration-certificate - Create a stake address deregistration certificate - delegation-certificate Create a stake address pool delegation certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_build.cli deleted file mode 100644 index 616343120a..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_build.cli +++ /dev/null @@ -1,27 +0,0 @@ -Usage: cardano-cli legacy stake-address build - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - ) - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] - - Build a stake address - -Available options: - --stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --stake-key-hash HASH Stake verification key hash (hex-encoded). - --stake-script-file FILEPATH - Filepath of the staking script. - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_delegation-certificate.cli deleted file mode 100644 index 9a4cc7cedf..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_delegation-certificate.cli +++ /dev/null @@ -1,51 +0,0 @@ -Usage: cardano-cli legacy stake-address delegation-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --out-file FILEPATH - - Create a stake address pool delegation certificate - -Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era - --stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --stake-key-hash HASH Stake verification key hash (hex-encoded). - --stake-script-file FILEPATH - Filepath of the staking script. - --stake-address ADDRESS Target stake address (bech32 format). - --stake-pool-verification-key STRING - Stake pool verification key (Bech32 or hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the stake pool verification key. - --stake-pool-id STAKE_POOL_ID - Stake pool ID/verification key hash (either - Bech32-encoded or hex-encoded). - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_deregistration-certificate.cli deleted file mode 100644 index b2d603ee73..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_deregistration-certificate.cli +++ /dev/null @@ -1,43 +0,0 @@ -Usage: cardano-cli legacy stake-address deregistration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - [--key-reg-deposit-amt NATURAL] - --out-file FILEPATH - - Create a stake address deregistration certificate - -Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era - --stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --stake-key-hash HASH Stake verification key hash (hex-encoded). - --stake-script-file FILEPATH - Filepath of the staking script. - --stake-address ADDRESS Target stake address (bech32 format). - --key-reg-deposit-amt NATURAL - Key registration deposit amount. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-gen.cli deleted file mode 100644 index 71e3b8aeeb..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-gen.cli +++ /dev/null @@ -1,16 +0,0 @@ -Usage: cardano-cli legacy stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a stake address key pair - -Available options: - --key-output-format STRING - Optional key output format. Accepted output formats - are "text-envelope" and "bech32" (default is - "text-envelope"). - --verification-key-file FILEPATH - Output filepath of the verification key. - --signing-key-file FILEPATH - Output filepath of the signing key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-hash.cli deleted file mode 100644 index ef22bafe5e..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_key-hash.cli +++ /dev/null @@ -1,15 +0,0 @@ -Usage: cardano-cli legacy stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] - - Print the hash of a stake address key. - -Available options: - --stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_registration-certificate.cli deleted file mode 100644 index 717af0958f..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-address_registration-certificate.cli +++ /dev/null @@ -1,43 +0,0 @@ -Usage: cardano-cli legacy stake-address registration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - [--key-reg-deposit-amt NATURAL] - --out-file FILEPATH - - Create a stake address registration certificate - -Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era - --stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --stake-key-hash HASH Stake verification key hash (hex-encoded). - --stake-script-file FILEPATH - Filepath of the staking script. - --stake-address ADDRESS Target stake address (bech32 format). - --key-reg-deposit-amt NATURAL - Key registration deposit amount. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool.cli deleted file mode 100644 index 26e7d76bbe..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool.cli +++ /dev/null @@ -1,18 +0,0 @@ -Usage: cardano-cli legacy stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) - - Stake pool commands - -Available options: - -h,--help Show this help text - -Available commands: - registration-certificate Create a stake pool registration certificate - deregistration-certificate - Create a stake pool deregistration certificate - id Build pool id from the offline key - metadata-hash Print the hash of pool metadata. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_deregistration-certificate.cli deleted file mode 100644 index 6e33b843fd..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_deregistration-certificate.cli +++ /dev/null @@ -1,35 +0,0 @@ -Usage: cardano-cli legacy stake-pool deregistration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --epoch NATURAL - --out-file FILEPATH - - Create a stake pool deregistration certificate - -Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era - --stake-pool-verification-key STRING - Stake pool verification key (Bech32 or hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the stake pool verification key. - --epoch NATURAL The epoch number. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_id.cli deleted file mode 100644 index 6d3929c93c..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_id.cli +++ /dev/null @@ -1,18 +0,0 @@ -Usage: cardano-cli legacy stake-pool id - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] - - Build pool id from the offline key - -Available options: - --stake-pool-verification-key STRING - Stake pool verification key (Bech32 or hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the stake pool verification key. - --output-format STRING Optional pool id output format. Accepted output - formats are "hex" and "bech32" (default is "bech32"). - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_metadata-hash.cli deleted file mode 100644 index 8a215aeb56..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_metadata-hash.cli +++ /dev/null @@ -1,10 +0,0 @@ -Usage: cardano-cli legacy stake-pool metadata-hash --pool-metadata-file FILEPATH - [--out-file FILEPATH] - - Print the hash of pool metadata. - -Available options: - --pool-metadata-file FILEPATH - Filepath of the pool metadata. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_registration-certificate.cli deleted file mode 100644 index 2353b60ec3..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_stake-pool_registration-certificate.cli +++ /dev/null @@ -1,91 +0,0 @@ -Usage: cardano-cli legacy stake-pool registration-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH - - Create a stake pool registration certificate - -Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era - --stake-pool-verification-key STRING - Stake pool verification key (Bech32 or hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the stake pool verification key. - --vrf-verification-key STRING - VRF verification key (Bech32 or hex-encoded). - --vrf-verification-key-file FILEPATH - Filepath of the VRF verification key. - --pool-pledge LOVELACE The stake pool's pledge. - --pool-cost LOVELACE The stake pool's cost. - --pool-margin RATIONAL The stake pool's margin. - --pool-reward-account-verification-key STRING - Reward account stake verification key (Bech32 or - hex-encoded). - --pool-reward-account-verification-key-file FILEPATH - Filepath of the reward account stake verification - key. - --pool-owner-verification-key STRING - Pool owner stake verification key (Bech32 or - hex-encoded). - --pool-owner-stake-verification-key-file FILEPATH - Filepath of the pool owner stake verification key. - --pool-relay-ipv4 STRING The stake pool relay's IPv4 address - --pool-relay-ipv6 STRING The stake pool relay's IPv6 address - --pool-relay-port INT The stake pool relay's port - --single-host-pool-relay STRING - The stake pool relay's DNS name that corresponds to - an A or AAAA DNS record - --pool-relay-port INT The stake pool relay's port - --multi-host-pool-relay STRING - The stake pool relay's DNS name that corresponds to - an SRV DNS record - --metadata-url URL Pool metadata URL (maximum length of 64 characters). - --metadata-hash HASH Pool metadata hash. - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_text-view_decode-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_text-view_decode-cbor.cli deleted file mode 100644 index fe0f5a1624..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_text-view_decode-cbor.cli +++ /dev/null @@ -1,9 +0,0 @@ -Usage: cardano-cli legacy text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] - - Print a TextView file as decoded CBOR. - -Available options: - --in-file FILEPATH CBOR input file. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction.cli deleted file mode 100644 index 5b37f152d1..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction.cli +++ /dev/null @@ -1,41 +0,0 @@ -Usage: cardano-cli legacy transaction - ( build-raw - | build - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - ) - - Transaction commands - -Available options: - -h,--help Show this help text - -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 - 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 - sign Sign a transaction - witness Create a transaction witness - assemble Assemble a tx body and witness(es) to form a - transaction - submit Submit a transaction to the local node whose Unix - domain socket is obtained from the - CARDANO_NODE_SOCKET_PATH environment variable. - policyid Calculate the PolicyId from the monetary policy - script. - calculate-min-fee Calculate the minimum fee for a transaction. - calculate-min-required-utxo - Calculate the minimum required UTxO for a transaction - output. - hash-script-data Calculate the hash of script data. - txid Print a transaction identifier. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_assemble.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_assemble.cli deleted file mode 100644 index 33e3cf92e5..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_assemble.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli legacy transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH - - Assemble a tx body and witness(es) to form a transaction - -Available options: - --tx-body-file FILEPATH Input filepath of the JSON TxBody. - --witness-file FILEPATH Filepath of the witness - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli deleted file mode 100644 index 8327729c70..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build-raw.cli +++ /dev/null @@ -1,420 +0,0 @@ -Usage: cardano-cli legacy transaction build-raw - [ --byron-era - | --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - [ --script-valid - | --script-invalid - ] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - --spending-reference-tx-in-execution-units (INT, INT) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - ) - --tx-in-execution-units (INT, INT)] - ]) - [--read-only-tx-in-reference TX-IN] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - [--mint VALUE - ( --mint-script-file FILEPATH - [ - ( --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ) - --mint-execution-units (INT, INT)] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --mint-reference-tx-in-execution-units (INT, INT) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - --fee LOVELACE - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ - ( --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ) - --certificate-execution-units (INT, INT)] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - --certificate-reference-tx-in-execution-units (INT, INT) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ - ( --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ) - --withdrawal-execution-units (INT, INT)] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - --withdrawal-reference-tx-in-execution-units (INT, INT) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--protocol-params-file FILEPATH] - [--update-proposal-file FILEPATH] - --out-file FILEPATH - - Build a transaction (low-level, inconvenient) - - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Available options: - --byron-era Specify the Byron era - DEPRECATED - will be removed - in the future - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --script-valid Assertion that the script is valid. (default) - --script-invalid Assertion that the script is invalid. If a - transaction is submitted with such a script, the - script will fail and the collateral will be taken. - --tx-in TX-IN TxId#TxIx - --spending-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --spending-plutus-script-v2 - Specify a plutus script v2 reference script. - --spending-plutus-script-v3 - Specify a plutus script v3 reference script. - --spending-reference-tx-in-datum-cbor-file CBOR_FILE - The script datum file. The file has to be in CBOR - format. - --spending-reference-tx-in-datum-file JSON_FILE - The script datum file. The file must follow the - detailed JSON schema for script data. - --spending-reference-tx-in-datum-value JSON_VALUE - The script datum. There is no schema: (almost) any - JSON value is supported, including top-level strings - and numbers. - --spending-reference-tx-in-inline-datum-present - Inline datum present at transaction input. - --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --spending-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --spending-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --spending-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --simple-script-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a simple reference script attached. - --tx-in-script-file FILEPATH - The file containing the script to witness the - spending of the transaction input. - --tx-in-datum-cbor-file CBOR_FILE - The script datum file. The file has to be in CBOR - format. - --tx-in-datum-file JSON_FILE - The script datum file. The file must follow the - detailed JSON schema for script data. - --tx-in-datum-value JSON_VALUE - The script datum. There is no schema: (almost) any - JSON value is supported, including top-level strings - and numbers. - --tx-in-inline-datum-present - Inline datum present at transaction input. - --tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --read-only-tx-in-reference TX-IN - Specify a read only reference input. This reference - input is not witnessing anything it is simply - provided in the plutus script context. - --tx-in-collateral TX-IN TxId#TxIx - --tx-out-return-collateral ADDRESS VALUE - The transaction output as ADDRESS VALUE where ADDRESS - is the Bech32-encoded address followed by the value - in Lovelace. In the situation where your collateral - txin over collateralizes the transaction, you can - optionally specify a tx out of your choosing to - return the excess Lovelace. - --tx-total-collateral INTEGER - The total amount of collateral that will be collected - as fees in the event of a Plutus script failure. Must - be used in conjuction with - "--tx-out-return-collateral". - --required-signer FILEPATH - Input filepath of the signing key (zero or more) - whose signature is required. - --required-signer-hash HASH - Hash of the verification key (zero or more) whose - signature is required. - --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS - is the Bech32-encoded address followed by the value - in the multi-asset syntax (including simply - Lovelace). - --tx-out-datum-hash HASH The script datum hash for this tx output, as the raw - datum hash (in hex). - --tx-out-datum-hash-cbor-file CBOR_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file has to be in - CBOR format. - --tx-out-datum-hash-file JSON_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file must follow - the detailed JSON schema for script data. - --tx-out-datum-hash-value JSON_VALUE - The script datum hash for this tx output, by hashing - the script datum given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-datum-embed-cbor-file CBOR_FILE - The script datum to embed in the tx for this output, - in the given file. The file has to be in CBOR format. - --tx-out-datum-embed-file JSON_FILE - The script datum to embed in the tx for this output, - in the given file. The file must follow the detailed - JSON schema for script data. - --tx-out-datum-embed-value JSON_VALUE - The script datum to embed in the tx for this output, - given here. There is no schema: (almost) any JSON - value is supported, including top-level strings and - numbers. - --tx-out-inline-datum-cbor-file CBOR_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file has to be - in CBOR format. - --tx-out-inline-datum-file JSON_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file must follow - the detailed JSON schema for script data. - --tx-out-inline-datum-value JSON_VALUE - The script datum to embed in the tx output as an - inline datum, given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-reference-script-file FILEPATH - Reference script input file. - --mint VALUE Mint multi-asset value(s) with the multi-asset cli - syntax. You must specify a script witness. - --mint-script-file FILEPATH - The file containing the script to witness the minting - of assets for a particular policy Id. - --mint-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --mint-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --mint-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --mint-execution-units (INT, INT) - The time and space units needed by the script. - --simple-minting-script-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a simple reference script attached. - --policy-id HASH Policy id of minting script. - --mint-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --mint-plutus-script-v2 Specify a plutus script v2 reference script. - --mint-plutus-script-v3 Specify a plutus script v3 reference script. - --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --mint-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --mint-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --mint-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --policy-id HASH Policy id of minting script. - --invalid-before SLOT Time that transaction is valid from (in slots). - --invalid-hereafter SLOT Time that transaction is valid until (in slots). - --fee LOVELACE The fee amount in Lovelace. - --certificate-file FILEPATH - Filepath of the certificate. This encompasses all - types of certificates (stake pool certificates, stake - key certificates etc). Optionally specify a script - witness. - --certificate-script-file FILEPATH - The file containing the script to witness the use of - the certificate. - --certificate-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --certificate-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --certificate-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --certificate-execution-units (INT, INT) - The time and space units needed by the script. - --certificate-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --certificate-plutus-script-v2 - Specify a plutus script v2 reference script. - --certificate-plutus-script-v3 - Specify a plutus script v3 reference script. - --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --certificate-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --certificate-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --certificate-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --withdrawal WITHDRAWAL The reward withdrawal as StakeAddress+Lovelace where - StakeAddress is the Bech32-encoded stake address - followed by the amount in Lovelace. Optionally - specify a script witness. - --withdrawal-script-file FILEPATH - The file containing the script to witness the - withdrawal of rewards. - --withdrawal-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --withdrawal-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --withdrawal-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --withdrawal-execution-units (INT, INT) - The time and space units needed by the script. - --withdrawal-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --withdrawal-plutus-script-v2 - Specify a plutus script v2 reference script. - --withdrawal-plutus-script-v3 - Specify a plutus script v3 reference script. - --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --withdrawal-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --withdrawal-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --json-metadata-no-schema - Use the "no schema" conversion from JSON to tx - metadata (default). - --json-metadata-detailed-schema - Use the "detailed schema" conversion from JSON to tx - metadata. - --auxiliary-script-file FILEPATH - Filepath of auxiliary script(s) - --metadata-json-file FILEPATH - Filepath of the metadata file, in JSON format. - --metadata-cbor-file FILEPATH - Filepath of the metadata, in raw CBOR format. - --protocol-params-file FILEPATH - Filepath of the JSON-encoded protocol parameters file - --update-proposal-file FILEPATH - Filepath of the update proposal. - --out-file FILEPATH Output filepath of the JSON TxBody. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli deleted file mode 100644 index 59123febbc..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_build.cli +++ /dev/null @@ -1,483 +0,0 @@ -Usage: cardano-cli legacy transaction build --socket-path SOCKET_PATH - [--babbage-era | --conway-era] - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --script-valid - | --script-invalid - ] - [--witness-override WORD] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - )] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--update-proposal-file FILEPATH] - [--vote-file FILEPATH - [ --vote-script-file FILEPATH - [ --vote-redeemer-cbor-file CBOR_FILE - | --vote-redeemer-file JSON_FILE - | --vote-redeemer-value JSON_VALUE - ] - | --vote-tx-in-reference TX-IN - --vote-plutus-script-v3 - ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --vote-reference-tx-in-redeemer-file JSON_FILE - | --vote-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--proposal-file FILEPATH - [ --proposal-script-file FILEPATH - [ --proposal-redeemer-cbor-file CBOR_FILE - | --proposal-redeemer-file JSON_FILE - | --proposal-redeemer-value JSON_VALUE - ] - | --proposal-tx-in-reference TX-IN - --proposal-plutus-script-v3 - ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --proposal-reference-tx-in-redeemer-file JSON_FILE - | --proposal-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--treasury-donation LOVELACE] - ( --out-file FILEPATH - | --calculate-plutus-script-cost FILEPATH - ) - - Build a balanced transaction (automatically calculates fees) - - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --script-valid Assertion that the script is valid. (default) - --script-invalid Assertion that the script is invalid. If a - transaction is submitted with such a script, the - script will fail and the collateral will be taken. - --witness-override WORD Specify and override the number of witnesses the - transaction requires. - --tx-in TX-IN TxId#TxIx - --spending-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --spending-plutus-script-v2 - Specify a plutus script v2 reference script. - --spending-plutus-script-v3 - Specify a plutus script v3 reference script. - --spending-reference-tx-in-datum-cbor-file CBOR_FILE - The script datum file. The file has to be in CBOR - format. - --spending-reference-tx-in-datum-file JSON_FILE - The script datum file. The file must follow the - detailed JSON schema for script data. - --spending-reference-tx-in-datum-value JSON_VALUE - The script datum. There is no schema: (almost) any - JSON value is supported, including top-level strings - and numbers. - --spending-reference-tx-in-inline-datum-present - Inline datum present at transaction input. - --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --spending-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --spending-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --simple-script-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a simple reference script attached. - --tx-in-script-file FILEPATH - The file containing the script to witness the - spending of the transaction input. - --tx-in-datum-cbor-file CBOR_FILE - The script datum file. The file has to be in CBOR - format. - --tx-in-datum-file JSON_FILE - The script datum file. The file must follow the - detailed JSON schema for script data. - --tx-in-datum-value JSON_VALUE - The script datum. There is no schema: (almost) any - JSON value is supported, including top-level strings - and numbers. - --tx-in-inline-datum-present - Inline datum present at transaction input. - --tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --read-only-tx-in-reference TX-IN - Specify a read only reference input. This reference - input is not witnessing anything it is simply - provided in the plutus script context. - --required-signer FILEPATH - Input filepath of the signing key (zero or more) - whose signature is required. - --required-signer-hash HASH - Hash of the verification key (zero or more) whose - signature is required. - --tx-in-collateral TX-IN TxId#TxIx - --tx-out-return-collateral ADDRESS VALUE - The transaction output as ADDRESS VALUE where ADDRESS - is the Bech32-encoded address followed by the value - in Lovelace. In the situation where your collateral - txin over collateralizes the transaction, you can - optionally specify a tx out of your choosing to - return the excess Lovelace. - --tx-total-collateral INTEGER - The total amount of collateral that will be collected - as fees in the event of a Plutus script failure. Must - be used in conjuction with - "--tx-out-return-collateral". - --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS - is the Bech32-encoded address followed by the value - in the multi-asset syntax (including simply - Lovelace). - --tx-out-datum-hash HASH The script datum hash for this tx output, as the raw - datum hash (in hex). - --tx-out-datum-hash-cbor-file CBOR_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file has to be in - CBOR format. - --tx-out-datum-hash-file JSON_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file must follow - the detailed JSON schema for script data. - --tx-out-datum-hash-value JSON_VALUE - The script datum hash for this tx output, by hashing - the script datum given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-datum-embed-cbor-file CBOR_FILE - The script datum to embed in the tx for this output, - in the given file. The file has to be in CBOR format. - --tx-out-datum-embed-file JSON_FILE - The script datum to embed in the tx for this output, - in the given file. The file must follow the detailed - JSON schema for script data. - --tx-out-datum-embed-value JSON_VALUE - The script datum to embed in the tx for this output, - given here. There is no schema: (almost) any JSON - value is supported, including top-level strings and - numbers. - --tx-out-inline-datum-cbor-file CBOR_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file has to be - in CBOR format. - --tx-out-inline-datum-file JSON_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file must follow - the detailed JSON schema for script data. - --tx-out-inline-datum-value JSON_VALUE - The script datum to embed in the tx output as an - inline datum, given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-reference-script-file FILEPATH - Reference script input file. - --change-address ADDRESS Address where ADA in excess of the tx fee will go to. - --mint VALUE Mint multi-asset value(s) with the multi-asset cli - syntax. You must specify a script witness. - --mint-script-file FILEPATH - The file containing the script to witness the minting - of assets for a particular policy Id. - --mint-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --mint-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --mint-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --simple-minting-script-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a simple reference script attached. - --policy-id HASH Policy id of minting script. - --mint-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --mint-plutus-script-v2 Specify a plutus script v2 reference script. - --mint-plutus-script-v3 Specify a plutus script v3 reference script. - --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --mint-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --mint-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --policy-id HASH Policy id of minting script. - --invalid-before SLOT Time that transaction is valid from (in slots). - --invalid-hereafter SLOT Time that transaction is valid until (in slots). - --certificate-file FILEPATH - Filepath of the certificate. This encompasses all - types of certificates (stake pool certificates, stake - key certificates etc). Optionally specify a script - witness. - --certificate-script-file FILEPATH - The file containing the script to witness the use of - the certificate. - --certificate-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --certificate-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --certificate-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --certificate-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --certificate-plutus-script-v2 - Specify a plutus script v2 reference script. - --certificate-plutus-script-v3 - Specify a plutus script v3 reference script. - --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --certificate-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --certificate-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --withdrawal WITHDRAWAL The reward withdrawal as StakeAddress+Lovelace where - StakeAddress is the Bech32-encoded stake address - followed by the amount in Lovelace. Optionally - specify a script witness. - --withdrawal-script-file FILEPATH - The file containing the script to witness the - withdrawal of rewards. - --withdrawal-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --withdrawal-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --withdrawal-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --withdrawal-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --withdrawal-plutus-script-v2 - Specify a plutus script v2 reference script. - --withdrawal-plutus-script-v3 - Specify a plutus script v3 reference script. - --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --withdrawal-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --json-metadata-no-schema - Use the "no schema" conversion from JSON to tx - metadata (default). - --json-metadata-detailed-schema - Use the "detailed schema" conversion from JSON to tx - metadata. - --auxiliary-script-file FILEPATH - Filepath of auxiliary script(s) - --metadata-json-file FILEPATH - Filepath of the metadata file, in JSON format. - --metadata-cbor-file FILEPATH - Filepath of the metadata, in raw CBOR format. - --update-proposal-file FILEPATH - Filepath of the update proposal. - --vote-file FILEPATH Filepath of the vote. - --vote-script-file FILEPATH - The file containing the script to witness a vote - --vote-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --vote-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --vote-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --vote-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --vote-plutus-script-v3 Specify a plutus script v3 reference script. - --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --vote-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --vote-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --proposal-file FILEPATH Filepath of the proposal. - --proposal-script-file FILEPATH - The file containing the script to witness a proposal - --proposal-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --proposal-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --proposal-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --proposal-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --proposal-plutus-script-v3 - Specify a plutus script v3 reference script. - --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --proposal-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --proposal-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --treasury-donation LOVELACE - The donation to the treasury to perform. - --out-file FILEPATH Output filepath of the JSON TxBody. - --calculate-plutus-script-cost FILEPATH - Where to write the script cost information. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli deleted file mode 100644 index df588c9f99..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli +++ /dev/null @@ -1,37 +0,0 @@ -Usage: cardano-cli legacy transaction calculate-min-fee --tx-body-file FILEPATH - --protocol-params-file FILEPATH - --witness-count NATURAL - [--byron-witness-count NATURAL] - [--reference-script-size NATURAL] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - [ --mainnet - | --testnet-magic NATURAL - ] - [--tx-in-count NATURAL] - [--tx-out-count NATURAL] - - Calculate the minimum fee for a transaction. - -Available options: - --tx-body-file FILEPATH Input filepath of the JSON TxBody. - --protocol-params-file FILEPATH - Filepath of the JSON-encoded protocol parameters file - --witness-count NATURAL The number of Shelley key witnesses. - --byron-witness-count NATURAL - The number of Byron key witnesses (default is 0). - --reference-script-size NATURAL - Total size in bytes of transaction reference scripts - (default is 0). - --output-json Format calculate-min-fee query output to JSON. - Default format when writing to a file - --output-text Format calculate-min-fee query output to TEXT. - Default format when writing to stdout - --out-file FILEPATH The output file. - --mainnet DEPRECATED. This argument has no effect. - --testnet-magic NATURAL DEPRECATED. This argument has no effect. - --tx-in-count NATURAL DEPRECATED. This argument has no effect. - --tx-out-count NATURAL DEPRECATED. This argument has no effect. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-required-utxo.cli deleted file mode 100644 index 4dd014c395..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-required-utxo.cli +++ /dev/null @@ -1,86 +0,0 @@ -Usage: cardano-cli legacy transaction calculate-min-required-utxo - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] - - Calculate the minimum required UTxO for a transaction output. - -Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era - --protocol-params-file FILEPATH - Filepath of the JSON-encoded protocol parameters file - --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS - is the Bech32-encoded address followed by the value - in the multi-asset syntax (including simply - Lovelace). - --tx-out-datum-hash HASH The script datum hash for this tx output, as the raw - datum hash (in hex). - --tx-out-datum-hash-cbor-file CBOR_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file has to be in - CBOR format. - --tx-out-datum-hash-file JSON_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file must follow - the detailed JSON schema for script data. - --tx-out-datum-hash-value JSON_VALUE - The script datum hash for this tx output, by hashing - the script datum given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-datum-embed-cbor-file CBOR_FILE - The script datum to embed in the tx for this output, - in the given file. The file has to be in CBOR format. - --tx-out-datum-embed-file JSON_FILE - The script datum to embed in the tx for this output, - in the given file. The file must follow the detailed - JSON schema for script data. - --tx-out-datum-embed-value JSON_VALUE - The script datum to embed in the tx for this output, - given here. There is no schema: (almost) any JSON - value is supported, including top-level strings and - numbers. - --tx-out-inline-datum-cbor-file CBOR_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file has to be - in CBOR format. - --tx-out-inline-datum-file JSON_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file must follow - the detailed JSON schema for script data. - --tx-out-inline-datum-value JSON_VALUE - The script datum to embed in the tx output as an - inline datum, given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-reference-script-file FILEPATH - Reference script input file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-value.cli deleted file mode 100644 index e75c8bea16..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-value.cli +++ /dev/null @@ -1,85 +0,0 @@ -Usage: cardano-cli legacy transaction calculate-min-value - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] - - DEPRECATED: Use 'calculate-min-required-utxo' instead. - -Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era - --protocol-params-file FILEPATH - Filepath of the JSON-encoded protocol parameters file - --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS - is the Bech32-encoded address followed by the value - in the multi-asset syntax (including simply - Lovelace). - --tx-out-datum-hash HASH The script datum hash for this tx output, as the raw - datum hash (in hex). - --tx-out-datum-hash-cbor-file CBOR_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file has to be in - CBOR format. - --tx-out-datum-hash-file JSON_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file must follow - the detailed JSON schema for script data. - --tx-out-datum-hash-value JSON_VALUE - The script datum hash for this tx output, by hashing - the script datum given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-datum-embed-cbor-file CBOR_FILE - The script datum to embed in the tx for this output, - in the given file. The file has to be in CBOR format. - --tx-out-datum-embed-file JSON_FILE - The script datum to embed in the tx for this output, - in the given file. The file must follow the detailed - JSON schema for script data. - --tx-out-datum-embed-value JSON_VALUE - The script datum to embed in the tx for this output, - given here. There is no schema: (almost) any JSON - value is supported, including top-level strings and - numbers. - --tx-out-inline-datum-cbor-file CBOR_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file has to be - in CBOR format. - --tx-out-inline-datum-file JSON_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file must follow - the detailed JSON schema for script data. - --tx-out-inline-datum-value JSON_VALUE - The script datum to embed in the tx output as an - inline datum, given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-reference-script-file FILEPATH - Reference script input file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_hash-script-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_hash-script-data.cli deleted file mode 100644 index 24b4007fea..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_hash-script-data.cli +++ /dev/null @@ -1,20 +0,0 @@ -Usage: cardano-cli legacy transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) - - Calculate the hash of script data. - -Available options: - --script-data-cbor-file CBOR_FILE - The script data file. The file has to be in CBOR - format. - --script-data-file JSON_FILE - The script data file. The file must follow the - detailed JSON schema for script data. - --script-data-value JSON_VALUE - The script data. There is no schema: (almost) any - JSON value is supported, including top-level strings - and numbers. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_policyid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_policyid.cli deleted file mode 100644 index b1112aff8e..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_policyid.cli +++ /dev/null @@ -1,7 +0,0 @@ -Usage: cardano-cli legacy transaction policyid --script-file FILEPATH - - Calculate the PolicyId from the monetary policy script. - -Available options: - --script-file FILEPATH Filepath of the script. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign-witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign-witness.cli deleted file mode 100644 index 27ca62226b..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign-witness.cli +++ /dev/null @@ -1,10 +0,0 @@ -Usage: cardano-cli legacy transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH - - Assemble a tx body and witness(es) to form a transaction - -Available options: - --tx-body-file FILEPATH Input filepath of the JSON TxBody. - --witness-file FILEPATH Filepath of the witness - --out-file FILEPATH The output file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign.cli deleted file mode 100644 index a0519e6418..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_sign.cli +++ /dev/null @@ -1,25 +0,0 @@ -Usage: cardano-cli legacy transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH - - Sign a transaction - -Available options: - --tx-body-file FILEPATH Input filepath of the JSON TxBody. - --tx-file FILEPATH Input filepath of the JSON Tx. - --signing-key-file FILEPATH - Input filepath of the signing key (one or more). - --address STRING Byron address (Base58-encoded). - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Output filepath of the JSON Tx. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_submit.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_submit.cli deleted file mode 100644 index a68eb10b9d..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_submit.cli +++ /dev/null @@ -1,27 +0,0 @@ -Usage: cardano-cli legacy transaction submit --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --tx-file FILEPATH - - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --tx-file FILEPATH Filepath of the transaction you intend to submit. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_txid.cli deleted file mode 100644 index bd8a8c7e03..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_txid.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli legacy transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - - Print a transaction identifier. - -Available options: - --tx-body-file FILEPATH Input filepath of the JSON TxBody. - --tx-file FILEPATH Input filepath of the JSON Tx. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_witness.cli deleted file mode 100644 index dd07424444..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_witness.cli +++ /dev/null @@ -1,21 +0,0 @@ -Usage: cardano-cli legacy transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH - - Create a transaction witness - -Available options: - --tx-body-file FILEPATH Input filepath of the JSON TxBody. - --signing-key-file FILEPATH - Input filepath of the signing key (one or more). - --address STRING Byron address (Base58-encoded). - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH The output file. - -h,--help Show this help text 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 deleted file mode 100644 index f133ab4c3d..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node.cli +++ /dev/null @@ -1,22 +0,0 @@ -Usage: cardano-cli node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) - - Node operation commands. - -Available options: - -h,--help Show this help text - -Available commands: - key-gen Create a key pair for a node operator's offline key - and a new certificate issue counter - key-gen-KES Create a key pair for a node KES operational key - key-gen-VRF Create a key pair for a node VRF operational key - key-hash-VRF Print hash of a node's operational VRF key. - new-counter Create a new certificate issue counter - issue-op-cert Issue a node operational certificate 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 deleted file mode 100644 index 919c7c4ca9..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_issue-op-cert.cli +++ /dev/null @@ -1,24 +0,0 @@ -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 - -Available options: - --kes-verification-key STRING - A Bech32 or hex-encoded hot KES verification key. - --kes-verification-key-file FILEPATH - Filepath of the hot KES verification key. - --cold-signing-key-file FILEPATH - Filepath of the cold signing key. - --operational-certificate-issue-counter-file FILEPATH - The file with the issue counter for the operational - certificate. - --kes-period NATURAL The start of the KES key validity period. - --out-file FILEPATH The output file. - -h,--help Show this help text 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 deleted file mode 100644 index 5db2037a0a..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-KES.cli +++ /dev/null @@ -1,16 +0,0 @@ -Usage: cardano-cli node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a key pair for a node KES operational key - -Available options: - --key-output-format STRING - Optional key output format. Accepted output formats - are "text-envelope" and "bech32" (default is - "text-envelope"). - --verification-key-file FILEPATH - Output filepath of the verification key. - --signing-key-file FILEPATH - Output filepath of the signing key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-VRF.cli deleted file mode 100644 index 8f182f1dd1..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-VRF.cli +++ /dev/null @@ -1,16 +0,0 @@ -Usage: cardano-cli node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a key pair for a node VRF operational key - -Available options: - --key-output-format STRING - Optional key output format. Accepted output formats - are "text-envelope" and "bech32" (default is - "text-envelope"). - --verification-key-file FILEPATH - Output filepath of the verification key. - --signing-key-file FILEPATH - Output filepath of the signing key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen.cli deleted file mode 100644 index e0bf2224fb..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen.cli +++ /dev/null @@ -1,21 +0,0 @@ -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 - -Available options: - --key-output-format STRING - Optional key output format. Accepted output formats - are "text-envelope" and "bech32" (default is - "text-envelope"). - --cold-verification-key-file FILEPATH - Filepath of the cold verification key. - --cold-signing-key-file FILEPATH - Filepath of the cold signing key. - --operational-certificate-issue-counter-file FILEPATH - The file with the issue counter for the operational - certificate. - -h,--help Show this help text 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 deleted file mode 100644 index 7d2302c233..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-hash-VRF.cli +++ /dev/null @@ -1,15 +0,0 @@ -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. - -Available options: - --verification-key STRING - Verification key (Bech32 or hex-encoded). - --verification-key-file FILEPATH - Input filepath of the verification key. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_new-counter.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_new-counter.cli deleted file mode 100644 index 460e70be57..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_new-counter.cli +++ /dev/null @@ -1,22 +0,0 @@ -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 - -Available options: - --stake-pool-verification-key STRING - Stake pool verification key (Bech32 or hex-encoded). - --genesis-delegate-verification-key STRING - Genesis delegate verification key (hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the cold verification key. - --counter-value INT The next certificate issue counter value to use. - --operational-certificate-issue-counter-file FILEPATH - The file with the issue counter for the operational - certificate. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli deleted file mode 100644 index 743a3dcfbc..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query.cli +++ /dev/null @@ -1,66 +0,0 @@ -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 - | 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. - -Available options: - -h,--help Show this help text - -Available commands: - protocol-parameters Get the node's current protocol parameters - tip Get the node's current tip (slot no, hash, block no) - stake-pools Get the node's current set of stake pool ids - stake-distribution Get the node's current aggregated stake distribution - stake-address-info Get the current delegations and reward accounts - filtered by stake address. - utxo Get a portion of the current UTxO: by tx in, by - address or the whole. - ledger-state Dump the current ledger state of the node - (Ledger.NewEpochState -- advanced command) - protocol-state Dump the current protocol state of the node - (Ledger.ChainDepState -- advanced command) - stake-snapshot Obtain the three stake snapshots for a pool, plus the - total active stake (advanced command) - pool-params DEPRECATED. Use query pool-state instead. Dump the - pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams - -- advanced command) - leadership-schedule Get the slots the node is expected to mint a block in - (advanced command) - kes-period-info Get information about the current KES period and your - node's operational certificate. - pool-state Dump the pool state - tx-mempool Local Mempool info - slot-number Query slot number for UTC timestamp - ref-script-size Calculate the reference input scripts size in bytes - for provided transaction inputs. - constitution Get the constitution - gov-state Get the governance state - drep-state Get the DRep state. - drep-stake-distribution Get the DRep stake distribution. - spo-stake-distribution Get the SPO stake distribution. - committee-state Get the committee state - treasury Get the treasury value diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_committee-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_committee-state.cli deleted file mode 100644 index e12c6b60bd..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_committee-state.cli +++ /dev/null @@ -1,60 +0,0 @@ -Usage: cardano-cli query committee-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [ --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - ] - [ --hot-key STRING - | --hot-key-file FILEPATH - | --hot-key-hash STRING - | --hot-script-hash HASH - ] - [ --active - | --expired - | --unrecognized - ] - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] - - Get the committee state - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --cold-verification-key STRING - Constitutional Committee cold key (hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the Constitutional Committee cold key. - --cold-verification-key-hash STRING - Constitutional Committee key hash (hex-encoded). - --cold-script-hash HASH Cold Native or Plutus script file hash (hex-encoded). - Obtain it with "cardano-cli hash script ...". - --hot-key STRING Constitutional Committee hot key (hex-encoded). - --hot-key-file FILEPATH Filepath of the Constitutional Committee hot key. - --hot-key-hash STRING Constitutional Committee key hash (hex-encoded). - --hot-script-hash HASH Hot Native or Plutus script file hash (hex-encoded). - Obtain it with "cardano-cli hash script ...". - --active Active committee members (members whose vote will - count during ratification) - --expired Expired committee members - --unrecognized Unrecognized committe members: a hot credential for - an unknown cold credential - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_constitution.cli deleted file mode 100644 index 25c8b17cb7..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_constitution.cli +++ /dev/null @@ -1,27 +0,0 @@ -Usage: cardano-cli query constitution --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] - - Get the constitution - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-stake-distribution.cli deleted file mode 100644 index d3e30bf013..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-stake-distribution.cli +++ /dev/null @@ -1,49 +0,0 @@ -Usage: cardano-cli query drep-stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-dreps - | - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] - - Get the DRep stake distribution. - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --all-dreps Query for all DReps. - --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with - "cardano-cli hash script ...". - --drep-verification-key STRING - DRep verification key (Bech32 or hex-encoded). - --drep-verification-key-file FILEPATH - Filepath of the DRep verification key. - --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or - hex-encoded). - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-state.cli deleted file mode 100644 index aabba31337..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_drep-state.cli +++ /dev/null @@ -1,50 +0,0 @@ -Usage: cardano-cli query drep-state --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - ( --all-dreps - | - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - ) - [--include-stake] - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] - - Get the DRep state. - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --all-dreps Query for all DReps. - --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with - "cardano-cli hash script ...". - --drep-verification-key STRING - DRep verification key (Bech32 or hex-encoded). - --drep-verification-key-file FILEPATH - Filepath of the DRep verification key. - --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or - hex-encoded). - --include-stake Also return the stake associated with each DRep. The - result is the same as with "drep-stake-distribution"; - this is a convenience option to obtain all - information concerning a DRep at once. This is a - potentially expensive query, so it's OFF by default. - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_gov-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_gov-state.cli deleted file mode 100644 index 9eac0da961..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_gov-state.cli +++ /dev/null @@ -1,27 +0,0 @@ -Usage: cardano-cli query gov-state --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] - - Get the governance state - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_kes-period-info.cli deleted file mode 100644 index 6c5976792d..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_kes-period-info.cli +++ /dev/null @@ -1,31 +0,0 @@ -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. - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --op-cert-file FILEPATH Filepath of the node's operational certificate. - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_leadership-schedule.cli deleted file mode 100644 index ea7b3db9bc..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_leadership-schedule.cli +++ /dev/null @@ -1,56 +0,0 @@ -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) - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --genesis FILEPATH Shelley genesis filepath - --stake-pool-verification-key STRING - Stake pool verification key (Bech32 or hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the stake pool verification key. - --stake-pool-id STAKE_POOL_ID - Stake pool ID/verification key hash (either - Bech32-encoded or hex-encoded). - --vrf-signing-key-file FILEPATH - Input filepath of the VRF signing key. - --current Get the leadership schedule for the current epoch. - --next Get the leadership schedule for the following epoch. - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --output-json Format leadership-schedule query output to JSON. - Default format when writing to a file - --output-text Format leadership-schedule query output to TEXT. - Default format when writing to stdout - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-state.cli deleted file mode 100644 index 5dada14b2c..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-state.cli +++ /dev/null @@ -1,28 +0,0 @@ -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) - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-params.cli deleted file mode 100644 index 5aa0f0c42b..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-params.cli +++ /dev/null @@ -1,36 +0,0 @@ -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) - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --all-stake-pools Query for all stake pools - --stake-pool-id STAKE_POOL_ID - Stake pool ID/verification key hash (either - Bech32-encoded or hex-encoded). - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-state.cli deleted file mode 100644 index be6641d6b5..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-state.cli +++ /dev/null @@ -1,34 +0,0 @@ -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 - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --all-stake-pools Query for all stake pools - --stake-pool-id STAKE_POOL_ID - Stake pool ID/verification key hash (either - Bech32-encoded or hex-encoded). - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-parameters.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-parameters.cli deleted file mode 100644 index 5ae60269c6..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-parameters.cli +++ /dev/null @@ -1,26 +0,0 @@ -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 - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-state.cli deleted file mode 100644 index 4b8247c6fd..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-state.cli +++ /dev/null @@ -1,28 +0,0 @@ -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) - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ref-script-size.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ref-script-size.cli deleted file mode 100644 index bb99625fb7..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ref-script-size.cli +++ /dev/null @@ -1,36 +0,0 @@ -Usage: cardano-cli query ref-script-size --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - (--tx-in TX-IN) - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--output-json | --output-text] - [--out-file FILEPATH] - - Calculate the reference input scripts size in bytes for provided transaction - inputs. - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --tx-in TX-IN Transaction input (TxId#TxIx). - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --output-json Format reference inputs query output to JSON. Default - format when writing to a file - --output-text Format reference inputs query output to TEXT. Default - format when writing to stdout - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_slot-number.cli deleted file mode 100644 index 6a77e406b9..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_slot-number.cli +++ /dev/null @@ -1,27 +0,0 @@ -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 - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - TIMESTAMP UTC timestamp in YYYY-MM-DDThh:mm:ssZ format - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_spo-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_spo-stake-distribution.cli deleted file mode 100644 index fb3065a438..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_spo-stake-distribution.cli +++ /dev/null @@ -1,46 +0,0 @@ -Usage: cardano-cli query spo-stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-spos - | - ( --spo-verification-key STRING - | --spo-verification-key-file FILEPATH - | --spo-key-hash HASH - ) - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] - - Get the SPO stake distribution. - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --all-spos Query for all DReps. - --spo-verification-key STRING - SPO verification key (Bech32 or hex-encoded). - --spo-verification-key-file FILEPATH - Filepath of the SPO verification key. - --spo-key-hash HASH SPO verification key hash (either Bech32-encoded or - hex-encoded). - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-address-info.cli deleted file mode 100644 index e1dba2c354..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-address-info.cli +++ /dev/null @@ -1,32 +0,0 @@ -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. - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --address ADDRESS Filter by Cardano stake address (Bech32-encoded). - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-distribution.cli deleted file mode 100644 index 7c33ecc723..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-distribution.cli +++ /dev/null @@ -1,35 +0,0 @@ -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 - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --output-json Format stake-distribution query output to JSON. - Default format when writing to a file - --output-text Format stake-distribution query output to TEXT. - Default format when writing to stdout - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-pools.cli deleted file mode 100644 index 2bf8095b2e..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-pools.cli +++ /dev/null @@ -1,32 +0,0 @@ -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 - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --output-json Format stake-pools query output to JSON. Default - format when writing to a file - --output-text Format stake-pools query output to TEXT. Default - format when writing to stdout - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-snapshot.cli deleted file mode 100644 index f6cd339214..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-snapshot.cli +++ /dev/null @@ -1,35 +0,0 @@ -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) - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --all-stake-pools Query for all stake pools - --stake-pool-id STAKE_POOL_ID - Stake pool ID/verification key hash (either - Bech32-encoded or hex-encoded). - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli deleted file mode 100644 index 647e9e2c57..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli +++ /dev/null @@ -1,27 +0,0 @@ -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) - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_treasury.cli deleted file mode 100644 index d20a1d8ef9..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_treasury.cli +++ /dev/null @@ -1,27 +0,0 @@ -Usage: cardano-cli query treasury --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] - - Get the treasury value - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool.cli deleted file mode 100644 index 2390c51e4f..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool.cli +++ /dev/null @@ -1,32 +0,0 @@ -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 - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text - -Available commands: - info Ask the node about the current mempool's capacity and - sizes - next-tx Requests the next transaction from the mempool's - current list - tx-exists Query if a particular transaction exists in the - mempool 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 deleted file mode 100644 index 81aad66dd0..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_info.cli +++ /dev/null @@ -1,9 +0,0 @@ -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] - - 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 deleted file mode 100644 index 81aad66dd0..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_next-tx.cli +++ /dev/null @@ -1,9 +0,0 @@ -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] - - 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 deleted file mode 100644 index 81aad66dd0..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_tx-exists_TX_ID.cli +++ /dev/null @@ -1,9 +0,0 @@ -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] - - 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 deleted file mode 100644 index f0ecd043ab..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_utxo.cli +++ /dev/null @@ -1,40 +0,0 @@ -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. - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --whole-utxo Return the whole UTxO (only appropriate on small - testnets). - --address ADDRESS Filter by Cardano address(es) (Bech32-encoded). - --tx-in TX-IN Filter by transaction input (TxId#TxIx). - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --volatile-tip Use the volatile tip as a target. (This is the - default) - --immutable-tip Use the immutable tip as a target. - --output-json Format utxo query output to JSON. Default format when - writing to a file - --output-text Format utxo query output to TEXT. Default format when - writing to stdout - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address.cli deleted file mode 100644 index 0260544a2f..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address.cli +++ /dev/null @@ -1,35 +0,0 @@ -Usage: cardano-cli stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate - | stake-and-vote-delegation-certificate - | vote-delegation-certificate - ) - - Stake address commands. - -Available options: - -h,--help Show this help text - -Available commands: - key-gen Create a stake address key pair - key-hash Print the hash of a stake address key - build Build a stake address - registration-certificate Create a stake address registration certificate - deregistration-certificate - Create a stake address deregistration certificate - stake-delegation-certificate - Create a stake address stake delegation certificate, - which when submitted in a transaction delegates stake - to a stake pool. - stake-and-vote-delegation-certificate - Create a stake address stake and vote delegation - certificate, which when submitted in a transaction - delegates stake to a stake pool and a DRep. - vote-delegation-certificate - Create a stake address vote delegation certificate, - which when submitted in a transaction delegates stake - to a DRep. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_build.cli deleted file mode 100644 index add8332608..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_build.cli +++ /dev/null @@ -1,25 +0,0 @@ -Usage: cardano-cli stake-address build - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - ) - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] - - Build a stake address - -Available options: - --stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --stake-key-hash HASH Stake verification key hash (hex-encoded). - --stake-script-file FILEPATH - Filepath of the staking script. - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_delegation-certificate.cli deleted file mode 100644 index 8289ae9ce2..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_delegation-certificate.cli +++ /dev/null @@ -1,51 +0,0 @@ -Usage: cardano-cli stake-address delegation-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --out-file FILEPATH - - Create a stake address pool delegation certificate - -Available options: - --shelley-era Specify the Shelley era - DEPRECATED - will be - removed in the future - --allegra-era Specify the Allegra era - DEPRECATED - will be - removed in the future - --mary-era Specify the Mary era - DEPRECATED - will be removed - in the future - --alonzo-era Specify the Alonzo era - DEPRECATED - will be removed - in the future - --babbage-era Specify the Babbage era (default) - DEPRECATED - will - be removed in the future - --conway-era Specify the Conway era - --stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --stake-key-hash HASH Stake verification key hash (hex-encoded). - --stake-script-file FILEPATH - Filepath of the staking script. - --stake-address ADDRESS Target stake address (bech32 format). - --stake-pool-verification-key STRING - Stake pool verification key (Bech32 or hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the stake pool verification key. - --stake-pool-id STAKE_POOL_ID - Stake pool ID/verification key hash (either - Bech32-encoded or hex-encoded). - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli deleted file mode 100644 index 642aed6c16..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_deregistration-certificate.cli +++ /dev/null @@ -1,25 +0,0 @@ -Usage: cardano-cli stake-address deregistration-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH - - Create a stake address deregistration certificate - -Available options: - --stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --stake-key-hash HASH Stake verification key hash (hex-encoded). - --stake-script-file FILEPATH - Filepath of the staking script. - --stake-address ADDRESS Target stake address (bech32 format). - --key-reg-deposit-amt NATURAL - Key registration deposit amount. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-gen.cli deleted file mode 100644 index f6cf343b12..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-gen.cli +++ /dev/null @@ -1,16 +0,0 @@ -Usage: cardano-cli stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a stake address key pair - -Available options: - --key-output-format STRING - Optional key output format. Accepted output formats - are "text-envelope" and "bech32" (default is - "text-envelope"). - --verification-key-file FILEPATH - Output filepath of the verification key. - --signing-key-file FILEPATH - Output filepath of the signing key. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-hash.cli deleted file mode 100644 index b15ffc192d..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_key-hash.cli +++ /dev/null @@ -1,15 +0,0 @@ -Usage: cardano-cli stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] - - Print the hash of a stake address key - -Available options: - --stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli deleted file mode 100644 index ae34eb235d..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_registration-certificate.cli +++ /dev/null @@ -1,25 +0,0 @@ -Usage: cardano-cli stake-address registration-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH - - Create a stake address registration certificate - -Available options: - --stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --stake-key-hash HASH Stake verification key hash (hex-encoded). - --stake-script-file FILEPATH - Filepath of the staking script. - --stake-address ADDRESS Target stake address (bech32 format). - --key-reg-deposit-amt NATURAL - Key registration deposit amount. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-and-vote-delegation-certificate.cli deleted file mode 100644 index 81b8ed73bc..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-and-vote-delegation-certificate.cli +++ /dev/null @@ -1,51 +0,0 @@ -Usage: cardano-cli stake-address stake-and-vote-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - | --always-abstain - | --always-no-confidence - ) - --out-file FILEPATH - - Create a stake address stake and vote delegation certificate, which when - submitted in a transaction delegates stake to a stake pool and a DRep. - -Available options: - --stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --stake-key-hash HASH Stake verification key hash (hex-encoded). - --stake-script-file FILEPATH - Filepath of the staking script. - --stake-address ADDRESS Target stake address (bech32 format). - --stake-pool-verification-key STRING - Stake pool verification key (Bech32 or hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the stake pool verification key. - --stake-pool-id STAKE_POOL_ID - Stake pool ID/verification key hash (either - Bech32-encoded or hex-encoded). - --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with - "cardano-cli hash script ...". - --drep-verification-key STRING - DRep verification key (Bech32 or hex-encoded). - --drep-verification-key-file FILEPATH - Filepath of the DRep verification key. - --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or - hex-encoded). - --always-abstain Abstain from voting on all proposals. - --always-no-confidence Always vote no confidence - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-delegation-certificate.cli deleted file mode 100644 index d439099c84..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_stake-delegation-certificate.cli +++ /dev/null @@ -1,34 +0,0 @@ -Usage: cardano-cli stake-address stake-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --out-file FILEPATH - - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. - -Available options: - --stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --stake-key-hash HASH Stake verification key hash (hex-encoded). - --stake-script-file FILEPATH - Filepath of the staking script. - --stake-address ADDRESS Target stake address (bech32 format). - --stake-pool-verification-key STRING - Stake pool verification key (Bech32 or hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the stake pool verification key. - --stake-pool-id STAKE_POOL_ID - Stake pool ID/verification key hash (either - Bech32-encoded or hex-encoded). - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_vote-delegation-certificate.cli deleted file mode 100644 index 8f6d5de2ac..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-address_vote-delegation-certificate.cli +++ /dev/null @@ -1,40 +0,0 @@ -Usage: cardano-cli stake-address vote-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - | --always-abstain - | --always-no-confidence - ) - --out-file FILEPATH - - Create a stake address vote delegation certificate, which when submitted in a - transaction delegates stake to a DRep. - -Available options: - --stake-verification-key STRING - Stake verification key (Bech32 or hex-encoded). - --stake-verification-key-file FILEPATH - Filepath of the staking verification key. - --stake-key-hash HASH Stake verification key hash (hex-encoded). - --stake-script-file FILEPATH - Filepath of the staking script. - --stake-address ADDRESS Target stake address (bech32 format). - --drep-script-hash HASH DRep script hash (hex-encoded). Obtain it with - "cardano-cli hash script ...". - --drep-verification-key STRING - DRep verification key (Bech32 or hex-encoded). - --drep-verification-key-file FILEPATH - Filepath of the DRep verification key. - --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or - hex-encoded). - --always-abstain Abstain from voting on all proposals. - --always-no-confidence Always vote no confidence - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool.cli deleted file mode 100644 index bcb59ea082..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool.cli +++ /dev/null @@ -1,18 +0,0 @@ -Usage: cardano-cli stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) - - Stake pool commands. - -Available options: - -h,--help Show this help text - -Available commands: - registration-certificate Create a stake pool registration certificate - deregistration-certificate - Create a stake pool deregistration certificate - id Build pool id from the offline key - metadata-hash Print the hash of pool metadata. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli deleted file mode 100644 index 2f7a9c9fd1..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_deregistration-certificate.cli +++ /dev/null @@ -1,17 +0,0 @@ -Usage: cardano-cli 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 - -Available options: - --stake-pool-verification-key STRING - Stake pool verification key (Bech32 or hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the stake pool verification key. - --epoch NATURAL The epoch number. - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_id.cli deleted file mode 100644 index 331a58c53d..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_id.cli +++ /dev/null @@ -1,18 +0,0 @@ -Usage: cardano-cli 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 - -Available options: - --stake-pool-verification-key STRING - Stake pool verification key (Bech32 or hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the stake pool verification key. - --output-format STRING Optional pool id output format. Accepted output - formats are "hex" and "bech32" (default is "bech32"). - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_metadata-hash.cli deleted file mode 100644 index 17cd810fdd..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_metadata-hash.cli +++ /dev/null @@ -1,10 +0,0 @@ -Usage: cardano-cli stake-pool metadata-hash --pool-metadata-file FILEPATH - [--out-file FILEPATH] - - Print the hash of pool metadata. - -Available options: - --pool-metadata-file FILEPATH - Filepath of the pool metadata. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli deleted file mode 100644 index 2565f4178e..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/stake-pool_registration-certificate.cli +++ /dev/null @@ -1,73 +0,0 @@ -Usage: cardano-cli stake-pool registration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH - - Create a stake pool registration certificate - -Available options: - --stake-pool-verification-key STRING - Stake pool verification key (Bech32 or hex-encoded). - --cold-verification-key-file FILEPATH - Filepath of the stake pool verification key. - --vrf-verification-key STRING - VRF verification key (Bech32 or hex-encoded). - --vrf-verification-key-file FILEPATH - Filepath of the VRF verification key. - --pool-pledge LOVELACE The stake pool's pledge. - --pool-cost LOVELACE The stake pool's cost. - --pool-margin RATIONAL The stake pool's margin. - --pool-reward-account-verification-key STRING - Reward account stake verification key (Bech32 or - hex-encoded). - --pool-reward-account-verification-key-file FILEPATH - Filepath of the reward account stake verification - key. - --pool-owner-verification-key STRING - Pool owner stake verification key (Bech32 or - hex-encoded). - --pool-owner-stake-verification-key-file FILEPATH - Filepath of the pool owner stake verification key. - --pool-relay-ipv4 STRING The stake pool relay's IPv4 address - --pool-relay-ipv6 STRING The stake pool relay's IPv6 address - --pool-relay-port INT The stake pool relay's port - --single-host-pool-relay STRING - The stake pool relay's DNS name that corresponds to - an A or AAAA DNS record - --pool-relay-port INT The stake pool relay's port - --multi-host-pool-relay STRING - The stake pool relay's DNS name that corresponds to - an SRV DNS record - --metadata-url URL Pool metadata URL (maximum length of 64 characters). - --metadata-hash HASH Pool metadata hash. - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/text-view_decode-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/text-view_decode-cbor.cli deleted file mode 100644 index 6f75725558..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/text-view_decode-cbor.cli +++ /dev/null @@ -1,9 +0,0 @@ -Usage: cardano-cli text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] - - Print a TextView file as decoded CBOR. - -Available options: - --in-file FILEPATH CBOR input file. - --out-file FILEPATH Optional output file. Default is to write to stdout. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli deleted file mode 100644 index d7f540cd43..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction.cli +++ /dev/null @@ -1,45 +0,0 @@ -Usage: cardano-cli transaction - ( build-raw - | build - | build-estimate - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - ) - - Transaction commands. - -Available options: - -h,--help Show this help text - -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 - build Build a balanced transaction (automatically calculates fees) - - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - build-estimate Build a balanced transaction without access to a live node (automatically estimates fees) - - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - sign Sign a transaction - witness Create a transaction witness - assemble Assemble a tx body and witness(es) to form a - transaction - submit Submit a transaction to the local node whose Unix - domain socket is obtained from the - CARDANO_NODE_SOCKET_PATH environment variable. - policyid Calculate the PolicyId from the monetary policy - script. - calculate-min-fee Calculate the minimum fee for a transaction. - calculate-min-required-utxo - Calculate the minimum required UTxO for a transaction - output. - hash-script-data Calculate the hash of script data. - txid Print a transaction identifier. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_assemble.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_assemble.cli deleted file mode 100644 index 0100e4f5b6..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_assemble.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH - - Assemble a tx body and witness(es) to form a transaction - -Available options: - --tx-body-file FILEPATH Input filepath of the JSON TxBody. - --witness-file FILEPATH Filepath of the witness - --out-file FILEPATH The output file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-estimate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-estimate.cli deleted file mode 100644 index ad2d068c03..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-estimate.cli +++ /dev/null @@ -1,514 +0,0 @@ -Usage: cardano-cli transaction build-estimate - [ --script-valid - | --script-invalid - ] - --shelley-key-witnesses INT - [--byron-key-witnesses Int] - --protocol-params-file FILEPATH - --total-utxo-value VALUE - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - --spending-reference-tx-in-execution-units (INT, INT) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - ) - --tx-in-execution-units (INT, INT)] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ - ( --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ) - --mint-execution-units (INT, INT)] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --mint-reference-tx-in-execution-units (INT, INT) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ - ( --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ) - --certificate-execution-units (INT, INT)] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - --certificate-reference-tx-in-execution-units (INT, INT) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ - ( --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ) - --withdrawal-execution-units (INT, INT)] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - --withdrawal-reference-tx-in-execution-units (INT, INT) - ]] - [--tx-total-collateral INTEGER] - [--reference-script-size NATURAL] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--vote-file FILEPATH - [ --vote-script-file FILEPATH - [ - ( --vote-redeemer-cbor-file CBOR_FILE - | --vote-redeemer-file JSON_FILE - | --vote-redeemer-value JSON_VALUE - ) - --vote-execution-units (INT, INT)] - | --vote-tx-in-reference TX-IN - --vote-plutus-script-v3 - ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --vote-reference-tx-in-redeemer-file JSON_FILE - | --vote-reference-tx-in-redeemer-value JSON_VALUE - ) - --vote-reference-tx-in-execution-units (INT, INT) - ]] - [--proposal-file FILEPATH - [ --proposal-script-file FILEPATH - [ - ( --proposal-redeemer-cbor-file CBOR_FILE - | --proposal-redeemer-file JSON_FILE - | --proposal-redeemer-value JSON_VALUE - ) - --proposal-execution-units (INT, INT)] - | --proposal-tx-in-reference TX-IN - --proposal-plutus-script-v3 - ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --proposal-reference-tx-in-redeemer-file JSON_FILE - | --proposal-reference-tx-in-redeemer-value JSON_VALUE - ) - --proposal-reference-tx-in-execution-units (INT, INT) - ]] - [--current-treasury-value LOVELACE - --treasury-donation LOVELACE] - --out-file FILEPATH - - Build a balanced transaction without access to a live node (automatically estimates fees) - - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Available options: - --script-valid Assertion that the script is valid. (default) - --script-invalid Assertion that the script is invalid. If a - transaction is submitted with such a script, the - script will fail and the collateral will be taken. - --shelley-key-witnesses INT - Specify the number of Shelley key witnesses the - transaction requires. - --byron-key-witnesses Int - Specify the number of Byron key witnesses the - transaction requires. - --protocol-params-file FILEPATH - Filepath of the JSON-encoded protocol parameters file - --total-utxo-value VALUE The total value of the UTxO that exists at the tx - inputs being spent. - --tx-in TX-IN TxId#TxIx - --spending-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --spending-plutus-script-v2 - Specify a plutus script v2 reference script. - --spending-plutus-script-v3 - Specify a plutus script v3 reference script. - --spending-reference-tx-in-datum-cbor-file CBOR_FILE - The script datum file. The file has to be in CBOR - format. - --spending-reference-tx-in-datum-file JSON_FILE - The script datum file. The file must follow the - detailed JSON schema for script data. - --spending-reference-tx-in-datum-value JSON_VALUE - The script datum. There is no schema: (almost) any - JSON value is supported, including top-level strings - and numbers. - --spending-reference-tx-in-inline-datum-present - Inline datum present at transaction input. - --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --spending-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --spending-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --spending-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --simple-script-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a simple reference script attached. - --tx-in-script-file FILEPATH - The file containing the script to witness the - spending of the transaction input. - --tx-in-datum-cbor-file CBOR_FILE - The script datum file. The file has to be in CBOR - format. - --tx-in-datum-file JSON_FILE - The script datum file. The file must follow the - detailed JSON schema for script data. - --tx-in-datum-value JSON_VALUE - The script datum. There is no schema: (almost) any - JSON value is supported, including top-level strings - and numbers. - --tx-in-inline-datum-present - Inline datum present at transaction input. - --tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --read-only-tx-in-reference TX-IN - Specify a read only reference input. This reference - input is not witnessing anything it is simply - provided in the plutus script context. - --required-signer FILEPATH - Input filepath of the signing key (zero or more) - whose signature is required. - --required-signer-hash HASH - Hash of the verification key (zero or more) whose - signature is required. - --tx-in-collateral TX-IN TxId#TxIx - --tx-out-return-collateral ADDRESS VALUE - The transaction output as ADDRESS VALUE where ADDRESS - is the Bech32-encoded address followed by the value - in Lovelace. In the situation where your collateral - txin over collateralizes the transaction, you can - optionally specify a tx out of your choosing to - return the excess Lovelace. - --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS - is the Bech32-encoded address followed by the value - in the multi-asset syntax (including simply - Lovelace). - --tx-out-datum-hash HASH The script datum hash for this tx output, as the raw - datum hash (in hex). - --tx-out-datum-hash-cbor-file CBOR_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file has to be in - CBOR format. - --tx-out-datum-hash-file JSON_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file must follow - the detailed JSON schema for script data. - --tx-out-datum-hash-value JSON_VALUE - The script datum hash for this tx output, by hashing - the script datum given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-datum-embed-cbor-file CBOR_FILE - The script datum to embed in the tx for this output, - in the given file. The file has to be in CBOR format. - --tx-out-datum-embed-file JSON_FILE - The script datum to embed in the tx for this output, - in the given file. The file must follow the detailed - JSON schema for script data. - --tx-out-datum-embed-value JSON_VALUE - The script datum to embed in the tx for this output, - given here. There is no schema: (almost) any JSON - value is supported, including top-level strings and - numbers. - --tx-out-inline-datum-cbor-file CBOR_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file has to be - in CBOR format. - --tx-out-inline-datum-file JSON_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file must follow - the detailed JSON schema for script data. - --tx-out-inline-datum-value JSON_VALUE - The script datum to embed in the tx output as an - inline datum, given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-reference-script-file FILEPATH - Reference script input file. - --change-address ADDRESS Address where ADA in excess of the tx fee will go to. - --mint VALUE Mint multi-asset value(s) with the multi-asset cli - syntax. You must specify a script witness. - --mint-script-file FILEPATH - The file containing the script to witness the minting - of assets for a particular policy Id. - --mint-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --mint-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --mint-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --mint-execution-units (INT, INT) - The time and space units needed by the script. - --simple-minting-script-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a simple reference script attached. - --policy-id HASH Policy id of minting script. - --mint-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --mint-plutus-script-v2 Specify a plutus script v2 reference script. - --mint-plutus-script-v3 Specify a plutus script v3 reference script. - --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --mint-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --mint-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --mint-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --policy-id HASH Policy id of minting script. - --invalid-before SLOT Time that transaction is valid from (in slots). - --invalid-hereafter SLOT Time that transaction is valid until (in slots). - --certificate-file FILEPATH - Filepath of the certificate. This encompasses all - types of certificates (stake pool certificates, stake - key certificates etc). Optionally specify a script - witness. - --certificate-script-file FILEPATH - The file containing the script to witness the use of - the certificate. - --certificate-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --certificate-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --certificate-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --certificate-execution-units (INT, INT) - The time and space units needed by the script. - --certificate-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --certificate-plutus-script-v2 - Specify a plutus script v2 reference script. - --certificate-plutus-script-v3 - Specify a plutus script v3 reference script. - --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --certificate-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --certificate-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --certificate-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --withdrawal WITHDRAWAL The reward withdrawal as StakeAddress+Lovelace where - StakeAddress is the Bech32-encoded stake address - followed by the amount in Lovelace. Optionally - specify a script witness. - --withdrawal-script-file FILEPATH - The file containing the script to witness the - withdrawal of rewards. - --withdrawal-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --withdrawal-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --withdrawal-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --withdrawal-execution-units (INT, INT) - The time and space units needed by the script. - --withdrawal-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --withdrawal-plutus-script-v2 - Specify a plutus script v2 reference script. - --withdrawal-plutus-script-v3 - Specify a plutus script v3 reference script. - --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --withdrawal-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --withdrawal-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --tx-total-collateral INTEGER - The total amount of collateral that will be collected - as fees in the event of a Plutus script failure. Must - be used in conjuction with - "--tx-out-return-collateral". - --reference-script-size NATURAL - Total size in bytes of transaction reference scripts - (default is 0). - --json-metadata-no-schema - Use the "no schema" conversion from JSON to tx - metadata (default). - --json-metadata-detailed-schema - Use the "detailed schema" conversion from JSON to tx - metadata. - --auxiliary-script-file FILEPATH - Filepath of auxiliary script(s) - --metadata-json-file FILEPATH - Filepath of the metadata file, in JSON format. - --metadata-cbor-file FILEPATH - Filepath of the metadata, in raw CBOR format. - --vote-file FILEPATH Filepath of the vote. - --vote-script-file FILEPATH - The file containing the script to witness a vote - --vote-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --vote-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --vote-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --vote-execution-units (INT, INT) - The time and space units needed by the script. - --vote-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --vote-plutus-script-v3 Specify a plutus script v3 reference script. - --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --vote-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --vote-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --vote-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --proposal-file FILEPATH Filepath of the proposal. - --proposal-script-file FILEPATH - The file containing the script to witness a proposal - --proposal-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --proposal-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --proposal-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --proposal-execution-units (INT, INT) - The time and space units needed by the script. - --proposal-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --proposal-plutus-script-v3 - Specify a plutus script v3 reference script. - --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --proposal-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --proposal-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --proposal-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --current-treasury-value LOVELACE - The current treasury value. - --treasury-donation LOVELACE - The donation to the treasury to perform. - --out-file FILEPATH Output filepath of the JSON TxBody. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli deleted file mode 100644 index b3bb631dd2..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build-raw.cli +++ /dev/null @@ -1,496 +0,0 @@ -Usage: cardano-cli 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 - -Available options: - --script-valid Assertion that the script is valid. (default) - --script-invalid Assertion that the script is invalid. If a - transaction is submitted with such a script, the - script will fail and the collateral will be taken. - --tx-in TX-IN TxId#TxIx - --spending-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --spending-plutus-script-v2 - Specify a plutus script v2 reference script. - --spending-plutus-script-v3 - Specify a plutus script v3 reference script. - --spending-reference-tx-in-datum-cbor-file CBOR_FILE - The script datum file. The file has to be in CBOR - format. - --spending-reference-tx-in-datum-file JSON_FILE - The script datum file. The file must follow the - detailed JSON schema for script data. - --spending-reference-tx-in-datum-value JSON_VALUE - The script datum. There is no schema: (almost) any - JSON value is supported, including top-level strings - and numbers. - --spending-reference-tx-in-inline-datum-present - Inline datum present at transaction input. - --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --spending-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --spending-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --spending-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --simple-script-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a simple reference script attached. - --tx-in-script-file FILEPATH - The file containing the script to witness the - spending of the transaction input. - --tx-in-datum-cbor-file CBOR_FILE - The script datum file. The file has to be in CBOR - format. - --tx-in-datum-file JSON_FILE - The script datum file. The file must follow the - detailed JSON schema for script data. - --tx-in-datum-value JSON_VALUE - The script datum. There is no schema: (almost) any - JSON value is supported, including top-level strings - and numbers. - --tx-in-inline-datum-present - Inline datum present at transaction input. - --tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --read-only-tx-in-reference TX-IN - Specify a read only reference input. This reference - input is not witnessing anything it is simply - provided in the plutus script context. - --tx-in-collateral TX-IN TxId#TxIx - --tx-out-return-collateral ADDRESS VALUE - The transaction output as ADDRESS VALUE where ADDRESS - is the Bech32-encoded address followed by the value - in Lovelace. In the situation where your collateral - txin over collateralizes the transaction, you can - optionally specify a tx out of your choosing to - return the excess Lovelace. - --tx-total-collateral INTEGER - The total amount of collateral that will be collected - as fees in the event of a Plutus script failure. Must - be used in conjuction with - "--tx-out-return-collateral". - --required-signer FILEPATH - Input filepath of the signing key (zero or more) - whose signature is required. - --required-signer-hash HASH - Hash of the verification key (zero or more) whose - signature is required. - --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS - is the Bech32-encoded address followed by the value - in the multi-asset syntax (including simply - Lovelace). - --tx-out-datum-hash HASH The script datum hash for this tx output, as the raw - datum hash (in hex). - --tx-out-datum-hash-cbor-file CBOR_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file has to be in - CBOR format. - --tx-out-datum-hash-file JSON_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file must follow - the detailed JSON schema for script data. - --tx-out-datum-hash-value JSON_VALUE - The script datum hash for this tx output, by hashing - the script datum given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-datum-embed-cbor-file CBOR_FILE - The script datum to embed in the tx for this output, - in the given file. The file has to be in CBOR format. - --tx-out-datum-embed-file JSON_FILE - The script datum to embed in the tx for this output, - in the given file. The file must follow the detailed - JSON schema for script data. - --tx-out-datum-embed-value JSON_VALUE - The script datum to embed in the tx for this output, - given here. There is no schema: (almost) any JSON - value is supported, including top-level strings and - numbers. - --tx-out-inline-datum-cbor-file CBOR_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file has to be - in CBOR format. - --tx-out-inline-datum-file JSON_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file must follow - the detailed JSON schema for script data. - --tx-out-inline-datum-value JSON_VALUE - The script datum to embed in the tx output as an - inline datum, given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-reference-script-file FILEPATH - Reference script input file. - --mint VALUE Mint multi-asset value(s) with the multi-asset cli - syntax. You must specify a script witness. - --mint-script-file FILEPATH - The file containing the script to witness the minting - of assets for a particular policy Id. - --mint-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --mint-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --mint-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --mint-execution-units (INT, INT) - The time and space units needed by the script. - --simple-minting-script-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a simple reference script attached. - --policy-id HASH Policy id of minting script. - --mint-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --mint-plutus-script-v2 Specify a plutus script v2 reference script. - --mint-plutus-script-v3 Specify a plutus script v3 reference script. - --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --mint-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --mint-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --mint-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --policy-id HASH Policy id of minting script. - --invalid-before SLOT Time that transaction is valid from (in slots). - --invalid-hereafter SLOT Time that transaction is valid until (in slots). - --fee LOVELACE The fee amount in Lovelace. - --certificate-file FILEPATH - Filepath of the certificate. This encompasses all - types of certificates (stake pool certificates, stake - key certificates etc). Optionally specify a script - witness. - --certificate-script-file FILEPATH - The file containing the script to witness the use of - the certificate. - --certificate-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --certificate-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --certificate-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --certificate-execution-units (INT, INT) - The time and space units needed by the script. - --certificate-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --certificate-plutus-script-v2 - Specify a plutus script v2 reference script. - --certificate-plutus-script-v3 - Specify a plutus script v3 reference script. - --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --certificate-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --certificate-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --certificate-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --withdrawal WITHDRAWAL The reward withdrawal as StakeAddress+Lovelace where - StakeAddress is the Bech32-encoded stake address - followed by the amount in Lovelace. Optionally - specify a script witness. - --withdrawal-script-file FILEPATH - The file containing the script to witness the - withdrawal of rewards. - --withdrawal-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --withdrawal-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --withdrawal-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --withdrawal-execution-units (INT, INT) - The time and space units needed by the script. - --withdrawal-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --withdrawal-plutus-script-v2 - Specify a plutus script v2 reference script. - --withdrawal-plutus-script-v3 - Specify a plutus script v3 reference script. - --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --withdrawal-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --withdrawal-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --json-metadata-no-schema - Use the "no schema" conversion from JSON to tx - metadata (default). - --json-metadata-detailed-schema - Use the "detailed schema" conversion from JSON to tx - metadata. - --auxiliary-script-file FILEPATH - Filepath of auxiliary script(s) - --metadata-json-file FILEPATH - Filepath of the metadata file, in JSON format. - --metadata-cbor-file FILEPATH - Filepath of the metadata, in raw CBOR format. - --protocol-params-file FILEPATH - Filepath of the JSON-encoded protocol parameters file - --vote-file FILEPATH Filepath of the vote. - --vote-script-file FILEPATH - The file containing the script to witness a vote - --vote-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --vote-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --vote-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --vote-execution-units (INT, INT) - The time and space units needed by the script. - --vote-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --vote-plutus-script-v3 Specify a plutus script v3 reference script. - --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --vote-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --vote-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --vote-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --proposal-file FILEPATH Filepath of the proposal. - --proposal-script-file FILEPATH - The file containing the script to witness a proposal - --proposal-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --proposal-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --proposal-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --proposal-execution-units (INT, INT) - The time and space units needed by the script. - --proposal-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --proposal-plutus-script-v3 - Specify a plutus script v3 reference script. - --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --proposal-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --proposal-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --proposal-reference-tx-in-execution-units (INT, INT) - The time and space units needed by the script. - --current-treasury-value LOVELACE - The current treasury value. - --treasury-donation LOVELACE - The donation to the treasury to perform. - --out-file FILEPATH Output filepath of the JSON TxBody. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli deleted file mode 100644 index ef8d5227fc..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_build.cli +++ /dev/null @@ -1,477 +0,0 @@ -Usage: cardano-cli 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 - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. -<<<<<<< HEAD - --babbage-era Specify the Babbage era (default) - --conway-era Specify the Conway era -======= ->>>>>>> 1a727cee4 (Update golden files) - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --script-valid Assertion that the script is valid. (default) - --script-invalid Assertion that the script is invalid. If a - transaction is submitted with such a script, the - script will fail and the collateral will be taken. - --witness-override WORD Specify and override the number of witnesses the - transaction requires. - --tx-in TX-IN TxId#TxIx - --spending-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --spending-plutus-script-v2 - Specify a plutus script v2 reference script. - --spending-plutus-script-v3 - Specify a plutus script v3 reference script. - --spending-reference-tx-in-datum-cbor-file CBOR_FILE - The script datum file. The file has to be in CBOR - format. - --spending-reference-tx-in-datum-file JSON_FILE - The script datum file. The file must follow the - detailed JSON schema for script data. - --spending-reference-tx-in-datum-value JSON_VALUE - The script datum. There is no schema: (almost) any - JSON value is supported, including top-level strings - and numbers. - --spending-reference-tx-in-inline-datum-present - Inline datum present at transaction input. - --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --spending-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --spending-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --simple-script-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a simple reference script attached. - --tx-in-script-file FILEPATH - The file containing the script to witness the - spending of the transaction input. - --tx-in-datum-cbor-file CBOR_FILE - The script datum file. The file has to be in CBOR - format. - --tx-in-datum-file JSON_FILE - The script datum file. The file must follow the - detailed JSON schema for script data. - --tx-in-datum-value JSON_VALUE - The script datum. There is no schema: (almost) any - JSON value is supported, including top-level strings - and numbers. - --tx-in-inline-datum-present - Inline datum present at transaction input. - --tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --read-only-tx-in-reference TX-IN - Specify a read only reference input. This reference - input is not witnessing anything it is simply - provided in the plutus script context. - --required-signer FILEPATH - Input filepath of the signing key (zero or more) - whose signature is required. - --required-signer-hash HASH - Hash of the verification key (zero or more) whose - signature is required. - --tx-in-collateral TX-IN TxId#TxIx - --tx-out-return-collateral ADDRESS VALUE - The transaction output as ADDRESS VALUE where ADDRESS - is the Bech32-encoded address followed by the value - in Lovelace. In the situation where your collateral - txin over collateralizes the transaction, you can - optionally specify a tx out of your choosing to - return the excess Lovelace. - --tx-total-collateral INTEGER - The total amount of collateral that will be collected - as fees in the event of a Plutus script failure. Must - be used in conjuction with - "--tx-out-return-collateral". - --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS - is the Bech32-encoded address followed by the value - in the multi-asset syntax (including simply - Lovelace). - --tx-out-datum-hash HASH The script datum hash for this tx output, as the raw - datum hash (in hex). - --tx-out-datum-hash-cbor-file CBOR_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file has to be in - CBOR format. - --tx-out-datum-hash-file JSON_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file must follow - the detailed JSON schema for script data. - --tx-out-datum-hash-value JSON_VALUE - The script datum hash for this tx output, by hashing - the script datum given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-datum-embed-cbor-file CBOR_FILE - The script datum to embed in the tx for this output, - in the given file. The file has to be in CBOR format. - --tx-out-datum-embed-file JSON_FILE - The script datum to embed in the tx for this output, - in the given file. The file must follow the detailed - JSON schema for script data. - --tx-out-datum-embed-value JSON_VALUE - The script datum to embed in the tx for this output, - given here. There is no schema: (almost) any JSON - value is supported, including top-level strings and - numbers. - --tx-out-inline-datum-cbor-file CBOR_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file has to be - in CBOR format. - --tx-out-inline-datum-file JSON_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file must follow - the detailed JSON schema for script data. - --tx-out-inline-datum-value JSON_VALUE - The script datum to embed in the tx output as an - inline datum, given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-reference-script-file FILEPATH - Reference script input file. - --change-address ADDRESS Address where ADA in excess of the tx fee will go to. - --mint VALUE Mint multi-asset value(s) with the multi-asset cli - syntax. You must specify a script witness. - --mint-script-file FILEPATH - The file containing the script to witness the minting - of assets for a particular policy Id. - --mint-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --mint-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --mint-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --simple-minting-script-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a simple reference script attached. - --policy-id HASH Policy id of minting script. - --mint-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --mint-plutus-script-v2 Specify a plutus script v2 reference script. - --mint-plutus-script-v3 Specify a plutus script v3 reference script. - --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --mint-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --mint-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --policy-id HASH Policy id of minting script. - --invalid-before SLOT Time that transaction is valid from (in slots). - --invalid-hereafter SLOT Time that transaction is valid until (in slots). - --certificate-file FILEPATH - Filepath of the certificate. This encompasses all - types of certificates (stake pool certificates, stake - key certificates etc). Optionally specify a script - witness. - --certificate-script-file FILEPATH - The file containing the script to witness the use of - the certificate. - --certificate-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --certificate-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --certificate-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --certificate-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --certificate-plutus-script-v2 - Specify a plutus script v2 reference script. - --certificate-plutus-script-v3 - Specify a plutus script v3 reference script. - --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --certificate-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --certificate-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --withdrawal WITHDRAWAL The reward withdrawal as StakeAddress+Lovelace where - StakeAddress is the Bech32-encoded stake address - followed by the amount in Lovelace. Optionally - specify a script witness. - --withdrawal-script-file FILEPATH - The file containing the script to witness the - withdrawal of rewards. - --withdrawal-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --withdrawal-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --withdrawal-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --withdrawal-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --withdrawal-plutus-script-v2 - Specify a plutus script v2 reference script. - --withdrawal-plutus-script-v3 - Specify a plutus script v3 reference script. - --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --withdrawal-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --json-metadata-no-schema - Use the "no schema" conversion from JSON to tx - metadata (default). - --json-metadata-detailed-schema - Use the "detailed schema" conversion from JSON to tx - metadata. - --auxiliary-script-file FILEPATH - Filepath of auxiliary script(s) - --metadata-json-file FILEPATH - Filepath of the metadata file, in JSON format. - --metadata-cbor-file FILEPATH - Filepath of the metadata, in raw CBOR format. - --vote-file FILEPATH Filepath of the vote. - --vote-script-file FILEPATH - The file containing the script to witness a vote - --vote-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --vote-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --vote-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --vote-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --vote-plutus-script-v3 Specify a plutus script v3 reference script. - --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --vote-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --vote-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --proposal-file FILEPATH Filepath of the proposal. - --proposal-script-file FILEPATH - The file containing the script to witness a proposal - --proposal-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --proposal-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --proposal-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --proposal-tx-in-reference TX-IN - TxId#TxIx - Specify a reference input. The reference - input must have a plutus reference script attached. - --proposal-plutus-script-v3 - Specify a plutus script v3 reference script. - --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - The script redeemer file. The file has to be in CBOR - format. - --proposal-reference-tx-in-redeemer-file JSON_FILE - The script redeemer file. The file must follow the - detailed JSON schema for script data. - --proposal-reference-tx-in-redeemer-value JSON_VALUE - The script redeemer value. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --treasury-donation LOVELACE - The donation to the treasury to perform. - --out-file FILEPATH Output filepath of the JSON TxBody. - --calculate-plutus-script-cost FILEPATH - Where to write the script cost information. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli deleted file mode 100644 index f8bf0f425b..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli +++ /dev/null @@ -1,37 +0,0 @@ -Usage: cardano-cli transaction calculate-min-fee --tx-body-file FILEPATH - --protocol-params-file FILEPATH - --witness-count NATURAL - [--byron-witness-count NATURAL] - [--reference-script-size NATURAL] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - [ --mainnet - | --testnet-magic NATURAL - ] - [--tx-in-count NATURAL] - [--tx-out-count NATURAL] - - Calculate the minimum fee for a transaction. - -Available options: - --tx-body-file FILEPATH Input filepath of the JSON TxBody. - --protocol-params-file FILEPATH - Filepath of the JSON-encoded protocol parameters file - --witness-count NATURAL The number of Shelley key witnesses. - --byron-witness-count NATURAL - The number of Byron key witnesses (default is 0). - --reference-script-size NATURAL - Total size in bytes of transaction reference scripts - (default is 0). - --output-json Format calculate-min-fee query output to JSON. - Default format when writing to a file - --output-text Format calculate-min-fee query output to TEXT. - Default format when writing to stdout - --out-file FILEPATH The output file. - --mainnet DEPRECATED. This argument has no effect. - --testnet-magic NATURAL DEPRECATED. This argument has no effect. - --tx-in-count NATURAL DEPRECATED. This argument has no effect. - --tx-out-count NATURAL DEPRECATED. This argument has no effect. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli deleted file mode 100644 index 6e6f04fa4b..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-required-utxo.cli +++ /dev/null @@ -1,67 +0,0 @@ -Usage: cardano-cli transaction calculate-min-required-utxo --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-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. - -Available options: - --protocol-params-file FILEPATH - Filepath of the JSON-encoded protocol parameters file - --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS - is the Bech32-encoded address followed by the value - in the multi-asset syntax (including simply - Lovelace). - --tx-out-datum-hash HASH The script datum hash for this tx output, as the raw - datum hash (in hex). - --tx-out-datum-hash-cbor-file CBOR_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file has to be in - CBOR format. - --tx-out-datum-hash-file JSON_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file must follow - the detailed JSON schema for script data. - --tx-out-datum-hash-value JSON_VALUE - The script datum hash for this tx output, by hashing - the script datum given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-datum-embed-cbor-file CBOR_FILE - The script datum to embed in the tx for this output, - in the given file. The file has to be in CBOR format. - --tx-out-datum-embed-file JSON_FILE - The script datum to embed in the tx for this output, - in the given file. The file must follow the detailed - JSON schema for script data. - --tx-out-datum-embed-value JSON_VALUE - The script datum to embed in the tx for this output, - given here. There is no schema: (almost) any JSON - value is supported, including top-level strings and - numbers. - --tx-out-inline-datum-cbor-file CBOR_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file has to be - in CBOR format. - --tx-out-inline-datum-file JSON_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file must follow - the detailed JSON schema for script data. - --tx-out-inline-datum-value JSON_VALUE - The script datum to embed in the tx output as an - inline datum, given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-reference-script-file FILEPATH - Reference script input file. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli deleted file mode 100644 index 6749ce5a25..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-value.cli +++ /dev/null @@ -1,66 +0,0 @@ -Usage: cardano-cli transaction calculate-min-value --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-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. - -Available options: - --protocol-params-file FILEPATH - Filepath of the JSON-encoded protocol parameters file - --tx-out ADDRESS VALUE The transaction output as ADDRESS VALUE where ADDRESS - is the Bech32-encoded address followed by the value - in the multi-asset syntax (including simply - Lovelace). - --tx-out-datum-hash HASH The script datum hash for this tx output, as the raw - datum hash (in hex). - --tx-out-datum-hash-cbor-file CBOR_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file has to be in - CBOR format. - --tx-out-datum-hash-file JSON_FILE - The script datum hash for this tx output, by hashing - the script datum in the file. The file must follow - the detailed JSON schema for script data. - --tx-out-datum-hash-value JSON_VALUE - The script datum hash for this tx output, by hashing - the script datum given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-datum-embed-cbor-file CBOR_FILE - The script datum to embed in the tx for this output, - in the given file. The file has to be in CBOR format. - --tx-out-datum-embed-file JSON_FILE - The script datum to embed in the tx for this output, - in the given file. The file must follow the detailed - JSON schema for script data. - --tx-out-datum-embed-value JSON_VALUE - The script datum to embed in the tx for this output, - given here. There is no schema: (almost) any JSON - value is supported, including top-level strings and - numbers. - --tx-out-inline-datum-cbor-file CBOR_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file has to be - in CBOR format. - --tx-out-inline-datum-file JSON_FILE - The script datum to embed in the tx output as an - inline datum, in the given file. The file must follow - the detailed JSON schema for script data. - --tx-out-inline-datum-value JSON_VALUE - The script datum to embed in the tx output as an - inline datum, given here. There is no schema: - (almost) any JSON value is supported, including - top-level strings and numbers. - --tx-out-reference-script-file FILEPATH - Reference script input file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_hash-script-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_hash-script-data.cli deleted file mode 100644 index 1fb7ab4eb7..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_hash-script-data.cli +++ /dev/null @@ -1,20 +0,0 @@ -Usage: cardano-cli transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) - - Calculate the hash of script data. - -Available options: - --script-data-cbor-file CBOR_FILE - The script data file. The file has to be in CBOR - format. - --script-data-file JSON_FILE - The script data file. The file must follow the - detailed JSON schema for script data. - --script-data-value JSON_VALUE - The script data. There is no schema: (almost) any - JSON value is supported, including top-level strings - and numbers. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_policyid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_policyid.cli deleted file mode 100644 index 2f66428fe1..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_policyid.cli +++ /dev/null @@ -1,7 +0,0 @@ -Usage: cardano-cli transaction policyid --script-file FILEPATH - - Calculate the PolicyId from the monetary policy script. - -Available options: - --script-file FILEPATH Filepath of the script. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign-witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign-witness.cli deleted file mode 100644 index 7aa1cba6c7..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign-witness.cli +++ /dev/null @@ -1,10 +0,0 @@ -Usage: cardano-cli transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH - - Assemble a tx body and witness(es) to form a transaction - -Available options: - --tx-body-file FILEPATH Input filepath of the JSON TxBody. - --witness-file FILEPATH Filepath of the witness - --out-file FILEPATH The output file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign.cli deleted file mode 100644 index cb3c9fd9cb..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_sign.cli +++ /dev/null @@ -1,23 +0,0 @@ -Usage: cardano-cli transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [--mainnet | --testnet-magic NATURAL] - --out-file FILEPATH - - Sign a transaction - -Available options: - --tx-body-file FILEPATH Input filepath of the JSON TxBody. - --tx-file FILEPATH Input filepath of the JSON Tx. - --signing-key-file FILEPATH - Input filepath of the signing key (one or more). - --address STRING Byron address (Base58-encoded). - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH Output filepath of the JSON Tx. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_submit.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_submit.cli deleted file mode 100644 index 119d0cde3e..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_submit.cli +++ /dev/null @@ -1,24 +0,0 @@ -Usage: cardano-cli transaction submit --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - --tx-file FILEPATH - - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. - -Available options: - --socket-path SOCKET_PATH - Path to the node socket. This overrides the - CARDANO_NODE_SOCKET_PATH environment variable. The - argument is optional if CARDANO_NODE_SOCKET_PATH is - defined and mandatory otherwise. - --cardano-mode For talking to a node running in full Cardano mode - (default). - --epoch-slots SLOTS The number of slots per epoch for the Byron era. - (default: 21600) - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --tx-file FILEPATH Filepath of the transaction you intend to submit. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_txid.cli deleted file mode 100644 index 1feb57dc19..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_txid.cli +++ /dev/null @@ -1,11 +0,0 @@ -Usage: cardano-cli transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - - Print a transaction identifier. - -Available options: - --tx-body-file FILEPATH Input filepath of the JSON TxBody. - --tx-file FILEPATH Input filepath of the JSON Tx. - -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_witness.cli deleted file mode 100644 index d446a20316..0000000000 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_witness.cli +++ /dev/null @@ -1,19 +0,0 @@ -Usage: cardano-cli transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [--mainnet | --testnet-magic NATURAL] - --out-file FILEPATH - - Create a transaction witness - -Available options: - --tx-body-file FILEPATH Input filepath of the JSON TxBody. - --signing-key-file FILEPATH - Input filepath of the signing key (one or more). - --address STRING Byron address (Base58-encoded). - --mainnet Use the mainnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --testnet-magic NATURAL Specify a testnet magic id. This overrides the - CARDANO_NODE_NETWORK_ID environment variable - --out-file FILEPATH The output file. - -h,--help Show this help text