diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 25ae1f786e..5ee966546a 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -89,6 +89,10 @@ jobs: - uses: actions/checkout@v4 + - name: Configure Git to support long file paths on Windows + if: ${{ matrix.sys.os == 'windows-latest' }} + run: git config --system core.longpaths true + - name: Cache and install Cabal dependencies uses: intersectmbo/cardano-api/.github/actions/cabal-cache@a7bd74dfa6ccb1eb04f69791f978a3b9e0cc63ca with: diff --git a/cabal.project b/cabal.project index 6a27aaa6db..9c95f704d8 100644 --- a/cabal.project +++ b/cabal.project @@ -13,12 +13,8 @@ repository cardano-haskell-packages -- See CONTRIBUTING for information about these, including some Nix commands -- you need to run if you change them index-state: - , hackage.haskell.org 2026-04-16T00:15:23Z - , cardano-haskell-packages 2026-05-02T15:05:10Z - -active-repositories: - , :rest - , cardano-haskell-packages:override + , hackage.haskell.org 2026-07-15T21:58:35Z + , cardano-haskell-packages 2026-06-30T00:00:00Z packages: cardano-cli @@ -74,6 +70,85 @@ write-ghc-environment-files: always -- Do NOT add more source-repository-package stanzas here unless they are strictly -- temporary! Please read the section in CONTRIBUTING about updating dependencies. +source-repository-package + type: git + location: https://github.com/f-f/kes-agent + tag: 32c1ed675d22a30735d9f22f7afa436a3ef3e64a + --sha256: sha256-o7hFX1JnraS6Xq0WoXQwd9Z8GsPPv0Ls2DWvZ08o0ZU= + subdir: + kes-agent + kes-agent-crypto + +-- Points to the branch ch1bo-palas/key-registration +source-repository-package + type: git + location: https://github.com/input-output-hk/cardano-api + tag: 6bd3d265aac5a968f966cdcfd2896331b53389f1 + --sha256: sha256-3HC8nie+gC/sxWnXuoNOXpEvBAIq8enns1LJbIp1sCQ= + subdir: + cardano-api + +-- Force cardano-crypto-class 2.5.x to avoid conflict with the installed 2.3.x. +constraints: cardano-crypto-class == 2.5.0.0 +allow-newer: cardano-cli:cardano-crypto-class + +-- cardano-api (SRP) upper-bounds QuickCheck<2.18, but at index-state 2026-06-30 +-- ral-0.2.2 (pulled in by plutus-core) requires QuickCheck>=2.18, so we relax. +allow-newer: cardano-api:QuickCheck + +-- Points to leios-prototype branch +source-repository-package + type: git + location: https://github.com/input-output-hk/ouroboros-consensus + tag: 3511ac5ad2ded55553d821e7305a2c10e1cfbeca + --sha256: sha256-pdZrsQv0+w6FhXI17Xcp6MjUOQidLb2MBA+vXl9T/ik= + +-- ouroboros-consensus uses deprecated cardano-ledger API (Validated, applyTx). +-- Suppress deprecation warnings to match the nix build behavior. +package ouroboros-consensus + ghc-options: -Wno-deprecations + +-- Points to leios-prototype branch +source-repository-package + type: git + location: https://github.com/IntersectMBO/cardano-ledger + tag: fb8d6f8a83b0efb86281e0b80e7ffba160dad8b1 + --sha256: sha256-U/vpyZNerL1YXiQg1TIAOL5L438NNE3XkuIYD0HPTJw= + subdir: + eras/allegra/impl + eras/alonzo/impl + eras/babbage/impl + eras/byron/chain/executable-spec + eras/byron/crypto + eras/byron/ledger/executable-spec + eras/byron/ledger/impl + eras/conway/impl + eras/dijkstra/impl + eras/mary/impl + eras/shelley-ma/test-suite + eras/shelley/impl + eras/shelley/test-suite + libs/cardano-data + libs/cardano-ledger-api + libs/cardano-ledger-binary + libs/cardano-ledger-core + libs/cardano-protocol-tpraos + libs/non-integral + libs/small-steps + libs/vector-map + +-- Points to leios-prototype +source-repository-package + type: git + location: https://github.com/IntersectMBO/ouroboros-network + tag: 4b3ab7664f609a1aee0f0c24dcfcfd0ab899fc42 + --sha256: sha256-fIqpI2whstetodpiONmUDVgnhTpzXeq1/gmzuHItK5A= + subdir: + ./cardano-diffusion + ./monoidal-synchronisation + ./network-mux + ./ouroboros-network + -- cabal-allow-newer begin if impl(ghc >= 9.14) allow-newer: diff --git a/cabal.project.local b/cabal.project.local index 9f6904a1ed..80f61a970d 100644 --- a/cabal.project.local +++ b/cabal.project.local @@ -2,8 +2,3 @@ ignore-project: False program-options ghc-options: -Wwarn - -packages: - ../cardano-api/cardano-api - ../cardano-ledger/libs/cardano-ledger-core - ../cardano-ledger/eras/dijkstra/impl diff --git a/cardano-cli/src/Cardano/CLI/Byron/UpdateProposal.hs b/cardano-cli/src/Cardano/CLI/Byron/UpdateProposal.hs index 79a3b7e146..d929c2a0cd 100644 --- a/cardano-cli/src/Cardano/CLI/Byron/UpdateProposal.hs +++ b/cardano-cli/src/Cardano/CLI/Byron/UpdateProposal.hs @@ -69,5 +69,5 @@ submitByronUpdateProposal submitByronUpdateProposal nodeSocketPath network proposalFp = do proposal <- readByronUpdateProposal proposalFp let genTx = toByronLedgerUpdateProposal proposal - traceWith stdoutTracer $ "Update proposal TxId: " ++ condense (txId genTx) + liftIO $ traceWith stdoutTracer $ "Update proposal TxId: " ++ condense (txId genTx) fromExceptTCli $ nodeSubmitTx nodeSocketPath network genTx diff --git a/cardano-cli/src/Cardano/CLI/Byron/Vote.hs b/cardano-cli/src/Cardano/CLI/Byron/Vote.hs index 10c99d15b2..6dea978de1 100644 --- a/cardano-cli/src/Cardano/CLI/Byron/Vote.hs +++ b/cardano-cli/src/Cardano/CLI/Byron/Vote.hs @@ -52,7 +52,7 @@ submitByronVote submitByronVote nodeSocketPath network voteFp = do vote <- readByronVote voteFp let genTx = toByronLedgertoByronVote vote - traceWith stdoutTracer ("Vote TxId: " ++ condense (txId genTx)) + liftIO $ traceWith stdoutTracer ("Vote TxId: " ++ condense (txId genTx)) fromExceptTCli $ nodeSubmitTx nodeSocketPath network genTx readByronVote :: FilePath -> CIO e ByronVote diff --git a/cardano-cli/src/Cardano/CLI/Compatible/Json/Friendly.hs b/cardano-cli/src/Cardano/CLI/Compatible/Json/Friendly.hs index 4b34b2ef6f..b52ffb2d39 100644 --- a/cardano-cli/src/Cardano/CLI/Compatible/Json/Friendly.hs +++ b/cardano-cli/src/Cardano/CLI/Compatible/Json/Friendly.hs @@ -328,19 +328,19 @@ getScriptWitnessDetails era tb = Ledger.AlonzoSpending (L.AsIxItem _ sp) -> addLabelToPurpose Spending (friendlyInput sp) Ledger.AlonzoMinting (L.AsIxItem _ mp) -> addLabelToPurpose Minting mp Ledger.AlonzoCertifying (L.AsIxItem _ cp) -> addLabelToPurpose Certifying cp - Ledger.AlonzoRewarding (L.AsIxItem _ rp) -> addLabelToPurpose Rewarding rp + Ledger.AlonzoWithdrawing (L.AsIxItem _ rp) -> addLabelToPurpose Rewarding rp friendlyPurpose AlonzoEraOnwardsBabbage purpose = case purpose of Ledger.AlonzoSpending (L.AsIxItem _ sp) -> addLabelToPurpose Spending (friendlyInput sp) Ledger.AlonzoMinting (L.AsIxItem _ mp) -> addLabelToPurpose Minting mp Ledger.AlonzoCertifying (L.AsIxItem _ cp) -> addLabelToPurpose Certifying cp - Ledger.AlonzoRewarding (L.AsIxItem _ rp) -> addLabelToPurpose Rewarding rp + Ledger.AlonzoWithdrawing (L.AsIxItem _ rp) -> addLabelToPurpose Rewarding rp friendlyPurpose AlonzoEraOnwardsConway purpose = case purpose of Ledger.ConwaySpending (L.AsIxItem _ sp) -> addLabelToPurpose Spending (friendlyInput sp) Ledger.ConwayMinting (L.AsIxItem _ mp) -> addLabelToPurpose Minting mp Ledger.ConwayCertifying (L.AsIxItem _ cp) -> addLabelToPurpose Certifying cp - Ledger.ConwayRewarding (L.AsIxItem _ rp) -> addLabelToPurpose Rewarding rp + Ledger.ConwayWithdrawing (L.AsIxItem _ rp) -> addLabelToPurpose Rewarding rp Ledger.ConwayVoting (L.AsIxItem _ vp) -> addLabelToPurpose Voting vp Ledger.ConwayProposing (L.AsIxItem _ pp) -> addLabelToPurpose Proposing pp friendlyPurpose AlonzoEraOnwardsDijkstra purpose = do @@ -350,7 +350,7 @@ getScriptWitnessDetails era tb = Ledger.DijkstraSpending (L.AsIxItem _ sp) -> addLabelToPurpose Spending (friendlyInput sp) Ledger.DijkstraMinting (L.AsIxItem _ mp) -> addLabelToPurpose Minting mp Ledger.DijkstraCertifying (L.AsIxItem _ cp) -> addLabelToPurpose Certifying cp - Ledger.DijkstraRewarding (L.AsIxItem _ rp) -> addLabelToPurpose Rewarding rp + Ledger.DijkstraWithdrawing (L.AsIxItem _ rp) -> addLabelToPurpose Rewarding rp Ledger.DijkstraVoting (L.AsIxItem _ vp) -> addLabelToPurpose Voting vp Ledger.DijkstraProposing (L.AsIxItem _ pp) -> addLabelToPurpose Proposing pp Ledger.DijkstraGuarding (L.AsIxItem _ pp) -> addLabelToPurpose Guarding pp diff --git a/cardano-cli/src/Cardano/CLI/Compatible/StakePool/Run.hs b/cardano-cli/src/Cardano/CLI/Compatible/StakePool/Run.hs index 99d76dcd2a..96f920af60 100644 --- a/cardano-cli/src/Cardano/CLI/Compatible/StakePool/Run.hs +++ b/cardano-cli/src/Cardano/CLI/Compatible/StakePool/Run.hs @@ -82,6 +82,7 @@ runStakePoolRegistrationCertificateCmd , stakePoolOwners = stakePoolOwners' , stakePoolRelays = relays , stakePoolMetadata = pcaAnchor <$> mMetadata + , stakePoolBlsKey = Nothing } let ledgerStakePoolParams = toShelleyPoolParams stakePoolParams diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Genesis/CreateTestnetData/Run.hs b/cardano-cli/src/Cardano/CLI/EraBased/Genesis/CreateTestnetData/Run.hs index d7e1625d33..ecaaf71317 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Genesis/CreateTestnetData/Run.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Genesis/CreateTestnetData/Run.hs @@ -791,6 +791,7 @@ buildPoolParams nw dir index specifiedRelays = do , L.sppOwners = mempty , L.sppRelays = lookupPoolRelay specifiedRelays , L.sppMetadata = L.SNothing + , L.sppLeiosKey = L.SNothing } where lookupPoolRelay :: Map Word [L.StakePoolRelay] -> Seq.StrictSeq L.StakePoolRelay diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Genesis/Run.hs b/cardano-cli/src/Cardano/CLI/EraBased/Genesis/Run.hs index 9eac0d4d6f..3b29c67646 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Genesis/Run.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Genesis/Run.hs @@ -978,6 +978,7 @@ buildPoolParams nw dir index specifiedRelays = do , L.sppOwners = mempty , L.sppRelays = lookupPoolRelay specifiedRelays , L.sppMetadata = L.SNothing + , L.sppLeiosKey = L.SNothing } where lookupPoolRelay diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Governance/Actions/Option.hs b/cardano-cli/src/Cardano/CLI/EraBased/Governance/Actions/Option.hs index 2b70dfe8e8..e281a7a1dc 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Governance/Actions/Option.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Governance/Actions/Option.hs @@ -346,8 +346,8 @@ pGovActionProtocolParametersUpdate = \case <*> pIntroducedInBabbagePParams <*> pIntroducedInConwayPParams ShelleyBasedEraDijkstra -> - -- TODO: Dijkstra - error "pGovActionProtocolParametersUpdate: Dijkstra era not supported yet" + -- TODO: Dijkstra - add DijkstraEraBasedProtocolParametersUpdate to cardano-api + Opt.empty pGovernanceActionTreasuryWithdrawalCmd :: Exp.IsEra era => Maybe (Parser (Cmd.GovernanceActionCmds era)) diff --git a/cardano-cli/src/Cardano/CLI/EraBased/StakePool/Command.hs b/cardano-cli/src/Cardano/CLI/EraBased/StakePool/Command.hs index 704e1847d5..70e0024546 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/StakePool/Command.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/StakePool/Command.hs @@ -69,8 +69,8 @@ data StakePoolRegistrationCertificateCmdArgs era -- ^ Stake pool verification key. , vrfVerificationKeyOrFile :: !(VerificationKeyOrFile VrfKey) -- ^ VRF Verification key. - , blsSkeyFile :: !(SigningKeyFile In) - -- ^ The BLS signing key. + , poolBlsKey :: !(Maybe (SigningKeyFile In)) + -- ^ Optional BLS signing key file used to derive the BLS key (public key + possession proof). , poolPledge :: !Coin -- ^ Pool pledge. , poolCost :: !Coin diff --git a/cardano-cli/src/Cardano/CLI/EraBased/StakePool/Option.hs b/cardano-cli/src/Cardano/CLI/EraBased/StakePool/Option.hs index 357b461979..dfb4d6cda2 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/StakePool/Option.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/StakePool/Option.hs @@ -105,7 +105,7 @@ pStakePoolRegistrationCertificateCmd envCli = do Cmd.StakePoolRegistrationCertificateCmdArgs (convert useEra) <$> pStakePoolVerificationKeyOrFile Nothing <*> pVrfVerificationKeyOrFile - <*> pBlsSigningKeyFile + <*> optional pBlsSigningKeyFile <*> pPoolPledge <*> pPoolCost <*> pPoolMargin diff --git a/cardano-cli/src/Cardano/CLI/EraBased/StakePool/Run.hs b/cardano-cli/src/Cardano/CLI/EraBased/StakePool/Run.hs index b75dc982de..a0cbb6807b 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/StakePool/Run.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/StakePool/Run.hs @@ -73,9 +73,10 @@ runStakePoolRegistrationCertificateCmd { era , poolVerificationKeyOrFile , vrfVerificationKeyOrFile - , poolPledge + , poolBlsKey = mPoolBlsKeyFile , poolCost , poolMargin + , poolPledge , rewardStakeVerificationKeyOrFile , ownerStakeVerificationKeyOrFiles , relays @@ -106,10 +107,20 @@ runStakePoolRegistrationCertificateCmd ownerStakeVerificationKeyOrFiles let stakePoolOwners' = map verificationKeyHash sPoolOwnerVkeys + -- BLS key (optional): derived from a BLS signing key file + mBlsKey <- case mPoolBlsKeyFile of + Nothing -> pure Nothing + Just skeyFile -> do + skey <- + fromEitherIOCli @(FileError TextEnvelopeError) $ + readFileTextEnvelope @(SigningKey BlsKey) skeyFile + pure $ Just $ blsSigningKeyToLeiosKey skey + let stakePoolParams = StakePoolParameters { stakePoolId = stakePoolId' , stakePoolVRF = vrfKeyHash' + , stakePoolBlsKey = mBlsKey , stakePoolCost = poolCost , stakePoolMargin = poolMargin , stakePoolRewardAccount = rewardAccountAddr diff --git a/cardano-cli/src/Cardano/CLI/EraIndependent/Cip/Cip129/Run.hs b/cardano-cli/src/Cardano/CLI/EraIndependent/Cip/Cip129/Run.hs index 2c231cc6b3..bae6887dfa 100644 --- a/cardano-cli/src/Cardano/CLI/EraIndependent/Cip/Cip129/Run.hs +++ b/cardano-cli/src/Cardano/CLI/EraIndependent/Cip/Cip129/Run.hs @@ -32,9 +32,9 @@ runCip129 (Cip129DRep inp out) = do f <- liftIO $ fileOrPipe textEnvFp fromEitherIOCli $ readDrepVerificationKeyFile f InputHexText t -> do - fromEitherCli . Valid.toEither $ readDRepHexVerificationKeyText t + fromEitherCli . Valid.foldValidation Left Right $ readDRepHexVerificationKeyText t InputBech32Text t -> do - fromEitherCli . Valid.toEither $ readDRepBech32VerificationKeyText t + fromEitherCli . Valid.foldValidation Left Right $ readDRepBech32VerificationKeyText t let cip129Output = Text.encodeUtf8 $ encodeCip129DrepVerficationKeyText k renderOutput cip129Output out runCip129 (Cip129CommitteeHotKey inp out) = do @@ -43,9 +43,9 @@ runCip129 (Cip129CommitteeHotKey inp out) = do f <- liftIO $ fileOrPipe textEnvFp fromEitherIOCli $ readCommitteeHotVerificationKeyFile f InputHexText t -> - fromEitherCli . Valid.toEither $ readCommitteeHotHexVerificationKeyText t + fromEitherCli . Valid.foldValidation Left Right $ readCommitteeHotHexVerificationKeyText t InputBech32Text t -> - fromEitherCli . Valid.toEither $ readCommitteeHotBech32VerificationKeyText t + fromEitherCli . Valid.foldValidation Left Right $ readCommitteeHotBech32VerificationKeyText t let cip129Output = Text.encodeUtf8 $ encodeCip129CommitteeHotVerficationKeyText k renderOutput cip129Output out runCip129 (Cip129CommitteeColdKey inp out) = do @@ -54,9 +54,9 @@ runCip129 (Cip129CommitteeColdKey inp out) = do f <- liftIO $ fileOrPipe textEnvFp fromEitherIOCli $ readCommitteeColdVerificationKeyFile f InputHexText t -> - fromEitherCli . Valid.toEither $ readCommitteeColdHexVerificationKeyText t + fromEitherCli . Valid.foldValidation Left Right $ readCommitteeColdHexVerificationKeyText t InputBech32Text t -> - fromEitherCli . Valid.toEither $ readCommitteeColdBech32VerificationKeyText t + fromEitherCli . Valid.foldValidation Left Right $ readCommitteeColdBech32VerificationKeyText t let cip129Output = Text.encodeUtf8 $ encodeCip129CommitteeColdVerficationKeyText k renderOutput cip129Output out runCip129 (Cip129GovernanceAction inp out) = diff --git a/cardano-cli/src/Cardano/CLI/EraIndependent/Ping/Run.hs b/cardano-cli/src/Cardano/CLI/EraIndependent/Ping/Run.hs index de66b74651..596d3540bf 100644 --- a/cardano-cli/src/Cardano/CLI/EraIndependent/Ping/Run.hs +++ b/cardano-cli/src/Cardano/CLI/EraIndependent/Ping/Run.hs @@ -19,7 +19,7 @@ import Control.Concurrent.Class.MonadSTM.Strict qualified as STM import Control.Exception (SomeException) import Control.Monad (forM, unless) import Control.Monad.Class.MonadAsync (MonadAsync (async, wait, waitCatch)) -import Control.Tracer (Tracer (..)) +import Control.Tracer (Tracer, mkTracer) import Data.List qualified as L import Data.List qualified as List import Network.Socket (AddrInfo) @@ -96,7 +96,7 @@ runPingCmd options = do -- Ping client thread handles caids <- forM addresses $ - liftIO . async . pingClient (Tracer $ doLog msgQueue) (Tracer doErrLog) options versions + liftIO . async . pingClient (mkTracer $ doLog msgQueue) (mkTracer doErrLog) options versions res <- L.zip addresses <$> mapM (liftIO . waitCatch) caids liftIO $ doLog msgQueue CNP.LogEnd liftIO $ wait laid diff --git a/cardano-cli/src/Cardano/CLI/Orphan.hs b/cardano-cli/src/Cardano/CLI/Orphan.hs index 4a81e7c75c..ec8a8112c7 100644 --- a/cardano-cli/src/Cardano/CLI/Orphan.hs +++ b/cardano-cli/src/Cardano/CLI/Orphan.hs @@ -15,7 +15,6 @@ import Cardano.Api.Experimental as Exp import Cardano.Api.Ledger qualified as L import Cardano.CLI.Type.Error.ScriptDecodeError -import Cardano.Ledger.Conway.Governance qualified as L import Cardano.Ledger.Conway.State qualified as L import Control.Exception @@ -24,13 +23,6 @@ import Data.List qualified as List import Data.Typeable import Data.Word -instance ToJSON L.DefaultVote where - toJSON defaultVote = - case defaultVote of - L.DefaultNo -> String "DefaultNo" - L.DefaultAbstain -> String "DefaultAbstain" - L.DefaultNoConfidence -> String "DefaultNoConfidence" - instance Error [Bech32DecodeError] where prettyError errs = vsep $ map prettyError errs diff --git a/cardano-cli/src/Cardano/CLI/Read/Committee/ColdKey.hs b/cardano-cli/src/Cardano/CLI/Read/Committee/ColdKey.hs index 026248ec80..193765b6eb 100644 --- a/cardano-cli/src/Cardano/CLI/Read/Committee/ColdKey.hs +++ b/cardano-cli/src/Cardano/CLI/Read/Committee/ColdKey.hs @@ -35,11 +35,11 @@ readCommitteeColdBech32VerificationKeyText :: Text -> Validation [Bech32DecodeError] AnyCommitteeColdVerificationKey readCommitteeColdBech32VerificationKeyText committeeColdText = let vkey = - liftError return $ + liftError' $ AnyCommitteeColdVerificationKey <$> deserialiseFromBech32 committeeColdText extendedVkey = - liftError return $ + liftError' $ AnyCommitteeColdExtendedVerificationKey <$> deserialiseFromBech32 committeeColdText in vkey <> extendedVkey @@ -49,15 +49,20 @@ readCommitteeColdHexVerificationKeyText readCommitteeColdHexVerificationKeyText committeeColdText = let committeeColdBs = Text.encodeUtf8 committeeColdText vkey = - liftError return $ + liftError' $ AnyCommitteeColdVerificationKey <$> deserialiseFromRawBytesHex committeeColdBs extendedVkey = - liftError return $ + liftError' $ AnyCommitteeColdExtendedVerificationKey <$> deserialiseFromRawBytesHex committeeColdBs in vkey <> extendedVkey +-- | Convert an 'Either' to a 'Validation', wrapping the error in a singleton list. +liftError' :: Either e a -> Validation [e] a +liftError' (Left e) = Failure [e] +liftError' (Right a) = Success a + readCommitteeColdVerificationKeyFile :: FileOrPipe -> IO (Either (FileError TextEnvelopeError) AnyCommitteeColdVerificationKey) readCommitteeColdVerificationKeyFile = readFileOrPipeTextEnvelopeAnyOf types diff --git a/cardano-cli/src/Cardano/CLI/Read/Committee/HotKey.hs b/cardano-cli/src/Cardano/CLI/Read/Committee/HotKey.hs index 61ebf39573..b11dbf1d15 100644 --- a/cardano-cli/src/Cardano/CLI/Read/Committee/HotKey.hs +++ b/cardano-cli/src/Cardano/CLI/Read/Committee/HotKey.hs @@ -34,11 +34,11 @@ readCommitteeHotBech32VerificationKeyText :: Text -> Validation [Bech32DecodeError] AnyCommitteeHotVerificationKey readCommitteeHotBech32VerificationKeyText committeeHot = let vkey = - liftError return $ + liftError' $ AnyCommitteeHotVerificationKey <$> deserialiseFromBech32 committeeHot extendedVkey = - liftError return $ + liftError' $ AnyCommitteeHotExtendedVerificationKey <$> deserialiseFromBech32 committeeHot in vkey <> extendedVkey @@ -48,15 +48,20 @@ readCommitteeHotHexVerificationKeyText readCommitteeHotHexVerificationKeyText committeeHotText = let committeeHotBs = Text.encodeUtf8 committeeHotText vkey = - liftError return $ + liftError' $ AnyCommitteeHotVerificationKey <$> deserialiseFromRawBytesHex committeeHotBs extendedVkey = - liftError return $ + liftError' $ AnyCommitteeHotExtendedVerificationKey <$> deserialiseFromRawBytesHex committeeHotBs in vkey <> extendedVkey +-- | Convert an 'Either' to a 'Validation', wrapping the error in a singleton list. +liftError' :: Either e a -> Validation [e] a +liftError' (Left e) = Failure [e] +liftError' (Right a) = Success a + readCommitteeHotVerificationKeyFile :: FileOrPipe -> IO (Either (FileError TextEnvelopeError) AnyCommitteeHotVerificationKey) readCommitteeHotVerificationKeyFile = readFileOrPipeTextEnvelopeAnyOf types diff --git a/cardano-cli/src/Cardano/CLI/Read/DRep.hs b/cardano-cli/src/Cardano/CLI/Read/DRep.hs index a0655d158d..2d6153733b 100644 --- a/cardano-cli/src/Cardano/CLI/Read/DRep.hs +++ b/cardano-cli/src/Cardano/CLI/Read/DRep.hs @@ -32,10 +32,10 @@ deriving instance Show AnyDrepVerificationKey readDRepBech32VerificationKeyText :: Text -> Validation [Bech32DecodeError] AnyDrepVerificationKey readDRepBech32VerificationKeyText drep = let vkey = - liftError return $ + liftError' $ AnyDrepVerificationKey <$> deserialiseFromBech32 drep extendedVkey = - liftError return $ + liftError' $ AnyDrepExtendedVerificationKey <$> deserialiseFromBech32 drep in vkey <> extendedVkey @@ -43,14 +43,20 @@ readDRepHexVerificationKeyText :: Text -> Validation [RawBytesHexError] AnyDrepV readDRepHexVerificationKeyText drepText = let drepBs = Text.encodeUtf8 drepText vkey = - liftError return $ + liftError' $ AnyDrepVerificationKey <$> deserialiseFromRawBytesHex drepBs extendedVkey = - liftError return $ + liftError' $ AnyDrepExtendedVerificationKey <$> deserialiseFromRawBytesHex drepBs in vkey <> extendedVkey +-- | Convert an 'Either' to a 'Validation', wrapping the error in a singleton list. +-- Replaces @liftError return@ from older versions of the @validation@ package. +liftError' :: Either e a -> Validation [e] a +liftError' (Left e) = Failure [e] +liftError' (Right a) = Success a + readDrepVerificationKeyFile :: FileOrPipe -> IO (Either (FileError TextEnvelopeError) AnyDrepVerificationKey) readDrepVerificationKeyFile = readFileOrPipeTextEnvelopeAnyOf types diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/base_help.cli b/cardano-cli/test/cardano-cli-golden/files/golden/base_help.cli index 9c420b764a..2053ab5017 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/base_help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/base_help.cli @@ -18,6 +18,7 @@ Usage: cardano-cli | cip-format | compatible ) + Available options: --version Show the cardano-cli version 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 8a582f05b0..fbdd437675 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -14,8 +14,9 @@ Usage: cardano-cli | cip-format | compatible ) + -Usage: cardano-cli address (key-gen | key-hash | build | info) +Usage: cardano-cli address (key-gen | key-hash | build | info) Payment address commands. @@ -30,6 +31,7 @@ Usage: cardano-cli address key-gen ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create an address key pair. @@ -38,6 +40,7 @@ Usage: cardano-cli address key-hash | --payment-verification-key-file FILEPATH ) [--out-file FILEPATH] + Print the hash of an address key. @@ -54,10 +57,11 @@ Usage: cardano-cli address build ] (--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] +Usage: cardano-cli address info --address ADDRESS [--out-file FILEPATH] Print information about an address. @@ -73,21 +77,24 @@ Usage: cardano-cli 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 generate-mnemonic [--out-file FILEPATH] --size WORD32 +Usage: cardano-cli key generate-mnemonic [--out-file FILEPATH] --size WORD32 Generate a mnemonic sentence that can be used for key derivation. @@ -107,6 +114,7 @@ Usage: cardano-cli key derive-from-mnemonic | --mnemonic-from-interactive-prompt ) --signing-key-file FILEPATH + Derive an extended signing key from a mnemonic sentence. To ensure the safety of the mnemonic phrase, we recommend that key derivation is performed in an @@ -124,12 +132,14 @@ Usage: cardano-cli key convert-byron-key [--password TEXT] | --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 @@ -139,18 +149,21 @@ Usage: cardano-cli key convert-itn-key | --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 @@ -166,6 +179,7 @@ Usage: cardano-cli key convert-cardano-address-key ) --signing-key-file FILEPATH --out-file FILEPATH + Convert a cardano-address extended signing key to a corresponding Shelley-format key. @@ -178,6 +192,7 @@ Usage: cardano-cli node | new-counter | issue-op-cert ) + Node operation commands. @@ -189,6 +204,7 @@ Usage: cardano-cli node key-gen --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 @@ -200,6 +216,7 @@ Usage: cardano-cli node key-gen-KES ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a key pair for a node KES operational key @@ -210,6 +227,7 @@ Usage: cardano-cli node key-gen-VRF ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a key pair for a node VRF operational key @@ -218,6 +236,7 @@ Usage: cardano-cli node key-hash-VRF | --verification-key-file FILEPATH ) [--out-file FILEPATH] + Print hash of a node's operational VRF key. @@ -229,6 +248,7 @@ Usage: cardano-cli node new-counter ) --counter-value INT --operational-certificate-issue-counter-file FILEPATH + Create a new certificate issue counter @@ -240,10 +260,11 @@ Usage: cardano-cli node issue-op-cert --operational-certificate-issue-counter-file FILEPATH --kes-period NATURAL --out-file FILEPATH + Issue a node operational certificate -Usage: cardano-cli hash (anchor-data | script | genesis-file) +Usage: cardano-cli hash (anchor-data | script | genesis-file) Compute the hash to pass to the various --*-hash arguments of commands. @@ -256,14 +277,15 @@ Usage: cardano-cli hash anchor-data [ --expected-hash HASH | --out-file FILEPATH ] + Compute the hash of some anchor data (to then pass it to other commands). -Usage: cardano-cli hash script --script-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli hash script --script-file FILEPATH [--out-file FILEPATH] Compute the hash of a script (to then pass it to other commands). -Usage: cardano-cli hash genesis-file --genesis FILEPATH +Usage: cardano-cli hash genesis-file --genesis FILEPATH Compute the hash of a genesis file. @@ -285,6 +307,7 @@ Usage: cardano-cli query | slot-number | ledger-peer-snapshot ) + Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. @@ -298,6 +321,7 @@ Usage: cardano-cli query protocol-parameters --socket-path SOCKET_PATH [--output-json | --output-yaml] [--out-file FILEPATH] + Get the node's current protocol parameters @@ -307,6 +331,7 @@ Usage: cardano-cli query tip [--cardano-mode [--epoch-slots SLOTS]] [--volatile-tip | --immutable-tip] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the node's current tip (slot no, hash, block no) @@ -319,6 +344,7 @@ Usage: cardano-cli query stake-pools [--cardano-mode [--epoch-slots SLOTS]] | --output-yaml ] [--out-file FILEPATH] + Get the node's current set of stake pool ids @@ -335,6 +361,7 @@ Usage: cardano-cli query stake-distribution | --output-yaml ] [--out-file FILEPATH] + Get the node's current aggregated stake distribution @@ -349,6 +376,7 @@ Usage: cardano-cli query stake-address-info --address ADDRESS [--output-json | --output-yaml] [--out-file FILEPATH] + Get the current delegations and reward accounts filtered by stake address. @@ -357,6 +385,7 @@ Usage: cardano-cli query era-history [--cardano-mode [--epoch-slots SLOTS]] --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + Obtains the era history data. The era history contains information about when era transitions happened and can be used together with the start time to @@ -380,6 +409,7 @@ Usage: cardano-cli query utxo [--cardano-mode [--epoch-slots SLOTS]] | --output-yaml ] [--out-file FILEPATH] + Get a portion of the current UTxO: by tx in, by address or the whole. @@ -392,6 +422,7 @@ Usage: cardano-cli query ledger-state [--cardano-mode [--epoch-slots SLOTS]] | --output-yaml ] [--out-file FILEPATH] + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) @@ -406,6 +437,7 @@ Usage: cardano-cli query protocol-state [--cardano-mode [--epoch-slots SLOTS]] | --output-yaml ] [--out-file FILEPATH] + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) @@ -419,6 +451,7 @@ Usage: cardano-cli query stake-snapshot [--cardano-mode [--epoch-slots SLOTS]] ) [--output-json | --output-yaml] [--out-file FILEPATH] + Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) @@ -432,6 +465,7 @@ Usage: cardano-cli query pool-params [--cardano-mode [--epoch-slots SLOTS]] ) [--output-json | --output-yaml] [--out-file FILEPATH] + DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced @@ -460,6 +494,7 @@ Usage: cardano-cli query leadership-schedule | --output-yaml ] [--out-file FILEPATH] + Get the slots the node is expected to mint a block in (advanced command) @@ -470,6 +505,7 @@ Usage: cardano-cli query kes-period-info [--cardano-mode [--epoch-slots SLOTS]] --op-cert-file FILEPATH [--output-json | --output-yaml] [--out-file FILEPATH] + Get information about the current KES period and your node's operational certificate. @@ -483,6 +519,7 @@ Usage: cardano-cli query pool-state [--cardano-mode [--epoch-slots SLOTS]] ) [--output-json | --output-yaml] [--out-file FILEPATH] + Dump the pool state @@ -492,6 +529,7 @@ Usage: cardano-cli query tx-mempool [--cardano-mode [--epoch-slots SLOTS]] (info | next-tx | tx-exists) [--output-json | --output-yaml] [--out-file FILEPATH] + Local Mempool info @@ -503,7 +541,7 @@ 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 +Usage: cardano-cli query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool @@ -512,6 +550,7 @@ Usage: cardano-cli query slot-number [--cardano-mode [--epoch-slots SLOTS]] --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] TIMESTAMP + Query slot number for UTC timestamp @@ -528,11 +567,12 @@ Usage: cardano-cli query ledger-peer-snapshot [--all-ledger-peers] [--output-json | --output-yaml] [--out-file FILEPATH] + Dump the current snapshot of big ledger peers. These are the largest pools that cumulatively hold 90% of total stake. -Usage: cardano-cli legacy COMMAND +Usage: cardano-cli legacy COMMAND Legacy commands @@ -549,31 +589,36 @@ Usage: cardano-cli legacy genesis | create-staked | hash ) + Genesis block commands Usage: cardano-cli legacy genesis key-gen-genesis --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a Shelley genesis key pair Usage: cardano-cli legacy genesis key-gen-delegate --verification-key-file FILEPATH --signing-key-file FILEPATH --operational-certificate-issue-counter-file FILEPATH + Create a Shelley genesis delegate key pair Usage: cardano-cli legacy 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 legacy genesis key-hash --verification-key-file FILEPATH Print the identifier (hash) of a public key Usage: cardano-cli legacy genesis get-ver-key --verification-key-file FILEPATH --signing-key-file FILEPATH + Derive the verification key from a signing key @@ -582,6 +627,7 @@ Usage: cardano-cli legacy genesis initial-addr --verification-key-file FILEPATH | --testnet-magic NATURAL ) [--out-file FILEPATH] + Get the address for an initial UTxO based on the verification key @@ -590,6 +636,7 @@ Usage: cardano-cli legacy genesis initial-txin --verification-key-file FILEPATH | --testnet-magic NATURAL ) [--out-file FILEPATH] + Get the TxIn for an initial UTxO based on the verification key @@ -610,6 +657,7 @@ Usage: cardano-cli legacy genesis create-cardano --conway-era --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. @@ -621,6 +669,7 @@ Usage: cardano-cli legacy genesis create | --alonzo | --babbage | --conway + | --dijkstra ) [ --key-output-bech32 | --key-output-text-envelope @@ -632,6 +681,7 @@ Usage: cardano-cli legacy genesis create [--start-time UTC_TIME] [--supply LOVELACE] (--mainnet | --testnet-magic NATURAL) + Create a Shelley genesis file from a genesis template and genesis/delegation/spending keys. @@ -656,11 +706,12 @@ Usage: cardano-cli legacy genesis create-staked --conway-era [--bulk-pools-per-file INT] [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] + Create a staked Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli legacy genesis hash --genesis FILEPATH +Usage: cardano-cli legacy genesis hash --genesis FILEPATH DEPRECATION WARNING! This command is deprecated and will be removed in a future release. Please use hash genesis-file instead. Compute the hash of a @@ -673,6 +724,7 @@ Usage: cardano-cli byron | governance | miscellaneous ) + Byron specific commands @@ -683,10 +735,11 @@ Usage: cardano-cli byron key | signing-key-address | migrate-delegate-key-from ) + Byron key utility commands -Usage: cardano-cli byron key keygen --secret FILEPATH +Usage: cardano-cli byron key keygen --secret FILEPATH Generate a signing key. @@ -696,6 +749,7 @@ Usage: cardano-cli byron key to-verification ] --secret FILEPATH --to FILEPATH + Extract a verification key in its base64 form. @@ -704,6 +758,7 @@ Usage: cardano-cli byron key signing-key-public | --byron-formats ] --secret FILEPATH + Pretty-print a signing key's verification key (not a secret). @@ -715,11 +770,13 @@ Usage: cardano-cli byron key signing-key-address | --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. @@ -729,6 +786,7 @@ Usage: cardano-cli byron transaction | issue-utxo-expenditure | txid ) + Byron transaction commands @@ -737,6 +795,7 @@ Usage: cardano-cli byron transaction submit-tx --socket-path SOCKET_PATH | --testnet-magic NATURAL ) --tx FILEPATH + Submit a raw, signed transaction, in its on-wire representation. @@ -751,6 +810,7 @@ Usage: cardano-cli byron transaction issue-genesis-utxo-expenditure --genesis-js --wallet-key FILEPATH --rich-addr-from ADDR (--txout '("ADDR", LOVELACE)') + Write a file with a signed transaction, spending genesis UTxO. @@ -765,14 +825,15 @@ Usage: cardano-cli byron transaction issue-utxo-expenditure --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 +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) +Usage: cardano-cli byron genesis (genesis | print-genesis-hash) Byron genesis block commands @@ -789,14 +850,15 @@ Usage: cardano-cli byron genesis genesis --genesis-output-dir FILEPATH --avvm-entry-balance INT [--avvm-balance-factor DOUBLE] [--secret-seed INT] + Create genesis. -Usage: cardano-cli byron genesis print-genesis-hash --genesis-json FILEPATH +Usage: cardano-cli byron genesis print-genesis-hash --genesis-json FILEPATH Compute hash of a genesis file. -Usage: cardano-cli byron governance COMMAND +Usage: cardano-cli byron governance COMMAND Byron governance commands @@ -806,6 +868,7 @@ Usage: cardano-cli byron governance submit-proposal-vote | --testnet-magic NATURAL ) --filepath FILEPATH + Submit a proposal vote. @@ -815,6 +878,7 @@ Usage: cardano-cli byron governance submit-update-proposal | --testnet-magic NATURAL ) --filepath FILEPATH + Submit an update proposal. @@ -828,6 +892,7 @@ Usage: cardano-cli byron governance create-proposal-vote | --vote-no ) --output-filepath FILEPATH + Create an update proposal vote. @@ -861,10 +926,11 @@ Usage: cardano-cli byron governance create-update-proposal [--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) +Usage: cardano-cli byron miscellaneous (validate-cbor | pretty-print-cbor) Byron miscellaneous commands @@ -876,10 +942,11 @@ Usage: cardano-cli byron miscellaneous validate-cbor | --byron-vote ] --filepath FILEPATH + Validate a CBOR blockchain object. -Usage: cardano-cli byron miscellaneous pretty-print-cbor --filepath FILEPATH +Usage: cardano-cli byron miscellaneous pretty-print-cbor --filepath FILEPATH Pretty print a CBOR file. @@ -888,6 +955,7 @@ Usage: cardano-cli byron submit-proposal-vote --socket-path SOCKET_PATH | --testnet-magic NATURAL ) --filepath FILEPATH + Submit a proposal vote. @@ -896,6 +964,7 @@ Usage: cardano-cli byron submit-update-proposal --socket-path SOCKET_PATH | --testnet-magic NATURAL ) --filepath FILEPATH + Submit an update proposal. @@ -907,6 +976,7 @@ Usage: cardano-cli byron create-proposal-vote --proposal-filepath FILEPATH (--vote-yes | --vote-no) --output-filepath FILEPATH + Create an update proposal vote. @@ -940,6 +1010,7 @@ Usage: cardano-cli byron create-update-proposal [--tx-fee-a-constant INT --tx-fee-b-constant DOUBLE] [--unlock-stake-epoch WORD64] + Create an update proposal. @@ -955,10 +1026,11 @@ Usage: cardano-cli conway | text-view | transaction ) + Conway era commands -Usage: cardano-cli conway address (key-gen | key-hash | build | info) +Usage: cardano-cli conway address (key-gen | key-hash | build | info) Payment address commands. @@ -973,6 +1045,7 @@ Usage: cardano-cli conway address key-gen ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create an address key pair. @@ -981,6 +1054,7 @@ Usage: cardano-cli conway address key-hash | --payment-verification-key-file FILEPATH ) [--out-file FILEPATH] + Print the hash of an address key. @@ -997,10 +1071,11 @@ Usage: cardano-cli conway address build ] (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] + Build a Shelley payment address, with optional delegation to a stake address. -Usage: cardano-cli conway address info --address ADDRESS [--out-file FILEPATH] +Usage: cardano-cli conway address info --address ADDRESS [--out-file FILEPATH] Print information about an address. @@ -1016,22 +1091,26 @@ Usage: cardano-cli conway key | convert-itn-bip32-key | convert-cardano-address-key ) + Key utility commands. Usage: cardano-cli conway key verification-key --signing-key-file FILEPATH --verification-key-file FILEPATH + Get a verification key from a signing key. This supports all key types. Usage: cardano-cli conway key non-extended-key --extended-verification-key-file FILEPATH --verification-key-file FILEPATH + Get a non-extended verification key from an extended verification key. This supports all extended key types. Usage: cardano-cli conway key generate-mnemonic [--out-file FILEPATH] --size WORD32 + Generate a mnemonic sentence that can be used for key derivation. @@ -1051,6 +1130,7 @@ Usage: cardano-cli conway key derive-from-mnemonic | --mnemonic-from-interactive-prompt ) --signing-key-file FILEPATH + Derive an extended signing key from a mnemonic sentence. To ensure the safety of the mnemonic phrase, we recommend that key derivation is performed in an @@ -1068,12 +1148,14 @@ Usage: cardano-cli conway key convert-byron-key [--password TEXT] | --byron-verification-key-file FILEPATH ) --out-file FILEPATH + Convert a Byron payment, genesis or genesis delegate key (signing or verification) to a corresponding Shelley-format key. Usage: cardano-cli conway key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 --out-file FILEPATH + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis verification key @@ -1083,18 +1165,21 @@ Usage: cardano-cli conway key convert-itn-key | --itn-verification-key-file FILEPATH ) --out-file FILEPATH + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or verification key to a corresponding Shelley stake key Usage: cardano-cli conway key convert-itn-extended-key --itn-signing-key-file FILEPATH --out-file FILEPATH + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key to a corresponding Shelley stake signing key Usage: cardano-cli conway key convert-itn-bip32-key --itn-signing-key-file FILEPATH --out-file FILEPATH + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a corresponding Shelley stake signing key @@ -1110,6 +1195,7 @@ Usage: cardano-cli conway key convert-cardano-address-key ) --signing-key-file FILEPATH --out-file FILEPATH + Convert a cardano-address extended signing key to a corresponding Shelley-format key. @@ -1128,31 +1214,36 @@ Usage: cardano-cli conway genesis | create-testnet-data | hash ) + Genesis block commands. Usage: cardano-cli conway genesis key-gen-genesis --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a Shelley genesis key pair Usage: cardano-cli conway genesis key-gen-delegate --verification-key-file FILEPATH --signing-key-file FILEPATH --operational-certificate-issue-counter-file FILEPATH + Create a Shelley genesis delegate key pair Usage: cardano-cli conway genesis key-gen-utxo --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a Shelley genesis UTxO key pair -Usage: cardano-cli conway genesis key-hash --verification-key-file FILEPATH +Usage: cardano-cli conway genesis key-hash --verification-key-file FILEPATH Print the identifier (hash) of a public key Usage: cardano-cli conway genesis get-ver-key --verification-key-file FILEPATH --signing-key-file FILEPATH + Derive the verification key from a signing key @@ -1161,6 +1252,7 @@ Usage: cardano-cli conway genesis initial-addr --verification-key-file FILEPATH | --testnet-magic NATURAL ) [--out-file FILEPATH] + Get the address for an initial UTxO based on the verification key @@ -1169,6 +1261,7 @@ Usage: cardano-cli conway genesis initial-txin --verification-key-file FILEPATH | --testnet-magic NATURAL ) [--out-file FILEPATH] + Get the TxIn for an initial UTxO based on the verification key @@ -1188,6 +1281,7 @@ Usage: cardano-cli conway genesis create-cardano --genesis-dir DIR --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. @@ -1203,6 +1297,7 @@ Usage: cardano-cli conway genesis create [--start-time UTC_TIME] [--supply LOVELACE] (--mainnet | --testnet-magic NATURAL) + Create a Shelley genesis file from a genesis template and genesis/delegation/spending keys. @@ -1227,6 +1322,7 @@ Usage: cardano-cli conway genesis create-staked [--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. @@ -1234,6 +1330,7 @@ Usage: cardano-cli conway genesis create-staked 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 @@ -1251,16 +1348,17 @@ Usage: cardano-cli conway genesis create-testnet-data [--spec-shelley FILEPATH] [--relays FILEPATH] [--start-time UTC_TIME] --out-dir DIR + Create data to use for starting a testnet. -Usage: cardano-cli conway genesis hash --genesis FILEPATH +Usage: cardano-cli conway genesis hash --genesis FILEPATH DEPRECATION WARNING! This command is deprecated and will be removed in a future release. Please use hash genesis-file instead. Compute the hash of a genesis file. -Usage: cardano-cli conway governance (action | committee | drep | vote) +Usage: cardano-cli conway governance (action | committee | drep | vote) Governance commands. @@ -1274,6 +1372,7 @@ Usage: cardano-cli conway governance action | create-hardfork | view ) + Governance action commands. @@ -1298,6 +1397,7 @@ Usage: cardano-cli conway governance action create-constitution [--check-constitution-hash] [--constitution-script-hash HASH] --out-file FILEPATH + Create a constitution. @@ -1331,6 +1431,7 @@ Usage: cardano-cli conway governance action update-committee [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] --out-file FILEPATH + Create or update a new committee proposal. @@ -1346,6 +1447,7 @@ Usage: cardano-cli conway governance action create-info (--mainnet | --testnet) --anchor-data-hash HASH [--check-anchor-data] --out-file FILEPATH + Create an info action. @@ -1366,6 +1468,7 @@ Usage: cardano-cli conway governance action create-no-confidence [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] --out-file FILEPATH + Create a no confidence proposal. @@ -1431,6 +1534,7 @@ Usage: cardano-cli conway governance action create-protocol-parameters-update [--ref-script-cost-per-byte RATIONAL] [--cost-model-file FILE] --out-file FILEPATH + Create a protocol parameters update. @@ -1458,6 +1562,7 @@ Usage: cardano-cli conway governance action create-treasury-withdrawal --transfer LOVELACE) [--constitution-script-hash HASH] --out-file FILEPATH + Create a treasury withdrawal. @@ -1480,6 +1585,7 @@ Usage: cardano-cli conway governance action create-hardfork --protocol-major-version MAJOR --protocol-minor-version MINOR --out-file FILEPATH + Create a hardfork initiation proposal. @@ -1488,6 +1594,7 @@ Usage: cardano-cli conway governance action view --action-file FILEPATH | --output-yaml ] [--out-file FILEPATH] + View a governance action. @@ -1498,17 +1605,20 @@ Usage: cardano-cli conway governance committee | create-hot-key-authorization-certificate | create-cold-key-resignation-certificate ) + Committee member commands. Usage: cardano-cli conway governance committee key-gen-cold --cold-verification-key-file FILEPATH --cold-signing-key-file FILEPATH + Create a cold key pair for a Constitutional Committee Member Usage: cardano-cli conway governance committee key-gen-hot --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a hot key pair for a Constitutional Committee Member @@ -1516,6 +1626,7 @@ Usage: cardano-cli conway governance committee key-hash ( --verification-key STRING | --verification-key-file FILEPATH ) + Print the identifier (hash) of a public key @@ -1533,6 +1644,7 @@ Usage: cardano-cli conway governance committee create-hot-key-authorization-cert | --hot-script-file FILEPATH ) --out-file FILEPATH + Create hot key authorization certificate for a Constitutional Committee Member @@ -1547,6 +1659,7 @@ Usage: cardano-cli conway governance committee create-cold-key-resignation-certi --resignation-metadata-hash HASH [--check-resignation-metadata-hash]] --out-file FILEPATH + Create cold key resignation certificate for a Constitutional Committee Member @@ -1558,11 +1671,13 @@ Usage: cardano-cli conway governance drep | update-certificate | metadata-hash ) + DRep member commands. Usage: cardano-cli conway governance drep key-gen --verification-key-file FILEPATH --signing-key-file FILEPATH + Generate Delegated Representative verification and signing keys. @@ -1576,6 +1691,7 @@ Usage: cardano-cli conway governance drep id | --output-cip129 ] [--out-file FILEPATH] + Generate a drep id. @@ -1590,6 +1706,7 @@ Usage: cardano-cli conway governance drep registration-certificate --drep-metadata-hash HASH [--check-drep-metadata-hash]] --out-file FILEPATH + Create a registration certificate. @@ -1601,6 +1718,7 @@ Usage: cardano-cli conway governance drep retirement-certificate ) --deposit-amt LOVELACE --out-file FILEPATH + Create a DRep retirement certificate. @@ -1614,6 +1732,7 @@ Usage: cardano-cli conway governance drep update-certificate --drep-metadata-hash HASH [--check-drep-metadata-hash]] --out-file FILEPATH + Create a DRep update certificate. @@ -1624,11 +1743,12 @@ Usage: cardano-cli conway governance drep metadata-hash [ --expected-hash HASH | --out-file FILEPATH ] + Calculate the hash of a metadata file, optionally checking the obtained hash against an expected value. -Usage: cardano-cli conway governance vote (create | view) +Usage: cardano-cli conway governance vote (create | view) Vote commands. @@ -1652,12 +1772,14 @@ Usage: cardano-cli conway governance vote create (--yes | --no | --abstain) --anchor-data-hash HASH [--check-anchor-data-hash]] --out-file FILEPATH + Vote creation. Usage: cardano-cli conway governance vote view --vote-file FILEPATH [--output-json | --output-yaml] [--out-file FILEPATH] + Vote viewing. @@ -1669,6 +1791,7 @@ Usage: cardano-cli conway node | new-counter | issue-op-cert ) + Node operation commands. @@ -1680,6 +1803,7 @@ Usage: cardano-cli conway node key-gen --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 @@ -1691,6 +1815,7 @@ Usage: cardano-cli conway node key-gen-KES ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a key pair for a node KES operational key @@ -1701,6 +1826,7 @@ Usage: cardano-cli conway node key-gen-VRF ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a key pair for a node VRF operational key @@ -1709,6 +1835,7 @@ Usage: cardano-cli conway node key-hash-VRF | --verification-key-file FILEPATH ) [--out-file FILEPATH] + Print hash of a node's operational VRF key. @@ -1720,6 +1847,7 @@ Usage: cardano-cli conway node new-counter ) --counter-value INT --operational-certificate-issue-counter-file FILEPATH + Create a new certificate issue counter @@ -1731,6 +1859,7 @@ Usage: cardano-cli conway node issue-op-cert --operational-certificate-issue-counter-file FILEPATH --kes-period NATURAL --out-file FILEPATH + Issue a node operational certificate @@ -1764,6 +1893,7 @@ Usage: cardano-cli conway query | tx-mempool | utxo ) + Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. @@ -1796,6 +1926,7 @@ Usage: cardano-cli conway query committee-state | --output-yaml ] [--out-file FILEPATH] + Get the committee state @@ -1811,6 +1942,7 @@ Usage: cardano-cli conway query constitution ] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the constitution @@ -1833,6 +1965,7 @@ Usage: cardano-cli conway query drep-state [--include-stake] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the DRep state. @@ -1858,6 +1991,7 @@ Usage: cardano-cli conway query drep-stake-distribution | --output-yaml ] [--out-file FILEPATH] + Get the DRep stake distribution. @@ -1870,6 +2004,7 @@ Usage: cardano-cli conway query era-history --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + Obtains the era history data. The era history contains information about when era transitions happened and can be used together with the start time to @@ -1890,6 +2025,7 @@ Usage: cardano-cli conway query future-pparams ] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the protocol parameters that will apply at the next epoch @@ -1901,6 +2037,7 @@ Usage: cardano-cli conway query gov-state [--cardano-mode [--epoch-slots SLOTS]] [--volatile-tip | --immutable-tip] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the governance state @@ -1919,6 +2056,7 @@ Usage: cardano-cli conway query kes-period-info | --output-yaml ] [--out-file FILEPATH] + Get information about the current KES period and your node's operational certificate. @@ -1946,6 +2084,7 @@ Usage: cardano-cli conway query leadership-schedule | --output-yaml ] [--out-file FILEPATH] + Get the slots the node is expected to mint a block in (advanced command) @@ -1964,6 +2103,7 @@ Usage: cardano-cli conway query ledger-peer-snapshot | --output-yaml ] [--out-file FILEPATH] + Dump the current snapshot of ledger peers.These are the largest pools that cumulatively hold 90% of total stake. @@ -1983,6 +2123,7 @@ Usage: cardano-cli conway query ledger-state | --output-yaml ] [--out-file FILEPATH] + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) @@ -2000,6 +2141,7 @@ Usage: cardano-cli conway query pool-params ) [--output-json | --output-yaml] [--out-file FILEPATH] + DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced @@ -2018,6 +2160,7 @@ Usage: cardano-cli conway query pool-state ) [--output-json | --output-yaml] [--out-file FILEPATH] + Dump the pool state @@ -2033,6 +2176,7 @@ Usage: cardano-cli conway query proposals [--cardano-mode [--epoch-slots SLOTS]] ) [--output-json | --output-yaml] [--out-file FILEPATH] + Get the governance proposals that are eligible for ratification. Proposals submitted during the current epoch are excluded, as they cannot be ratified @@ -2049,6 +2193,7 @@ Usage: cardano-cli conway query protocol-parameters | --output-yaml ] [--out-file FILEPATH] + Get the node's current protocol parameters @@ -2068,6 +2213,7 @@ Usage: cardano-cli conway query protocol-state | --output-yaml ] [--out-file FILEPATH] + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) @@ -2084,6 +2230,7 @@ Usage: cardano-cli conway query ratify-state ] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the ratification state @@ -2103,6 +2250,7 @@ Usage: cardano-cli conway query ref-script-size | --output-yaml ] [--out-file FILEPATH] + Calculate the reference input scripts size in bytes for provided transaction inputs. @@ -2116,6 +2264,7 @@ Usage: cardano-cli conway query slot-number --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] TIMESTAMP + Query slot number for UTC timestamp @@ -2140,6 +2289,7 @@ Usage: cardano-cli conway query spo-stake-distribution | --output-yaml ] [--out-file FILEPATH] + Get the SPO stake distribution. @@ -2158,6 +2308,7 @@ Usage: cardano-cli conway query stake-address-info | --output-yaml ] [--out-file FILEPATH] + Get the current delegations and reward accounts filtered by stake address. @@ -2176,6 +2327,7 @@ Usage: cardano-cli conway query stake-distribution | --output-yaml ] [--out-file FILEPATH] + Get the node's current aggregated stake distribution @@ -2192,6 +2344,7 @@ Usage: cardano-cli conway query stake-pools | --output-yaml ] [--out-file FILEPATH] + Get the node's current set of stake pool ids @@ -2213,6 +2366,7 @@ Usage: cardano-cli conway query stake-pool-default-vote | --output-yaml ] [--out-file FILEPATH] + Get the stake pool default vote. @@ -2231,6 +2385,7 @@ Usage: cardano-cli conway query stake-snapshot ) [--output-json | --output-yaml] [--out-file FILEPATH] + Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) @@ -2241,6 +2396,7 @@ Usage: cardano-cli conway query tip [--cardano-mode [--epoch-slots SLOTS]] [--volatile-tip | --immutable-tip] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the node's current tip (slot no, hash, block no) @@ -2249,6 +2405,7 @@ Usage: cardano-cli conway query treasury [--cardano-mode [--epoch-slots SLOTS]] --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + Get the treasury value @@ -2262,6 +2419,7 @@ Usage: cardano-cli conway query tx-mempool (info | next-tx | tx-exists) [--output-json | --output-yaml] [--out-file FILEPATH] + Local Mempool info @@ -2273,7 +2431,7 @@ Usage: cardano-cli conway query tx-mempool next-tx Requests the next transaction from the mempool's current list -Usage: cardano-cli conway query tx-mempool tx-exists TX_ID +Usage: cardano-cli conway query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool @@ -2292,6 +2450,7 @@ Usage: cardano-cli conway query utxo [--cardano-mode [--epoch-slots SLOTS]] | --output-yaml ] [--out-file FILEPATH] + Get a portion of the current UTxO: by tx in, by address or the whole. @@ -2308,6 +2467,7 @@ Usage: cardano-cli conway stake-address | registration-and-vote-delegation-certificate | registration-stake-and-vote-delegation-certificate ) + Stake address commands. @@ -2318,6 +2478,7 @@ Usage: cardano-cli conway stake-address key-gen ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a stake address key pair @@ -2326,6 +2487,7 @@ Usage: cardano-cli conway stake-address key-hash | --stake-verification-key-file FILEPATH ) [--out-file FILEPATH] + Print the hash of a stake address key @@ -2339,6 +2501,7 @@ Usage: cardano-cli conway stake-address build | --testnet-magic NATURAL ) [--out-file FILEPATH] + Build a stake address @@ -2351,6 +2514,7 @@ Usage: cardano-cli conway stake-address registration-certificate ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration certificate @@ -2363,6 +2527,7 @@ Usage: cardano-cli conway stake-address deregistration-certificate ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address deregistration certificate @@ -2379,6 +2544,7 @@ Usage: cardano-cli conway stake-address stake-delegation-certificate | --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. @@ -2403,6 +2569,7 @@ Usage: cardano-cli conway stake-address stake-and-vote-delegation-certificate | --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. @@ -2422,6 +2589,7 @@ Usage: cardano-cli conway stake-address vote-delegation-certificate | --always-no-confidence ) --out-file FILEPATH + Create a stake address vote delegation certificate, which when submitted in a transaction delegates stake to a DRep. @@ -2440,6 +2608,7 @@ Usage: cardano-cli conway stake-address registration-and-delegation-certificate ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration and delegation certificate, which when submitted in a transaction registers a stake address and delegates stake to a @@ -2461,6 +2630,7 @@ Usage: cardano-cli conway stake-address registration-and-vote-delegation-certifi ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration and vote delegation certificate, which when submitted in a transaction registers a stake address and delegates votes @@ -2487,6 +2657,7 @@ Usage: cardano-cli conway stake-address registration-stake-and-vote-delegation-c ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration, stake delegation and vote delegation certificate, which when submitted in a transaction registers a stake address, @@ -2499,6 +2670,7 @@ Usage: cardano-cli conway stake-pool | id | metadata-hash ) + Stake pool commands. @@ -2510,6 +2682,7 @@ Usage: cardano-cli conway stake-pool registration-certificate ( --vrf-verification-key STRING | --vrf-verification-key-file FILEPATH ) + [--bls-signing-key-file FILEPATH] --pool-pledge LOVELACE --pool-cost LOVELACE --pool-margin RATIONAL @@ -2533,6 +2706,7 @@ Usage: cardano-cli conway stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate @@ -2543,6 +2717,7 @@ Usage: cardano-cli conway stake-pool deregistration-certificate ) --epoch NATURAL --out-file FILEPATH + Create a stake pool deregistration certificate @@ -2553,6 +2728,7 @@ Usage: cardano-cli conway stake-pool id ) [--output-bech32 | --output-hex] [--out-file FILEPATH] + Build pool id from the offline key @@ -2563,11 +2739,12 @@ Usage: cardano-cli conway stake-pool metadata-hash [ --expected-hash HASH | --out-file FILEPATH ] + Calculate the hash of a stake pool metadata file, optionally checking the obtained hash against an expected value. -Usage: cardano-cli conway text-view decode-cbor +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. @@ -2579,6 +2756,7 @@ Usage: cardano-cli conway text-view decode-cbor --in-file FILEPATH | --output-yaml ] [--out-file FILEPATH] + Print a TextView file as decoded CBOR. @@ -2597,6 +2775,7 @@ Usage: cardano-cli conway transaction | hash-script-data | txid ) + Transaction commands. @@ -2757,6 +2936,7 @@ Usage: cardano-cli conway transaction build-raw [--treasury-donation LOVELACE] [--out-canonical-cbor] --out-file FILEPATH + Build a transaction (low-level, inconvenient) @@ -2910,6 +3090,7 @@ Usage: cardano-cli conway transaction build ( --out-file FILEPATH | --calculate-plutus-script-cost FILEPATH ) + Build a balanced transaction (automatically calculates fees) @@ -3077,6 +3258,7 @@ Usage: cardano-cli conway transaction build-estimate [--treasury-donation LOVELACE] [--out-canonical-cbor] --out-file FILEPATH + Build a balanced transaction without access to a live node (automatically estimates fees) @@ -3093,6 +3275,7 @@ Usage: cardano-cli conway transaction sign ] [--out-canonical-cbor] --out-file FILEPATH + Sign a transaction @@ -3103,6 +3286,7 @@ Usage: cardano-cli conway transaction witness --tx-body-file FILEPATH | --testnet-magic NATURAL ] --out-file FILEPATH + Create a transaction witness @@ -3110,6 +3294,7 @@ Usage: cardano-cli conway transaction assemble --tx-body-file FILEPATH [--witness-file FILEPATH] [--out-canonical-cbor] --out-file FILEPATH + Assemble a tx body and witness(es) to form a transaction @@ -3117,6 +3302,7 @@ Usage: cardano-cli conway transaction sign-witness --tx-body-file FILEPATH [--witness-file FILEPATH] [--out-canonical-cbor] --out-file FILEPATH + Assemble a tx body and witness(es) to form a transaction @@ -3128,11 +3314,12 @@ Usage: cardano-cli conway transaction submit ) --socket-path SOCKET_PATH --tx-file FILEPATH + Submit a transaction to the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli conway transaction policyid --script-file FILEPATH +Usage: cardano-cli conway transaction policyid --script-file FILEPATH Calculate the PolicyId from the monetary policy script. @@ -3151,6 +3338,7 @@ Usage: cardano-cli conway transaction calculate-min-fee --tx-body-file FILEPATH ] [--tx-in-count NATURAL] [--tx-out-count NATURAL] + Calculate the minimum fee for a transaction. @@ -3168,6 +3356,7 @@ Usage: cardano-cli conway transaction calculate-min-required-utxo --protocol-par | --tx-out-inline-datum-value JSON_VALUE ] [--tx-out-reference-script-file FILEPATH] + Calculate the minimum required UTxO for a transaction output. @@ -3175,6 +3364,7 @@ Usage: cardano-cli conway transaction calculate-plutus-script-cost ( online | offline ) + Calculate the costs of the Plutus scripts of a given transaction. @@ -3187,6 +3377,7 @@ Usage: cardano-cli conway transaction calculate-plutus-script-cost online --socket-path SOCKET_PATH --tx-file FILEPATH [--out-file FILEPATH] + Connect to a running node to get context info and calculate the costs of the Plutus scripts of a given transaction. @@ -3202,6 +3393,7 @@ Usage: cardano-cli conway transaction calculate-plutus-script-cost offline --protocol-params-file FILEPATH --tx-file FILEPATH [--out-file FILEPATH] + Manually provide get context info and calculate the costs of the Plutus scripts of a given transaction. @@ -3220,6 +3412,7 @@ Usage: cardano-cli conway transaction calculate-min-value --protocol-params-file | --tx-out-inline-datum-value JSON_VALUE ] [--tx-out-reference-script-file FILEPATH] + DEPRECATED: Use 'calculate-min-required-utxo' instead. @@ -3228,6 +3421,7 @@ Usage: cardano-cli conway transaction hash-script-data | --script-data-file JSON_FILE | --script-data-value JSON_VALUE ) + Calculate the hash of script data. @@ -3239,13 +3433,748 @@ Usage: cardano-cli conway transaction txid | --output-text | --output-yaml ] + Print a transaction identifier. -Usage: cardano-cli dijkstra node +Usage: cardano-cli dijkstra + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) + Dijkstra era commands +Usage: cardano-cli dijkstra address (key-gen | key-hash | build | info) + + Payment address commands. + +Usage: cardano-cli dijkstra address key-gen + [ --key-output-bech32 + | --key-output-text-envelope + | --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 dijkstra 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 dijkstra 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 dijkstra address info --address ADDRESS + [--out-file FILEPATH] + + + Print information about an address. + +Usage: cardano-cli dijkstra key + ( verification-key + | non-extended-key + | generate-mnemonic + | derive-from-mnemonic + | 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 dijkstra 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 dijkstra 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 dijkstra key generate-mnemonic [--out-file FILEPATH] + --size WORD32 + + + Generate a mnemonic sentence that can be used for key derivation. + +Usage: cardano-cli dijkstra key derive-from-mnemonic + [ --key-output-bech32 + | --key-output-text-envelope + | --key-output-format STRING + ] + ( --payment-key-with-number WORD32 + | --stake-key-with-number WORD32 + | --drep-key + | --cc-cold-key + | --cc-hot-key + ) + --account-number WORD32 + ( --mnemonic-from-file FILEPATH + | --mnemonic-from-interactive-prompt + ) + --signing-key-file FILEPATH + + + Derive an extended signing key from a mnemonic sentence. To ensure the safety + of the mnemonic phrase, we recommend that key derivation is performed in an + air-gapped environment. + +Usage: cardano-cli dijkstra 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 dijkstra 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 dijkstra 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 dijkstra 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 dijkstra 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 dijkstra 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 dijkstra 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 dijkstra genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH + + + Create a Shelley genesis key pair + +Usage: cardano-cli dijkstra 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 dijkstra genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH + + + Create a Shelley genesis UTxO key pair + +Usage: cardano-cli dijkstra genesis key-hash --verification-key-file FILEPATH + + Print the identifier (hash) of a public key + +Usage: cardano-cli dijkstra genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH + + + Derive the verification key from a signing key + +Usage: cardano-cli dijkstra 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 dijkstra 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 dijkstra genesis create-cardano --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC_TIME] + [--supply LOVELACE] + [--security-param NON_ZERO_WORD64] + [--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 dijkstra genesis create + [ --key-output-bech32 + | --key-output-text-envelope + | --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 dijkstra genesis create-staked + [ --key-output-bech32 + | --key-output-text-envelope + | --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 dijkstra 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 + ] + [--committee-keys 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 dijkstra genesis hash --genesis FILEPATH + + DEPRECATION WARNING! This command is deprecated and will be removed in a + future release. Please use hash genesis-file instead. Compute the hash of a + genesis file. + +Usage: cardano-cli dijkstra governance (action | committee | drep | vote) + + Governance commands. + +Usage: cardano-cli dijkstra governance action + ( create-constitution + | update-committee + | create-info + | create-no-confidence + | create-protocol-parameters-update + | create-treasury-withdrawal + | create-hardfork + | view + ) + + + Governance action commands. + +Usage: cardano-cli dijkstra governance action create-constitution + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + --constitution-url TEXT + --constitution-hash HASH + [--check-constitution-hash] + [--constitution-script-hash HASH] + --out-file FILEPATH + + + Create a constitution. + +Usage: cardano-cli dijkstra governance action update-committee + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + [ --remove-cc-cold-verification-key STRING + | --remove-cc-cold-verification-key-file FILEPATH + | --remove-cc-cold-verification-key-hash STRING + | --remove-cc-cold-script-hash HASH + ] + [ + ( --add-cc-cold-verification-key STRING + | --add-cc-cold-verification-key-file FILEPATH + | --add-cc-cold-verification-key-hash STRING + | --add-cc-cold-script-hash HASH + ) + --epoch NATURAL] + --threshold RATIONAL + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH + + + Create or update a new committee proposal. + +Usage: cardano-cli dijkstra governance action create-info + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + --out-file FILEPATH + + + Create an info action. + +Usage: cardano-cli dijkstra governance action create-no-confidence + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH + + + Create a no confidence proposal. + +Usage: cardano-cli dijkstra governance action create-protocol-parameters-update + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + [--constitution-script-hash HASH] + [--cost-model-file FILE] + --out-file FILEPATH + + + Create a protocol parameters update. + +Usage: cardano-cli dijkstra governance action create-treasury-withdrawal + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + ( + ( --funds-receiving-stake-verification-key STRING + | --funds-receiving-stake-verification-key-file FILEPATH + | --funds-receiving-stake-key-hash HASH + | --funds-receiving-stake-script-file FILEPATH + | --funds-receiving-stake-address ADDRESS + ) + --transfer LOVELACE) + [--constitution-script-hash HASH] + --out-file FILEPATH + + + Create a treasury withdrawal. + +Usage: cardano-cli dijkstra governance action create-hardfork + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + --protocol-major-version MAJOR + --protocol-minor-version MINOR + --out-file FILEPATH + + + Create a hardfork initiation proposal. + +Usage: cardano-cli dijkstra governance action view --action-file FILEPATH + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + View a governance action. + +Usage: cardano-cli dijkstra governance committee + ( key-gen-cold + | key-gen-hot + | key-hash + | create-hot-key-authorization-certificate + | create-cold-key-resignation-certificate + ) + + + Committee member commands. + +Usage: cardano-cli dijkstra governance committee key-gen-cold + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + + + Create a cold key pair for a Constitutional Committee Member + +Usage: cardano-cli dijkstra governance committee key-gen-hot --verification-key-file FILEPATH + --signing-key-file FILEPATH + + + Create a hot key pair for a Constitutional Committee Member + +Usage: cardano-cli dijkstra governance committee key-hash + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + + + Print the identifier (hash) of a public key + +Usage: cardano-cli dijkstra 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 dijkstra governance committee create-cold-key-resignation-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + [--resignation-metadata-url TEXT + --resignation-metadata-hash HASH + [--check-resignation-metadata-hash]] + --out-file FILEPATH + + + Create cold key resignation certificate for a Constitutional Committee Member + +Usage: cardano-cli dijkstra governance drep + ( key-gen + | id + | registration-certificate + | retirement-certificate + | update-certificate + | metadata-hash + ) + + + DRep member commands. + +Usage: cardano-cli dijkstra governance drep key-gen --verification-key-file FILEPATH + --signing-key-file FILEPATH + + + Generate Delegated Representative verification and signing keys. + +Usage: cardano-cli dijkstra governance drep id + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + [ --output-hex + | --output-bech32 + | --output-cip129 + ] + [--out-file FILEPATH] + + + Generate a drep id. + +Usage: cardano-cli dijkstra governance drep registration-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --key-reg-deposit-amt NATURAL + [--drep-metadata-url TEXT + --drep-metadata-hash HASH + [--check-drep-metadata-hash]] + --out-file FILEPATH + + + Create a registration certificate. + +Usage: cardano-cli dijkstra 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 dijkstra governance drep update-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + [--drep-metadata-url TEXT + --drep-metadata-hash HASH + [--check-drep-metadata-hash]] + --out-file FILEPATH + + + Create a DRep update certificate. + +Usage: cardano-cli dijkstra governance drep metadata-hash + ( --drep-metadata-file FILEPATH + | --drep-metadata-url TEXT + ) + [ --expected-hash HASH + | --out-file FILEPATH + ] + + + Calculate the hash of a metadata file, optionally checking the obtained hash + against an expected value. + +Usage: cardano-cli dijkstra governance vote (create | view) + + Vote commands. + +Usage: cardano-cli dijkstra 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 + | --stake-pool-verification-extended-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + | --cc-hot-verification-key STRING + | --cc-hot-verification-key-file FILEPATH + | --cc-hot-key-hash STRING + | --cc-hot-script-hash HASH + ) + [--anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data-hash]] + --out-file FILEPATH + + + Vote creation. + +Usage: cardano-cli dijkstra governance vote view --vote-file FILEPATH + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Vote viewing. + Usage: cardano-cli dijkstra node ( key-gen | key-gen-KES @@ -3257,95 +4186,1703 @@ Usage: cardano-cli dijkstra node | new-counter | issue-op-cert ) + + + Node operation commands. + +Usage: cardano-cli dijkstra node key-gen + [ --key-output-bech32 + | --key-output-text-envelope + | --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 dijkstra node key-gen-KES + [ --key-output-bech32 + | --key-output-text-envelope + | --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 dijkstra node key-gen-VRF + [ --key-output-bech32 + | --key-output-text-envelope + | --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 dijkstra node key-gen-BLS + [ --key-output-bech32 + | --key-output-text-envelope + | --key-output-format STRING + ] + --verification-key-file FILEPATH + --signing-key-file FILEPATH + + + Create a key pair for a node BLS operational key + +Usage: cardano-cli dijkstra 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 dijkstra node key-hash-BLS + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + [--out-file FILEPATH] + + + Print hash of a node's operational BLS key. + +Usage: cardano-cli dijkstra node issue-pop-BLS --bls-signing-key-file FILEPATH + --out-file FILEPATH + + + Issue a BLS proof of possession for a node's operational BLS key. Both a BLS + key and its proof of possession are required by stake pool operators to + participate as voting member/block producing node in Leios. + +Usage: cardano-cli dijkstra node new-counter + ( --stake-pool-verification-key STRING + | --stake-pool-verification-extended-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 dijkstra 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 dijkstra query + ( committee-state + | constitution + | drep-state + | drep-stake-distribution + | era-history + | future-pparams + | gov-state + | kes-period-info + | leadership-schedule + | ledger-peer-snapshot + | ledger-state + | pool-state + | proposals + | protocol-parameters + | protocol-state + | ratify-state + | ref-script-size + | slot-number + | spo-stake-distribution + | stake-address-info + | stake-distribution + | stake-pools + | stake-pool-default-vote + | stake-snapshot + | tip + | treasury + | tx-mempool + | utxo + ) + + + 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 dijkstra query committee-state + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [ --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 + ] + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the committee state + +Usage: cardano-cli dijkstra query constitution + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Get the constitution + +Usage: cardano-cli dijkstra query drep-state + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [--include-stake] + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Get the DRep state. + +Usage: cardano-cli dijkstra query drep-stake-distribution + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the DRep stake distribution. + +Usage: cardano-cli dijkstra query era-history + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + + Obtains the era history data. The era history contains information about when + era transitions happened and can be used together with the start time to + convert slot numbers to POSIX times offline (without connecting to the node). + Converting slot numbers to POSIX times is useful, for example, when + calculating the cost of executing a Plutus script. And being able to do it + offline means that it can be calculated without access to a live node. + +Usage: cardano-cli dijkstra query future-pparams + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the protocol parameters that will apply at the next epoch + +Usage: cardano-cli dijkstra query gov-state + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [--volatile-tip | --immutable-tip] + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Get the governance state + +Usage: cardano-cli dijkstra query kes-period-info + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + --op-cert-file FILEPATH + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get information about the current KES period and your node's operational + certificate. + +Usage: cardano-cli dijkstra query leadership-schedule + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + --genesis FILEPATH + ( --stake-pool-verification-key STRING + | --stake-pool-verification-extended-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --vrf-signing-key-file FILEPATH + (--current | --next) + [ --output-json + | --output-text + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the slots the node is expected to mint a block in (advanced command) + +Usage: cardano-cli dijkstra query ledger-peer-snapshot + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [--all-ledger-peers] + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Dump the current snapshot of ledger peers.These are the largest pools that + cumulatively hold 90% of total stake. + +Usage: cardano-cli dijkstra query ledger-state + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [ --output-json + | --output-text + | --output-yaml + ] + [--out-file FILEPATH] + + + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced + command) + +Usage: cardano-cli dijkstra query pool-params + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + DEPRECATED. Use query pool-state instead. Dump the pool parameters + (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced + command) + +Usage: cardano-cli dijkstra query pool-state + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Dump the pool state + +Usage: cardano-cli dijkstra query proposals + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [--volatile-tip | --immutable-tip] + ( --all-proposals + | (--governance-action-tx-id TXID + --governance-action-index WORD16) + ) + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Get the governance proposals that are eligible for ratification. Proposals + submitted during the current epoch are excluded, as they cannot be ratified + until the next epoch. + +Usage: cardano-cli dijkstra query protocol-parameters + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the node's current protocol parameters + +Usage: cardano-cli dijkstra query protocol-state + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [ --output-cbor-bin + | --output-cbor-hex + | --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced + command) + +Usage: cardano-cli dijkstra query ratify-state + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Get the ratification state + +Usage: cardano-cli dijkstra query ref-script-size + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + (--tx-in TX_IN) + [ --output-json + | --output-text + | --output-yaml + ] + [--out-file FILEPATH] + + + Calculate the reference input scripts size in bytes for provided transaction + inputs. + +Usage: cardano-cli dijkstra query slot-number + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + TIMESTAMP + + + Query slot number for UTC timestamp + +Usage: cardano-cli dijkstra query spo-stake-distribution + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + ( --all-spos + | + ( --spo-verification-key STRING + | --spo-verification-key-file FILEPATH + | --spo-key-hash HASH + ) + ) + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the SPO stake distribution. + +Usage: cardano-cli dijkstra query stake-address-info + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + --address ADDRESS + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the current delegations and reward accounts filtered by stake address. + +Usage: cardano-cli dijkstra query stake-distribution + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [ --output-json + | --output-text + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the node's current aggregated stake distribution + +Usage: cardano-cli dijkstra query stake-pools + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [ --output-json + | --output-text + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the node's current set of stake pool ids + +Usage: cardano-cli dijkstra query stake-pool-default-vote + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + ( --spo-verification-key STRING + | --spo-verification-key-file FILEPATH + | --spo-key-hash HASH + ) + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the stake pool default vote. + +Usage: cardano-cli dijkstra query stake-snapshot + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Obtain the three stake snapshots for a pool, plus the total active stake + (advanced command) + +Usage: cardano-cli dijkstra query tip [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + --socket-path SOCKET_PATH + [--volatile-tip | --immutable-tip] + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Get the node's current tip (slot no, hash, block no) + +Usage: cardano-cli dijkstra query treasury + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + + Get the treasury value + +Usage: cardano-cli dijkstra query tx-mempool + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + (info | next-tx | tx-exists) + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Local Mempool info + +Usage: cardano-cli dijkstra query tx-mempool info + + Ask the node about the current mempool's capacity and sizes + +Usage: cardano-cli dijkstra query tx-mempool next-tx + + Requests the next transaction from the mempool's current list + +Usage: cardano-cli dijkstra query tx-mempool tx-exists TX_ID + + Query if a particular transaction exists in the mempool + +Usage: cardano-cli dijkstra query utxo [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + --socket-path SOCKET_PATH + [--volatile-tip | --immutable-tip] + ( --whole-utxo + | (--address ADDRESS) + | (--tx-in TX_IN) + ) + [ --output-cbor-bin + | --output-cbor-hex + | --output-json + | --output-text + | --output-yaml + ] + [--out-file FILEPATH] + + + Get a portion of the current UTxO: by tx in, by address or the whole. + +Usage: cardano-cli dijkstra stake-address + ( key-gen + | key-hash + | build + | registration-certificate + | deregistration-certificate + | stake-delegation-certificate + | stake-and-vote-delegation-certificate + | vote-delegation-certificate + | registration-and-delegation-certificate + | registration-and-vote-delegation-certificate + | registration-stake-and-vote-delegation-certificate + ) + + + Stake address commands. + +Usage: cardano-cli dijkstra stake-address key-gen + [ --key-output-bech32 + | --key-output-text-envelope + | --key-output-format STRING + ] + --verification-key-file FILEPATH + --signing-key-file FILEPATH + + + Create a stake address key pair + +Usage: cardano-cli dijkstra 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 dijkstra 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 dijkstra 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 dijkstra 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 dijkstra 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 + | --stake-pool-verification-extended-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --out-file FILEPATH + + + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. + +Usage: cardano-cli dijkstra 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 + | --stake-pool-verification-extended-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 dijkstra 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 dijkstra stake-address registration-and-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --stake-pool-verification-extended-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH + + + Create a stake address registration and delegation certificate, which when + submitted in a transaction registers a stake address and delegates stake to a + stake pool. + +Usage: cardano-cli dijkstra stake-address registration-and-vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH + + + Create a stake address registration and vote delegation certificate, which + when submitted in a transaction registers a stake address and delegates votes + to a DRep or pre-defined voting option. + +Usage: cardano-cli dijkstra stake-address registration-stake-and-vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --stake-pool-verification-extended-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH + + + Create a stake address registration, stake delegation and vote delegation + certificate, which when submitted in a transaction registers a stake address, + delgates stake to a pool, and delegates votes to a DRep or pre-defined voting + option. + +Usage: cardano-cli dijkstra stake-pool + ( registration-certificate + | deregistration-certificate + | id + | metadata-hash + ) + + + Stake pool commands. + +Usage: cardano-cli dijkstra stake-pool registration-certificate + ( --stake-pool-verification-key STRING + | --stake-pool-verification-extended-key STRING + | --cold-verification-key-file FILEPATH + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + ) + [--bls-signing-key-file FILEPATH] + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + ( --pool-reward-account-verification-key STRING + | --pool-reward-account-verification-key-file FILEPATH + ) + ( --pool-owner-verification-key STRING + | --pool-owner-stake-verification-key-file FILEPATH + ) + [ [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT + | --single-host-pool-relay STRING + [--pool-relay-port INT] + | --multi-host-pool-relay STRING + ] + [--metadata-url URL + --metadata-hash HASH + [--check-metadata-hash]] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILEPATH + + + Create a stake pool registration certificate + +Usage: cardano-cli dijkstra stake-pool deregistration-certificate + ( --stake-pool-verification-key STRING + | --stake-pool-verification-extended-key STRING + | --cold-verification-key-file FILEPATH + ) + --epoch NATURAL + --out-file FILEPATH + - Node operation commands. + Create a stake pool deregistration certificate -Usage: cardano-cli dijkstra node key-gen - [ --key-output-bech32 - | --key-output-text-envelope - | --key-output-format STRING - ] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli dijkstra stake-pool id + ( --stake-pool-verification-key STRING + | --stake-pool-verification-extended-key STRING + | --cold-verification-key-file FILEPATH + ) + [--output-bech32 | --output-hex] + [--out-file FILEPATH] + - Create a key pair for a node operator's offline key and a new certificate - issue counter + Build pool id from the offline key -Usage: cardano-cli dijkstra node key-gen-KES - [ --key-output-bech32 - | --key-output-text-envelope - | --key-output-format STRING - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli dijkstra stake-pool metadata-hash + ( --pool-metadata-file FILEPATH + | --pool-metadata-url TEXT + ) + [ --expected-hash HASH + | --out-file FILEPATH + ] + - Create a key pair for a node KES operational key + Calculate the hash of a stake pool metadata file, optionally checking the + obtained hash against an expected value. -Usage: cardano-cli dijkstra node key-gen-VRF - [ --key-output-bech32 - | --key-output-text-envelope - | --key-output-format STRING - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli dijkstra text-view decode-cbor - Create a key pair for a node VRF operational key + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. -Usage: cardano-cli dijkstra node key-gen-BLS - [ --key-output-bech32 - | --key-output-text-envelope - | --key-output-format STRING - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli dijkstra text-view decode-cbor --in-file FILEPATH + [ --output-cbor-hex + | --output-json + | --output-text + | --output-yaml + ] + [--out-file FILEPATH] + - Create a key pair for a node BLS operational key + Print a TextView file as decoded CBOR. -Usage: cardano-cli dijkstra node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli dijkstra transaction + ( build-raw + | build + | build-estimate + | sign + | witness + | assemble + | submit + | policyid + | calculate-min-fee + | calculate-min-required-utxo + | calculate-plutus-script-cost + | hash-script-data + | txid + ) + - Print hash of a node's operational VRF key. + Transaction commands. -Usage: cardano-cli dijkstra node key-hash-BLS - ( --verification-key STRING - | --verification-key-file FILEPATH +Usage: cardano-cli dijkstra 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-canonical-cbor] + --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 dijkstra transaction build + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL ) - [--out-file FILEPATH] + --socket-path SOCKET_PATH + [ --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 + ) + ]] + [--current-treasury-value] + [--treasury-donation LOVELACE] + [--out-canonical-cbor] + ( --out-file FILEPATH + | --calculate-plutus-script-cost FILEPATH + ) + - Print hash of a node's operational BLS key. + Build a balanced transaction (automatically calculates fees) -Usage: cardano-cli dijkstra node issue-pop-BLS --bls-signing-key-file FILEPATH - --out-file FILEPATH + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - Issue a BLS proof of possession for a node's operational BLS key. Both a BLS - key and its proof of possession are required by stake pool operators to - participate as voting member/block producing node in Leios. +Usage: cardano-cli dijkstra 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-canonical-cbor] + --out-file FILEPATH + -Usage: cardano-cli dijkstra node new-counter - ( --stake-pool-verification-key STRING - | --stake-pool-verification-extended-key STRING - | --genesis-delegate-verification-key STRING - | --cold-verification-key-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 dijkstra transaction sign + ( --tx-body-file FILEPATH + | --tx-file FILEPATH ) - --counter-value INT - --operational-certificate-issue-counter-file FILEPATH + [--signing-key-file FILEPATH + [--address STRING]] + [ --mainnet + | --testnet-magic NATURAL + ] + [--out-canonical-cbor] + --out-file FILEPATH + - Create a new certificate issue counter + Sign a transaction -Usage: cardano-cli dijkstra node issue-op-cert - ( --kes-verification-key STRING - | --kes-verification-key-file FILEPATH +Usage: cardano-cli dijkstra 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 dijkstra transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + [--out-canonical-cbor] + --out-file FILEPATH + + + Assemble a tx body and witness(es) to form a transaction + +Usage: cardano-cli dijkstra transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + [--out-canonical-cbor] + --out-file FILEPATH + + + Assemble a tx body and witness(es) to form a transaction + +Usage: cardano-cli dijkstra transaction submit + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL ) - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - --kes-period NATURAL - --out-file FILEPATH + --socket-path SOCKET_PATH + --tx-file FILEPATH + - Issue a node operational certificate + Submit a transaction to the local node whose Unix domain socket is obtained + from the CARDANO_NODE_SOCKET_PATH environment variable. + +Usage: cardano-cli dijkstra transaction policyid --script-file FILEPATH + + Calculate the PolicyId from the monetary policy script. + +Usage: cardano-cli dijkstra 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 + | --output-yaml + ] + [--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 dijkstra 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 dijkstra transaction calculate-plutus-script-cost + ( online + | offline + ) + + + Calculate the costs of the Plutus scripts of a given transaction. + +Usage: cardano-cli dijkstra transaction calculate-plutus-script-cost online + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + --tx-file FILEPATH + [--out-file FILEPATH] + + + Connect to a running node to get context info and calculate the costs of the + Plutus scripts of a given transaction. + +Usage: cardano-cli dijkstra transaction calculate-plutus-script-cost offline + ( --start-time-utc UTC_TIME + | --start-time-posix POSIX_TIME + | --genesis-file FILEPATH + ) + [--unsafe-extend-safe-zone] + --era-history-file FILEPATH + --utxo-file FILEPATH + --protocol-params-file FILEPATH + --tx-file FILEPATH + [--out-file FILEPATH] + + + Manually provide get context info and calculate the costs of the Plutus + scripts of a given transaction. + +Usage: cardano-cli dijkstra 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 dijkstra 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 dijkstra transaction txid + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) + [ --output-json + | --output-text + | --output-yaml + ] + + + Print a transaction identifier. Usage: cardano-cli latest ( address @@ -3359,10 +5896,11 @@ Usage: cardano-cli latest | text-view | transaction ) + Latest era commands (Conway) -Usage: cardano-cli latest address (key-gen | key-hash | build | info) +Usage: cardano-cli latest address (key-gen | key-hash | build | info) Payment address commands. @@ -3377,6 +5915,7 @@ Usage: cardano-cli latest address key-gen ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create an address key pair. @@ -3385,6 +5924,7 @@ Usage: cardano-cli latest address key-hash | --payment-verification-key-file FILEPATH ) [--out-file FILEPATH] + Print the hash of an address key. @@ -3401,10 +5941,11 @@ Usage: cardano-cli latest address build ] (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] + Build a Shelley payment address, with optional delegation to a stake address. -Usage: cardano-cli latest address info --address ADDRESS [--out-file FILEPATH] +Usage: cardano-cli latest address info --address ADDRESS [--out-file FILEPATH] Print information about an address. @@ -3420,22 +5961,26 @@ Usage: cardano-cli latest key | convert-itn-bip32-key | convert-cardano-address-key ) + Key utility commands. Usage: cardano-cli latest key verification-key --signing-key-file FILEPATH --verification-key-file FILEPATH + Get a verification key from a signing key. This supports all key types. Usage: cardano-cli latest key non-extended-key --extended-verification-key-file FILEPATH --verification-key-file FILEPATH + Get a non-extended verification key from an extended verification key. This supports all extended key types. Usage: cardano-cli latest key generate-mnemonic [--out-file FILEPATH] --size WORD32 + Generate a mnemonic sentence that can be used for key derivation. @@ -3455,6 +6000,7 @@ Usage: cardano-cli latest key derive-from-mnemonic | --mnemonic-from-interactive-prompt ) --signing-key-file FILEPATH + Derive an extended signing key from a mnemonic sentence. To ensure the safety of the mnemonic phrase, we recommend that key derivation is performed in an @@ -3472,12 +6018,14 @@ Usage: cardano-cli latest key convert-byron-key [--password TEXT] | --byron-verification-key-file FILEPATH ) --out-file FILEPATH + Convert a Byron payment, genesis or genesis delegate key (signing or verification) to a corresponding Shelley-format key. Usage: cardano-cli latest key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 --out-file FILEPATH + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis verification key @@ -3487,18 +6035,21 @@ Usage: cardano-cli latest key convert-itn-key | --itn-verification-key-file FILEPATH ) --out-file FILEPATH + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or verification key to a corresponding Shelley stake key Usage: cardano-cli latest key convert-itn-extended-key --itn-signing-key-file FILEPATH --out-file FILEPATH + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key to a corresponding Shelley stake signing key Usage: cardano-cli latest key convert-itn-bip32-key --itn-signing-key-file FILEPATH --out-file FILEPATH + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a corresponding Shelley stake signing key @@ -3514,6 +6065,7 @@ Usage: cardano-cli latest key convert-cardano-address-key ) --signing-key-file FILEPATH --out-file FILEPATH + Convert a cardano-address extended signing key to a corresponding Shelley-format key. @@ -3532,31 +6084,36 @@ Usage: cardano-cli latest genesis | create-testnet-data | hash ) + Genesis block commands. Usage: cardano-cli latest genesis key-gen-genesis --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a Shelley genesis key pair Usage: cardano-cli latest genesis key-gen-delegate --verification-key-file FILEPATH --signing-key-file FILEPATH --operational-certificate-issue-counter-file FILEPATH + Create a Shelley genesis delegate key pair Usage: cardano-cli latest genesis key-gen-utxo --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a Shelley genesis UTxO key pair -Usage: cardano-cli latest genesis key-hash --verification-key-file FILEPATH +Usage: cardano-cli latest genesis key-hash --verification-key-file FILEPATH Print the identifier (hash) of a public key Usage: cardano-cli latest genesis get-ver-key --verification-key-file FILEPATH --signing-key-file FILEPATH + Derive the verification key from a signing key @@ -3565,6 +6122,7 @@ Usage: cardano-cli latest genesis initial-addr --verification-key-file FILEPATH | --testnet-magic NATURAL ) [--out-file FILEPATH] + Get the address for an initial UTxO based on the verification key @@ -3573,6 +6131,7 @@ Usage: cardano-cli latest genesis initial-txin --verification-key-file FILEPATH | --testnet-magic NATURAL ) [--out-file FILEPATH] + Get the TxIn for an initial UTxO based on the verification key @@ -3592,6 +6151,7 @@ Usage: cardano-cli latest genesis create-cardano --genesis-dir DIR --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. @@ -3607,6 +6167,7 @@ Usage: cardano-cli latest genesis create [--start-time UTC_TIME] [--supply LOVELACE] (--mainnet | --testnet-magic NATURAL) + Create a Shelley genesis file from a genesis template and genesis/delegation/spending keys. @@ -3631,6 +6192,7 @@ Usage: cardano-cli latest genesis create-staked [--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. @@ -3638,6 +6200,7 @@ Usage: cardano-cli latest genesis create-staked 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 @@ -3655,16 +6218,17 @@ Usage: cardano-cli latest genesis create-testnet-data [--spec-shelley FILEPATH] [--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 +Usage: cardano-cli latest genesis hash --genesis FILEPATH DEPRECATION WARNING! This command is deprecated and will be removed in a future release. Please use hash genesis-file instead. Compute the hash of a genesis file. -Usage: cardano-cli latest governance (action | committee | drep | vote) +Usage: cardano-cli latest governance (action | committee | drep | vote) Governance commands. @@ -3678,6 +6242,7 @@ Usage: cardano-cli latest governance action | create-hardfork | view ) + Governance action commands. @@ -3702,6 +6267,7 @@ Usage: cardano-cli latest governance action create-constitution [--check-constitution-hash] [--constitution-script-hash HASH] --out-file FILEPATH + Create a constitution. @@ -3735,6 +6301,7 @@ Usage: cardano-cli latest governance action update-committee [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] --out-file FILEPATH + Create or update a new committee proposal. @@ -3750,6 +6317,7 @@ Usage: cardano-cli latest governance action create-info (--mainnet | --testnet) --anchor-data-hash HASH [--check-anchor-data] --out-file FILEPATH + Create an info action. @@ -3770,6 +6338,7 @@ Usage: cardano-cli latest governance action create-no-confidence [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] --out-file FILEPATH + Create a no confidence proposal. @@ -3835,6 +6404,7 @@ Usage: cardano-cli latest governance action create-protocol-parameters-update [--ref-script-cost-per-byte RATIONAL] [--cost-model-file FILE] --out-file FILEPATH + Create a protocol parameters update. @@ -3862,6 +6432,7 @@ Usage: cardano-cli latest governance action create-treasury-withdrawal --transfer LOVELACE) [--constitution-script-hash HASH] --out-file FILEPATH + Create a treasury withdrawal. @@ -3884,6 +6455,7 @@ Usage: cardano-cli latest governance action create-hardfork --protocol-major-version MAJOR --protocol-minor-version MINOR --out-file FILEPATH + Create a hardfork initiation proposal. @@ -3892,6 +6464,7 @@ Usage: cardano-cli latest governance action view --action-file FILEPATH | --output-yaml ] [--out-file FILEPATH] + View a governance action. @@ -3902,17 +6475,20 @@ Usage: cardano-cli latest governance committee | create-hot-key-authorization-certificate | create-cold-key-resignation-certificate ) + Committee member commands. Usage: cardano-cli latest governance committee key-gen-cold --cold-verification-key-file FILEPATH --cold-signing-key-file FILEPATH + Create a cold key pair for a Constitutional Committee Member Usage: cardano-cli latest governance committee key-gen-hot --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a hot key pair for a Constitutional Committee Member @@ -3920,6 +6496,7 @@ Usage: cardano-cli latest governance committee key-hash ( --verification-key STRING | --verification-key-file FILEPATH ) + Print the identifier (hash) of a public key @@ -3937,6 +6514,7 @@ Usage: cardano-cli latest governance committee create-hot-key-authorization-cert | --hot-script-file FILEPATH ) --out-file FILEPATH + Create hot key authorization certificate for a Constitutional Committee Member @@ -3951,6 +6529,7 @@ Usage: cardano-cli latest governance committee create-cold-key-resignation-certi --resignation-metadata-hash HASH [--check-resignation-metadata-hash]] --out-file FILEPATH + Create cold key resignation certificate for a Constitutional Committee Member @@ -3962,11 +6541,13 @@ Usage: cardano-cli latest governance drep | update-certificate | metadata-hash ) + DRep member commands. Usage: cardano-cli latest governance drep key-gen --verification-key-file FILEPATH --signing-key-file FILEPATH + Generate Delegated Representative verification and signing keys. @@ -3980,6 +6561,7 @@ Usage: cardano-cli latest governance drep id | --output-cip129 ] [--out-file FILEPATH] + Generate a drep id. @@ -3994,6 +6576,7 @@ Usage: cardano-cli latest governance drep registration-certificate --drep-metadata-hash HASH [--check-drep-metadata-hash]] --out-file FILEPATH + Create a registration certificate. @@ -4005,6 +6588,7 @@ Usage: cardano-cli latest governance drep retirement-certificate ) --deposit-amt LOVELACE --out-file FILEPATH + Create a DRep retirement certificate. @@ -4018,6 +6602,7 @@ Usage: cardano-cli latest governance drep update-certificate --drep-metadata-hash HASH [--check-drep-metadata-hash]] --out-file FILEPATH + Create a DRep update certificate. @@ -4028,11 +6613,12 @@ Usage: cardano-cli latest governance drep metadata-hash [ --expected-hash HASH | --out-file FILEPATH ] + Calculate the hash of a metadata file, optionally checking the obtained hash against an expected value. -Usage: cardano-cli latest governance vote (create | view) +Usage: cardano-cli latest governance vote (create | view) Vote commands. @@ -4056,12 +6642,14 @@ Usage: cardano-cli latest governance vote create (--yes | --no | --abstain) --anchor-data-hash HASH [--check-anchor-data-hash]] --out-file FILEPATH + Vote creation. Usage: cardano-cli latest governance vote view --vote-file FILEPATH [--output-json | --output-yaml] [--out-file FILEPATH] + Vote viewing. @@ -4073,6 +6661,7 @@ Usage: cardano-cli latest node | new-counter | issue-op-cert ) + Node operation commands. @@ -4084,6 +6673,7 @@ Usage: cardano-cli latest node key-gen --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 @@ -4095,6 +6685,7 @@ Usage: cardano-cli latest node key-gen-KES ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a key pair for a node KES operational key @@ -4105,6 +6696,7 @@ Usage: cardano-cli latest node key-gen-VRF ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a key pair for a node VRF operational key @@ -4113,6 +6705,7 @@ Usage: cardano-cli latest node key-hash-VRF | --verification-key-file FILEPATH ) [--out-file FILEPATH] + Print hash of a node's operational VRF key. @@ -4124,6 +6717,7 @@ Usage: cardano-cli latest node new-counter ) --counter-value INT --operational-certificate-issue-counter-file FILEPATH + Create a new certificate issue counter @@ -4135,6 +6729,7 @@ Usage: cardano-cli latest node issue-op-cert --operational-certificate-issue-counter-file FILEPATH --kes-period NATURAL --out-file FILEPATH + Issue a node operational certificate @@ -4168,6 +6763,7 @@ Usage: cardano-cli latest query | tx-mempool | utxo ) + Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. @@ -4200,6 +6796,7 @@ Usage: cardano-cli latest query committee-state | --output-yaml ] [--out-file FILEPATH] + Get the committee state @@ -4215,6 +6812,7 @@ Usage: cardano-cli latest query constitution ] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the constitution @@ -4237,6 +6835,7 @@ Usage: cardano-cli latest query drep-state [--include-stake] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the DRep state. @@ -4262,6 +6861,7 @@ Usage: cardano-cli latest query drep-stake-distribution | --output-yaml ] [--out-file FILEPATH] + Get the DRep stake distribution. @@ -4274,6 +6874,7 @@ Usage: cardano-cli latest query era-history --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + Obtains the era history data. The era history contains information about when era transitions happened and can be used together with the start time to @@ -4294,6 +6895,7 @@ Usage: cardano-cli latest query future-pparams ] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the protocol parameters that will apply at the next epoch @@ -4305,6 +6907,7 @@ Usage: cardano-cli latest query gov-state [--cardano-mode [--epoch-slots SLOTS]] [--volatile-tip | --immutable-tip] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the governance state @@ -4323,6 +6926,7 @@ Usage: cardano-cli latest query kes-period-info | --output-yaml ] [--out-file FILEPATH] + Get information about the current KES period and your node's operational certificate. @@ -4350,6 +6954,7 @@ Usage: cardano-cli latest query leadership-schedule | --output-yaml ] [--out-file FILEPATH] + Get the slots the node is expected to mint a block in (advanced command) @@ -4368,6 +6973,7 @@ Usage: cardano-cli latest query ledger-peer-snapshot | --output-yaml ] [--out-file FILEPATH] + Dump the current snapshot of ledger peers.These are the largest pools that cumulatively hold 90% of total stake. @@ -4387,6 +6993,7 @@ Usage: cardano-cli latest query ledger-state | --output-yaml ] [--out-file FILEPATH] + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) @@ -4404,6 +7011,7 @@ Usage: cardano-cli latest query pool-params ) [--output-json | --output-yaml] [--out-file FILEPATH] + DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced @@ -4422,6 +7030,7 @@ Usage: cardano-cli latest query pool-state ) [--output-json | --output-yaml] [--out-file FILEPATH] + Dump the pool state @@ -4437,6 +7046,7 @@ Usage: cardano-cli latest query proposals [--cardano-mode [--epoch-slots SLOTS]] ) [--output-json | --output-yaml] [--out-file FILEPATH] + Get the governance proposals that are eligible for ratification. Proposals submitted during the current epoch are excluded, as they cannot be ratified @@ -4453,6 +7063,7 @@ Usage: cardano-cli latest query protocol-parameters | --output-yaml ] [--out-file FILEPATH] + Get the node's current protocol parameters @@ -4472,6 +7083,7 @@ Usage: cardano-cli latest query protocol-state | --output-yaml ] [--out-file FILEPATH] + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) @@ -4488,6 +7100,7 @@ Usage: cardano-cli latest query ratify-state ] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the ratification state @@ -4507,6 +7120,7 @@ Usage: cardano-cli latest query ref-script-size | --output-yaml ] [--out-file FILEPATH] + Calculate the reference input scripts size in bytes for provided transaction inputs. @@ -4520,6 +7134,7 @@ Usage: cardano-cli latest query slot-number --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] TIMESTAMP + Query slot number for UTC timestamp @@ -4544,6 +7159,7 @@ Usage: cardano-cli latest query spo-stake-distribution | --output-yaml ] [--out-file FILEPATH] + Get the SPO stake distribution. @@ -4562,6 +7178,7 @@ Usage: cardano-cli latest query stake-address-info | --output-yaml ] [--out-file FILEPATH] + Get the current delegations and reward accounts filtered by stake address. @@ -4580,6 +7197,7 @@ Usage: cardano-cli latest query stake-distribution | --output-yaml ] [--out-file FILEPATH] + Get the node's current aggregated stake distribution @@ -4596,6 +7214,7 @@ Usage: cardano-cli latest query stake-pools | --output-yaml ] [--out-file FILEPATH] + Get the node's current set of stake pool ids @@ -4617,6 +7236,7 @@ Usage: cardano-cli latest query stake-pool-default-vote | --output-yaml ] [--out-file FILEPATH] + Get the stake pool default vote. @@ -4635,6 +7255,7 @@ Usage: cardano-cli latest query stake-snapshot ) [--output-json | --output-yaml] [--out-file FILEPATH] + Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) @@ -4645,6 +7266,7 @@ Usage: cardano-cli latest query tip [--cardano-mode [--epoch-slots SLOTS]] [--volatile-tip | --immutable-tip] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the node's current tip (slot no, hash, block no) @@ -4653,6 +7275,7 @@ Usage: cardano-cli latest query treasury [--cardano-mode [--epoch-slots SLOTS]] --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + Get the treasury value @@ -4666,6 +7289,7 @@ Usage: cardano-cli latest query tx-mempool (info | next-tx | tx-exists) [--output-json | --output-yaml] [--out-file FILEPATH] + Local Mempool info @@ -4677,7 +7301,7 @@ Usage: cardano-cli latest 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 latest query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool @@ -4696,6 +7320,7 @@ Usage: cardano-cli latest query utxo [--cardano-mode [--epoch-slots SLOTS]] | --output-yaml ] [--out-file FILEPATH] + Get a portion of the current UTxO: by tx in, by address or the whole. @@ -4712,6 +7337,7 @@ Usage: cardano-cli latest stake-address | registration-and-vote-delegation-certificate | registration-stake-and-vote-delegation-certificate ) + Stake address commands. @@ -4722,6 +7348,7 @@ Usage: cardano-cli latest stake-address key-gen ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a stake address key pair @@ -4730,6 +7357,7 @@ Usage: cardano-cli latest stake-address key-hash | --stake-verification-key-file FILEPATH ) [--out-file FILEPATH] + Print the hash of a stake address key @@ -4743,6 +7371,7 @@ Usage: cardano-cli latest stake-address build | --testnet-magic NATURAL ) [--out-file FILEPATH] + Build a stake address @@ -4755,6 +7384,7 @@ Usage: cardano-cli latest stake-address registration-certificate ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration certificate @@ -4767,6 +7397,7 @@ Usage: cardano-cli latest stake-address deregistration-certificate ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address deregistration certificate @@ -4783,6 +7414,7 @@ Usage: cardano-cli latest stake-address stake-delegation-certificate | --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. @@ -4807,6 +7439,7 @@ Usage: cardano-cli latest stake-address stake-and-vote-delegation-certificate | --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. @@ -4826,6 +7459,7 @@ Usage: cardano-cli latest stake-address vote-delegation-certificate | --always-no-confidence ) --out-file FILEPATH + Create a stake address vote delegation certificate, which when submitted in a transaction delegates stake to a DRep. @@ -4844,6 +7478,7 @@ Usage: cardano-cli latest stake-address registration-and-delegation-certificate ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration and delegation certificate, which when submitted in a transaction registers a stake address and delegates stake to a @@ -4865,6 +7500,7 @@ Usage: cardano-cli latest stake-address registration-and-vote-delegation-certifi ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration and vote delegation certificate, which when submitted in a transaction registers a stake address and delegates votes @@ -4891,6 +7527,7 @@ Usage: cardano-cli latest stake-address registration-stake-and-vote-delegation-c ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration, stake delegation and vote delegation certificate, which when submitted in a transaction registers a stake address, @@ -4903,6 +7540,7 @@ Usage: cardano-cli latest stake-pool | id | metadata-hash ) + Stake pool commands. @@ -4914,6 +7552,7 @@ Usage: cardano-cli latest stake-pool registration-certificate ( --vrf-verification-key STRING | --vrf-verification-key-file FILEPATH ) + [--bls-signing-key-file FILEPATH] --pool-pledge LOVELACE --pool-cost LOVELACE --pool-margin RATIONAL @@ -4937,6 +7576,7 @@ Usage: cardano-cli latest stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate @@ -4947,6 +7587,7 @@ Usage: cardano-cli latest stake-pool deregistration-certificate ) --epoch NATURAL --out-file FILEPATH + Create a stake pool deregistration certificate @@ -4957,6 +7598,7 @@ Usage: cardano-cli latest stake-pool id ) [--output-bech32 | --output-hex] [--out-file FILEPATH] + Build pool id from the offline key @@ -4967,11 +7609,12 @@ Usage: cardano-cli latest stake-pool metadata-hash [ --expected-hash HASH | --out-file FILEPATH ] + Calculate the hash of a stake pool metadata file, optionally checking the obtained hash against an expected value. -Usage: cardano-cli latest text-view decode-cbor +Usage: cardano-cli latest text-view decode-cbor Commands for dealing with Shelley TextView files. Transactions, addresses etc are stored on disk as TextView files. @@ -4983,6 +7626,7 @@ Usage: cardano-cli latest text-view decode-cbor --in-file FILEPATH | --output-yaml ] [--out-file FILEPATH] + Print a TextView file as decoded CBOR. @@ -5001,6 +7645,7 @@ Usage: cardano-cli latest transaction | hash-script-data | txid ) + Transaction commands. @@ -5161,6 +7806,7 @@ Usage: cardano-cli latest transaction build-raw [--treasury-donation LOVELACE] [--out-canonical-cbor] --out-file FILEPATH + Build a transaction (low-level, inconvenient) @@ -5314,6 +7960,7 @@ Usage: cardano-cli latest transaction build ( --out-file FILEPATH | --calculate-plutus-script-cost FILEPATH ) + Build a balanced transaction (automatically calculates fees) @@ -5481,6 +8128,7 @@ Usage: cardano-cli latest transaction build-estimate [--treasury-donation LOVELACE] [--out-canonical-cbor] --out-file FILEPATH + Build a balanced transaction without access to a live node (automatically estimates fees) @@ -5497,6 +8145,7 @@ Usage: cardano-cli latest transaction sign ] [--out-canonical-cbor] --out-file FILEPATH + Sign a transaction @@ -5507,6 +8156,7 @@ Usage: cardano-cli latest transaction witness --tx-body-file FILEPATH | --testnet-magic NATURAL ] --out-file FILEPATH + Create a transaction witness @@ -5514,6 +8164,7 @@ Usage: cardano-cli latest transaction assemble --tx-body-file FILEPATH [--witness-file FILEPATH] [--out-canonical-cbor] --out-file FILEPATH + Assemble a tx body and witness(es) to form a transaction @@ -5521,6 +8172,7 @@ Usage: cardano-cli latest transaction sign-witness --tx-body-file FILEPATH [--witness-file FILEPATH] [--out-canonical-cbor] --out-file FILEPATH + Assemble a tx body and witness(es) to form a transaction @@ -5532,11 +8184,12 @@ Usage: cardano-cli latest transaction submit ) --socket-path SOCKET_PATH --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 latest transaction policyid --script-file FILEPATH +Usage: cardano-cli latest transaction policyid --script-file FILEPATH Calculate the PolicyId from the monetary policy script. @@ -5555,6 +8208,7 @@ Usage: cardano-cli latest transaction calculate-min-fee --tx-body-file FILEPATH ] [--tx-in-count NATURAL] [--tx-out-count NATURAL] + Calculate the minimum fee for a transaction. @@ -5572,6 +8226,7 @@ Usage: cardano-cli latest transaction calculate-min-required-utxo --protocol-par | --tx-out-inline-datum-value JSON_VALUE ] [--tx-out-reference-script-file FILEPATH] + Calculate the minimum required UTxO for a transaction output. @@ -5579,6 +8234,7 @@ Usage: cardano-cli latest transaction calculate-plutus-script-cost ( online | offline ) + Calculate the costs of the Plutus scripts of a given transaction. @@ -5591,6 +8247,7 @@ Usage: cardano-cli latest transaction calculate-plutus-script-cost online --socket-path SOCKET_PATH --tx-file FILEPATH [--out-file FILEPATH] + Connect to a running node to get context info and calculate the costs of the Plutus scripts of a given transaction. @@ -5606,6 +8263,7 @@ Usage: cardano-cli latest transaction calculate-plutus-script-cost offline --protocol-params-file FILEPATH --tx-file FILEPATH [--out-file FILEPATH] + Manually provide get context info and calculate the costs of the Plutus scripts of a given transaction. @@ -5624,6 +8282,7 @@ Usage: cardano-cli latest transaction calculate-min-value --protocol-params-file | --tx-out-inline-datum-value JSON_VALUE ] [--tx-out-reference-script-file FILEPATH] + DEPRECATED: Use 'calculate-min-required-utxo' instead. @@ -5632,6 +8291,7 @@ Usage: cardano-cli latest transaction hash-script-data | --script-data-file JSON_FILE | --script-data-value JSON_VALUE ) + Calculate the hash of script data. @@ -5643,6 +8303,7 @@ Usage: cardano-cli latest transaction txid | --output-text | --output-yaml ] + Print a transaction identifier. @@ -5651,22 +8312,25 @@ Usage: cardano-cli debug | check-node-configuration | transaction ) + Debug commands Usage: cardano-cli debug log-epoch-state --socket-path SOCKET_PATH --node-configuration-file FILEPATH --out-file FILEPATH + Log epoch state of a running node. This command will connect to a local node and log the epoch state to a file. The log file format is line delimited JSON. The command will not terminate. Usage: cardano-cli debug check-node-configuration --node-configuration-file FILEPATH + Check hashes and paths of genesis files in the given node configuration file. -Usage: cardano-cli debug transaction view +Usage: cardano-cli debug transaction view Transaction commands @@ -5675,6 +8339,7 @@ Usage: cardano-cli debug transaction view [--output-json | --output-yaml] ( --tx-body-file FILEPATH | --tx-file FILEPATH ) + Print a transaction. @@ -5691,25 +8356,28 @@ Usage: cardano-cli genesis --genesis-output-dir FILEPATH --avvm-entry-balance INT [--avvm-balance-factor DOUBLE] [--secret-seed INT] + Create genesis. -Usage: cardano-cli print-genesis-hash --genesis-json FILEPATH +Usage: cardano-cli print-genesis-hash --genesis-json FILEPATH Compute hash of a genesis file. -Usage: cardano-cli keygen --secret FILEPATH +Usage: cardano-cli keygen --secret FILEPATH Generate a signing key. Usage: cardano-cli to-verification [--byron-legacy-formats | --byron-formats] --secret FILEPATH --to FILEPATH + Extract a verification key in its base64 form. Usage: cardano-cli signing-key-public [--byron-legacy-formats | --byron-formats] --secret FILEPATH + Pretty-print a signing key's verification key (not a secret). @@ -5719,16 +8387,18 @@ Usage: cardano-cli signing-key-address ] (--mainnet | --testnet-magic NATURAL) --secret FILEPATH + Print address of a signing key. -Usage: cardano-cli migrate-delegate-key-from --from FILEPATH --to FILEPATH +Usage: cardano-cli migrate-delegate-key-from --from FILEPATH --to FILEPATH Migrate a delegate key from an older version. Usage: cardano-cli submit-tx --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) --tx FILEPATH + Submit a raw, signed transaction, in its on-wire representation. @@ -5743,6 +8413,7 @@ Usage: cardano-cli issue-genesis-utxo-expenditure --genesis-json FILEPATH --wallet-key FILEPATH --rich-addr-from ADDR (--txout '("ADDR", LOVELACE)') + Write a file with a signed transaction, spending genesis UTxO. @@ -5754,10 +8425,11 @@ Usage: cardano-cli issue-utxo-expenditure (--mainnet | --testnet-magic NATURAL) --wallet-key FILEPATH (--txin (TXID,INDEX)) (--txout '("ADDR", LOVELACE)') + Write a file with a signed transaction, spending normal UTxO. -Usage: cardano-cli txid --tx FILEPATH +Usage: cardano-cli txid --tx FILEPATH Print the txid of a raw, signed transaction. @@ -5769,10 +8441,11 @@ Usage: cardano-cli validate-cbor | --byron-vote ] --filepath FILEPATH + Validate a CBOR blockchain object. -Usage: cardano-cli pretty-print-cbor --filepath FILEPATH +Usage: cardano-cli pretty-print-cbor --filepath FILEPATH Pretty print a CBOR file. @@ -5784,6 +8457,7 @@ Usage: cardano-cli ping [-c|--count COUNT] [-q|--quiet] [-Q|--query-versions] [-t|--tip] + Ping a cardano node either using node-to-node or node-to-client protocol. It negotiates a handshake and keeps sending keep alive messages. @@ -5795,7 +8469,7 @@ Usage: cardano-cli help Show all help -Usage: cardano-cli cip-format cip-129 +Usage: cardano-cli cip-format cip-129 Group of commands related to CIP changes. @@ -5805,6 +8479,7 @@ Usage: cardano-cli cip-format cip-129 | committee-cold-key | governance-action-id ) + Modified binary encoding of drep keys, constitutional committee cold and hot keys, governance actions. @@ -5818,6 +8493,7 @@ Usage: cardano-cli cip-format cip-129 drep ( --output-file FILEPATH | --output-text ) + Convert drep verification key to the cip-129 compliant format @@ -5829,6 +8505,7 @@ Usage: cardano-cli cip-format cip-129 committee-hot-key ( --output-file FILEPATH | --output-text ) + Convert committee hot key to the cip-129 compliant format @@ -5840,6 +8517,7 @@ Usage: cardano-cli cip-format cip-129 committee-cold-key ( --output-file FILEPATH | --output-text ) + Convert committee cold key to the cip-129 compliant format @@ -5851,6 +8529,7 @@ Usage: cardano-cli cip-format cip-129 governance-action-id ( --output-file FILEPATH | --output-text ) + Convert governance action id to the cip-129 compliant format @@ -5862,6 +8541,7 @@ Usage: cardano-cli compatible | babbage | conway ) + Limited backward compatible commands for testing only. @@ -5871,10 +8551,11 @@ Usage: cardano-cli compatible shelley | stake-address | stake-pool ) + Shelley era commands -Usage: cardano-cli compatible shelley transaction signed-transaction +Usage: cardano-cli compatible shelley transaction signed-transaction Transaction commands. @@ -5908,6 +8589,7 @@ Usage: cardano-cli compatible shelley transaction signed-transaction --certificate-reference-tx-in-execution-units (INT, INT) ]] --out-file FILEPATH + Create a simple signed transaction. @@ -5916,6 +8598,7 @@ Usage: cardano-cli compatible shelley governance | create-genesis-key-delegation-certificate | action ) + Governance commands. @@ -5930,6 +8613,7 @@ Usage: cardano-cli compatible shelley governance create-mir-certificate | transfer-to-treasury | transfer-to-rewards ) + Create an MIR (Move Instantaneous Rewards) certificate @@ -5940,17 +8624,20 @@ Usage: cardano-cli compatible shelley governance create-mir-certificate stake-ad (--stake-address ADDRESS) (--reward LOVELACE) --out-file FILEPATH + Create an MIR certificate to pay stake addresses Usage: cardano-cli compatible shelley governance create-mir-certificate transfer-to-treasury --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the reserves pot to the treasury pot Usage: cardano-cli compatible shelley governance create-mir-certificate transfer-to-rewards --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the treasury pot to the reserves pot @@ -5969,11 +8656,13 @@ Usage: cardano-cli compatible shelley governance create-genesis-key-delegation-c | --vrf-verification-key-hash STRING ) --out-file FILEPATH + Create a genesis key delegation certificate Usage: cardano-cli compatible shelley governance action create-protocol-parameters-update + Governance action commands. @@ -6000,6 +8689,7 @@ Usage: cardano-cli compatible shelley governance action create-protocol-paramete ] [--decentralization-parameter RATIONAL] --out-file FILEPATH + Create a protocol parameters update. @@ -6007,6 +8697,7 @@ Usage: cardano-cli compatible shelley stake-address ( registration-certificate | stake-delegation-certificate ) + Stake address commands. @@ -6018,6 +8709,7 @@ Usage: cardano-cli compatible shelley stake-address registration-certificate | --stake-address ADDRESS ) --out-file FILEPATH + Create a stake address registration certificate @@ -6034,11 +8726,12 @@ Usage: cardano-cli compatible shelley stake-address stake-delegation-certificate | --stake-pool-id STAKE_POOL_ID ) --out-file FILEPATH + Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. -Usage: cardano-cli compatible shelley stake-pool registration-certificate +Usage: cardano-cli compatible shelley stake-pool registration-certificate Stake pool commands. @@ -6073,6 +8766,7 @@ Usage: cardano-cli compatible shelley stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate @@ -6082,10 +8776,11 @@ Usage: cardano-cli compatible allegra | stake-address | stake-pool ) + Allegra era commands -Usage: cardano-cli compatible allegra transaction signed-transaction +Usage: cardano-cli compatible allegra transaction signed-transaction Transaction commands. @@ -6119,6 +8814,7 @@ Usage: cardano-cli compatible allegra transaction signed-transaction --certificate-reference-tx-in-execution-units (INT, INT) ]] --out-file FILEPATH + Create a simple signed transaction. @@ -6127,6 +8823,7 @@ Usage: cardano-cli compatible allegra governance | create-genesis-key-delegation-certificate | action ) + Governance commands. @@ -6141,6 +8838,7 @@ Usage: cardano-cli compatible allegra governance create-mir-certificate | transfer-to-treasury | transfer-to-rewards ) + Create an MIR (Move Instantaneous Rewards) certificate @@ -6151,17 +8849,20 @@ Usage: cardano-cli compatible allegra governance create-mir-certificate stake-ad (--stake-address ADDRESS) (--reward LOVELACE) --out-file FILEPATH + Create an MIR certificate to pay stake addresses Usage: cardano-cli compatible allegra governance create-mir-certificate transfer-to-treasury --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the reserves pot to the treasury pot Usage: cardano-cli compatible allegra governance create-mir-certificate transfer-to-rewards --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the treasury pot to the reserves pot @@ -6180,11 +8881,13 @@ Usage: cardano-cli compatible allegra governance create-genesis-key-delegation-c | --vrf-verification-key-hash STRING ) --out-file FILEPATH + Create a genesis key delegation certificate Usage: cardano-cli compatible allegra governance action create-protocol-parameters-update + Governance action commands. @@ -6211,6 +8914,7 @@ Usage: cardano-cli compatible allegra governance action create-protocol-paramete [--protocol-major-version MAJOR --protocol-minor-version MINOR] --out-file FILEPATH + Create a protocol parameters update. @@ -6218,6 +8922,7 @@ Usage: cardano-cli compatible allegra stake-address ( registration-certificate | stake-delegation-certificate ) + Stake address commands. @@ -6229,6 +8934,7 @@ Usage: cardano-cli compatible allegra stake-address registration-certificate | --stake-address ADDRESS ) --out-file FILEPATH + Create a stake address registration certificate @@ -6245,11 +8951,12 @@ Usage: cardano-cli compatible allegra stake-address stake-delegation-certificate | --stake-pool-id STAKE_POOL_ID ) --out-file FILEPATH + Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. -Usage: cardano-cli compatible allegra stake-pool registration-certificate +Usage: cardano-cli compatible allegra stake-pool registration-certificate Stake pool commands. @@ -6284,6 +8991,7 @@ Usage: cardano-cli compatible allegra stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate @@ -6293,10 +9001,11 @@ Usage: cardano-cli compatible mary | stake-address | stake-pool ) + Mary era commands -Usage: cardano-cli compatible mary transaction signed-transaction +Usage: cardano-cli compatible mary transaction signed-transaction Transaction commands. @@ -6330,6 +9039,7 @@ Usage: cardano-cli compatible mary transaction signed-transaction --certificate-reference-tx-in-execution-units (INT, INT) ]] --out-file FILEPATH + Create a simple signed transaction. @@ -6338,6 +9048,7 @@ Usage: cardano-cli compatible mary governance | create-genesis-key-delegation-certificate | action ) + Governance commands. @@ -6352,6 +9063,7 @@ Usage: cardano-cli compatible mary governance create-mir-certificate | transfer-to-treasury | transfer-to-rewards ) + Create an MIR (Move Instantaneous Rewards) certificate @@ -6362,17 +9074,20 @@ Usage: cardano-cli compatible mary governance create-mir-certificate stake-addre (--stake-address ADDRESS) (--reward LOVELACE) --out-file FILEPATH + Create an MIR certificate to pay stake addresses Usage: cardano-cli compatible mary governance create-mir-certificate transfer-to-treasury --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the reserves pot to the treasury pot Usage: cardano-cli compatible mary governance create-mir-certificate transfer-to-rewards --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the treasury pot to the reserves pot @@ -6391,11 +9106,13 @@ Usage: cardano-cli compatible mary governance create-genesis-key-delegation-cert | --vrf-verification-key-hash STRING ) --out-file FILEPATH + Create a genesis key delegation certificate Usage: cardano-cli compatible mary governance action create-protocol-parameters-update + Governance action commands. @@ -6422,6 +9139,7 @@ Usage: cardano-cli compatible mary governance action create-protocol-parameters- [--protocol-major-version MAJOR --protocol-minor-version MINOR] --out-file FILEPATH + Create a protocol parameters update. @@ -6429,6 +9147,7 @@ Usage: cardano-cli compatible mary stake-address ( registration-certificate | stake-delegation-certificate ) + Stake address commands. @@ -6440,6 +9159,7 @@ Usage: cardano-cli compatible mary stake-address registration-certificate | --stake-address ADDRESS ) --out-file FILEPATH + Create a stake address registration certificate @@ -6456,11 +9176,12 @@ Usage: cardano-cli compatible mary stake-address stake-delegation-certificate | --stake-pool-id STAKE_POOL_ID ) --out-file FILEPATH + Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. -Usage: cardano-cli compatible mary stake-pool registration-certificate +Usage: cardano-cli compatible mary stake-pool registration-certificate Stake pool commands. @@ -6495,6 +9216,7 @@ Usage: cardano-cli compatible mary stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate @@ -6504,10 +9226,11 @@ Usage: cardano-cli compatible alonzo | stake-address | stake-pool ) + Alonzo era commands -Usage: cardano-cli compatible alonzo transaction signed-transaction +Usage: cardano-cli compatible alonzo transaction signed-transaction Transaction commands. @@ -6549,6 +9272,7 @@ Usage: cardano-cli compatible alonzo transaction signed-transaction --certificate-reference-tx-in-execution-units (INT, INT) ]] --out-file FILEPATH + Create a simple signed transaction. @@ -6557,6 +9281,7 @@ Usage: cardano-cli compatible alonzo governance | create-genesis-key-delegation-certificate | action ) + Governance commands. @@ -6571,6 +9296,7 @@ Usage: cardano-cli compatible alonzo governance create-mir-certificate | transfer-to-treasury | transfer-to-rewards ) + Create an MIR (Move Instantaneous Rewards) certificate @@ -6581,17 +9307,20 @@ Usage: cardano-cli compatible alonzo governance create-mir-certificate stake-add (--stake-address ADDRESS) (--reward LOVELACE) --out-file FILEPATH + Create an MIR certificate to pay stake addresses Usage: cardano-cli compatible alonzo governance create-mir-certificate transfer-to-treasury --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the reserves pot to the treasury pot Usage: cardano-cli compatible alonzo governance create-mir-certificate transfer-to-rewards --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the treasury pot to the reserves pot @@ -6610,11 +9339,13 @@ Usage: cardano-cli compatible alonzo governance create-genesis-key-delegation-ce | --vrf-verification-key-hash STRING ) --out-file FILEPATH + Create a genesis key delegation certificate Usage: cardano-cli compatible alonzo governance action create-protocol-parameters-update + Governance action commands. @@ -6648,6 +9379,7 @@ Usage: cardano-cli compatible alonzo governance action create-protocol-parameter --protocol-minor-version MINOR] [--cost-model-file FILE] --out-file FILEPATH + Create a protocol parameters update. @@ -6655,6 +9387,7 @@ Usage: cardano-cli compatible alonzo stake-address ( registration-certificate | stake-delegation-certificate ) + Stake address commands. @@ -6666,6 +9399,7 @@ Usage: cardano-cli compatible alonzo stake-address registration-certificate | --stake-address ADDRESS ) --out-file FILEPATH + Create a stake address registration certificate @@ -6682,11 +9416,12 @@ Usage: cardano-cli compatible alonzo stake-address stake-delegation-certificate | --stake-pool-id STAKE_POOL_ID ) --out-file FILEPATH + Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. -Usage: cardano-cli compatible alonzo stake-pool registration-certificate +Usage: cardano-cli compatible alonzo stake-pool registration-certificate Stake pool commands. @@ -6721,6 +9456,7 @@ Usage: cardano-cli compatible alonzo stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate @@ -6730,10 +9466,11 @@ Usage: cardano-cli compatible babbage | stake-address | stake-pool ) + Babbage era commands -Usage: cardano-cli compatible babbage transaction signed-transaction +Usage: cardano-cli compatible babbage transaction signed-transaction Transaction commands. @@ -6778,6 +9515,7 @@ Usage: cardano-cli compatible babbage transaction signed-transaction --certificate-reference-tx-in-execution-units (INT, INT) ]] --out-file FILEPATH + Create a simple signed transaction. @@ -6786,6 +9524,7 @@ Usage: cardano-cli compatible babbage governance | create-genesis-key-delegation-certificate | action ) + Governance commands. @@ -6800,6 +9539,7 @@ Usage: cardano-cli compatible babbage governance create-mir-certificate | transfer-to-treasury | transfer-to-rewards ) + Create an MIR (Move Instantaneous Rewards) certificate @@ -6810,17 +9550,20 @@ Usage: cardano-cli compatible babbage governance create-mir-certificate stake-ad (--stake-address ADDRESS) (--reward LOVELACE) --out-file FILEPATH + Create an MIR certificate to pay stake addresses Usage: cardano-cli compatible babbage governance create-mir-certificate transfer-to-treasury --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the reserves pot to the treasury pot Usage: cardano-cli compatible babbage governance create-mir-certificate transfer-to-rewards --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the treasury pot to the reserves pot @@ -6839,11 +9582,13 @@ Usage: cardano-cli compatible babbage governance create-genesis-key-delegation-c | --vrf-verification-key-hash STRING ) --out-file FILEPATH + Create a genesis key delegation certificate Usage: cardano-cli compatible babbage governance action create-protocol-parameters-update + Governance action commands. @@ -6874,6 +9619,7 @@ Usage: cardano-cli compatible babbage governance action create-protocol-paramete [--utxo-cost-per-byte LOVELACE] [--cost-model-file FILE] --out-file FILEPATH + Create a protocol parameters update. @@ -6881,6 +9627,7 @@ Usage: cardano-cli compatible babbage stake-address ( registration-certificate | stake-delegation-certificate ) + Stake address commands. @@ -6892,6 +9639,7 @@ Usage: cardano-cli compatible babbage stake-address registration-certificate | --stake-address ADDRESS ) --out-file FILEPATH + Create a stake address registration certificate @@ -6908,11 +9656,12 @@ Usage: cardano-cli compatible babbage stake-address stake-delegation-certificate | --stake-pool-id STAKE_POOL_ID ) --out-file FILEPATH + Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. -Usage: cardano-cli compatible babbage stake-pool registration-certificate +Usage: cardano-cli compatible babbage stake-pool registration-certificate Stake pool commands. @@ -6947,6 +9696,7 @@ Usage: cardano-cli compatible babbage stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate @@ -6956,10 +9706,11 @@ Usage: cardano-cli compatible conway | stake-address | stake-pool ) + Conway era commands -Usage: cardano-cli compatible conway transaction signed-transaction +Usage: cardano-cli compatible conway transaction signed-transaction Transaction commands. @@ -7036,6 +9787,7 @@ Usage: cardano-cli compatible conway transaction signed-transaction --certificate-reference-tx-in-execution-units (INT, INT) ]] --out-file FILEPATH + Create a simple signed transaction. @@ -7045,6 +9797,7 @@ Usage: cardano-cli compatible conway governance | drep | vote ) + Governance commands. @@ -7058,6 +9811,7 @@ Usage: cardano-cli compatible conway governance action | create-hardfork | view ) + Governance action commands. @@ -7082,6 +9836,7 @@ Usage: cardano-cli compatible conway governance action create-constitution [--check-constitution-hash] [--constitution-script-hash HASH] --out-file FILEPATH + Create a constitution. @@ -7115,6 +9870,7 @@ Usage: cardano-cli compatible conway governance action update-committee [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] --out-file FILEPATH + Create or update a new committee proposal. @@ -7133,6 +9889,7 @@ Usage: cardano-cli compatible conway governance action create-info --anchor-data-hash HASH [--check-anchor-data] --out-file FILEPATH + Create an info action. @@ -7153,6 +9910,7 @@ Usage: cardano-cli compatible conway governance action create-no-confidence [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] --out-file FILEPATH + Create a no confidence proposal. @@ -7218,6 +9976,7 @@ Usage: cardano-cli compatible conway governance action create-protocol-parameter [--ref-script-cost-per-byte RATIONAL] [--cost-model-file FILE] --out-file FILEPATH + Create a protocol parameters update. @@ -7245,6 +10004,7 @@ Usage: cardano-cli compatible conway governance action create-treasury-withdrawa --transfer LOVELACE) [--constitution-script-hash HASH] --out-file FILEPATH + Create a treasury withdrawal. @@ -7267,6 +10027,7 @@ Usage: cardano-cli compatible conway governance action create-hardfork --protocol-major-version MAJOR --protocol-minor-version MINOR --out-file FILEPATH + Create a hardfork initiation proposal. @@ -7275,6 +10036,7 @@ Usage: cardano-cli compatible conway governance action view --action-file FILEPA | --output-yaml ] [--out-file FILEPATH] + View a governance action. @@ -7285,17 +10047,20 @@ Usage: cardano-cli compatible conway governance committee | create-hot-key-authorization-certificate | create-cold-key-resignation-certificate ) + Committee member commands. Usage: cardano-cli compatible conway governance committee key-gen-cold --cold-verification-key-file FILEPATH --cold-signing-key-file FILEPATH + Create a cold key pair for a Constitutional Committee Member Usage: cardano-cli compatible conway governance committee key-gen-hot --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a hot key pair for a Constitutional Committee Member @@ -7303,6 +10068,7 @@ Usage: cardano-cli compatible conway governance committee key-hash ( --verification-key STRING | --verification-key-file FILEPATH ) + Print the identifier (hash) of a public key @@ -7320,6 +10086,7 @@ Usage: cardano-cli compatible conway governance committee create-hot-key-authori | --hot-script-file FILEPATH ) --out-file FILEPATH + Create hot key authorization certificate for a Constitutional Committee Member @@ -7334,6 +10101,7 @@ Usage: cardano-cli compatible conway governance committee create-cold-key-resign --resignation-metadata-hash HASH [--check-resignation-metadata-hash]] --out-file FILEPATH + Create cold key resignation certificate for a Constitutional Committee Member @@ -7345,11 +10113,13 @@ Usage: cardano-cli compatible conway governance drep | update-certificate | metadata-hash ) + DRep member commands. Usage: cardano-cli compatible conway governance drep key-gen --verification-key-file FILEPATH --signing-key-file FILEPATH + Generate Delegated Representative verification and signing keys. @@ -7363,6 +10133,7 @@ Usage: cardano-cli compatible conway governance drep id | --output-cip129 ] [--out-file FILEPATH] + Generate a drep id. @@ -7377,6 +10148,7 @@ Usage: cardano-cli compatible conway governance drep registration-certificate --drep-metadata-hash HASH [--check-drep-metadata-hash]] --out-file FILEPATH + Create a registration certificate. @@ -7388,6 +10160,7 @@ Usage: cardano-cli compatible conway governance drep retirement-certificate ) --deposit-amt LOVELACE --out-file FILEPATH + Create a DRep retirement certificate. @@ -7401,6 +10174,7 @@ Usage: cardano-cli compatible conway governance drep update-certificate --drep-metadata-hash HASH [--check-drep-metadata-hash]] --out-file FILEPATH + Create a DRep update certificate. @@ -7411,11 +10185,12 @@ Usage: cardano-cli compatible conway governance drep metadata-hash [ --expected-hash HASH | --out-file FILEPATH ] + Calculate the hash of a metadata file, optionally checking the obtained hash against an expected value. -Usage: cardano-cli compatible conway governance vote (create | view) +Usage: cardano-cli compatible conway governance vote (create | view) Vote commands. @@ -7443,6 +10218,7 @@ Usage: cardano-cli compatible conway governance vote create --anchor-data-hash HASH [--check-anchor-data-hash]] --out-file FILEPATH + Vote creation. @@ -7451,6 +10227,7 @@ Usage: cardano-cli compatible conway governance vote view --vote-file FILEPATH | --output-yaml ] [--out-file FILEPATH] + Vote viewing. @@ -7458,6 +10235,7 @@ Usage: cardano-cli compatible conway stake-address ( registration-certificate | stake-delegation-certificate ) + Stake address commands. @@ -7470,6 +10248,7 @@ Usage: cardano-cli compatible conway stake-address registration-certificate ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration certificate @@ -7486,11 +10265,12 @@ Usage: cardano-cli compatible conway stake-address stake-delegation-certificate | --stake-pool-id STAKE_POOL_ID ) --out-file FILEPATH + Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. -Usage: cardano-cli compatible conway stake-pool registration-certificate +Usage: cardano-cli compatible conway stake-pool registration-certificate Stake pool commands. @@ -7525,6 +10305,7 @@ Usage: cardano-cli compatible conway stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate 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 42a4854636..8fea2cf9f8 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,4 +1,4 @@ -Usage: cardano-cli address (key-gen | key-hash | build | info) +Usage: cardano-cli address (key-gen | key-hash | build | info) Payment address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_build.cli index 82f6a7f340..9373c22600 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_build.cli @@ -11,6 +11,7 @@ Usage: cardano-cli address build ] (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] + Build a Shelley payment address, with optional delegation to a stake address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_info.cli index 3367ff824d..68d08d8f94 100644 --- 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 @@ -1,4 +1,4 @@ -Usage: cardano-cli address info --address ADDRESS [--out-file FILEPATH] +Usage: cardano-cli address info --address ADDRESS [--out-file FILEPATH] Print information about an address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-gen.cli index cf787e941c..2a3fda9ba0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-gen.cli @@ -9,6 +9,7 @@ Usage: cardano-cli address key-gen ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create an address key pair. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-hash.cli index c5de318e95..b73d72f9df 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/address_key-hash.cli @@ -3,6 +3,7 @@ Usage: cardano-cli address key-hash | --payment-verification-key-file FILEPATH ) [--out-file FILEPATH] + Print the hash of an address key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron.cli index 3282e6abfd..1a7904889c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron.cli @@ -5,6 +5,7 @@ Usage: cardano-cli byron | governance | miscellaneous ) + Byron specific commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-proposal-vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-proposal-vote.cli index 8fd301cc84..6aafbae0d5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-proposal-vote.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-proposal-vote.cli @@ -6,6 +6,7 @@ Usage: cardano-cli byron create-proposal-vote --proposal-filepath FILEPATH (--vote-yes | --vote-no) --output-filepath FILEPATH + Create an update proposal vote. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-update-proposal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-update-proposal.cli index 612e66d9e1..30d9f5c112 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-update-proposal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_create-update-proposal.cli @@ -28,6 +28,7 @@ Usage: cardano-cli byron create-update-proposal [--tx-fee-a-constant INT --tx-fee-b-constant DOUBLE] [--unlock-stake-epoch WORD64] + Create an update proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis.cli index 562aa07ae2..76d5d5ae53 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli byron genesis (genesis | print-genesis-hash) +Usage: cardano-cli byron genesis (genesis | print-genesis-hash) Byron genesis block commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis_genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis_genesis.cli index 7fbbf8f91f..7513d1eaea 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis_genesis.cli @@ -11,6 +11,7 @@ Usage: cardano-cli byron genesis genesis --genesis-output-dir FILEPATH --avvm-entry-balance INT [--avvm-balance-factor DOUBLE] [--secret-seed INT] + Create genesis. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis_print-genesis-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis_print-genesis-hash.cli index 2d010999a9..1f610cbee1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis_print-genesis-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_genesis_print-genesis-hash.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli byron genesis print-genesis-hash --genesis-json FILEPATH +Usage: cardano-cli byron genesis print-genesis-hash --genesis-json FILEPATH Compute hash of a genesis file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance.cli index 916daf6e69..0f70d6acca 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli byron governance COMMAND +Usage: cardano-cli byron governance COMMAND Byron governance commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-proposal-vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-proposal-vote.cli index b731e74e5a..300018ceb2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-proposal-vote.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-proposal-vote.cli @@ -8,6 +8,7 @@ Usage: cardano-cli byron governance create-proposal-vote | --vote-no ) --output-filepath FILEPATH + Create an update proposal vote. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-update-proposal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-update-proposal.cli index 28c58297a1..e4f74007b2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-update-proposal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_create-update-proposal.cli @@ -28,6 +28,7 @@ Usage: cardano-cli byron governance create-update-proposal [--tx-fee-a-constant INT --tx-fee-b-constant DOUBLE] [--unlock-stake-epoch WORD64] + Create an update proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-proposal-vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-proposal-vote.cli index cec5aa4f2c..2c04a32045 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-proposal-vote.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-proposal-vote.cli @@ -4,6 +4,7 @@ Usage: cardano-cli byron governance submit-proposal-vote | --testnet-magic NATURAL ) --filepath FILEPATH + Submit a proposal vote. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-update-proposal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-update-proposal.cli index a726ef5faa..bbd9bf62ab 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-update-proposal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_governance_submit-update-proposal.cli @@ -4,6 +4,7 @@ Usage: cardano-cli byron governance submit-update-proposal | --testnet-magic NATURAL ) --filepath FILEPATH + Submit an update proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key.cli index 7a5713beaa..888d5b7980 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key.cli @@ -5,6 +5,7 @@ Usage: cardano-cli byron key | signing-key-address | migrate-delegate-key-from ) + Byron key utility commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_keygen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_keygen.cli index 6787790599..e8b4bff2ed 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_keygen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_keygen.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli byron key keygen --secret FILEPATH +Usage: cardano-cli byron key keygen --secret FILEPATH Generate a signing key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_migrate-delegate-key-from.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_migrate-delegate-key-from.cli index b2eb7ee453..1b41e5aef7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_migrate-delegate-key-from.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_migrate-delegate-key-from.cli @@ -1,5 +1,6 @@ Usage: cardano-cli byron key migrate-delegate-key-from --from FILEPATH --to FILEPATH + Migrate a delegate key from an older version. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-address.cli index df8b2da8f9..96b5a00274 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-address.cli @@ -6,6 +6,7 @@ Usage: cardano-cli byron key signing-key-address | --testnet-magic NATURAL ) --secret FILEPATH + Print address of a signing key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-public.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-public.cli index ffc2dfee5d..7117cc02f3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-public.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_signing-key-public.cli @@ -3,6 +3,7 @@ Usage: cardano-cli byron key signing-key-public | --byron-formats ] --secret FILEPATH + Pretty-print a signing key's verification key (not a secret). diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_to-verification.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_to-verification.cli index b9515f91b0..dd4f7453cd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_to-verification.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_key_to-verification.cli @@ -4,6 +4,7 @@ Usage: cardano-cli byron key to-verification ] --secret FILEPATH --to FILEPATH + Extract a verification key in its base64 form. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous.cli index 9ca004955b..9b4bccb65c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli byron miscellaneous (validate-cbor | pretty-print-cbor) +Usage: cardano-cli byron miscellaneous (validate-cbor | pretty-print-cbor) Byron miscellaneous commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous_pretty-print-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous_pretty-print-cbor.cli index edd70593e7..bb7b8436f6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous_pretty-print-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous_pretty-print-cbor.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli byron miscellaneous pretty-print-cbor --filepath FILEPATH +Usage: cardano-cli byron miscellaneous pretty-print-cbor --filepath FILEPATH Pretty print a CBOR file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous_validate-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous_validate-cbor.cli index 0967512f47..ace9ccf602 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous_validate-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_miscellaneous_validate-cbor.cli @@ -6,6 +6,7 @@ Usage: cardano-cli byron miscellaneous validate-cbor | --byron-vote ] --filepath FILEPATH + Validate a CBOR blockchain object. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-proposal-vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-proposal-vote.cli index b2b2e6fd3e..700a8ab099 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-proposal-vote.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-proposal-vote.cli @@ -3,6 +3,7 @@ Usage: cardano-cli byron submit-proposal-vote --socket-path SOCKET_PATH | --testnet-magic NATURAL ) --filepath FILEPATH + Submit a proposal vote. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-update-proposal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-update-proposal.cli index 1cc8927181..61e13f4ed8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-update-proposal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_submit-update-proposal.cli @@ -3,6 +3,7 @@ Usage: cardano-cli byron submit-update-proposal --socket-path SOCKET_PATH | --testnet-magic NATURAL ) --filepath FILEPATH + Submit an update proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction.cli index 910b1ca08a..f87f24e92f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction.cli @@ -4,6 +4,7 @@ Usage: cardano-cli byron transaction | issue-utxo-expenditure | txid ) + Byron transaction commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-genesis-utxo-expenditure.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-genesis-utxo-expenditure.cli index a9d787083a..4de5ae122e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-genesis-utxo-expenditure.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-genesis-utxo-expenditure.cli @@ -9,6 +9,7 @@ Usage: cardano-cli byron transaction issue-genesis-utxo-expenditure --genesis-js --wallet-key FILEPATH --rich-addr-from ADDR (--txout '("ADDR", LOVELACE)') + Write a file with a signed transaction, spending genesis UTxO. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-utxo-expenditure.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-utxo-expenditure.cli index 17c67283e6..1ef3ffda45 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-utxo-expenditure.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_issue-utxo-expenditure.cli @@ -9,6 +9,7 @@ Usage: cardano-cli byron transaction issue-utxo-expenditure --wallet-key FILEPATH (--txin (TXID,INDEX)) (--txout '("ADDR", LOVELACE)') + Write a file with a signed transaction, spending normal UTxO. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_submit-tx.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_submit-tx.cli index 2dae59e5c9..72ae7a9f68 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_submit-tx.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_submit-tx.cli @@ -3,6 +3,7 @@ Usage: cardano-cli byron transaction submit-tx --socket-path SOCKET_PATH | --testnet-magic NATURAL ) --tx FILEPATH + Submit a raw, signed transaction, in its on-wire representation. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_txid.cli index a5306e88f5..3a530f0e26 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_txid.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/byron_transaction_txid.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli byron transaction txid --tx FILEPATH +Usage: cardano-cli byron transaction txid --tx FILEPATH Print the txid of a raw, signed transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129.cli index a72ef847d5..3203d8065f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129.cli @@ -4,6 +4,7 @@ Usage: cardano-cli cip-format cip-129 | committee-cold-key | governance-action-id ) + Modified binary encoding of drep keys, constitutional committee cold and hot keys, governance actions. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_committee-cold-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_committee-cold-key.cli index a2ff68c4c0..49ff15cddf 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_committee-cold-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_committee-cold-key.cli @@ -6,6 +6,7 @@ Usage: cardano-cli cip-format cip-129 committee-cold-key ( --output-file FILEPATH | --output-text ) + Convert committee cold key to the cip-129 compliant format diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_committee-hot-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_committee-hot-key.cli index 5871c49748..c9a41285d0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_committee-hot-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_committee-hot-key.cli @@ -6,6 +6,7 @@ Usage: cardano-cli cip-format cip-129 committee-hot-key ( --output-file FILEPATH | --output-text ) + Convert committee hot key to the cip-129 compliant format diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_drep.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_drep.cli index 95993fbcd7..8f4b006ae7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_drep.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_drep.cli @@ -6,6 +6,7 @@ Usage: cardano-cli cip-format cip-129 drep ( --output-file FILEPATH | --output-text ) + Convert drep verification key to the cip-129 compliant format diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_governance-action-id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_governance-action-id.cli index 397420e2f5..91fc930682 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_governance-action-id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/cip-format_cip-129_governance-action-id.cli @@ -6,6 +6,7 @@ Usage: cardano-cli cip-format cip-129 governance-action-id ( --output-file FILEPATH | --output-text ) + Convert governance action id to the cip-129 compliant format diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible.cli index a74427785f..2add25b3ad 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible.cli @@ -6,6 +6,7 @@ Usage: cardano-cli compatible | babbage | conway ) + Limited backward compatible commands for testing only. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra.cli index 687990fb70..a4007ae60a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra.cli @@ -4,6 +4,7 @@ Usage: cardano-cli compatible allegra | stake-address | stake-pool ) + Allegra era commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance.cli index 926c53b98d..5c3fa70fd0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance.cli @@ -3,6 +3,7 @@ Usage: cardano-cli compatible allegra governance | create-genesis-key-delegation-certificate | action ) + Governance commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_action.cli index 7bf923b152..2e92933825 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_action.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_action.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible allegra governance action create-protocol-parameters-update + Governance action commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_action_create-protocol-parameters-update.cli index 125597f9d4..dcc4388dda 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_action_create-protocol-parameters-update.cli @@ -21,6 +21,7 @@ Usage: cardano-cli compatible allegra governance action create-protocol-paramete [--protocol-major-version MAJOR --protocol-minor-version MINOR] --out-file FILEPATH + Create a protocol parameters update. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-genesis-key-delegation-certificate.cli index 2c9eb83811..9cd663e932 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-genesis-key-delegation-certificate.cli @@ -12,6 +12,7 @@ Usage: cardano-cli compatible allegra governance create-genesis-key-delegation-c | --vrf-verification-key-hash STRING ) --out-file FILEPATH + Create a genesis key delegation certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate.cli index a627f6e3eb..1e7ee0f312 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate.cli @@ -9,6 +9,7 @@ Usage: cardano-cli compatible allegra governance create-mir-certificate | transfer-to-treasury | transfer-to-rewards ) + Create an MIR (Move Instantaneous Rewards) certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_stake-addresses.cli index 2aad1f9bb6..d3f0122b75 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_stake-addresses.cli @@ -5,6 +5,7 @@ Usage: cardano-cli compatible allegra governance create-mir-certificate stake-ad (--stake-address ADDRESS) (--reward LOVELACE) --out-file FILEPATH + Create an MIR certificate to pay stake addresses diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_transfer-to-rewards.cli index 7e0a87e3b1..3e5202715f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible allegra governance create-mir-certificate transfer-to-rewards --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the treasury pot to the reserves pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_transfer-to-treasury.cli index cf35c8dd30..f574b7bf66 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible allegra governance create-mir-certificate transfer-to-treasury --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the reserves pot to the treasury pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-address.cli index 2d853003bf..4fa2db0ec9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-address.cli @@ -2,6 +2,7 @@ Usage: cardano-cli compatible allegra stake-address ( registration-certificate | stake-delegation-certificate ) + Stake address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-address_registration-certificate.cli index b61c7abd21..8d5a1627d2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-address_registration-certificate.cli @@ -6,6 +6,7 @@ Usage: cardano-cli compatible allegra stake-address registration-certificate | --stake-address ADDRESS ) --out-file FILEPATH + Create a stake address registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-address_stake-delegation-certificate.cli index 1048037b91..1919f379ce 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-address_stake-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-address_stake-delegation-certificate.cli @@ -11,6 +11,7 @@ Usage: cardano-cli compatible allegra stake-address stake-delegation-certificate | --stake-pool-id STAKE_POOL_ID ) --out-file FILEPATH + Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-pool_registration-certificate.cli index 4191db5765..836c3c2935 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_stake-pool_registration-certificate.cli @@ -29,6 +29,7 @@ Usage: cardano-cli compatible allegra stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_transaction_signed-transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_transaction_signed-transaction.cli index 8d79f298d1..02d1995f06 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_transaction_signed-transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_allegra_transaction_signed-transaction.cli @@ -28,6 +28,7 @@ Usage: cardano-cli compatible allegra transaction signed-transaction --certificate-reference-tx-in-execution-units (INT, INT) ]] --out-file FILEPATH + Create a simple signed transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo.cli index 883f984962..faace741d7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo.cli @@ -4,6 +4,7 @@ Usage: cardano-cli compatible alonzo | stake-address | stake-pool ) + Alonzo era commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance.cli index 703a5ce817..d5dcab4c7d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance.cli @@ -3,6 +3,7 @@ Usage: cardano-cli compatible alonzo governance | create-genesis-key-delegation-certificate | action ) + Governance commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_action.cli index 1fd3990d5c..0b40424b8c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_action.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_action.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible alonzo governance action create-protocol-parameters-update + Governance action commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_action_create-protocol-parameters-update.cli index 329e62c1ea..31c5b3f62d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_action_create-protocol-parameters-update.cli @@ -28,6 +28,7 @@ Usage: cardano-cli compatible alonzo governance action create-protocol-parameter --protocol-minor-version MINOR] [--cost-model-file FILE] --out-file FILEPATH + Create a protocol parameters update. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-genesis-key-delegation-certificate.cli index db5c4be0cc..979938ca13 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-genesis-key-delegation-certificate.cli @@ -12,6 +12,7 @@ Usage: cardano-cli compatible alonzo governance create-genesis-key-delegation-ce | --vrf-verification-key-hash STRING ) --out-file FILEPATH + Create a genesis key delegation certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate.cli index 4387b410df..d3416da337 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate.cli @@ -9,6 +9,7 @@ Usage: cardano-cli compatible alonzo governance create-mir-certificate | transfer-to-treasury | transfer-to-rewards ) + Create an MIR (Move Instantaneous Rewards) certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_stake-addresses.cli index 1092539a00..b93ff723e5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_stake-addresses.cli @@ -5,6 +5,7 @@ Usage: cardano-cli compatible alonzo governance create-mir-certificate stake-add (--stake-address ADDRESS) (--reward LOVELACE) --out-file FILEPATH + Create an MIR certificate to pay stake addresses diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_transfer-to-rewards.cli index 9ca8b0921b..10ef7cb4e8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible alonzo governance create-mir-certificate transfer-to-rewards --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the treasury pot to the reserves pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_transfer-to-treasury.cli index bc91d63568..744988ef93 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible alonzo governance create-mir-certificate transfer-to-treasury --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the reserves pot to the treasury pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-address.cli index b2517e9e15..92ebb92a99 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-address.cli @@ -2,6 +2,7 @@ Usage: cardano-cli compatible alonzo stake-address ( registration-certificate | stake-delegation-certificate ) + Stake address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-address_registration-certificate.cli index 1f27bd780f..0f702acea0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-address_registration-certificate.cli @@ -6,6 +6,7 @@ Usage: cardano-cli compatible alonzo stake-address registration-certificate | --stake-address ADDRESS ) --out-file FILEPATH + Create a stake address registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-address_stake-delegation-certificate.cli index 4ea1b7cfbe..2265d4e3be 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-address_stake-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-address_stake-delegation-certificate.cli @@ -11,6 +11,7 @@ Usage: cardano-cli compatible alonzo stake-address stake-delegation-certificate | --stake-pool-id STAKE_POOL_ID ) --out-file FILEPATH + Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-pool_registration-certificate.cli index bfea701f1b..211b1c7d9e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_stake-pool_registration-certificate.cli @@ -29,6 +29,7 @@ Usage: cardano-cli compatible alonzo stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_transaction_signed-transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_transaction_signed-transaction.cli index f726603ba4..02dee80b45 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_transaction_signed-transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_alonzo_transaction_signed-transaction.cli @@ -36,6 +36,7 @@ Usage: cardano-cli compatible alonzo transaction signed-transaction --certificate-reference-tx-in-execution-units (INT, INT) ]] --out-file FILEPATH + Create a simple signed transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage.cli index f6c5688b6b..1c5c0f6d51 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage.cli @@ -4,6 +4,7 @@ Usage: cardano-cli compatible babbage | stake-address | stake-pool ) + Babbage era commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance.cli index de52ca7f5d..ea1bbd2408 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance.cli @@ -3,6 +3,7 @@ Usage: cardano-cli compatible babbage governance | create-genesis-key-delegation-certificate | action ) + Governance commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_action.cli index d070f8719f..b5c3d501af 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_action.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_action.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible babbage governance action create-protocol-parameters-update + Governance action commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_action_create-protocol-parameters-update.cli index 3ca137367b..3339ea4a0f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_action_create-protocol-parameters-update.cli @@ -25,6 +25,7 @@ Usage: cardano-cli compatible babbage governance action create-protocol-paramete [--utxo-cost-per-byte LOVELACE] [--cost-model-file FILE] --out-file FILEPATH + Create a protocol parameters update. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-genesis-key-delegation-certificate.cli index 2e7ba1484b..72c63ffe50 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-genesis-key-delegation-certificate.cli @@ -12,6 +12,7 @@ Usage: cardano-cli compatible babbage governance create-genesis-key-delegation-c | --vrf-verification-key-hash STRING ) --out-file FILEPATH + Create a genesis key delegation certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate.cli index e00c9d6edd..90c66c94da 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate.cli @@ -9,6 +9,7 @@ Usage: cardano-cli compatible babbage governance create-mir-certificate | transfer-to-treasury | transfer-to-rewards ) + Create an MIR (Move Instantaneous Rewards) certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_stake-addresses.cli index 2279d4c141..53bff076f9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_stake-addresses.cli @@ -5,6 +5,7 @@ Usage: cardano-cli compatible babbage governance create-mir-certificate stake-ad (--stake-address ADDRESS) (--reward LOVELACE) --out-file FILEPATH + Create an MIR certificate to pay stake addresses diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_transfer-to-rewards.cli index 21180600fd..d6fe92b081 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible babbage governance create-mir-certificate transfer-to-rewards --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the treasury pot to the reserves pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_transfer-to-treasury.cli index c0e98dbb71..db0414dce5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible babbage governance create-mir-certificate transfer-to-treasury --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the reserves pot to the treasury pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-address.cli index 46256f07c2..5bcb03f98f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-address.cli @@ -2,6 +2,7 @@ Usage: cardano-cli compatible babbage stake-address ( registration-certificate | stake-delegation-certificate ) + Stake address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-address_registration-certificate.cli index 97991d34ff..eb1f7ab3a2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-address_registration-certificate.cli @@ -6,6 +6,7 @@ Usage: cardano-cli compatible babbage stake-address registration-certificate | --stake-address ADDRESS ) --out-file FILEPATH + Create a stake address registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-address_stake-delegation-certificate.cli index 5e8ce52bd4..c8666439a2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-address_stake-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-address_stake-delegation-certificate.cli @@ -11,6 +11,7 @@ Usage: cardano-cli compatible babbage stake-address stake-delegation-certificate | --stake-pool-id STAKE_POOL_ID ) --out-file FILEPATH + Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-pool_registration-certificate.cli index c67a43b791..467abdfbff 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_stake-pool_registration-certificate.cli @@ -29,6 +29,7 @@ Usage: cardano-cli compatible babbage stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_transaction_signed-transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_transaction_signed-transaction.cli index d09f823c3a..de0b7471df 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_transaction_signed-transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_babbage_transaction_signed-transaction.cli @@ -39,6 +39,7 @@ Usage: cardano-cli compatible babbage transaction signed-transaction --certificate-reference-tx-in-execution-units (INT, INT) ]] --out-file FILEPATH + Create a simple signed transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway.cli index 21f5288048..17ffb13f70 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway.cli @@ -4,6 +4,7 @@ Usage: cardano-cli compatible conway | stake-address | stake-pool ) + Conway era commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance.cli index 7ef431a2ba..0ef18afdba 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance.cli @@ -4,6 +4,7 @@ Usage: cardano-cli compatible conway governance | drep | vote ) + Governance commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action.cli index b21b67b7c1..e6217dbed3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action.cli @@ -8,6 +8,7 @@ Usage: cardano-cli compatible conway governance action | create-hardfork | view ) + Governance action commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-constitution.cli index 24a2b41dd3..5f11c51141 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-constitution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-constitution.cli @@ -19,6 +19,7 @@ Usage: cardano-cli compatible conway governance action create-constitution [--check-constitution-hash] [--constitution-script-hash HASH] --out-file FILEPATH + Create a constitution. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-hardfork.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-hardfork.cli index a233717b6c..36f6dda3e1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-hardfork.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-hardfork.cli @@ -17,6 +17,7 @@ Usage: cardano-cli compatible conway governance action create-hardfork --protocol-major-version MAJOR --protocol-minor-version MINOR --out-file FILEPATH + Create a hardfork initiation proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-info.cli index 90914cc199..013f74ff84 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-info.cli @@ -13,6 +13,7 @@ Usage: cardano-cli compatible conway governance action create-info --anchor-data-hash HASH [--check-anchor-data] --out-file FILEPATH + Create an info action. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-no-confidence.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-no-confidence.cli index 450e4b7e97..cd63343d3f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-no-confidence.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-no-confidence.cli @@ -15,6 +15,7 @@ Usage: cardano-cli compatible conway governance action create-no-confidence [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] --out-file FILEPATH + Create a no confidence proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-protocol-parameters-update.cli index c472ac20f7..e55101ef62 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-protocol-parameters-update.cli @@ -60,6 +60,7 @@ Usage: cardano-cli compatible conway governance action create-protocol-parameter [--ref-script-cost-per-byte RATIONAL] [--cost-model-file FILE] --out-file FILEPATH + Create a protocol parameters update. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-treasury-withdrawal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-treasury-withdrawal.cli index 0991dd7229..247abe87a4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-treasury-withdrawal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_create-treasury-withdrawal.cli @@ -22,6 +22,7 @@ Usage: cardano-cli compatible conway governance action create-treasury-withdrawa --transfer LOVELACE) [--constitution-script-hash HASH] --out-file FILEPATH + Create a treasury withdrawal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_update-committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_update-committee.cli index d8953d23ef..7799a97e56 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_update-committee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_update-committee.cli @@ -28,6 +28,7 @@ Usage: cardano-cli compatible conway governance action update-committee [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] --out-file FILEPATH + Create or update a new committee proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_view.cli index db4895e5be..389b426737 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_action_view.cli @@ -3,6 +3,7 @@ Usage: cardano-cli compatible conway governance action view --action-file FILEPA | --output-yaml ] [--out-file FILEPATH] + View a governance action. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee.cli index 3115afe13a..cb6dd7a58b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee.cli @@ -5,6 +5,7 @@ Usage: cardano-cli compatible conway governance committee | create-hot-key-authorization-certificate | create-cold-key-resignation-certificate ) + Committee member commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-cold-key-resignation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-cold-key-resignation-certificate.cli index d6b6ced424..af0d602ef9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-cold-key-resignation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-cold-key-resignation-certificate.cli @@ -9,6 +9,7 @@ Usage: cardano-cli compatible conway governance committee create-cold-key-resign --resignation-metadata-hash HASH [--check-resignation-metadata-hash]] --out-file FILEPATH + Create cold key resignation certificate for a Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-hot-key-authorization-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-hot-key-authorization-certificate.cli index e65f54722b..6319569ff8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-hot-key-authorization-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_create-hot-key-authorization-certificate.cli @@ -12,6 +12,7 @@ Usage: cardano-cli compatible conway governance committee create-hot-key-authori | --hot-script-file FILEPATH ) --out-file FILEPATH + Create hot key authorization certificate for a Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-gen-cold.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-gen-cold.cli index 556be126a5..1f9a1693c4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-gen-cold.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-gen-cold.cli @@ -1,6 +1,7 @@ Usage: cardano-cli compatible conway governance committee key-gen-cold --cold-verification-key-file FILEPATH --cold-signing-key-file FILEPATH + Create a cold key pair for a Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-gen-hot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-gen-hot.cli index f92756a2f9..3f332f2bd2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-gen-hot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-gen-hot.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible conway governance committee key-gen-hot --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a hot key pair for a Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-hash.cli index 78b84b8663..0bbc0f9f4b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_committee_key-hash.cli @@ -2,6 +2,7 @@ Usage: cardano-cli compatible conway governance committee key-hash ( --verification-key STRING | --verification-key-file FILEPATH ) + Print the identifier (hash) of a public key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep.cli index caa9ada410..d14499fb69 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep.cli @@ -6,6 +6,7 @@ Usage: cardano-cli compatible conway governance drep | update-certificate | metadata-hash ) + DRep member commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_id.cli index 36fce407a1..9d33e092ba 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_id.cli @@ -8,6 +8,7 @@ Usage: cardano-cli compatible conway governance drep id | --output-cip129 ] [--out-file FILEPATH] + Generate a drep id. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_key-gen.cli index 27aae65cc2..38274fdaee 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_key-gen.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible conway governance drep key-gen --verification-key-file FILEPATH --signing-key-file FILEPATH + Generate Delegated Representative verification and signing keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_metadata-hash.cli index 4cd25d62d4..a04c8bd347 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_metadata-hash.cli @@ -5,6 +5,7 @@ Usage: cardano-cli compatible conway governance drep metadata-hash [ --expected-hash HASH | --out-file FILEPATH ] + Calculate the hash of a metadata file, optionally checking the obtained hash against an expected value. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_registration-certificate.cli index 1c1724cac8..e555975432 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_registration-certificate.cli @@ -9,6 +9,7 @@ Usage: cardano-cli compatible conway governance drep registration-certificate --drep-metadata-hash HASH [--check-drep-metadata-hash]] --out-file FILEPATH + Create a registration certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_retirement-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_retirement-certificate.cli index 3cb6356737..5ce4d954fe 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_retirement-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_retirement-certificate.cli @@ -6,6 +6,7 @@ Usage: cardano-cli compatible conway governance drep retirement-certificate ) --deposit-amt LOVELACE --out-file FILEPATH + Create a DRep retirement certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_update-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_update-certificate.cli index f72b91984f..f3e9ae1785 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_update-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_drep_update-certificate.cli @@ -8,6 +8,7 @@ Usage: cardano-cli compatible conway governance drep update-certificate --drep-metadata-hash HASH [--check-drep-metadata-hash]] --out-file FILEPATH + Create a DRep update certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote.cli index 64c67237c0..8c633ba4a6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli compatible conway governance vote (create | view) +Usage: cardano-cli compatible conway governance vote (create | view) Vote commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_create.cli index 0d71966b16..6e8a0b257f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_create.cli @@ -22,6 +22,7 @@ Usage: cardano-cli compatible conway governance vote create --anchor-data-hash HASH [--check-anchor-data-hash]] --out-file FILEPATH + Vote creation. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_view.cli index 12416c6df2..cfb3ff9643 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_governance_vote_view.cli @@ -3,6 +3,7 @@ Usage: cardano-cli compatible conway governance vote view --vote-file FILEPATH | --output-yaml ] [--out-file FILEPATH] + Vote viewing. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-address.cli index f864771daf..d688b0250d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-address.cli @@ -2,6 +2,7 @@ Usage: cardano-cli compatible conway stake-address ( registration-certificate | stake-delegation-certificate ) + Stake address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-address_registration-certificate.cli index 4a365d11af..9f8e5afd1d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-address_registration-certificate.cli @@ -7,6 +7,7 @@ Usage: cardano-cli compatible conway stake-address registration-certificate ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-address_stake-delegation-certificate.cli index eaeddf538c..ba148056d5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-address_stake-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-address_stake-delegation-certificate.cli @@ -11,6 +11,7 @@ Usage: cardano-cli compatible conway stake-address stake-delegation-certificate | --stake-pool-id STAKE_POOL_ID ) --out-file FILEPATH + Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-pool_registration-certificate.cli index 14e390cd67..00abc21a45 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_stake-pool_registration-certificate.cli @@ -29,6 +29,7 @@ Usage: cardano-cli compatible conway stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_transaction_signed-transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_transaction_signed-transaction.cli index ba1c9ae39c..79fde11dab 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_transaction_signed-transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_conway_transaction_signed-transaction.cli @@ -71,6 +71,7 @@ Usage: cardano-cli compatible conway transaction signed-transaction --certificate-reference-tx-in-execution-units (INT, INT) ]] --out-file FILEPATH + Create a simple signed transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary.cli index ea6486ec8b..c1b71feb8f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary.cli @@ -4,6 +4,7 @@ Usage: cardano-cli compatible mary | stake-address | stake-pool ) + Mary era commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance.cli index e8979ca57a..e39a0eeb12 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance.cli @@ -3,6 +3,7 @@ Usage: cardano-cli compatible mary governance | create-genesis-key-delegation-certificate | action ) + Governance commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action.cli index dc1f42bb0d..29262cd20d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible mary governance action create-protocol-parameters-update + Governance action commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action_create-protocol-parameters-update.cli index 68ad0e7195..f167fa5482 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_action_create-protocol-parameters-update.cli @@ -21,6 +21,7 @@ Usage: cardano-cli compatible mary governance action create-protocol-parameters- [--protocol-major-version MAJOR --protocol-minor-version MINOR] --out-file FILEPATH + Create a protocol parameters update. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-genesis-key-delegation-certificate.cli index c49072424d..248c89a944 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-genesis-key-delegation-certificate.cli @@ -12,6 +12,7 @@ Usage: cardano-cli compatible mary governance create-genesis-key-delegation-cert | --vrf-verification-key-hash STRING ) --out-file FILEPATH + Create a genesis key delegation certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate.cli index f683b5b307..53feca9df9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate.cli @@ -9,6 +9,7 @@ Usage: cardano-cli compatible mary governance create-mir-certificate | transfer-to-treasury | transfer-to-rewards ) + Create an MIR (Move Instantaneous Rewards) certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_stake-addresses.cli index 367110a8a0..f891264b4a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_stake-addresses.cli @@ -5,6 +5,7 @@ Usage: cardano-cli compatible mary governance create-mir-certificate stake-addre (--stake-address ADDRESS) (--reward LOVELACE) --out-file FILEPATH + Create an MIR certificate to pay stake addresses diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_transfer-to-rewards.cli index c2e5539ba1..0ad9d7cf3f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible mary governance create-mir-certificate transfer-to-rewards --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the treasury pot to the reserves pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_transfer-to-treasury.cli index 9e6f5ab4bf..937f599778 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible mary governance create-mir-certificate transfer-to-treasury --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the reserves pot to the treasury pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-address.cli index 21438aa4c7..45f86ff5d2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-address.cli @@ -2,6 +2,7 @@ Usage: cardano-cli compatible mary stake-address ( registration-certificate | stake-delegation-certificate ) + Stake address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-address_registration-certificate.cli index 46909c92d8..c56ee237a0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-address_registration-certificate.cli @@ -6,6 +6,7 @@ Usage: cardano-cli compatible mary stake-address registration-certificate | --stake-address ADDRESS ) --out-file FILEPATH + Create a stake address registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-address_stake-delegation-certificate.cli index 9944e73a4b..5729dee1d4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-address_stake-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-address_stake-delegation-certificate.cli @@ -11,6 +11,7 @@ Usage: cardano-cli compatible mary stake-address stake-delegation-certificate | --stake-pool-id STAKE_POOL_ID ) --out-file FILEPATH + Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-pool_registration-certificate.cli index ce0dad9ed6..faea7be2ab 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_stake-pool_registration-certificate.cli @@ -29,6 +29,7 @@ Usage: cardano-cli compatible mary stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_transaction_signed-transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_transaction_signed-transaction.cli index 7aa8cded67..8066599385 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_transaction_signed-transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_mary_transaction_signed-transaction.cli @@ -28,6 +28,7 @@ Usage: cardano-cli compatible mary transaction signed-transaction --certificate-reference-tx-in-execution-units (INT, INT) ]] --out-file FILEPATH + Create a simple signed transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley.cli index 6e8b5806ad..6fb4c04876 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley.cli @@ -4,6 +4,7 @@ Usage: cardano-cli compatible shelley | stake-address | stake-pool ) + Shelley era commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance.cli index 0f0928bfe5..ce75dfc799 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance.cli @@ -3,6 +3,7 @@ Usage: cardano-cli compatible shelley governance | create-genesis-key-delegation-certificate | action ) + Governance commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_action.cli index 29ca24f7a7..a77d808bd6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_action.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_action.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible shelley governance action create-protocol-parameters-update + Governance action commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_action_create-protocol-parameters-update.cli index 8f68bd20d9..a57812efda 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_action_create-protocol-parameters-update.cli @@ -21,6 +21,7 @@ Usage: cardano-cli compatible shelley governance action create-protocol-paramete ] [--decentralization-parameter RATIONAL] --out-file FILEPATH + Create a protocol parameters update. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-genesis-key-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-genesis-key-delegation-certificate.cli index bc4bd33553..54ab9f0309 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-genesis-key-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-genesis-key-delegation-certificate.cli @@ -12,6 +12,7 @@ Usage: cardano-cli compatible shelley governance create-genesis-key-delegation-c | --vrf-verification-key-hash STRING ) --out-file FILEPATH + Create a genesis key delegation certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate.cli index 9987e06c40..4a223378b0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate.cli @@ -9,6 +9,7 @@ Usage: cardano-cli compatible shelley governance create-mir-certificate | transfer-to-treasury | transfer-to-rewards ) + Create an MIR (Move Instantaneous Rewards) certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_stake-addresses.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_stake-addresses.cli index a97fc50c3f..8ed0233b08 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_stake-addresses.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_stake-addresses.cli @@ -5,6 +5,7 @@ Usage: cardano-cli compatible shelley governance create-mir-certificate stake-ad (--stake-address ADDRESS) (--reward LOVELACE) --out-file FILEPATH + Create an MIR certificate to pay stake addresses diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_transfer-to-rewards.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_transfer-to-rewards.cli index 2aab11898a..a7c4de5f1e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_transfer-to-rewards.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_transfer-to-rewards.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible shelley governance create-mir-certificate transfer-to-rewards --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the treasury pot to the reserves pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_transfer-to-treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_transfer-to-treasury.cli index 3c83188053..e19d3b0934 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_transfer-to-treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_governance_create-mir-certificate_transfer-to-treasury.cli @@ -1,5 +1,6 @@ Usage: cardano-cli compatible shelley governance create-mir-certificate transfer-to-treasury --transfer LOVELACE --out-file FILEPATH + Create an MIR certificate to transfer from the reserves pot to the treasury pot diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-address.cli index e0d2d8596d..2b0f7b4b87 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-address.cli @@ -2,6 +2,7 @@ Usage: cardano-cli compatible shelley stake-address ( registration-certificate | stake-delegation-certificate ) + Stake address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-address_registration-certificate.cli index df89396d6f..aa845171cd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-address_registration-certificate.cli @@ -6,6 +6,7 @@ Usage: cardano-cli compatible shelley stake-address registration-certificate | --stake-address ADDRESS ) --out-file FILEPATH + Create a stake address registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-address_stake-delegation-certificate.cli index 68c8312add..1c587194b3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-address_stake-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-address_stake-delegation-certificate.cli @@ -11,6 +11,7 @@ Usage: cardano-cli compatible shelley stake-address stake-delegation-certificate | --stake-pool-id STAKE_POOL_ID ) --out-file FILEPATH + Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-pool_registration-certificate.cli index 6028bc5753..53bde30f89 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_stake-pool_registration-certificate.cli @@ -29,6 +29,7 @@ Usage: cardano-cli compatible shelley stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_transaction_signed-transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_transaction_signed-transaction.cli index 2368e50b27..bb8fa4df8a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_transaction_signed-transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/compatible_shelley_transaction_signed-transaction.cli @@ -28,6 +28,7 @@ Usage: cardano-cli compatible shelley transaction signed-transaction --certificate-reference-tx-in-execution-units (INT, INT) ]] --out-file FILEPATH + Create a simple signed transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway.cli index f648d0311c..5704c6ff59 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway.cli @@ -10,6 +10,7 @@ Usage: cardano-cli conway | text-view | transaction ) + Conway era commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address.cli index b67a36891f..f0f79e0d38 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli conway address (key-gen | key-hash | build | info) +Usage: cardano-cli conway address (key-gen | key-hash | build | info) Payment address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_build.cli index e10ba4335d..b973b705ba 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_build.cli @@ -11,6 +11,7 @@ Usage: cardano-cli conway address build ] (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] + Build a Shelley payment address, with optional delegation to a stake address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_info.cli index b363f436fc..5e41556190 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_info.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli conway address info --address ADDRESS [--out-file FILEPATH] +Usage: cardano-cli conway address info --address ADDRESS [--out-file FILEPATH] Print information about an address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-gen.cli index 9edb0b7182..0cee7e8d18 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-gen.cli @@ -9,6 +9,7 @@ Usage: cardano-cli conway address key-gen ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create an address key pair. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-hash.cli index ac4ccb091e..78f57f52f0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_address_key-hash.cli @@ -3,6 +3,7 @@ Usage: cardano-cli conway address key-hash | --payment-verification-key-file FILEPATH ) [--out-file FILEPATH] + Print the hash of an address key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis.cli index 70d54a240d..3fc5d45f6d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis.cli @@ -12,6 +12,7 @@ Usage: cardano-cli conway genesis | create-testnet-data | hash ) + Genesis block commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-cardano.cli index 55d80ba704..179bdf90e2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-cardano.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-cardano.cli @@ -14,6 +14,7 @@ Usage: cardano-cli conway genesis create-cardano --genesis-dir DIR --alonzo-template FILEPATH --conway-template FILEPATH [--node-config-template FILEPATH] + Create a Byron and Shelley genesis file from a genesis template and genesis/delegation/spending keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-staked.cli index 79bdd15abe..1f553ab93a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-staked.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-staked.cli @@ -18,6 +18,7 @@ Usage: cardano-cli conway genesis create-staked [--bulk-pools-per-file INT] [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] + Create a staked Shelley genesis file from a genesis template and genesis/delegation/spending keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-testnet-data.cli index 399363ccd4..731df2f592 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-testnet-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create-testnet-data.cli @@ -1,6 +1,7 @@ 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 @@ -18,6 +19,7 @@ Usage: cardano-cli conway genesis create-testnet-data [--spec-shelley FILEPATH] [--relays FILEPATH] [--start-time UTC_TIME] --out-dir DIR + Create data to use for starting a testnet. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create.cli index efae3cfb73..980b69a907 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_create.cli @@ -9,6 +9,7 @@ Usage: cardano-cli conway genesis create [--start-time UTC_TIME] [--supply LOVELACE] (--mainnet | --testnet-magic NATURAL) + Create a Shelley genesis file from a genesis template and genesis/delegation/spending keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_get-ver-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_get-ver-key.cli index bfd74bf90d..13f6218ebe 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_get-ver-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_get-ver-key.cli @@ -1,5 +1,6 @@ Usage: cardano-cli conway genesis get-ver-key --verification-key-file FILEPATH --signing-key-file FILEPATH + Derive the verification key from a signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_hash.cli index 71f89c867f..c5f2751293 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_hash.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli conway genesis hash --genesis FILEPATH +Usage: cardano-cli conway genesis hash --genesis FILEPATH DEPRECATION WARNING! This command is deprecated and will be removed in a future release. Please use hash genesis-file instead. Compute the hash of a diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-addr.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-addr.cli index 6f64200bbd..a1b33d7dd3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-addr.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-addr.cli @@ -3,6 +3,7 @@ Usage: cardano-cli conway genesis initial-addr --verification-key-file FILEPATH | --testnet-magic NATURAL ) [--out-file FILEPATH] + Get the address for an initial UTxO based on the verification key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-txin.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-txin.cli index b32ce3f648..21966fb005 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-txin.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_initial-txin.cli @@ -3,6 +3,7 @@ Usage: cardano-cli conway genesis initial-txin --verification-key-file FILEPATH | --testnet-magic NATURAL ) [--out-file FILEPATH] + Get the TxIn for an initial UTxO based on the verification key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-delegate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-delegate.cli index 777429c729..a3ed448809 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-delegate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-delegate.cli @@ -1,6 +1,7 @@ Usage: cardano-cli conway genesis key-gen-delegate --verification-key-file FILEPATH --signing-key-file FILEPATH --operational-certificate-issue-counter-file FILEPATH + Create a Shelley genesis delegate key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-genesis.cli index 66ac79b861..6810a0c50b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-genesis.cli @@ -1,5 +1,6 @@ Usage: cardano-cli conway genesis key-gen-genesis --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a Shelley genesis key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-utxo.cli index cd6f2c8b31..30951912e0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-gen-utxo.cli @@ -1,5 +1,6 @@ Usage: cardano-cli conway genesis key-gen-utxo --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a Shelley genesis UTxO key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-hash.cli index 9762c999ea..7f5e5e077d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_genesis_key-hash.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli conway genesis key-hash --verification-key-file FILEPATH +Usage: cardano-cli conway genesis key-hash --verification-key-file FILEPATH Print the identifier (hash) of a public key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance.cli index b70383ce8a..97bbc2d9ed 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli conway governance (action | committee | drep | vote) +Usage: cardano-cli conway governance (action | committee | drep | vote) Governance commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action.cli index dfd441eeb6..f933f076ba 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action.cli @@ -8,6 +8,7 @@ Usage: cardano-cli conway governance action | create-hardfork | view ) + Governance action commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-constitution.cli index 753b08d0a5..a884cd378c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-constitution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-constitution.cli @@ -19,6 +19,7 @@ Usage: cardano-cli conway governance action create-constitution [--check-constitution-hash] [--constitution-script-hash HASH] --out-file FILEPATH + Create a constitution. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-hardfork.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-hardfork.cli index 8622865496..ab03ec7b0f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-hardfork.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-hardfork.cli @@ -17,6 +17,7 @@ Usage: cardano-cli conway governance action create-hardfork --protocol-major-version MAJOR --protocol-minor-version MINOR --out-file FILEPATH + Create a hardfork initiation proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-info.cli index 979633b477..3d33e41e54 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-info.cli @@ -10,6 +10,7 @@ Usage: cardano-cli conway governance action create-info (--mainnet | --testnet) --anchor-data-hash HASH [--check-anchor-data] --out-file FILEPATH + Create an info action. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-no-confidence.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-no-confidence.cli index 2c3e987e74..b98bb5bcc9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-no-confidence.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-no-confidence.cli @@ -15,6 +15,7 @@ Usage: cardano-cli conway governance action create-no-confidence [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] --out-file FILEPATH + Create a no confidence proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli index 838e7d72a9..5fa16e74e3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-protocol-parameters-update.cli @@ -60,6 +60,7 @@ Usage: cardano-cli conway governance action create-protocol-parameters-update [--ref-script-cost-per-byte RATIONAL] [--cost-model-file FILE] --out-file FILEPATH + Create a protocol parameters update. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-treasury-withdrawal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-treasury-withdrawal.cli index b1009905f1..e5502e0c4c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-treasury-withdrawal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_create-treasury-withdrawal.cli @@ -22,6 +22,7 @@ Usage: cardano-cli conway governance action create-treasury-withdrawal --transfer LOVELACE) [--constitution-script-hash HASH] --out-file FILEPATH + Create a treasury withdrawal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_update-committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_update-committee.cli index e1a01198de..533e818684 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_update-committee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_update-committee.cli @@ -28,6 +28,7 @@ Usage: cardano-cli conway governance action update-committee [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] --out-file FILEPATH + Create or update a new committee proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_view.cli index 38a20c7df8..40d3207ba0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_action_view.cli @@ -3,6 +3,7 @@ Usage: cardano-cli conway governance action view --action-file FILEPATH | --output-yaml ] [--out-file FILEPATH] + View a governance action. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee.cli index 52533f0007..023dc99eb2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee.cli @@ -5,6 +5,7 @@ Usage: cardano-cli conway governance committee | create-hot-key-authorization-certificate | create-cold-key-resignation-certificate ) + Committee member commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-cold-key-resignation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-cold-key-resignation-certificate.cli index 728794a92c..c121c8c659 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-cold-key-resignation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-cold-key-resignation-certificate.cli @@ -9,6 +9,7 @@ Usage: cardano-cli conway governance committee create-cold-key-resignation-certi --resignation-metadata-hash HASH [--check-resignation-metadata-hash]] --out-file FILEPATH + Create cold key resignation certificate for a Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-hot-key-authorization-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-hot-key-authorization-certificate.cli index 5e6a5b2e2b..036df9a074 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-hot-key-authorization-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_create-hot-key-authorization-certificate.cli @@ -12,6 +12,7 @@ Usage: cardano-cli conway governance committee create-hot-key-authorization-cert | --hot-script-file FILEPATH ) --out-file FILEPATH + Create hot key authorization certificate for a Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-cold.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-cold.cli index 19f824119e..57fbc7f073 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-cold.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-cold.cli @@ -1,6 +1,7 @@ Usage: cardano-cli conway governance committee key-gen-cold --cold-verification-key-file FILEPATH --cold-signing-key-file FILEPATH + Create a cold key pair for a Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-hot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-hot.cli index 04bdf086be..409f2f9e35 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-hot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-gen-hot.cli @@ -1,5 +1,6 @@ Usage: cardano-cli conway governance committee key-gen-hot --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a hot key pair for a Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-hash.cli index b3bee016fb..d97aae85f0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_committee_key-hash.cli @@ -2,6 +2,7 @@ Usage: cardano-cli conway governance committee key-hash ( --verification-key STRING | --verification-key-file FILEPATH ) + Print the identifier (hash) of a public key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep.cli index ef5f334fa9..b0c5bdfa3d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep.cli @@ -6,6 +6,7 @@ Usage: cardano-cli conway governance drep | update-certificate | metadata-hash ) + DRep member commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_id.cli index 05b38de2e9..e8179632af 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_id.cli @@ -8,6 +8,7 @@ Usage: cardano-cli conway governance drep id | --output-cip129 ] [--out-file FILEPATH] + Generate a drep id. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_key-gen.cli index 326230049c..0a45a042ae 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_key-gen.cli @@ -1,5 +1,6 @@ Usage: cardano-cli conway governance drep key-gen --verification-key-file FILEPATH --signing-key-file FILEPATH + Generate Delegated Representative verification and signing keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_metadata-hash.cli index 94f1a7fc4e..627b07b4c0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_metadata-hash.cli @@ -5,6 +5,7 @@ Usage: cardano-cli conway governance drep metadata-hash [ --expected-hash HASH | --out-file FILEPATH ] + Calculate the hash of a metadata file, optionally checking the obtained hash against an expected value. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_registration-certificate.cli index fecef3ab82..b7c5919a0a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_registration-certificate.cli @@ -9,6 +9,7 @@ Usage: cardano-cli conway governance drep registration-certificate --drep-metadata-hash HASH [--check-drep-metadata-hash]] --out-file FILEPATH + Create a registration certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_retirement-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_retirement-certificate.cli index da65c71b0c..6605698390 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_retirement-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_retirement-certificate.cli @@ -6,6 +6,7 @@ Usage: cardano-cli conway governance drep retirement-certificate ) --deposit-amt LOVELACE --out-file FILEPATH + Create a DRep retirement certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_update-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_update-certificate.cli index 717987d359..a3404f0688 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_update-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_drep_update-certificate.cli @@ -8,6 +8,7 @@ Usage: cardano-cli conway governance drep update-certificate --drep-metadata-hash HASH [--check-drep-metadata-hash]] --out-file FILEPATH + Create a DRep update certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote.cli index 1447f62658..4d3104faf4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli conway governance vote (create | view) +Usage: cardano-cli conway governance vote (create | view) Vote commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_create.cli index 5b2e0950d9..0208602230 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_create.cli @@ -18,6 +18,7 @@ Usage: cardano-cli conway governance vote create (--yes | --no | --abstain) --anchor-data-hash HASH [--check-anchor-data-hash]] --out-file FILEPATH + Vote creation. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_view.cli index f34ae1bfcb..27c5ddb741 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_governance_vote_view.cli @@ -1,6 +1,7 @@ Usage: cardano-cli conway governance vote view --vote-file FILEPATH [--output-json | --output-yaml] [--out-file FILEPATH] + Vote viewing. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key.cli index 68f46d0494..4ff48f74f8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key.cli @@ -10,6 +10,7 @@ Usage: cardano-cli conway key | convert-itn-bip32-key | convert-cardano-address-key ) + Key utility commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-genesis-vkey.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-genesis-vkey.cli index a8da00c4b9..f8f7bfdfe4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-genesis-vkey.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-genesis-vkey.cli @@ -1,5 +1,6 @@ Usage: cardano-cli conway key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 --out-file FILEPATH + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis verification key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-key.cli index 33f7385c5c..92f0928534 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-byron-key.cli @@ -10,6 +10,7 @@ Usage: cardano-cli conway key convert-byron-key [--password TEXT] | --byron-verification-key-file FILEPATH ) --out-file FILEPATH + Convert a Byron payment, genesis or genesis delegate key (signing or verification) to a corresponding Shelley-format key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-cardano-address-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-cardano-address-key.cli index e43933f420..b92224ed10 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-cardano-address-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-cardano-address-key.cli @@ -9,6 +9,7 @@ Usage: cardano-cli conway key convert-cardano-address-key ) --signing-key-file FILEPATH --out-file FILEPATH + Convert a cardano-address extended signing key to a corresponding Shelley-format key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-bip32-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-bip32-key.cli index bbcd81eb3e..55c69d2208 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-bip32-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-bip32-key.cli @@ -1,5 +1,6 @@ Usage: cardano-cli conway key convert-itn-bip32-key --itn-signing-key-file FILEPATH --out-file FILEPATH + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a corresponding Shelley stake signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-extended-key.cli index 4b58b72754..fed947974e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-extended-key.cli @@ -1,5 +1,6 @@ Usage: cardano-cli conway key convert-itn-extended-key --itn-signing-key-file FILEPATH --out-file FILEPATH + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key to a corresponding Shelley stake signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-key.cli index 5a3275497e..b2f9bf9e05 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_convert-itn-key.cli @@ -3,6 +3,7 @@ Usage: cardano-cli conway key convert-itn-key | --itn-verification-key-file FILEPATH ) --out-file FILEPATH + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or verification key to a corresponding Shelley stake key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_derive-from-mnemonic.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_derive-from-mnemonic.cli index d4e91efab9..2cf672705f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_derive-from-mnemonic.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_derive-from-mnemonic.cli @@ -14,6 +14,7 @@ Usage: cardano-cli conway key derive-from-mnemonic | --mnemonic-from-interactive-prompt ) --signing-key-file FILEPATH + Derive an extended signing key from a mnemonic sentence. To ensure the safety of the mnemonic phrase, we recommend that key derivation is performed in an diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_generate-mnemonic.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_generate-mnemonic.cli index 99b9291670..df85933581 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_generate-mnemonic.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_generate-mnemonic.cli @@ -1,5 +1,6 @@ Usage: cardano-cli conway key generate-mnemonic [--out-file FILEPATH] --size WORD32 + Generate a mnemonic sentence that can be used for key derivation. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_non-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_non-extended-key.cli index e516578a31..6cd46b83db 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_non-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_non-extended-key.cli @@ -1,5 +1,6 @@ Usage: cardano-cli conway key non-extended-key --extended-verification-key-file FILEPATH --verification-key-file FILEPATH + Get a non-extended verification key from an extended verification key. This supports all extended key types. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_verification-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_verification-key.cli index 7bb51b0127..204cb9b0fa 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_verification-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_key_verification-key.cli @@ -1,5 +1,6 @@ Usage: cardano-cli conway key verification-key --signing-key-file FILEPATH --verification-key-file FILEPATH + Get a verification key from a signing key. This supports all key types. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node.cli index 3fe36322cb..fd2349f7ec 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node.cli @@ -6,6 +6,7 @@ Usage: cardano-cli conway node | new-counter | issue-op-cert ) + Node operation commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_issue-op-cert.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_issue-op-cert.cli index 4f5f6184de..4cd160a6b7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_issue-op-cert.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_issue-op-cert.cli @@ -6,6 +6,7 @@ Usage: cardano-cli conway node issue-op-cert --operational-certificate-issue-counter-file FILEPATH --kes-period NATURAL --out-file FILEPATH + Issue a node operational certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-KES.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-KES.cli index ba5eda1988..f0dbad6c92 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-KES.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-KES.cli @@ -5,6 +5,7 @@ Usage: cardano-cli conway node key-gen-KES ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a key pair for a node KES operational key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-VRF.cli index 916740d9c8..fe07f1eaa3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen-VRF.cli @@ -5,6 +5,7 @@ Usage: cardano-cli conway node key-gen-VRF ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a key pair for a node VRF operational key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen.cli index 3d482d4c74..84c41f0b21 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-gen.cli @@ -6,6 +6,7 @@ Usage: cardano-cli conway node key-gen --cold-verification-key-file FILEPATH --cold-signing-key-file FILEPATH --operational-certificate-issue-counter-file FILEPATH + Create a key pair for a node operator's offline key and a new certificate issue counter diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-hash-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-hash-VRF.cli index 2d4d7f944a..b775e760f4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-hash-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_key-hash-VRF.cli @@ -3,6 +3,7 @@ Usage: cardano-cli conway node key-hash-VRF | --verification-key-file FILEPATH ) [--out-file FILEPATH] + Print hash of a node's operational VRF key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_new-counter.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_new-counter.cli index c0f01ea2e5..677b7bc3a5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_new-counter.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_node_new-counter.cli @@ -6,6 +6,7 @@ Usage: cardano-cli conway node new-counter ) --counter-value INT --operational-certificate-issue-counter-file FILEPATH + Create a new certificate issue counter diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query.cli index 5e9fe6c08f..5ae27d9b63 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query.cli @@ -28,6 +28,7 @@ Usage: cardano-cli conway query | tx-mempool | utxo ) + Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_committee-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_committee-state.cli index 91b23e2637..a630444c89 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_committee-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_committee-state.cli @@ -26,6 +26,7 @@ Usage: cardano-cli conway query committee-state | --output-yaml ] [--out-file FILEPATH] + Get the committee state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_constitution.cli index dd0adbbd79..77431516ac 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_constitution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_constitution.cli @@ -10,6 +10,7 @@ Usage: cardano-cli conway query constitution ] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the constitution diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli index d22fbff456..c89b99f423 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-stake-distribution.cli @@ -20,6 +20,7 @@ Usage: cardano-cli conway query drep-stake-distribution | --output-yaml ] [--out-file FILEPATH] + Get the DRep stake distribution. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli index d29013e706..718fb0cfc3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_drep-state.cli @@ -17,6 +17,7 @@ Usage: cardano-cli conway query drep-state [--include-stake] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the DRep state. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_era-history.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_era-history.cli index 698283fccc..046d80702b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_era-history.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_era-history.cli @@ -7,6 +7,7 @@ Usage: cardano-cli conway query era-history --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + Obtains the era history data. The era history contains information about when era transitions happened and can be used together with the start time to diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_future-pparams.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_future-pparams.cli index 755b40f0be..5fe7bea8ff 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_future-pparams.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_future-pparams.cli @@ -10,6 +10,7 @@ Usage: cardano-cli conway query future-pparams ] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the protocol parameters that will apply at the next epoch diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_gov-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_gov-state.cli index f1317703bc..654da82560 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_gov-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_gov-state.cli @@ -6,6 +6,7 @@ Usage: cardano-cli conway query gov-state [--cardano-mode [--epoch-slots SLOTS]] [--volatile-tip | --immutable-tip] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the governance state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_kes-period-info.cli index c60311230d..54a75ae121 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_kes-period-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_kes-period-info.cli @@ -13,6 +13,7 @@ Usage: cardano-cli conway query kes-period-info | --output-yaml ] [--out-file FILEPATH] + Get information about the current KES period and your node's operational certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_leadership-schedule.cli index 58017f80b0..a89814aa85 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_leadership-schedule.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_leadership-schedule.cli @@ -21,6 +21,7 @@ Usage: cardano-cli conway query leadership-schedule | --output-yaml ] [--out-file FILEPATH] + Get the slots the node is expected to mint a block in (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ledger-peer-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ledger-peer-snapshot.cli index bb05589cd4..8cbf33085f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ledger-peer-snapshot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ledger-peer-snapshot.cli @@ -13,6 +13,7 @@ Usage: cardano-cli conway query ledger-peer-snapshot | --output-yaml ] [--out-file FILEPATH] + Dump the current snapshot of ledger peers.These are the largest pools that cumulatively hold 90% of total stake. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ledger-state.cli index 1b43201824..0f112c7c30 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ledger-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ledger-state.cli @@ -13,6 +13,7 @@ Usage: cardano-cli conway query ledger-state | --output-yaml ] [--out-file FILEPATH] + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-params.cli index d82269e844..91646b4456 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-params.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-params.cli @@ -11,6 +11,7 @@ Usage: cardano-cli conway query pool-params ) [--output-json | --output-yaml] [--out-file FILEPATH] + DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-state.cli index 8704a4cabf..d1e9af034d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_pool-state.cli @@ -11,6 +11,7 @@ Usage: cardano-cli conway query pool-state ) [--output-json | --output-yaml] [--out-file FILEPATH] + Dump the pool state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_proposals.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_proposals.cli index 6dd75fb6e0..7a3adec8fc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_proposals.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_proposals.cli @@ -10,6 +10,7 @@ Usage: cardano-cli conway query proposals [--cardano-mode [--epoch-slots SLOTS]] ) [--output-json | --output-yaml] [--out-file FILEPATH] + Get the governance proposals that are eligible for ratification. Proposals submitted during the current epoch are excluded, as they cannot be ratified diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-parameters.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-parameters.cli index 9a2ee846f5..dd73c0b4fe 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-parameters.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-parameters.cli @@ -9,6 +9,7 @@ Usage: cardano-cli conway query protocol-parameters | --output-yaml ] [--out-file FILEPATH] + Get the node's current protocol parameters diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-state.cli index ba27c84c08..fa687f362c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_protocol-state.cli @@ -14,6 +14,7 @@ Usage: cardano-cli conway query protocol-state | --output-yaml ] [--out-file FILEPATH] + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ratify-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ratify-state.cli index 1754ae5ce8..9c3f9c5e36 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ratify-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ratify-state.cli @@ -10,6 +10,7 @@ Usage: cardano-cli conway query ratify-state ] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the ratification state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ref-script-size.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ref-script-size.cli index 31b8d183e4..d2ddf8e175 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ref-script-size.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_ref-script-size.cli @@ -14,6 +14,7 @@ Usage: cardano-cli conway query ref-script-size | --output-yaml ] [--out-file FILEPATH] + Calculate the reference input scripts size in bytes for provided transaction inputs. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_slot-number.cli index 7c26549945..747196a7b0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_slot-number.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_slot-number.cli @@ -7,6 +7,7 @@ Usage: cardano-cli conway query slot-number --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] TIMESTAMP + Query slot number for UTC timestamp diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_spo-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_spo-stake-distribution.cli index ce33205840..b0dcdf2f34 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_spo-stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_spo-stake-distribution.cli @@ -19,6 +19,7 @@ Usage: cardano-cli conway query spo-stake-distribution | --output-yaml ] [--out-file FILEPATH] + Get the SPO stake distribution. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-address-info.cli index 1d786075e9..5210ba981a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-address-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-address-info.cli @@ -13,6 +13,7 @@ Usage: cardano-cli conway query stake-address-info | --output-yaml ] [--out-file FILEPATH] + Get the current delegations and reward accounts filtered by stake address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-distribution.cli index ae04a4d10a..ccd25c122c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-distribution.cli @@ -13,6 +13,7 @@ Usage: cardano-cli conway query stake-distribution | --output-yaml ] [--out-file FILEPATH] + Get the node's current aggregated stake distribution diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-pool-default-vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-pool-default-vote.cli index 994c8eb83a..75dcb63e06 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-pool-default-vote.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-pool-default-vote.cli @@ -16,6 +16,7 @@ Usage: cardano-cli conway query stake-pool-default-vote | --output-yaml ] [--out-file FILEPATH] + Get the stake pool default vote. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-pools.cli index 056ecf721d..b97c158e24 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-pools.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-pools.cli @@ -11,6 +11,7 @@ Usage: cardano-cli conway query stake-pools | --output-yaml ] [--out-file FILEPATH] + Get the node's current set of stake pool ids diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-snapshot.cli index 84b9c45e7c..d412660e8b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-snapshot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_stake-snapshot.cli @@ -13,6 +13,7 @@ Usage: cardano-cli conway query stake-snapshot ) [--output-json | --output-yaml] [--out-file FILEPATH] + Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tip.cli index 6e099b4a6e..be7d031139 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tip.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tip.cli @@ -4,6 +4,7 @@ Usage: cardano-cli conway query tip [--cardano-mode [--epoch-slots SLOTS]] [--volatile-tip | --immutable-tip] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the node's current tip (slot no, hash, block no) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_treasury.cli index fa19901e9c..05f427c777 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_treasury.cli @@ -3,6 +3,7 @@ Usage: cardano-cli conway query treasury [--cardano-mode [--epoch-slots SLOTS]] --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + Get the treasury value diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool.cli index 76a6c0abf1..4e9f8ac5bc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool.cli @@ -8,6 +8,7 @@ Usage: cardano-cli conway query tx-mempool (info | next-tx | tx-exists) [--output-json | --output-yaml] [--out-file FILEPATH] + Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_tx-exists.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_tx-exists.cli index ab126f6eb9..20dadfbf81 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_tx-exists.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_tx-mempool_tx-exists.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli conway 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_utxo.cli index a4db6d67a5..846e85b97f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_query_utxo.cli @@ -13,6 +13,7 @@ Usage: cardano-cli conway query utxo [--cardano-mode [--epoch-slots SLOTS]] | --output-yaml ] [--out-file FILEPATH] + Get a portion of the current UTxO: by tx in, by address or the whole. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address.cli index c75e238b4a..ff55ea08ee 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address.cli @@ -11,6 +11,7 @@ Usage: cardano-cli conway stake-address | registration-and-vote-delegation-certificate | registration-stake-and-vote-delegation-certificate ) + Stake address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_build.cli index 62042e6f2a..47d9ad1591 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_build.cli @@ -8,6 +8,7 @@ Usage: cardano-cli conway stake-address build | --testnet-magic NATURAL ) [--out-file FILEPATH] + Build a stake address diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_deregistration-certificate.cli index 3aeb1e3c89..c2a9e5112e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_deregistration-certificate.cli @@ -7,6 +7,7 @@ Usage: cardano-cli conway stake-address deregistration-certificate ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-gen.cli index 9e81d7b372..86ae1a9a94 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-gen.cli @@ -5,6 +5,7 @@ Usage: cardano-cli conway stake-address key-gen ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a stake address key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-hash.cli index d4d1693ce7..3b479ee9ab 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_key-hash.cli @@ -3,6 +3,7 @@ Usage: cardano-cli conway stake-address key-hash | --stake-verification-key-file FILEPATH ) [--out-file FILEPATH] + Print the hash of a stake address key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-and-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-and-delegation-certificate.cli index a3424114af..8b81117d09 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-and-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-and-delegation-certificate.cli @@ -12,6 +12,7 @@ Usage: cardano-cli conway stake-address registration-and-delegation-certificate ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration and delegation certificate, which when submitted in a transaction registers a stake address and delegates stake to a diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-and-vote-delegation-certificate.cli index 4f5ad4f0e4..bcea3ecf4d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-and-vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-and-vote-delegation-certificate.cli @@ -14,6 +14,7 @@ Usage: cardano-cli conway stake-address registration-and-vote-delegation-certifi ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration and vote delegation certificate, which when submitted in a transaction registers a stake address and delegates votes diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-certificate.cli index a36a768e89..0203e141de 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-certificate.cli @@ -7,6 +7,7 @@ Usage: cardano-cli conway stake-address registration-certificate ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-stake-and-vote-delegation-certificate.cli index 9ff324f66a..36f8fb036e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-stake-and-vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_registration-stake-and-vote-delegation-certificate.cli @@ -19,6 +19,7 @@ Usage: cardano-cli conway stake-address registration-stake-and-vote-delegation-c ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration, stake delegation and vote delegation certificate, which when submitted in a transaction registers a stake address, diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-and-vote-delegation-certificate.cli index 91af0ce92d..c98087d239 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-and-vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-and-vote-delegation-certificate.cli @@ -18,6 +18,7 @@ Usage: cardano-cli conway stake-address stake-and-vote-delegation-certificate | --always-no-confidence ) --out-file FILEPATH + Create a stake address stake and vote delegation certificate, which when submitted in a transaction delegates stake to a stake pool and a DRep. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-delegation-certificate.cli index 959bb1f419..eba73c995c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_stake-delegation-certificate.cli @@ -11,6 +11,7 @@ Usage: cardano-cli conway stake-address stake-delegation-certificate | --stake-pool-id STAKE_POOL_ID ) --out-file FILEPATH + Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_vote-delegation-certificate.cli index 532b817dd8..4b96c85103 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-address_vote-delegation-certificate.cli @@ -13,6 +13,7 @@ Usage: cardano-cli conway stake-address vote-delegation-certificate | --always-no-confidence ) --out-file FILEPATH + Create a stake address vote delegation certificate, which when submitted in a transaction delegates stake to a DRep. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool.cli index 3c4574252a..bf00b932bb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool.cli @@ -4,6 +4,7 @@ Usage: cardano-cli conway stake-pool | id | metadata-hash ) + Stake pool commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_deregistration-certificate.cli index db07bc395b..559d6edd87 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_deregistration-certificate.cli @@ -5,6 +5,7 @@ Usage: cardano-cli conway stake-pool deregistration-certificate ) --epoch NATURAL --out-file FILEPATH + Create a stake pool deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_id.cli index cb07edfd01..c99dae12e9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_id.cli @@ -5,6 +5,7 @@ Usage: cardano-cli conway stake-pool id ) [--output-bech32 | --output-hex] [--out-file FILEPATH] + Build pool id from the offline key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_metadata-hash.cli index f9429ceffe..becb66df08 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_metadata-hash.cli @@ -5,6 +5,7 @@ Usage: cardano-cli conway stake-pool metadata-hash [ --expected-hash HASH | --out-file FILEPATH ] + Calculate the hash of a stake pool metadata file, optionally checking the obtained hash against an expected value. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_registration-certificate.cli index 7b9910ff3d..d46e2b0486 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_stake-pool_registration-certificate.cli @@ -6,6 +6,7 @@ Usage: cardano-cli conway stake-pool registration-certificate ( --vrf-verification-key STRING | --vrf-verification-key-file FILEPATH ) + [--bls-signing-key-file FILEPATH] --pool-pledge LOVELACE --pool-cost LOVELACE --pool-margin RATIONAL @@ -29,6 +30,7 @@ Usage: cardano-cli conway stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate @@ -44,6 +46,8 @@ Available options: VRF verification key (Bech32 or hex-encoded). --vrf-verification-key-file FILEPATH Filepath of the VRF verification key. + --bls-signing-key-file FILEPATH + Input filepath of the BLS signing 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_text-view_decode-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_text-view_decode-cbor.cli index 33adc90cf7..a874f6db74 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_text-view_decode-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_text-view_decode-cbor.cli @@ -5,6 +5,7 @@ Usage: cardano-cli conway text-view decode-cbor --in-file FILEPATH | --output-yaml ] [--out-file FILEPATH] + Print a TextView file as decoded CBOR. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction.cli index 4208cc9d4f..55792694c4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction.cli @@ -13,6 +13,7 @@ Usage: cardano-cli conway transaction | hash-script-data | txid ) + Transaction commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_assemble.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_assemble.cli index 9c58d42294..4d9712e6d5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_assemble.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_assemble.cli @@ -2,6 +2,7 @@ Usage: cardano-cli conway transaction assemble --tx-body-file FILEPATH [--witness-file FILEPATH] [--out-canonical-cbor] --out-file FILEPATH + Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-estimate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-estimate.cli index e513a9badb..59c670af76 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-estimate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-estimate.cli @@ -160,6 +160,7 @@ Usage: cardano-cli conway transaction build-estimate [--treasury-donation LOVELACE] [--out-canonical-cbor] --out-file FILEPATH + Build a balanced transaction without access to a live node (automatically estimates fees) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli index 29ead275e0..824fce5eee 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build-raw.cli @@ -155,6 +155,7 @@ Usage: cardano-cli conway transaction build-raw [--treasury-donation LOVELACE] [--out-canonical-cbor] --out-file FILEPATH + Build a transaction (low-level, inconvenient) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build.cli index 1869830d99..50822c6072 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_build.cli @@ -146,6 +146,7 @@ Usage: cardano-cli conway transaction build ( --out-file FILEPATH | --calculate-plutus-script-cost FILEPATH ) + Build a balanced transaction (automatically calculates fees) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli index 43994cae2d..ea2639b1f7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli @@ -13,6 +13,7 @@ Usage: cardano-cli conway transaction calculate-min-fee --tx-body-file FILEPATH ] [--tx-in-count NATURAL] [--tx-out-count NATURAL] + Calculate the minimum fee for a transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-required-utxo.cli index 9aacee8e6c..e911d3a20c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-required-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-required-utxo.cli @@ -12,6 +12,7 @@ Usage: cardano-cli conway transaction calculate-min-required-utxo --protocol-par | --tx-out-inline-datum-value JSON_VALUE ] [--tx-out-reference-script-file FILEPATH] + Calculate the minimum required UTxO for a transaction output. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-value.cli index 4929c14205..b8f9b03ef8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-value.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-value.cli @@ -12,6 +12,7 @@ Usage: cardano-cli conway transaction calculate-min-value --protocol-params-file | --tx-out-inline-datum-value JSON_VALUE ] [--tx-out-reference-script-file FILEPATH] + DEPRECATED: Use 'calculate-min-required-utxo' instead. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-plutus-script-cost.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-plutus-script-cost.cli index f686fd9845..4f4c899dd1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-plutus-script-cost.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-plutus-script-cost.cli @@ -2,6 +2,7 @@ Usage: cardano-cli conway transaction calculate-plutus-script-cost ( online | offline ) + Calculate the costs of the Plutus scripts of a given transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-plutus-script-cost_offline.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-plutus-script-cost_offline.cli index 49b55c568c..ba0dd608ed 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-plutus-script-cost_offline.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-plutus-script-cost_offline.cli @@ -9,6 +9,7 @@ Usage: cardano-cli conway transaction calculate-plutus-script-cost offline --protocol-params-file FILEPATH --tx-file FILEPATH [--out-file FILEPATH] + Manually provide get context info and calculate the costs of the Plutus scripts of a given transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-plutus-script-cost_online.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-plutus-script-cost_online.cli index 0c95b5ecfe..6c35fba692 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-plutus-script-cost_online.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-plutus-script-cost_online.cli @@ -7,6 +7,7 @@ Usage: cardano-cli conway transaction calculate-plutus-script-cost online --socket-path SOCKET_PATH --tx-file FILEPATH [--out-file FILEPATH] + Connect to a running node to get context info and calculate the costs of the Plutus scripts of a given transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_hash-script-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_hash-script-data.cli index fef550bfd5..82cbf141cc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_hash-script-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_hash-script-data.cli @@ -3,6 +3,7 @@ Usage: cardano-cli conway transaction hash-script-data | --script-data-file JSON_FILE | --script-data-value JSON_VALUE ) + Calculate the hash of script data. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_policyid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_policyid.cli index 5f0575b3bd..3977116104 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_policyid.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_policyid.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli conway transaction policyid --script-file FILEPATH +Usage: cardano-cli conway transaction policyid --script-file FILEPATH Calculate the PolicyId from the monetary policy script. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign-witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign-witness.cli index 688e389d52..349eabaf80 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign-witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign-witness.cli @@ -2,6 +2,7 @@ Usage: cardano-cli conway transaction sign-witness --tx-body-file FILEPATH [--witness-file FILEPATH] [--out-canonical-cbor] --out-file FILEPATH + Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign.cli index b64b577f51..f1bbd247dd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_sign.cli @@ -9,6 +9,7 @@ Usage: cardano-cli conway transaction sign ] [--out-canonical-cbor] --out-file FILEPATH + Sign a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_submit.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_submit.cli index 1e30c5502e..f941f7abc9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_submit.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_submit.cli @@ -6,6 +6,7 @@ Usage: cardano-cli conway transaction submit ) --socket-path SOCKET_PATH --tx-file FILEPATH + Submit a transaction to the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_txid.cli index e2f00167f0..1f5cb48529 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_txid.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_txid.cli @@ -6,6 +6,7 @@ Usage: cardano-cli conway transaction txid | --output-text | --output-yaml ] + Print a transaction identifier. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_witness.cli index 822a2fa0d3..20cb3c2d3b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_witness.cli @@ -5,6 +5,7 @@ Usage: cardano-cli conway transaction witness --tx-body-file FILEPATH | --testnet-magic NATURAL ] --out-file FILEPATH + Create a transaction witness diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/debug.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug.cli index 08dc78c128..94081454e1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/debug.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug.cli @@ -3,6 +3,7 @@ Usage: cardano-cli debug | check-node-configuration | transaction ) + Debug commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_check-node-configuration.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_check-node-configuration.cli index f4ffe775fe..f93c19424f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_check-node-configuration.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_check-node-configuration.cli @@ -1,4 +1,5 @@ Usage: cardano-cli debug check-node-configuration --node-configuration-file FILEPATH + Check hashes and paths of genesis files in the given node configuration file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_log-epoch-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_log-epoch-state.cli index 86f81f8143..b598fd6a50 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_log-epoch-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_log-epoch-state.cli @@ -1,6 +1,7 @@ Usage: cardano-cli debug log-epoch-state --socket-path SOCKET_PATH --node-configuration-file FILEPATH --out-file FILEPATH + Log epoch state of a running node. This command will connect to a local node and log the epoch state to a file. The log file format is line delimited JSON. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_transaction_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_transaction_view.cli index d51a76f700..635d8bd51d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_transaction_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/debug_transaction_view.cli @@ -3,6 +3,7 @@ Usage: cardano-cli debug transaction view [--output-json | --output-yaml] ( --tx-body-file FILEPATH | --tx-file FILEPATH ) + Print a transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra.cli new file mode 100644 index 0000000000..e383a47092 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra.cli @@ -0,0 +1,34 @@ +Usage: cardano-cli dijkstra + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) + + + Dijkstra era commands + +Available options: + -h,--help Show this help text + +Available commands: + address Payment address commands. + key Key utility commands. + genesis Genesis block commands. + governance Governance commands. + node Node operation commands. + query Node query commands. Will query the local node whose + Unix domain socket is obtained from the + CARDANO_NODE_SOCKET_PATH environment variable. + stake-address Stake address commands. + stake-pool Stake pool commands. + text-view Commands for dealing with Shelley TextView files. + Transactions, addresses etc are stored on disk as + TextView files. + transaction Transaction commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_address.cli new file mode 100644 index 0000000000..2a4c5cb6ed --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_address.cli @@ -0,0 +1,13 @@ +Usage: cardano-cli dijkstra 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/dijkstra_address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_address_build.cli new file mode 100644 index 0000000000..ff5bcfa8bc --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_address_build.cli @@ -0,0 +1,40 @@ +Usage: cardano-cli dijkstra 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/dijkstra_address_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_address_info.cli new file mode 100644 index 0000000000..8641d3bd48 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_address_info.cli @@ -0,0 +1,10 @@ +Usage: cardano-cli dijkstra 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/dijkstra_address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_address_key-gen.cli new file mode 100644 index 0000000000..7bdc784d84 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_address_key-gen.cli @@ -0,0 +1,32 @@ +Usage: cardano-cli dijkstra address key-gen + [ --key-output-bech32 + | --key-output-text-envelope + | --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-bech32 Format key output to BECH32. + --key-output-text-envelope + Format key output to TEXT_ENVELOPE (default). + --key-output-format STRING + Optional key output format. Accepted output formats + are "text-envelope" and "bech32". The + --key-output-format flag is deprecated and will be + removed in a future version. + --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/dijkstra_address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_address_key-hash.cli new file mode 100644 index 0000000000..c4b375848a --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_address_key-hash.cli @@ -0,0 +1,16 @@ +Usage: cardano-cli dijkstra 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/dijkstra_genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis.cli new file mode 100644 index 0000000000..eadba60b4f --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis.cli @@ -0,0 +1,43 @@ +Usage: cardano-cli dijkstra 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. + +Available options: + -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. + create-testnet-data Create data to use for starting a testnet. + hash DEPRECATION WARNING! This command is deprecated and + will be removed in a future release. Please use hash + genesis-file instead. Compute the hash of a genesis + file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_create-cardano.cli new file mode 100644 index 0000000000..833e2c8a12 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_create-cardano.cli @@ -0,0 +1,53 @@ +Usage: cardano-cli dijkstra genesis create-cardano --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC_TIME] + [--supply LOVELACE] + [--security-param NON_ZERO_WORD64] + [--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 NON_ZERO_WORD64 + 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/dijkstra_genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_create-staked.cli new file mode 100644 index 0000000000..0fa9c31aa8 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_create-staked.cli @@ -0,0 +1,67 @@ +Usage: cardano-cli dijkstra genesis create-staked + [ --key-output-bech32 + | --key-output-text-envelope + | --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-bech32 Format key output to BECH32. + --key-output-text-envelope + Format key output to TEXT_ENVELOPE (default). + --key-output-format STRING + Optional key output format. Accepted output formats + are "text-envelope" and "bech32". The + --key-output-format flag is deprecated and will be + removed in a future version. + --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/dijkstra_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_create-testnet-data.cli new file mode 100644 index 0000000000..fd7a592bbc --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_create-testnet-data.cli @@ -0,0 +1,72 @@ +Usage: cardano-cli dijkstra 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 + ] + [--committee-keys 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. + --committee-keys INT The number of constitutional committee credentials to + make (default is 0). + --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/dijkstra_genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_create.cli new file mode 100644 index 0000000000..d84163833d --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_create.cli @@ -0,0 +1,42 @@ +Usage: cardano-cli dijkstra genesis create + [ --key-output-bech32 + | --key-output-text-envelope + | --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-bech32 Format key output to BECH32. + --key-output-text-envelope + Format key output to TEXT_ENVELOPE (default). + --key-output-format STRING + Optional key output format. Accepted output formats + are "text-envelope" and "bech32". The + --key-output-format flag is deprecated and will be + removed in a future version. + --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/dijkstra_genesis_get-ver-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_get-ver-key.cli new file mode 100644 index 0000000000..f2df594bb8 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_get-ver-key.cli @@ -0,0 +1,12 @@ +Usage: cardano-cli dijkstra 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/dijkstra_genesis_hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_hash.cli new file mode 100644 index 0000000000..9d17a1dfbd --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_hash.cli @@ -0,0 +1,9 @@ +Usage: cardano-cli dijkstra genesis hash --genesis FILEPATH + + DEPRECATION WARNING! This command is deprecated and will be removed in a + future release. Please use hash genesis-file instead. 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/dijkstra_genesis_initial-addr.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_initial-addr.cli new file mode 100644 index 0000000000..dc978bf7f9 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_initial-addr.cli @@ -0,0 +1,18 @@ +Usage: cardano-cli dijkstra 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/dijkstra_genesis_initial-txin.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_initial-txin.cli new file mode 100644 index 0000000000..15bc6c9f3e --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_initial-txin.cli @@ -0,0 +1,18 @@ +Usage: cardano-cli dijkstra 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/dijkstra_genesis_key-gen-delegate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_key-gen-delegate.cli new file mode 100644 index 0000000000..e18c0402ca --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_key-gen-delegate.cli @@ -0,0 +1,16 @@ +Usage: cardano-cli dijkstra 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/dijkstra_genesis_key-gen-genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_key-gen-genesis.cli new file mode 100644 index 0000000000..455a49ee7f --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_key-gen-genesis.cli @@ -0,0 +1,12 @@ +Usage: cardano-cli dijkstra 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/dijkstra_genesis_key-gen-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_key-gen-utxo.cli new file mode 100644 index 0000000000..8d0ad3d8f1 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_key-gen-utxo.cli @@ -0,0 +1,12 @@ +Usage: cardano-cli dijkstra 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/dijkstra_genesis_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_key-hash.cli new file mode 100644 index 0000000000..b919c39171 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_genesis_key-hash.cli @@ -0,0 +1,8 @@ +Usage: cardano-cli dijkstra 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/dijkstra_governance.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance.cli new file mode 100644 index 0000000000..893dc18ce6 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance.cli @@ -0,0 +1,12 @@ +Usage: cardano-cli dijkstra 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/dijkstra_governance_action.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action.cli new file mode 100644 index 0000000000..5ade38d92a --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action.cli @@ -0,0 +1,28 @@ +Usage: cardano-cli dijkstra 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/dijkstra_governance_action_create-constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_create-constitution.cli new file mode 100644 index 0000000000..7133d09470 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_create-constitution.cli @@ -0,0 +1,65 @@ +Usage: cardano-cli dijkstra governance action create-constitution + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + --constitution-url TEXT + --constitution-hash HASH + [--check-constitution-hash] + [--constitution-script-hash HASH] + --out-file FILEPATH + + + Create a constitution. + +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 Verify that the expected proposal hash provided in + --anchor-data-hash matches the hash of the file + downloaded from the URL provided in --anchor-url + (this parameter will download the file from the URL) + --constitution-url TEXT Constitution URL. + --constitution-hash HASH Hash of the constitution data (obtain it with + "cardano-cli hash anchor-data ..."). + --check-constitution-hash + Verify that the expected constitution hash provided + in --constitution-hash matches the hash of the file + downloaded from the URL provided in + --constitution-url (this parameter will download the + file from the URL) + --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/dijkstra_governance_action_create-hardfork.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_create-hardfork.cli new file mode 100644 index 0000000000..08729da70e --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_create-hardfork.cli @@ -0,0 +1,61 @@ +Usage: cardano-cli dijkstra governance action create-hardfork + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + --protocol-major-version MAJOR + --protocol-minor-version MINOR + --out-file FILEPATH + + + Create a hardfork initiation proposal. + +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 Verify that the expected proposal hash provided in + --anchor-data-hash matches the hash of the file + downloaded from the URL provided in --anchor-url + (this parameter will download the file from the URL) + --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/dijkstra_governance_action_create-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_create-info.cli new file mode 100644 index 0000000000..67bf4e95a1 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_create-info.cli @@ -0,0 +1,44 @@ +Usage: cardano-cli dijkstra governance action create-info + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + --out-file FILEPATH + + + Create an info action. + +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 Verify that the expected proposal hash provided in + --anchor-data-hash matches the hash of the file + downloaded from the URL provided in --anchor-url + (this parameter will download the file from the URL) + --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/dijkstra_governance_action_create-no-confidence.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_create-no-confidence.cli new file mode 100644 index 0000000000..8ead27eb74 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_create-no-confidence.cli @@ -0,0 +1,49 @@ +Usage: cardano-cli dijkstra governance action create-no-confidence + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH + + + Create a no confidence proposal. + +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 Verify that the expected proposal hash provided in + --anchor-data-hash matches the hash of the file + downloaded from the URL provided in --anchor-url + (this parameter will download the file from the URL) + --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/dijkstra_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_create-protocol-parameters-update.cli new file mode 100644 index 0000000000..7d15c8e5eb --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_create-protocol-parameters-update.cli @@ -0,0 +1,55 @@ +Usage: cardano-cli dijkstra governance action create-protocol-parameters-update + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + [--constitution-script-hash HASH] + [--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 ...") + --check-anchor-data Verify that the expected proposal hash provided in + --anchor-data-hash matches the hash of the file + downloaded from the URL provided in --anchor-url + (this parameter will download the file from the URL) + --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 ...". + --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/dijkstra_governance_action_create-treasury-withdrawal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_create-treasury-withdrawal.cli new file mode 100644 index 0000000000..2f0241c7f0 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_create-treasury-withdrawal.cli @@ -0,0 +1,70 @@ +Usage: cardano-cli dijkstra governance action create-treasury-withdrawal + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + ( + ( --funds-receiving-stake-verification-key STRING + | --funds-receiving-stake-verification-key-file FILEPATH + | --funds-receiving-stake-key-hash HASH + | --funds-receiving-stake-script-file FILEPATH + | --funds-receiving-stake-address ADDRESS + ) + --transfer LOVELACE) + [--constitution-script-hash HASH] + --out-file FILEPATH + + + Create a treasury withdrawal. + +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 Verify that the expected proposal hash provided in + --anchor-data-hash matches the hash of the file + downloaded from the URL provided in --anchor-url + (this parameter will download the file from the URL) + --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/dijkstra_governance_action_update-committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_update-committee.cli new file mode 100644 index 0000000000..3771242b12 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_update-committee.cli @@ -0,0 +1,83 @@ +Usage: cardano-cli dijkstra governance action update-committee + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data] + [ --remove-cc-cold-verification-key STRING + | --remove-cc-cold-verification-key-file FILEPATH + | --remove-cc-cold-verification-key-hash STRING + | --remove-cc-cold-script-hash HASH + ] + [ + ( --add-cc-cold-verification-key STRING + | --add-cc-cold-verification-key-file FILEPATH + | --add-cc-cold-verification-key-hash STRING + | --add-cc-cold-script-hash HASH + ) + --epoch NATURAL] + --threshold RATIONAL + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH + + + Create or update a new committee proposal. + +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 Verify that the expected proposal hash provided in + --anchor-data-hash matches the hash of the file + downloaded from the URL provided in --anchor-url + (this parameter will download the file from the URL) + --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/dijkstra_governance_action_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_view.cli new file mode 100644 index 0000000000..b305bc2387 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_action_view.cli @@ -0,0 +1,16 @@ +Usage: cardano-cli dijkstra 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 + (default). + --output-yaml Format governance action view output to YAML. + --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/dijkstra_governance_committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_committee.cli new file mode 100644 index 0000000000..4c356b3757 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_committee.cli @@ -0,0 +1,26 @@ +Usage: cardano-cli dijkstra 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/dijkstra_governance_committee_create-cold-key-resignation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_committee_create-cold-key-resignation-certificate.cli new file mode 100644 index 0000000000..64de97933e --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_committee_create-cold-key-resignation-certificate.cli @@ -0,0 +1,42 @@ +Usage: cardano-cli dijkstra governance committee create-cold-key-resignation-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + [--resignation-metadata-url TEXT + --resignation-metadata-hash HASH + [--check-resignation-metadata-hash]] + --out-file FILEPATH + + + Create cold key resignation certificate for a Constitutional Committee Member + +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 + --check-resignation-metadata-hash + Verify that the expected Constitutional Committee + cold key resignation certificate metadata hash + provided in --resignation-metadata-hash matches the + hash of the file downloaded from the URL provided in + --resignation-metadata-url (this parameter will + download the file from the URL) + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_committee_create-hot-key-authorization-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_committee_create-hot-key-authorization-certificate.cli new file mode 100644 index 0000000000..0d73779030 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_committee_create-hot-key-authorization-certificate.cli @@ -0,0 +1,43 @@ +Usage: cardano-cli dijkstra 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/dijkstra_governance_committee_key-gen-cold.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_committee_key-gen-cold.cli new file mode 100644 index 0000000000..28042f0dc2 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_committee_key-gen-cold.cli @@ -0,0 +1,13 @@ +Usage: cardano-cli dijkstra 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/dijkstra_governance_committee_key-gen-hot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_committee_key-gen-hot.cli new file mode 100644 index 0000000000..51761a5a2d --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_committee_key-gen-hot.cli @@ -0,0 +1,12 @@ +Usage: cardano-cli dijkstra 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/dijkstra_governance_committee_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_committee_key-hash.cli new file mode 100644 index 0000000000..e0f4add157 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_committee_key-hash.cli @@ -0,0 +1,16 @@ +Usage: cardano-cli dijkstra 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/dijkstra_governance_drep.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep.cli new file mode 100644 index 0000000000..e7acbcb256 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep.cli @@ -0,0 +1,24 @@ +Usage: cardano-cli dijkstra 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, optionally + checking the obtained hash against an expected value. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_id.cli new file mode 100644 index 0000000000..8534b3b543 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_id.cli @@ -0,0 +1,26 @@ +Usage: cardano-cli dijkstra governance drep id + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + [ --output-hex + | --output-bech32 + | --output-cip129 + ] + [--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. + --drep-key-hash HASH DRep verification key hash (either Bech32-encoded or + hex-encoded). + --output-hex Format drep id output to BASE16. + --output-bech32 Format drep id output to BECH32 (default). + --output-cip129 Format drep id output to CIP-129. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_key-gen.cli new file mode 100644 index 0000000000..c1d768d9b7 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_key-gen.cli @@ -0,0 +1,12 @@ +Usage: cardano-cli dijkstra 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/dijkstra_governance_drep_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_metadata-hash.cli new file mode 100644 index 0000000000..a375cac35f --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_metadata-hash.cli @@ -0,0 +1,21 @@ +Usage: cardano-cli dijkstra governance drep metadata-hash + ( --drep-metadata-file FILEPATH + | --drep-metadata-url TEXT + ) + [ --expected-hash HASH + | --out-file FILEPATH + ] + + + Calculate the hash of a metadata file, optionally checking the obtained hash + against an expected value. + +Available options: + --drep-metadata-file FILEPATH + JSON Metadata file to hash. + --drep-metadata-url TEXT URL pointing to the JSON Metadata file to hash. + --expected-hash HASH Expected hash for the DRep metadata, for verification + purposes. If provided, the hash of the DRep metadata + will be compared to this value. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_registration-certificate.cli new file mode 100644 index 0000000000..c5976ff422 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_registration-certificate.cli @@ -0,0 +1,37 @@ +Usage: cardano-cli dijkstra governance drep registration-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --key-reg-deposit-amt NATURAL + [--drep-metadata-url TEXT + --drep-metadata-hash HASH + [--check-drep-metadata-hash]] + --out-file FILEPATH + + + Create a registration certificate. + +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. + --check-drep-metadata-hash + Verify that the expected DRep metadata hash provided + in --drep-metadata-hash matches the hash of the file + downloaded from the URL provided in + --drep-metadata-url (this parameter will download the + file from the URL) + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_retirement-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_retirement-certificate.cli new file mode 100644 index 0000000000..f405e373e6 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_retirement-certificate.cli @@ -0,0 +1,25 @@ +Usage: cardano-cli dijkstra 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/dijkstra_governance_drep_update-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_update-certificate.cli new file mode 100644 index 0000000000..6e93cd13c2 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_drep_update-certificate.cli @@ -0,0 +1,34 @@ +Usage: cardano-cli dijkstra governance drep update-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + [--drep-metadata-url TEXT + --drep-metadata-hash HASH + [--check-drep-metadata-hash]] + --out-file FILEPATH + + + Create a DRep update certificate. + +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. + --check-drep-metadata-hash + Verify that the expected DRep metadata hash provided + in --drep-metadata-hash matches the hash of the file + downloaded from the URL provided in + --drep-metadata-url (this parameter will download the + file from the URL) + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_vote.cli new file mode 100644 index 0000000000..9659048cde --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_vote.cli @@ -0,0 +1,10 @@ +Usage: cardano-cli dijkstra 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/dijkstra_governance_vote_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_vote_create.cli new file mode 100644 index 0000000000..aa7b0b0ed9 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_vote_create.cli @@ -0,0 +1,65 @@ +Usage: cardano-cli dijkstra 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 + | --stake-pool-verification-extended-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + | --cc-hot-verification-key STRING + | --cc-hot-verification-key-file FILEPATH + | --cc-hot-key-hash STRING + | --cc-hot-script-hash HASH + ) + [--anchor-url TEXT + --anchor-data-hash HASH + [--check-anchor-data-hash]] + --out-file FILEPATH + + + Vote creation. + +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). + --stake-pool-verification-extended-key STRING + Stake pool verification extended 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 ..."). + --check-anchor-data-hash Verify that the expected vote anchor data hash + provided in --anchor-data-hash matches the hash of + the file downloaded from the URL provided in + --anchor-url (this parameter will download the file + from the URL) + --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/dijkstra_governance_vote_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_vote_view.cli new file mode 100644 index 0000000000..6a196def79 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_governance_vote_view.cli @@ -0,0 +1,15 @@ +Usage: cardano-cli dijkstra governance vote view --vote-file FILEPATH + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Vote viewing. + +Available options: + --vote-file FILEPATH Input filepath of the vote. + --output-json Format governance vote view output to JSON (default). + --output-yaml Format governance vote view output to YAML. + --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/dijkstra_key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key.cli new file mode 100644 index 0000000000..0ed3f30a06 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key.cli @@ -0,0 +1,49 @@ +Usage: cardano-cli dijkstra key + ( verification-key + | non-extended-key + | generate-mnemonic + | derive-from-mnemonic + | 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. + generate-mnemonic Generate a mnemonic sentence that can be used for key + derivation. + derive-from-mnemonic Derive an extended signing key from a mnemonic + sentence. To ensure the safety of the mnemonic + phrase, we recommend that key derivation is performed + in an air-gapped environment. + 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/dijkstra_key_convert-byron-genesis-vkey.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_convert-byron-genesis-vkey.cli new file mode 100644 index 0000000000..1bbe898b32 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_convert-byron-genesis-vkey.cli @@ -0,0 +1,12 @@ +Usage: cardano-cli dijkstra 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/dijkstra_key_convert-byron-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_convert-byron-key.cli new file mode 100644 index 0000000000..842b212e8f --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_convert-byron-key.cli @@ -0,0 +1,36 @@ +Usage: cardano-cli dijkstra 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/dijkstra_key_convert-cardano-address-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_convert-cardano-address-key.cli new file mode 100644 index 0000000000..4c0a4f4004 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_convert-cardano-address-key.cli @@ -0,0 +1,30 @@ +Usage: cardano-cli dijkstra 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/dijkstra_key_convert-itn-bip32-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_convert-itn-bip32-key.cli new file mode 100644 index 0000000000..995b6116db --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_convert-itn-bip32-key.cli @@ -0,0 +1,12 @@ +Usage: cardano-cli dijkstra 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/dijkstra_key_convert-itn-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_convert-itn-extended-key.cli new file mode 100644 index 0000000000..1b120ff2c8 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_convert-itn-extended-key.cli @@ -0,0 +1,12 @@ +Usage: cardano-cli dijkstra 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/dijkstra_key_convert-itn-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_convert-itn-key.cli new file mode 100644 index 0000000000..18115f80f3 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_convert-itn-key.cli @@ -0,0 +1,17 @@ +Usage: cardano-cli dijkstra 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/dijkstra_key_derive-from-mnemonic.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_derive-from-mnemonic.cli new file mode 100644 index 0000000000..17a4ad9cf1 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_derive-from-mnemonic.cli @@ -0,0 +1,51 @@ +Usage: cardano-cli dijkstra key derive-from-mnemonic + [ --key-output-bech32 + | --key-output-text-envelope + | --key-output-format STRING + ] + ( --payment-key-with-number WORD32 + | --stake-key-with-number WORD32 + | --drep-key + | --cc-cold-key + | --cc-hot-key + ) + --account-number WORD32 + ( --mnemonic-from-file FILEPATH + | --mnemonic-from-interactive-prompt + ) + --signing-key-file FILEPATH + + + Derive an extended signing key from a mnemonic sentence. To ensure the safety + of the mnemonic phrase, we recommend that key derivation is performed in an + air-gapped environment. + +Available options: + --key-output-bech32 Format key output to BECH32. + --key-output-text-envelope + Format key output to TEXT_ENVELOPE (default). + --key-output-format STRING + Optional key output format. Accepted output formats + are "text-envelope" and "bech32". The + --key-output-format flag is deprecated and will be + removed in a future version. + --payment-key-with-number WORD32 + Derive an extended payment key with the given payment + address number from the derivation path. + --stake-key-with-number WORD32 + Derive an extended stake key with the given stake + address number from the derivation path. + --drep-key Derive an extended DRep key. + --cc-cold-key Derive an extended committee cold key. + --cc-hot-key Derive an extended committee hot key. + --account-number WORD32 Account number in the derivation path. + --mnemonic-from-file FILEPATH + Input text file with the mnemonic. + --mnemonic-from-interactive-prompt + Input the mnemonic through an interactive prompt. + This mode also accepts receiving the mnemonic through + standard input directly, for example, by using a + pipe. + --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/dijkstra_key_generate-mnemonic.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_generate-mnemonic.cli new file mode 100644 index 0000000000..13a076136e --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_generate-mnemonic.cli @@ -0,0 +1,12 @@ +Usage: cardano-cli dijkstra key generate-mnemonic [--out-file FILEPATH] + --size WORD32 + + + Generate a mnemonic sentence that can be used for key derivation. + +Available options: + --out-file FILEPATH The output file. + --size WORD32 Specify the desired number of words for the + outputmnemonic sentence (valid options are: 12, 15, + 18, 21, and 24) + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_non-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_non-extended-key.cli new file mode 100644 index 0000000000..90bb2713c9 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_non-extended-key.cli @@ -0,0 +1,13 @@ +Usage: cardano-cli dijkstra 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/dijkstra_key_verification-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_verification-key.cli new file mode 100644 index 0000000000..fb5fbc579d --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_key_verification-key.cli @@ -0,0 +1,12 @@ +Usage: cardano-cli dijkstra 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/dijkstra_node.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node.cli index 8fa0ae6ba7..d8f00ee7c3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node.cli @@ -9,6 +9,7 @@ Usage: cardano-cli dijkstra node | new-counter | issue-op-cert ) + Node operation commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_issue-op-cert.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_issue-op-cert.cli index c2d5f79f73..ac5a6fc28e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_issue-op-cert.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_issue-op-cert.cli @@ -6,6 +6,7 @@ Usage: cardano-cli dijkstra node issue-op-cert --operational-certificate-issue-counter-file FILEPATH --kes-period NATURAL --out-file FILEPATH + Issue a node operational certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_issue-pop-BLS.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_issue-pop-BLS.cli index 1f40e36e0e..15f1e2b0a5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_issue-pop-BLS.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_issue-pop-BLS.cli @@ -1,5 +1,6 @@ Usage: cardano-cli dijkstra node issue-pop-BLS --bls-signing-key-file FILEPATH --out-file FILEPATH + Issue a BLS proof of possession for a node's operational BLS key. Both a BLS key and its proof of possession are required by stake pool operators to diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen-BLS.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen-BLS.cli index b4358978b3..87f271f9c4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen-BLS.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen-BLS.cli @@ -5,6 +5,7 @@ Usage: cardano-cli dijkstra node key-gen-BLS ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a key pair for a node BLS operational key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen-KES.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen-KES.cli index fc4667849e..a185fec028 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen-KES.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen-KES.cli @@ -5,6 +5,7 @@ Usage: cardano-cli dijkstra node key-gen-KES ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a key pair for a node KES operational key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen-VRF.cli index f96a42fcf7..73aec1b697 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen-VRF.cli @@ -5,6 +5,7 @@ Usage: cardano-cli dijkstra node key-gen-VRF ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a key pair for a node VRF operational key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen.cli index 171a1f2b7d..3c813266f9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-gen.cli @@ -6,6 +6,7 @@ Usage: cardano-cli dijkstra node key-gen --cold-verification-key-file FILEPATH --cold-signing-key-file FILEPATH --operational-certificate-issue-counter-file FILEPATH + Create a key pair for a node operator's offline key and a new certificate issue counter diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-hash-BLS.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-hash-BLS.cli index a0b4632a3f..4980153967 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-hash-BLS.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-hash-BLS.cli @@ -3,6 +3,7 @@ Usage: cardano-cli dijkstra node key-hash-BLS | --verification-key-file FILEPATH ) [--out-file FILEPATH] + Print hash of a node's operational BLS key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-hash-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-hash-VRF.cli index ef3fbf8ebb..cc3b304e23 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-hash-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_key-hash-VRF.cli @@ -3,6 +3,7 @@ Usage: cardano-cli dijkstra node key-hash-VRF | --verification-key-file FILEPATH ) [--out-file FILEPATH] + Print hash of a node's operational VRF key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_new-counter.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_new-counter.cli index 170900c6d0..bcfb1742e7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_new-counter.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_node_new-counter.cli @@ -6,6 +6,7 @@ Usage: cardano-cli dijkstra node new-counter ) --counter-value INT --operational-certificate-issue-counter-file FILEPATH + Create a new certificate issue counter diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query.cli new file mode 100644 index 0000000000..9e461ddff8 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query.cli @@ -0,0 +1,93 @@ +Usage: cardano-cli dijkstra query + ( committee-state + | constitution + | drep-state + | drep-stake-distribution + | era-history + | future-pparams + | gov-state + | kes-period-info + | leadership-schedule + | ledger-peer-snapshot + | ledger-state + | pool-state + | proposals + | protocol-parameters + | protocol-state + | ratify-state + | ref-script-size + | slot-number + | spo-stake-distribution + | stake-address-info + | stake-distribution + | stake-pools + | stake-pool-default-vote + | stake-snapshot + | tip + | treasury + | tx-mempool + | utxo + ) + + + 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: + committee-state Get the committee state + constitution Get the constitution + drep-state Get the DRep state. + drep-stake-distribution Get the DRep stake distribution. + era-history Obtains the era history data. The era history + contains information about when era transitions + happened and can be used together with the start time + to convert slot numbers to POSIX times offline + (without connecting to the node). Converting slot + numbers to POSIX times is useful, for example, when + calculating the cost of executing a Plutus script. + And being able to do it offline means that it can be + calculated without access to a live node. + future-pparams Get the protocol parameters that will apply at the + next epoch + gov-state Get the governance state + kes-period-info Get information about the current KES period and your + node's operational certificate. + leadership-schedule Get the slots the node is expected to mint a block in + (advanced command) + ledger-peer-snapshot Dump the current snapshot of ledger peers.These are + the largest pools that cumulatively hold 90% of total + stake. + ledger-state Dump the current ledger state of the node + (Ledger.NewEpochState -- advanced command) + pool-params DEPRECATED. Use query pool-state instead. Dump the + pool parameters + (Ledger.NewEpochState.esLState._delegationState._pState._pParams + -- advanced command) + pool-state Dump the pool state + proposals Get the governance proposals that are eligible for + ratification. Proposals submitted during the current + epoch are excluded, as they cannot be ratified until + the next epoch. + protocol-parameters Get the node's current protocol parameters + protocol-state Dump the current protocol state of the node + (Ledger.ChainDepState -- advanced command) + ratify-state Get the ratification state + ref-script-size Calculate the reference input scripts size in bytes + for provided transaction inputs. + slot-number Query slot number for UTC timestamp + spo-stake-distribution Get the SPO stake distribution. + stake-address-info Get the current delegations and reward accounts + filtered by stake address. + stake-distribution Get the node's current aggregated stake distribution + stake-pools Get the node's current set of stake pool ids + stake-pool-default-vote Get the stake pool default vote. + stake-snapshot Obtain the three stake snapshots for a pool, plus the + total active stake (advanced command) + tip Get the node's current tip (slot no, hash, block no) + treasury Get the treasury value + tx-mempool Local Mempool info + utxo Get a portion of the current UTxO: by tx in, by + address or the whole. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_committee-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_committee-state.cli new file mode 100644 index 0000000000..b621a9b7aa --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_committee-state.cli @@ -0,0 +1,72 @@ +Usage: cardano-cli dijkstra query committee-state + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [ --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 + ] + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the committee state + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --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 + --output-json Format committee-state query output to JSON + (default). + --output-yaml Format committee-state query output to YAML. + --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/dijkstra_query_constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_constitution.cli new file mode 100644 index 0000000000..576a464624 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_constitution.cli @@ -0,0 +1,37 @@ +Usage: cardano-cli dijkstra query constitution + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Get the constitution + +Available options: + --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 + --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. + --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 constitution query output to JSON (default). + --output-yaml Format constitution query output to YAML. + --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/dijkstra_query_drep-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_drep-stake-distribution.cli new file mode 100644 index 0000000000..7bc89a56ad --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_drep-stake-distribution.cli @@ -0,0 +1,57 @@ +Usage: cardano-cli dijkstra query drep-stake-distribution + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the DRep stake distribution. + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --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). + --output-json Format drep-stake-distribution query output to JSON + (default). + --output-yaml Format drep-stake-distribution query output to YAML. + --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/dijkstra_query_drep-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_drep-state.cli new file mode 100644 index 0000000000..010aa3b64c --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_drep-state.cli @@ -0,0 +1,60 @@ +Usage: cardano-cli dijkstra query drep-state + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [--include-stake] + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Get the DRep state. + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --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. + --output-json Format drep-state query output to JSON (default). + --output-yaml Format drep-state query output to YAML. + --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/dijkstra_query_era-history.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_era-history.cli new file mode 100644 index 0000000000..a36e6bbc48 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_era-history.cli @@ -0,0 +1,39 @@ +Usage: cardano-cli dijkstra query era-history + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + + Obtains the era history data. The era history contains information about when + era transitions happened and can be used together with the start time to + convert slot numbers to POSIX times offline (without connecting to the node). + Converting slot numbers to POSIX times is useful, for example, when + calculating the cost of executing a Plutus script. And being able to do it + offline means that it can be calculated without access to a live node. + +Available options: + --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 + --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. + --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/dijkstra_query_future-pparams.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_future-pparams.cli new file mode 100644 index 0000000000..1854287780 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_future-pparams.cli @@ -0,0 +1,39 @@ +Usage: cardano-cli dijkstra query future-pparams + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the protocol parameters that will apply at the next epoch + +Available options: + --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 + --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. + --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 future-pparams query output to JSON (default). + --output-yaml Format future-pparams query output to YAML. + --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/dijkstra_query_gov-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_gov-state.cli new file mode 100644 index 0000000000..88b6096c02 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_gov-state.cli @@ -0,0 +1,35 @@ +Usage: cardano-cli dijkstra query gov-state + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [--volatile-tip | --immutable-tip] + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Get the governance state + +Available options: + --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 + --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. + --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 gov-state query output to JSON (default). + --output-yaml Format gov-state query output to YAML. + --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/dijkstra_query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_kes-period-info.cli new file mode 100644 index 0000000000..bfba375760 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_kes-period-info.cli @@ -0,0 +1,43 @@ +Usage: cardano-cli dijkstra query kes-period-info + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + --op-cert-file FILEPATH + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get information about the current KES period and your node's operational + certificate. + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --op-cert-file FILEPATH Filepath of the node's operational certificate. + --output-json Format kes-period-info query output to JSON + (default). + --output-yaml Format kes-period-info query output to YAML. + --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/dijkstra_query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_leadership-schedule.cli new file mode 100644 index 0000000000..312d73a2e2 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_leadership-schedule.cli @@ -0,0 +1,65 @@ +Usage: cardano-cli dijkstra query leadership-schedule + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + --genesis FILEPATH + ( --stake-pool-verification-key STRING + | --stake-pool-verification-extended-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --vrf-signing-key-file FILEPATH + (--current | --next) + [ --output-json + | --output-text + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the slots the node is expected to mint a block in (advanced command) + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --genesis FILEPATH Shelley genesis filepath + --stake-pool-verification-key STRING + Stake pool verification key (Bech32 or hex-encoded). + --stake-pool-verification-extended-key STRING + Stake pool verification extended 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). + --output-text Format leadership-schedule query output to TEXT. + --output-yaml Format leadership-schedule query output to YAML. + --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/dijkstra_query_ledger-peer-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_ledger-peer-snapshot.cli new file mode 100644 index 0000000000..352dad67f7 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_ledger-peer-snapshot.cli @@ -0,0 +1,43 @@ +Usage: cardano-cli dijkstra query ledger-peer-snapshot + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [--all-ledger-peers] + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Dump the current snapshot of ledger peers.These are the largest pools that + cumulatively hold 90% of total stake. + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --all-ledger-peers Query all ledger peers instead of big ones + --output-json Format ledger-peer-snapshot query output to JSON + (default). + --output-yaml Format ledger-peer-snapshot query output to YAML. + --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/dijkstra_query_ledger-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_ledger-state.cli new file mode 100644 index 0000000000..1deaf4f6de --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_ledger-state.cli @@ -0,0 +1,42 @@ +Usage: cardano-cli dijkstra query ledger-state + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [ --output-json + | --output-text + | --output-yaml + ] + [--out-file FILEPATH] + + + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced + command) + +Available options: + --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 + --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. + --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 ledger-state query output to JSON (default). + --output-text Format ledger-state query output to TEXT. + --output-yaml Format ledger-state query output to YAML. + --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/dijkstra_query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_pool-params.cli new file mode 100644 index 0000000000..bd46185c95 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_pool-params.cli @@ -0,0 +1,46 @@ +Usage: cardano-cli dijkstra query pool-params + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + DEPRECATED. Use query pool-state instead. Dump the pool parameters + (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced + command) + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --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). + --output-json Format pool-state query output to JSON (default). + --output-yaml Format pool-state query output to YAML. + --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/dijkstra_query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_pool-state.cli new file mode 100644 index 0000000000..dd856e9250 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_pool-state.cli @@ -0,0 +1,44 @@ +Usage: cardano-cli dijkstra query pool-state + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Dump the pool state + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --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). + --output-json Format pool-state query output to JSON (default). + --output-yaml Format pool-state query output to YAML. + --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/dijkstra_query_proposals.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_proposals.cli new file mode 100644 index 0000000000..fa8d13004c --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_proposals.cli @@ -0,0 +1,46 @@ +Usage: cardano-cli dijkstra query proposals + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [--volatile-tip | --immutable-tip] + ( --all-proposals + | (--governance-action-tx-id TXID + --governance-action-index WORD16) + ) + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Get the governance proposals that are eligible for ratification. Proposals + submitted during the current epoch are excluded, as they cannot be ratified + until the next epoch. + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --all-proposals Query for all governance proposals. + --governance-action-tx-id TXID + Txid of the governance action. + --governance-action-index WORD16 + Tx's governance action index. + --output-json Format proposals query output to JSON (default). + --output-yaml Format proposals query output to YAML. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_protocol-parameters.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_protocol-parameters.cli new file mode 100644 index 0000000000..46acea6f35 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_protocol-parameters.cli @@ -0,0 +1,34 @@ +Usage: cardano-cli dijkstra query protocol-parameters + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the node's current protocol parameters + +Available options: + --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 + --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. + --output-json Format protocol-parameters query output to JSON + (default). + --output-yaml Format protocol-parameters query output to YAML. + --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/dijkstra_query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_protocol-state.cli new file mode 100644 index 0000000000..fa08a11fa1 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_protocol-state.cli @@ -0,0 +1,44 @@ +Usage: cardano-cli dijkstra query protocol-state + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [ --output-cbor-bin + | --output-cbor-hex + | --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced + command) + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --output-cbor-bin Format protocol-state query output to CBOR. + --output-cbor-hex Format protocol-state query output to BASE16 CBOR. + --output-json Format protocol-state query output to JSON (default). + --output-yaml Format protocol-state query output to YAML. + --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/dijkstra_query_ratify-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_ratify-state.cli new file mode 100644 index 0000000000..0417d66b0f --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_ratify-state.cli @@ -0,0 +1,37 @@ +Usage: cardano-cli dijkstra query ratify-state + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Get the ratification state + +Available options: + --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 + --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. + --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 ratify-state query output to JSON (default). + --output-yaml Format ratify-state query output to YAML. + --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/dijkstra_query_ref-script-size.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_ref-script-size.cli new file mode 100644 index 0000000000..2f1daacee0 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_ref-script-size.cli @@ -0,0 +1,45 @@ +Usage: cardano-cli dijkstra query ref-script-size + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + (--tx-in TX_IN) + [ --output-json + | --output-text + | --output-yaml + ] + [--out-file FILEPATH] + + + Calculate the reference input scripts size in bytes for provided transaction + inputs. + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --tx-in TX_IN Transaction input (TxId#TxIx). + --output-json Format reference-script-size query output to JSON + (default). + --output-text Format reference-script-size query output to TEXT. + --output-yaml Format reference-script-size query output to YAML. + --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/dijkstra_query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_slot-number.cli new file mode 100644 index 0000000000..13f4bb5d1f --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_slot-number.cli @@ -0,0 +1,34 @@ +Usage: cardano-cli dijkstra query slot-number + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + TIMESTAMP + + + Query slot number for UTC timestamp + +Available options: + --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 + --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. + --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/dijkstra_query_spo-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_spo-stake-distribution.cli new file mode 100644 index 0000000000..557a3251d1 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_spo-stake-distribution.cli @@ -0,0 +1,54 @@ +Usage: cardano-cli dijkstra query spo-stake-distribution + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + ( --all-spos + | + ( --spo-verification-key STRING + | --spo-verification-key-file FILEPATH + | --spo-key-hash HASH + ) + ) + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the SPO stake distribution. + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --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). + --output-json Format spo-stake-distribution query output to JSON + (default). + --output-yaml Format spo-stake-distribution query output to YAML. + --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/dijkstra_query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_stake-address-info.cli new file mode 100644 index 0000000000..4132b3ff59 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_stake-address-info.cli @@ -0,0 +1,42 @@ +Usage: cardano-cli dijkstra query stake-address-info + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + --address ADDRESS + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the current delegations and reward accounts filtered by stake address. + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --address ADDRESS Filter by Cardano stake address (Bech32-encoded). + --output-json Format stake-address-info query output to JSON + (default). + --output-yaml Format stake-address-info query output to YAML. + --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/dijkstra_query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_stake-distribution.cli new file mode 100644 index 0000000000..0f932a818d --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_stake-distribution.cli @@ -0,0 +1,42 @@ +Usage: cardano-cli dijkstra query stake-distribution + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [ --output-json + | --output-text + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the node's current aggregated stake distribution + +Available options: + --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 + --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. + --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). + --output-text Format stake-distribution query output to TEXT. + --output-yaml Format stake-distribution query output to YAML. + --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/dijkstra_query_stake-pool-default-vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_stake-pool-default-vote.cli new file mode 100644 index 0000000000..c594b53fb1 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_stake-pool-default-vote.cli @@ -0,0 +1,50 @@ +Usage: cardano-cli dijkstra query stake-pool-default-vote + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + ( --spo-verification-key STRING + | --spo-verification-key-file FILEPATH + | --spo-key-hash HASH + ) + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the stake pool default vote. + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --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). + --output-json Format stake-pool-default-vote query output to JSON + (default). + --output-yaml Format stake-pool-default-vote query output to YAML. + --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/dijkstra_query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_stake-pools.cli new file mode 100644 index 0000000000..86c69205fc --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_stake-pools.cli @@ -0,0 +1,41 @@ +Usage: cardano-cli dijkstra query stake-pools + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + [ --output-json + | --output-text + | --output-yaml + ] + [--out-file FILEPATH] + + + Get the node's current set of stake pool ids + +Available options: + --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 + --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. + --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). + --output-text Format stake-pools query output to TEXT. + --output-yaml Format stake-pools query output to YAML. + --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/dijkstra_query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_stake-snapshot.cli new file mode 100644 index 0000000000..b49c705ef3 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_stake-snapshot.cli @@ -0,0 +1,47 @@ +Usage: cardano-cli dijkstra query stake-snapshot + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --volatile-tip + | --immutable-tip + ] + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] + + + Obtain the three stake snapshots for a pool, plus the total active stake + (advanced command) + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --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). + --output-json Format stake-snapshot query output to JSON (default). + --output-yaml Format stake-snapshot query output to YAML. + --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/dijkstra_query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_tip.cli new file mode 100644 index 0000000000..6772e55ff1 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_tip.cli @@ -0,0 +1,31 @@ +Usage: cardano-cli dijkstra query tip [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + --socket-path SOCKET_PATH + [--volatile-tip | --immutable-tip] + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Get the node's current tip (slot no, hash, block no) + +Available options: + --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 + --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. + --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 tip query output to JSON (default). + --output-yaml Format tip query output to YAML. + --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/dijkstra_query_treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_treasury.cli new file mode 100644 index 0000000000..101f7080f8 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_treasury.cli @@ -0,0 +1,32 @@ +Usage: cardano-cli dijkstra query treasury + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + + Get the treasury value + +Available options: + --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 + --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. + --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/dijkstra_query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_tx-mempool.cli new file mode 100644 index 0000000000..8d3d2dbfb0 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_tx-mempool.cli @@ -0,0 +1,40 @@ +Usage: cardano-cli dijkstra query tx-mempool + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + (info | next-tx | tx-exists) + [--output-json | --output-yaml] + [--out-file FILEPATH] + + + Local Mempool info + +Available options: + --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 + --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. + --output-json Format tx-mempool query output to JSON (default). + --output-yaml Format tx-mempool query output to YAML. + --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/dijkstra_query_tx-mempool_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_tx-mempool_info.cli new file mode 100644 index 0000000000..868d2ec6fe --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_tx-mempool_info.cli @@ -0,0 +1,6 @@ +Usage: cardano-cli dijkstra query tx-mempool info + + Ask the node about the current mempool's capacity and sizes + +Available options: + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_tx-mempool_next-tx.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_tx-mempool_next-tx.cli new file mode 100644 index 0000000000..61f2137340 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_tx-mempool_next-tx.cli @@ -0,0 +1,6 @@ +Usage: cardano-cli dijkstra query tx-mempool next-tx + + Requests the next transaction from the mempool's current list + +Available options: + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_tx-mempool_tx-exists.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_tx-mempool_tx-exists.cli new file mode 100644 index 0000000000..9ccad41215 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_tx-mempool_tx-exists.cli @@ -0,0 +1,6 @@ +Usage: cardano-cli dijkstra query tx-mempool tx-exists TX_ID + + Query if a particular transaction exists in the mempool + +Available options: + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_utxo.cli new file mode 100644 index 0000000000..58ba3d93c1 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_query_utxo.cli @@ -0,0 +1,47 @@ +Usage: cardano-cli dijkstra query utxo [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + --socket-path SOCKET_PATH + [--volatile-tip | --immutable-tip] + ( --whole-utxo + | (--address ADDRESS) + | (--tx-in TX_IN) + ) + [ --output-cbor-bin + | --output-cbor-hex + | --output-json + | --output-text + | --output-yaml + ] + [--out-file FILEPATH] + + + Get a portion of the current UTxO: by tx in, by address or the whole. + +Available options: + --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 + --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. + --volatile-tip Use the volatile tip as a target. (This is the + default) + --immutable-tip Use the immutable tip as a target. + --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). + --output-cbor-bin Format utxo query output to CBOR. + --output-cbor-hex Format utxo query output to BASE16 CBOR. + --output-json Format utxo query output to JSON (default). + --output-text Format utxo query output to TEXT. + --output-yaml Format utxo query output to YAML. + --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/dijkstra_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address.cli new file mode 100644 index 0000000000..884416df96 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address.cli @@ -0,0 +1,55 @@ +Usage: cardano-cli dijkstra stake-address + ( key-gen + | key-hash + | build + | registration-certificate + | deregistration-certificate + | stake-delegation-certificate + | stake-and-vote-delegation-certificate + | vote-delegation-certificate + | registration-and-delegation-certificate + | registration-and-vote-delegation-certificate + | registration-stake-and-vote-delegation-certificate + ) + + + Stake address commands. + +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. + registration-and-delegation-certificate + Create a stake address registration and delegation + certificate, which when submitted in a transaction + registers a stake address and delegates stake to a + stake pool. + registration-and-vote-delegation-certificate + Create a stake address registration and vote + delegation certificate, which when submitted in a + transaction registers a stake address and delegates + votes to a DRep or pre-defined voting option. + registration-stake-and-vote-delegation-certificate + Create a stake address registration, stake delegation + and vote delegation certificate, which when submitted + in a transaction registers a stake address, delgates + stake to a pool, and delegates votes to a DRep or + pre-defined voting option. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_build.cli new file mode 100644 index 0000000000..ca7a23d737 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_build.cli @@ -0,0 +1,28 @@ +Usage: cardano-cli dijkstra 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/dijkstra_stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_deregistration-certificate.cli new file mode 100644 index 0000000000..19f0dd5ac0 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_deregistration-certificate.cli @@ -0,0 +1,26 @@ +Usage: cardano-cli dijkstra 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/dijkstra_stake-address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_key-gen.cli new file mode 100644 index 0000000000..2fa017cb7d --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_key-gen.cli @@ -0,0 +1,25 @@ +Usage: cardano-cli dijkstra stake-address key-gen + [ --key-output-bech32 + | --key-output-text-envelope + | --key-output-format STRING + ] + --verification-key-file FILEPATH + --signing-key-file FILEPATH + + + Create a stake address key pair + +Available options: + --key-output-bech32 Format key output to BECH32. + --key-output-text-envelope + Format key output to TEXT_ENVELOPE (default). + --key-output-format STRING + Optional key output format. Accepted output formats + are "text-envelope" and "bech32". The + --key-output-format flag is deprecated and will be + removed in a future version. + --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/dijkstra_stake-address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_key-hash.cli new file mode 100644 index 0000000000..19fff29c2e --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_key-hash.cli @@ -0,0 +1,16 @@ +Usage: cardano-cli dijkstra 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/dijkstra_stake-address_registration-and-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_registration-and-delegation-certificate.cli new file mode 100644 index 0000000000..00aacf7e77 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_registration-and-delegation-certificate.cli @@ -0,0 +1,43 @@ +Usage: cardano-cli dijkstra stake-address registration-and-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --stake-pool-verification-extended-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH + + + Create a stake address registration and delegation certificate, which when + submitted in a transaction registers a stake address and delegates stake to a + stake pool. + +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). + --stake-pool-verification-extended-key STRING + Stake pool verification extended 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). + --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/dijkstra_stake-address_registration-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_registration-and-vote-delegation-certificate.cli new file mode 100644 index 0000000000..69023d72fa --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_registration-and-vote-delegation-certificate.cli @@ -0,0 +1,45 @@ +Usage: cardano-cli dijkstra stake-address registration-and-vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH + + + Create a stake address registration and vote delegation certificate, which + when submitted in a transaction registers a stake address and delegates votes + to a DRep or pre-defined voting option. + +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 + --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/dijkstra_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_registration-certificate.cli new file mode 100644 index 0000000000..018325f0ab --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_registration-certificate.cli @@ -0,0 +1,26 @@ +Usage: cardano-cli dijkstra 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/dijkstra_stake-address_registration-stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_registration-stake-and-vote-delegation-certificate.cli new file mode 100644 index 0000000000..85677ff053 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_registration-stake-and-vote-delegation-certificate.cli @@ -0,0 +1,61 @@ +Usage: cardano-cli dijkstra stake-address registration-stake-and-vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --stake-pool-verification-extended-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH + + + Create a stake address registration, stake delegation and vote delegation + certificate, which when submitted in a transaction registers a stake address, + delgates stake to a pool, and delegates votes to a DRep or pre-defined voting + option. + +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). + --stake-pool-verification-extended-key STRING + Stake pool verification extended 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 + --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/dijkstra_stake-address_stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_stake-and-vote-delegation-certificate.cli new file mode 100644 index 0000000000..a2d6e2e2d6 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_stake-and-vote-delegation-certificate.cli @@ -0,0 +1,56 @@ +Usage: cardano-cli dijkstra 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 + | --stake-pool-verification-extended-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). + --stake-pool-verification-extended-key STRING + Stake pool verification extended 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/dijkstra_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_stake-delegation-certificate.cli new file mode 100644 index 0000000000..6aabca3348 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_stake-delegation-certificate.cli @@ -0,0 +1,39 @@ +Usage: cardano-cli dijkstra 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 + | --stake-pool-verification-extended-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). + --stake-pool-verification-extended-key STRING + Stake pool verification extended 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/dijkstra_stake-address_vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_vote-delegation-certificate.cli new file mode 100644 index 0000000000..179b011add --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-address_vote-delegation-certificate.cli @@ -0,0 +1,41 @@ +Usage: cardano-cli dijkstra 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/dijkstra_stake-pool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-pool.cli new file mode 100644 index 0000000000..c460b7b14f --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-pool.cli @@ -0,0 +1,21 @@ +Usage: cardano-cli dijkstra 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 Calculate the hash of a stake pool metadata file, + optionally checking the obtained hash against an + expected value. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-pool_deregistration-certificate.cli new file mode 100644 index 0000000000..43e3dc1bfd --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-pool_deregistration-certificate.cli @@ -0,0 +1,22 @@ +Usage: cardano-cli dijkstra stake-pool deregistration-certificate + ( --stake-pool-verification-key STRING + | --stake-pool-verification-extended-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). + --stake-pool-verification-extended-key STRING + Stake pool verification extended 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/dijkstra_stake-pool_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-pool_id.cli new file mode 100644 index 0000000000..4175e407c5 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-pool_id.cli @@ -0,0 +1,27 @@ +Usage: cardano-cli dijkstra stake-pool id + ( --stake-pool-verification-key STRING + | --stake-pool-verification-extended-key STRING + | --cold-verification-key-file FILEPATH + ) + [--output-bech32 | --output-hex] + [--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). + --stake-pool-verification-extended-key STRING + Stake pool verification extended key (Bech32 or + hex-encoded). + --cold-verification-key-file FILEPATH + Filepath of the stake pool verification key. + --output-bech32 Format pool-id output to BECH32 (default). + --output-hex Format pool-id output to BASE16. + --output-format STRING Optional pool id output format. Accepted output + formats are "hex" and "bech32" (default is "bech32"). + The --output-format flag is deprecated and will be + removed in a future version. + --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/dijkstra_stake-pool_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-pool_metadata-hash.cli new file mode 100644 index 0000000000..256af429c2 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-pool_metadata-hash.cli @@ -0,0 +1,21 @@ +Usage: cardano-cli dijkstra stake-pool metadata-hash + ( --pool-metadata-file FILEPATH + | --pool-metadata-url TEXT + ) + [ --expected-hash HASH + | --out-file FILEPATH + ] + + + Calculate the hash of a stake pool metadata file, optionally checking the + obtained hash against an expected value. + +Available options: + --pool-metadata-file FILEPATH + Filepath of the pool metadata. + --pool-metadata-url TEXT URL pointing to the JSON Metadata file to hash. + --expected-hash HASH Expected hash for the stake pool metadata, for + verification purposes. If provided, the hash of the + stake pool metadata will be compared to this value. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-pool_registration-certificate.cli new file mode 100644 index 0000000000..3010f5e0bb --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_stake-pool_registration-certificate.cli @@ -0,0 +1,87 @@ +Usage: cardano-cli dijkstra stake-pool registration-certificate + ( --stake-pool-verification-key STRING + | --stake-pool-verification-extended-key STRING + | --cold-verification-key-file FILEPATH + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + ) + [--bls-signing-key-file FILEPATH] + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + ( --pool-reward-account-verification-key STRING + | --pool-reward-account-verification-key-file FILEPATH + ) + ( --pool-owner-verification-key STRING + | --pool-owner-stake-verification-key-file FILEPATH + ) + [ [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT + | --single-host-pool-relay STRING + [--pool-relay-port INT] + | --multi-host-pool-relay STRING + ] + [--metadata-url URL + --metadata-hash HASH + [--check-metadata-hash]] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILEPATH + + + Create a stake pool registration certificate + +Available options: + --stake-pool-verification-key STRING + Stake pool verification key (Bech32 or hex-encoded). + --stake-pool-verification-extended-key STRING + Stake pool verification extended 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. + --bls-signing-key-file FILEPATH + Input filepath of the BLS signing 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 128 characters). + --metadata-hash HASH Pool metadata hash. + --check-metadata-hash Verify that the expected stake pool metadata hash + provided in --metadata-hash matches the hash of the + file downloaded from the URL provided in + --metadata-url (this parameter will download the file + from the URL) + --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/dijkstra_text-view_decode-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_text-view_decode-cbor.cli new file mode 100644 index 0000000000..bf2036aa4a --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_text-view_decode-cbor.cli @@ -0,0 +1,20 @@ +Usage: cardano-cli dijkstra text-view decode-cbor --in-file FILEPATH + [ --output-cbor-hex + | --output-json + | --output-text + | --output-yaml + ] + [--out-file FILEPATH] + + + Print a TextView file as decoded CBOR. + +Available options: + --in-file FILEPATH CBOR input file. + --output-cbor-hex Format text view info output format to BASE16 CBOR. + --output-json Format text view info output format to JSON. + --output-text Format text view info output format to TEXT + (default). + --output-yaml Format text view info output format to YAML. + --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/dijkstra_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction.cli new file mode 100644 index 0000000000..9d66c8ea06 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction.cli @@ -0,0 +1,50 @@ +Usage: cardano-cli dijkstra transaction + ( build-raw + | build + | build-estimate + | sign + | witness + | assemble + | submit + | policyid + | calculate-min-fee + | calculate-min-required-utxo + | calculate-plutus-script-cost + | 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. + calculate-plutus-script-cost + Calculate the costs of the Plutus scripts of a given + transaction. + 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/dijkstra_transaction_assemble.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_assemble.cli new file mode 100644 index 0000000000..470aa4d979 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_assemble.cli @@ -0,0 +1,15 @@ +Usage: cardano-cli dijkstra transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + [--out-canonical-cbor] + --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-canonical-cbor Produce transaction in canonical CBOR according to + RFC7049. Only this part of CIP-21 is implemented. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_build-estimate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_build-estimate.cli new file mode 100644 index 0000000000..78c313a8cf --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_build-estimate.cli @@ -0,0 +1,519 @@ +Usage: cardano-cli dijkstra 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-canonical-cbor] + --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-canonical-cbor Produce transaction in canonical CBOR according to + RFC7049. Only this part of CIP-21 is implemented. + --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/dijkstra_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_build-raw.cli new file mode 100644 index 0000000000..2fcce07c73 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_build-raw.cli @@ -0,0 +1,503 @@ +Usage: cardano-cli dijkstra 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-canonical-cbor] + --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-canonical-cbor Produce transaction in canonical CBOR according to + RFC7049. Only this part of CIP-21 is implemented. + --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/dijkstra_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_build.cli new file mode 100644 index 0000000000..bd781c208a --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_build.cli @@ -0,0 +1,488 @@ +Usage: cardano-cli dijkstra transaction build + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + [ --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 + ) + ]] + [--current-treasury-value] + [--treasury-donation LOVELACE] + [--out-canonical-cbor] + ( --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: + --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 + --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. + --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. + --current-treasury-value Include the current treasury value in the + transaction. The value is obtained from the node. + --treasury-donation LOVELACE + The donation to the treasury to perform. + --out-canonical-cbor Produce transaction in canonical CBOR according to + RFC7049. Only this part of CIP-21 is implemented. + --out-file FILEPATH Output filepath of the JSON TxBody. + --calculate-plutus-script-cost FILEPATH + Where to write the script cost information. + (Deprecated: this flag is deprecated and will be + removed in a future version. Please, use + calculate-plutus-script-cost command instead.) + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-min-fee.cli new file mode 100644 index 0000000000..80bc598585 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-min-fee.cli @@ -0,0 +1,39 @@ +Usage: cardano-cli dijkstra 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 + | --output-yaml + ] + [--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). + --output-text Format calculate-min-fee query output to TEXT. + --output-yaml Format calculate-min-fee query output to YAML. + --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/dijkstra_transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-min-required-utxo.cli new file mode 100644 index 0000000000..fedf300b6e --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-min-required-utxo.cli @@ -0,0 +1,68 @@ +Usage: cardano-cli dijkstra 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/dijkstra_transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-min-value.cli new file mode 100644 index 0000000000..23cd2bc231 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-min-value.cli @@ -0,0 +1,68 @@ +Usage: cardano-cli dijkstra 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. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-plutus-script-cost.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-plutus-script-cost.cli new file mode 100644 index 0000000000..e9285477da --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-plutus-script-cost.cli @@ -0,0 +1,17 @@ +Usage: cardano-cli dijkstra transaction calculate-plutus-script-cost + ( online + | offline + ) + + + Calculate the costs of the Plutus scripts of a given transaction. + +Available options: + -h,--help Show this help text + +Available commands: + online Connect to a running node to get context info and + calculate the costs of the Plutus scripts of a given + transaction. + offline Manually provide get context info and calculate the + costs of the Plutus scripts of a given transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-plutus-script-cost_offline.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-plutus-script-cost_offline.cli new file mode 100644 index 0000000000..c4b006f843 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-plutus-script-cost_offline.cli @@ -0,0 +1,54 @@ +Usage: cardano-cli dijkstra transaction calculate-plutus-script-cost offline + ( --start-time-utc UTC_TIME + | --start-time-posix POSIX_TIME + | --genesis-file FILEPATH + ) + [--unsafe-extend-safe-zone] + --era-history-file FILEPATH + --utxo-file FILEPATH + --protocol-params-file FILEPATH + --tx-file FILEPATH + [--out-file FILEPATH] + + + Manually provide get context info and calculate the costs of the Plutus + scripts of a given transaction. + +Available options: + --start-time-utc UTC_TIME + The genesis start time in YYYY-MM-DDThh:mm:ssZ + format. + --start-time-posix POSIX_TIME + The genesis start time as POSIX seconds. + --genesis-file FILEPATH Path to the Byron genesis file from which to get the + start time. + --unsafe-extend-safe-zone + Allow overriding the validity of the era history past + the safe zone. The safe zone is a period of time + during which we are sure there won't be any era + transition (hard fork), and we are confident that the + slot duration will not change, thus the conversion + from slot numbers to POSIX times using the era + history will be correct. This safe zone is + conservative. Even if we are past the safe zone, if + there hasn't been any era transition (hard fork) + since we obtained it, we can continue safely using + the era history. This flag essentially disables the + safe zone check. This allows the user to use the era + history past the safe zone, at the user's discretion. + --era-history-file FILEPATH + Filepath of the era history file as produced by the + 'query era-history' command. The era history contains + information about when era transitions happened and + can be used together with the start time to convert + slot numbers to POSIX times. + --utxo-file FILEPATH Filepath to a JSON-encoded UTxO file as produced by + the 'query utxo' command. Only UTxOs referenced by + the transaction are needed, not the whole UTxO, but + unnecessary info will be ignored. + --protocol-params-file FILEPATH + Filepath of the JSON-encoded protocol parameters file + --tx-file FILEPATH Filepath of the transaction whose Plutus scripts to + calculate the cost. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-plutus-script-cost_online.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-plutus-script-cost_online.cli new file mode 100644 index 0000000000..989e0b11e6 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_calculate-plutus-script-cost_online.cli @@ -0,0 +1,32 @@ +Usage: cardano-cli dijkstra transaction calculate-plutus-script-cost online + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + --tx-file FILEPATH + [--out-file FILEPATH] + + + Connect to a running node to get context info and calculate the costs of the + Plutus scripts of a given transaction. + +Available options: + --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 + --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. + --tx-file FILEPATH Filepath of the transaction whose Plutus scripts to + calculate the cost. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_hash-script-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_hash-script-data.cli new file mode 100644 index 0000000000..38cfd8268b --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_hash-script-data.cli @@ -0,0 +1,21 @@ +Usage: cardano-cli dijkstra 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/dijkstra_transaction_policyid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_policyid.cli new file mode 100644 index 0000000000..3970e270fb --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_policyid.cli @@ -0,0 +1,7 @@ +Usage: cardano-cli dijkstra 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/dijkstra_transaction_sign-witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_sign-witness.cli new file mode 100644 index 0000000000..c015d9a8f2 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_sign-witness.cli @@ -0,0 +1,15 @@ +Usage: cardano-cli dijkstra transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + [--out-canonical-cbor] + --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-canonical-cbor Produce transaction in canonical CBOR according to + RFC7049. Only this part of CIP-21 is implemented. + --out-file FILEPATH The output file. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_sign.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_sign.cli new file mode 100644 index 0000000000..bf2e7d9bae --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_sign.cli @@ -0,0 +1,29 @@ +Usage: cardano-cli dijkstra transaction sign + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) + [--signing-key-file FILEPATH + [--address STRING]] + [ --mainnet + | --testnet-magic NATURAL + ] + [--out-canonical-cbor] + --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-canonical-cbor Produce transaction in canonical CBOR according to + RFC7049. Only this part of CIP-21 is implemented. + --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/dijkstra_transaction_submit.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_submit.cli new file mode 100644 index 0000000000..b3a5e892d3 --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_submit.cli @@ -0,0 +1,29 @@ +Usage: cardano-cli dijkstra transaction submit + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --socket-path SOCKET_PATH + --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: + --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 + --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. + --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/dijkstra_transaction_txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_txid.cli new file mode 100644 index 0000000000..cdd01ffeee --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_txid.cli @@ -0,0 +1,19 @@ +Usage: cardano-cli dijkstra transaction txid + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) + [ --output-json + | --output-text + | --output-yaml + ] + + + 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. + --output-json Format output to JSON (default). + --output-text Format output to TEXT. + --output-yaml Format output to YAML. + -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_witness.cli new file mode 100644 index 0000000000..4f4517be7c --- /dev/null +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/dijkstra_transaction_witness.cli @@ -0,0 +1,22 @@ +Usage: cardano-cli dijkstra 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/genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/genesis.cli index 132cc0ae7b..f2d99578f4 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 @@ -11,6 +11,7 @@ Usage: cardano-cli genesis --genesis-output-dir FILEPATH --avvm-entry-balance INT [--avvm-balance-factor DOUBLE] [--secret-seed INT] + Create genesis. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/hash.cli index 44cbfc30e4..d11e05ab67 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/hash.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli hash (anchor-data | script | genesis-file) +Usage: cardano-cli hash (anchor-data | script | genesis-file) Compute the hash to pass to the various --*-hash arguments of commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_anchor-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_anchor-data.cli index 11f6723217..d40c16216f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_anchor-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_anchor-data.cli @@ -7,6 +7,7 @@ Usage: cardano-cli hash anchor-data [ --expected-hash HASH | --out-file FILEPATH ] + Compute the hash of some anchor data (to then pass it to other commands). diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_genesis-file.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_genesis-file.cli index f767ce89a6..8aa696f1dd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_genesis-file.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_genesis-file.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli hash genesis-file --genesis FILEPATH +Usage: cardano-cli hash genesis-file --genesis FILEPATH Compute the hash of a genesis file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_script.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_script.cli index 7ca26d2343..cdc9aa84f8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_script.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/hash_script.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli hash script --script-file FILEPATH [--out-file FILEPATH] +Usage: cardano-cli hash script --script-file FILEPATH [--out-file FILEPATH] Compute the hash of a script (to then pass it to other commands). diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-genesis-utxo-expenditure.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-genesis-utxo-expenditure.cli index d2d0f9682f..249e16131f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-genesis-utxo-expenditure.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-genesis-utxo-expenditure.cli @@ -9,6 +9,7 @@ Usage: cardano-cli issue-genesis-utxo-expenditure --genesis-json FILEPATH --wallet-key FILEPATH --rich-addr-from ADDR (--txout '("ADDR", LOVELACE)') + Write a file with a signed transaction, spending genesis UTxO. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-utxo-expenditure.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-utxo-expenditure.cli index 88960b6bfd..c96bbbb9ab 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-utxo-expenditure.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/issue-utxo-expenditure.cli @@ -6,6 +6,7 @@ Usage: cardano-cli issue-utxo-expenditure (--mainnet | --testnet-magic NATURAL) --wallet-key FILEPATH (--txin (TXID,INDEX)) (--txout '("ADDR", LOVELACE)') + Write a file with a signed transaction, spending normal UTxO. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key.cli index 7d110f4c62..5f7e797513 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 @@ -10,6 +10,7 @@ Usage: cardano-cli key | convert-itn-bip32-key | convert-cardano-address-key ) + Key utility commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-genesis-vkey.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-genesis-vkey.cli index dc80c4e3e9..07072af80b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-genesis-vkey.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-genesis-vkey.cli @@ -1,5 +1,6 @@ Usage: cardano-cli key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 --out-file FILEPATH + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis verification key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-key.cli index 5103818e2b..f94eae4e1d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-byron-key.cli @@ -10,6 +10,7 @@ Usage: cardano-cli key convert-byron-key [--password TEXT] | --byron-verification-key-file FILEPATH ) --out-file FILEPATH + Convert a Byron payment, genesis or genesis delegate key (signing or verification) to a corresponding Shelley-format key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-cardano-address-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-cardano-address-key.cli index 20829714ec..fc288e3c9d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-cardano-address-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-cardano-address-key.cli @@ -9,6 +9,7 @@ Usage: cardano-cli key convert-cardano-address-key ) --signing-key-file FILEPATH --out-file FILEPATH + Convert a cardano-address extended signing key to a corresponding Shelley-format key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-bip32-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-bip32-key.cli index cc2fb482b7..731879d44b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-bip32-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-bip32-key.cli @@ -1,5 +1,6 @@ Usage: cardano-cli key convert-itn-bip32-key --itn-signing-key-file FILEPATH --out-file FILEPATH + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a corresponding Shelley stake signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-extended-key.cli index bc21c345c1..3e00716013 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-extended-key.cli @@ -1,5 +1,6 @@ Usage: cardano-cli key convert-itn-extended-key --itn-signing-key-file FILEPATH --out-file FILEPATH + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key to a corresponding Shelley stake signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-key.cli index fa5d03634d..0d2389c1f6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_convert-itn-key.cli @@ -3,6 +3,7 @@ Usage: cardano-cli key convert-itn-key | --itn-verification-key-file FILEPATH ) --out-file FILEPATH + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or verification key to a corresponding Shelley stake key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_derive-from-mnemonic.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_derive-from-mnemonic.cli index 5bbbbc6fb0..81fc94f9aa 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_derive-from-mnemonic.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_derive-from-mnemonic.cli @@ -14,6 +14,7 @@ Usage: cardano-cli key derive-from-mnemonic | --mnemonic-from-interactive-prompt ) --signing-key-file FILEPATH + Derive an extended signing key from a mnemonic sentence. To ensure the safety of the mnemonic phrase, we recommend that key derivation is performed in an diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_generate-mnemonic.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_generate-mnemonic.cli index b4c6babe43..172fbc756f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_generate-mnemonic.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_generate-mnemonic.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli key generate-mnemonic [--out-file FILEPATH] --size WORD32 +Usage: cardano-cli key generate-mnemonic [--out-file FILEPATH] --size WORD32 Generate a mnemonic sentence that can be used for key derivation. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_non-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_non-extended-key.cli index d30e9aa908..dc7223e630 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_non-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_non-extended-key.cli @@ -1,5 +1,6 @@ Usage: cardano-cli key non-extended-key --extended-verification-key-file FILEPATH --verification-key-file FILEPATH + Get a non-extended verification key from an extended verification key. This supports all extended key types. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_verification-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_verification-key.cli index 69e7ff42ed..8319c6ab9d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/key_verification-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/key_verification-key.cli @@ -1,5 +1,6 @@ Usage: cardano-cli key verification-key --signing-key-file FILEPATH --verification-key-file FILEPATH + Get a verification key from a signing key. This supports all key types. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/keygen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/keygen.cli index 26f5c6f8f7..05af097e30 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/keygen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/keygen.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli keygen --secret FILEPATH +Usage: cardano-cli keygen --secret FILEPATH Generate a signing key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest.cli index 4fd3516cef..27f5055a2c 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 @@ -10,6 +10,7 @@ Usage: cardano-cli latest | text-view | transaction ) + Latest era commands (Conway) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address.cli index f3cf7e0afa..62022ca5ac 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli latest address (key-gen | key-hash | build | info) +Usage: cardano-cli latest address (key-gen | key-hash | build | info) Payment address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_build.cli index 92b63c8ed4..25dd4ffabf 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_build.cli @@ -11,6 +11,7 @@ Usage: cardano-cli latest address build ] (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] + Build a Shelley payment address, with optional delegation to a stake address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_info.cli index 7b19ff73d0..d530e0400a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_info.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli latest address info --address ADDRESS [--out-file FILEPATH] +Usage: cardano-cli latest address info --address ADDRESS [--out-file FILEPATH] Print information about an address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-gen.cli index a5068327dc..d822eb83e9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-gen.cli @@ -9,6 +9,7 @@ Usage: cardano-cli latest address key-gen ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create an address key pair. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-hash.cli index d1bacd853e..a71bc74ba7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_address_key-hash.cli @@ -3,6 +3,7 @@ Usage: cardano-cli latest address key-hash | --payment-verification-key-file FILEPATH ) [--out-file FILEPATH] + Print the hash of an address key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis.cli index adda7dcec8..002ccdb1cb 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis.cli @@ -12,6 +12,7 @@ Usage: cardano-cli latest genesis | create-testnet-data | hash ) + Genesis block commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-cardano.cli index e941314d62..fc59a2f902 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-cardano.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-cardano.cli @@ -14,6 +14,7 @@ Usage: cardano-cli latest genesis create-cardano --genesis-dir DIR --alonzo-template FILEPATH --conway-template FILEPATH [--node-config-template FILEPATH] + Create a Byron and Shelley genesis file from a genesis template and genesis/delegation/spending keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-staked.cli index e033f05a8c..dd1a2b3741 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-staked.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-staked.cli @@ -18,6 +18,7 @@ Usage: cardano-cli latest genesis create-staked [--bulk-pools-per-file INT] [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] + Create a staked Shelley genesis file from a genesis template and genesis/delegation/spending keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-testnet-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-testnet-data.cli index 03b8508908..6d47e3b352 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-testnet-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create-testnet-data.cli @@ -1,6 +1,7 @@ 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 @@ -18,6 +19,7 @@ Usage: cardano-cli latest genesis create-testnet-data [--spec-shelley FILEPATH] [--relays FILEPATH] [--start-time UTC_TIME] --out-dir DIR + Create data to use for starting a testnet. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create.cli index 0f09a0b2ac..2a5df5b68b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_create.cli @@ -9,6 +9,7 @@ Usage: cardano-cli latest genesis create [--start-time UTC_TIME] [--supply LOVELACE] (--mainnet | --testnet-magic NATURAL) + Create a Shelley genesis file from a genesis template and genesis/delegation/spending keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_get-ver-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_get-ver-key.cli index 56217dc6b2..1830c1608e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_get-ver-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_get-ver-key.cli @@ -1,5 +1,6 @@ Usage: cardano-cli latest genesis get-ver-key --verification-key-file FILEPATH --signing-key-file FILEPATH + Derive the verification key from a signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_hash.cli index 449ae95bdc..30a186eb4e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_hash.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli latest genesis hash --genesis FILEPATH +Usage: cardano-cli latest genesis hash --genesis FILEPATH DEPRECATION WARNING! This command is deprecated and will be removed in a future release. Please use hash genesis-file instead. Compute the hash of a diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-addr.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-addr.cli index 21d327d1eb..595ce88467 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-addr.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-addr.cli @@ -3,6 +3,7 @@ Usage: cardano-cli latest genesis initial-addr --verification-key-file FILEPATH | --testnet-magic NATURAL ) [--out-file FILEPATH] + Get the address for an initial UTxO based on the verification key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-txin.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-txin.cli index 39f8bc71d3..718399e009 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-txin.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_initial-txin.cli @@ -3,6 +3,7 @@ Usage: cardano-cli latest genesis initial-txin --verification-key-file FILEPATH | --testnet-magic NATURAL ) [--out-file FILEPATH] + Get the TxIn for an initial UTxO based on the verification key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-delegate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-delegate.cli index 513d2e2a66..7c92d00f2a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-delegate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-delegate.cli @@ -1,6 +1,7 @@ Usage: cardano-cli latest genesis key-gen-delegate --verification-key-file FILEPATH --signing-key-file FILEPATH --operational-certificate-issue-counter-file FILEPATH + Create a Shelley genesis delegate key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-genesis.cli index 7e1eee3fed..b2ae547936 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-genesis.cli @@ -1,5 +1,6 @@ Usage: cardano-cli latest genesis key-gen-genesis --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a Shelley genesis key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-utxo.cli index 6f9f6afa4f..6e426f9023 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-gen-utxo.cli @@ -1,5 +1,6 @@ Usage: cardano-cli latest genesis key-gen-utxo --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a Shelley genesis UTxO key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-hash.cli index d34494b565..48e6950a4b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_genesis_key-hash.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli latest 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 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 cac8787487..779ae6e182 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,4 +1,4 @@ -Usage: cardano-cli latest governance (action | committee | drep | vote) +Usage: cardano-cli latest governance (action | committee | drep | vote) Governance 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 index d9164faa94..51a758f361 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action.cli @@ -8,6 +8,7 @@ Usage: cardano-cli latest governance action | create-hardfork | view ) + Governance action commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli index 864c430567..ef9d637e88 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-constitution.cli @@ -19,6 +19,7 @@ Usage: cardano-cli latest governance action create-constitution [--check-constitution-hash] [--constitution-script-hash HASH] --out-file FILEPATH + Create a constitution. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli index 7d986bc581..0fd00d908e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-hardfork.cli @@ -17,6 +17,7 @@ Usage: cardano-cli latest governance action create-hardfork --protocol-major-version MAJOR --protocol-minor-version MINOR --out-file FILEPATH + Create a hardfork initiation proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-info.cli index c461ac3ddd..8915cfa540 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-info.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-info.cli @@ -10,6 +10,7 @@ Usage: cardano-cli latest governance action create-info (--mainnet | --testnet) --anchor-data-hash HASH [--check-anchor-data] --out-file FILEPATH + Create an info action. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli index eaf68fbbb4..d16a705df6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-no-confidence.cli @@ -15,6 +15,7 @@ Usage: cardano-cli latest governance action create-no-confidence [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] --out-file FILEPATH + Create a no confidence proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-protocol-parameters-update.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-protocol-parameters-update.cli index 4d14d87b4b..11e44405b5 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 @@ -60,6 +60,7 @@ Usage: cardano-cli latest governance action create-protocol-parameters-update [--ref-script-cost-per-byte RATIONAL] [--cost-model-file FILE] --out-file FILEPATH + Create a protocol parameters update. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-treasury-withdrawal.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-treasury-withdrawal.cli index 5022f8fcba..1f717cbafd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-treasury-withdrawal.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_create-treasury-withdrawal.cli @@ -22,6 +22,7 @@ Usage: cardano-cli latest governance action create-treasury-withdrawal --transfer LOVELACE) [--constitution-script-hash HASH] --out-file FILEPATH + Create a treasury withdrawal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_update-committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_update-committee.cli index 20b3976bf5..9070f330e0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_update-committee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_update-committee.cli @@ -28,6 +28,7 @@ Usage: cardano-cli latest governance action update-committee [--prev-governance-action-tx-id TXID --prev-governance-action-index WORD16] --out-file FILEPATH + Create or update a new committee proposal. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_view.cli index bd4639d784..44a9c74e3c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_action_view.cli @@ -3,6 +3,7 @@ Usage: cardano-cli latest governance action view --action-file FILEPATH | --output-yaml ] [--out-file FILEPATH] + View a governance action. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee.cli index baa0874cfa..3edaa2425a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest governance committee | create-hot-key-authorization-certificate | create-cold-key-resignation-certificate ) + Committee member commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli index da119ea59d..580c44a2c9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-cold-key-resignation-certificate.cli @@ -9,6 +9,7 @@ Usage: cardano-cli latest governance committee create-cold-key-resignation-certi --resignation-metadata-hash HASH [--check-resignation-metadata-hash]] --out-file FILEPATH + Create cold key resignation certificate for a Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-hot-key-authorization-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-hot-key-authorization-certificate.cli index ee9c016cb2..6af71132fd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-hot-key-authorization-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_create-hot-key-authorization-certificate.cli @@ -12,6 +12,7 @@ Usage: cardano-cli latest governance committee create-hot-key-authorization-cert | --hot-script-file FILEPATH ) --out-file FILEPATH + Create hot key authorization certificate for a Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli index 06e6962fab..a8aefbc9d0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-cold.cli @@ -1,6 +1,7 @@ Usage: cardano-cli latest governance committee key-gen-cold --cold-verification-key-file FILEPATH --cold-signing-key-file FILEPATH + Create a cold key pair for a Constitutional Committee Member diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli index 03c0c0c39e..1d298daff1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-gen-hot.cli @@ -1,5 +1,6 @@ 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 diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-hash.cli index 16ee7c9cf9..3fa64b755f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_committee_key-hash.cli @@ -2,6 +2,7 @@ Usage: cardano-cli latest governance committee key-hash ( --verification-key STRING | --verification-key-file FILEPATH ) + Print the identifier (hash) of a public key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep.cli index aa51969226..76773abfc0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep.cli @@ -6,6 +6,7 @@ Usage: cardano-cli latest governance drep | update-certificate | metadata-hash ) + DRep member commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli index b76d9f7c63..78f05ad997 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_id.cli @@ -8,6 +8,7 @@ Usage: cardano-cli latest governance drep id | --output-cip129 ] [--out-file FILEPATH] + Generate a drep id. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli index 7e69689f7d..0d9be1a380 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_key-gen.cli @@ -1,5 +1,6 @@ Usage: cardano-cli latest governance drep key-gen --verification-key-file FILEPATH --signing-key-file FILEPATH + Generate Delegated Representative verification and signing keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_metadata-hash.cli index 641ff2ffcb..4d86fc8da5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_metadata-hash.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest governance drep metadata-hash [ --expected-hash HASH | --out-file FILEPATH ] + Calculate the hash of a metadata file, optionally checking the obtained hash against an expected value. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli index 7569ed7578..aa62b1db8f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_registration-certificate.cli @@ -9,6 +9,7 @@ Usage: cardano-cli latest governance drep registration-certificate --drep-metadata-hash HASH [--check-drep-metadata-hash]] --out-file FILEPATH + Create a registration certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli index 6e85043669..710f8360af 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_retirement-certificate.cli @@ -6,6 +6,7 @@ Usage: cardano-cli latest governance drep retirement-certificate ) --deposit-amt LOVELACE --out-file FILEPATH + Create a DRep retirement certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli index 6dff28cf97..747d8d4d45 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_drep_update-certificate.cli @@ -8,6 +8,7 @@ Usage: cardano-cli latest governance drep update-certificate --drep-metadata-hash HASH [--check-drep-metadata-hash]] --out-file FILEPATH + Create a DRep update certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote.cli index 04200e0f40..47133cb15c 100644 --- 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 @@ -1,4 +1,4 @@ -Usage: cardano-cli latest governance vote (create | view) +Usage: cardano-cli latest governance vote (create | view) Vote commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli index ce0eecbd6e..c8437dd19a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_create.cli @@ -18,6 +18,7 @@ Usage: cardano-cli latest governance vote create (--yes | --no | --abstain) --anchor-data-hash HASH [--check-anchor-data-hash]] --out-file FILEPATH + Vote creation. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli index bbcc812c54..ce91b3096f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_governance_vote_view.cli @@ -1,6 +1,7 @@ Usage: cardano-cli latest governance vote view --vote-file FILEPATH [--output-json | --output-yaml] [--out-file FILEPATH] + Vote viewing. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key.cli index 8d035e6029..1b9634c367 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key.cli @@ -10,6 +10,7 @@ Usage: cardano-cli latest key | convert-itn-bip32-key | convert-cardano-address-key ) + Key utility commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-genesis-vkey.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-genesis-vkey.cli index 1da7bf0b24..e812eb5a46 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-genesis-vkey.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-genesis-vkey.cli @@ -1,5 +1,6 @@ Usage: cardano-cli latest key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 --out-file FILEPATH + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis verification key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-key.cli index 97812d4930..e0dfcc2787 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-byron-key.cli @@ -10,6 +10,7 @@ Usage: cardano-cli latest key convert-byron-key [--password TEXT] | --byron-verification-key-file FILEPATH ) --out-file FILEPATH + Convert a Byron payment, genesis or genesis delegate key (signing or verification) to a corresponding Shelley-format key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-cardano-address-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-cardano-address-key.cli index b359646ccd..fcd46c7ee6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-cardano-address-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-cardano-address-key.cli @@ -9,6 +9,7 @@ Usage: cardano-cli latest key convert-cardano-address-key ) --signing-key-file FILEPATH --out-file FILEPATH + Convert a cardano-address extended signing key to a corresponding Shelley-format key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-bip32-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-bip32-key.cli index f1c77aa997..a201fee073 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-bip32-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-bip32-key.cli @@ -1,5 +1,6 @@ Usage: cardano-cli latest key convert-itn-bip32-key --itn-signing-key-file FILEPATH --out-file FILEPATH + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a corresponding Shelley stake signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-extended-key.cli index 39810ed627..964dbc584d 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-extended-key.cli @@ -1,5 +1,6 @@ Usage: cardano-cli latest key convert-itn-extended-key --itn-signing-key-file FILEPATH --out-file FILEPATH + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key to a corresponding Shelley stake signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-key.cli index c2ce68bf39..c691ea0750 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_convert-itn-key.cli @@ -3,6 +3,7 @@ Usage: cardano-cli latest key convert-itn-key | --itn-verification-key-file FILEPATH ) --out-file FILEPATH + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or verification key to a corresponding Shelley stake key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_derive-from-mnemonic.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_derive-from-mnemonic.cli index 1e03110647..833fe0b03f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_derive-from-mnemonic.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_derive-from-mnemonic.cli @@ -14,6 +14,7 @@ Usage: cardano-cli latest key derive-from-mnemonic | --mnemonic-from-interactive-prompt ) --signing-key-file FILEPATH + Derive an extended signing key from a mnemonic sentence. To ensure the safety of the mnemonic phrase, we recommend that key derivation is performed in an diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_generate-mnemonic.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_generate-mnemonic.cli index cfc5c02f03..320345a956 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_generate-mnemonic.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_generate-mnemonic.cli @@ -1,5 +1,6 @@ Usage: cardano-cli latest key generate-mnemonic [--out-file FILEPATH] --size WORD32 + Generate a mnemonic sentence that can be used for key derivation. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_non-extended-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_non-extended-key.cli index 668ae99a6d..66169086ca 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_non-extended-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_non-extended-key.cli @@ -1,5 +1,6 @@ Usage: cardano-cli latest key non-extended-key --extended-verification-key-file FILEPATH --verification-key-file FILEPATH + Get a non-extended verification key from an extended verification key. This supports all extended key types. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_verification-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_verification-key.cli index 9b32b2ea66..96b8f36152 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_verification-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_key_verification-key.cli @@ -1,5 +1,6 @@ Usage: cardano-cli latest key verification-key --signing-key-file FILEPATH --verification-key-file FILEPATH + Get a verification key from a signing key. This supports all key types. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node.cli index babb45a768..655d425084 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node.cli @@ -6,6 +6,7 @@ Usage: cardano-cli latest node | new-counter | issue-op-cert ) + Node operation commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_issue-op-cert.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_issue-op-cert.cli index 24874f4035..06ae18ea8c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_issue-op-cert.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_issue-op-cert.cli @@ -6,6 +6,7 @@ Usage: cardano-cli latest node issue-op-cert --operational-certificate-issue-counter-file FILEPATH --kes-period NATURAL --out-file FILEPATH + Issue a node operational certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-KES.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-KES.cli index 66cadd7fd2..738fad86c4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-KES.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-KES.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest node key-gen-KES ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a key pair for a node KES operational key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-VRF.cli index c2c0396cbb..f875fbf78a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen-VRF.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest node key-gen-VRF ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a key pair for a node VRF operational key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen.cli index e8912dd96d..1bffd9651e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-gen.cli @@ -6,6 +6,7 @@ Usage: cardano-cli latest node key-gen --cold-verification-key-file FILEPATH --cold-signing-key-file FILEPATH --operational-certificate-issue-counter-file FILEPATH + Create a key pair for a node operator's offline key and a new certificate issue counter diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-hash-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-hash-VRF.cli index 0a125dde1b..88da618784 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-hash-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_key-hash-VRF.cli @@ -3,6 +3,7 @@ Usage: cardano-cli latest node key-hash-VRF | --verification-key-file FILEPATH ) [--out-file FILEPATH] + Print hash of a node's operational VRF key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_new-counter.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_new-counter.cli index 98e5c659be..400fba0740 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_new-counter.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_node_new-counter.cli @@ -6,6 +6,7 @@ Usage: cardano-cli latest node new-counter ) --counter-value INT --operational-certificate-issue-counter-file FILEPATH + Create a new certificate issue counter diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query.cli index 0538d53e37..94fe1bc629 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 @@ -28,6 +28,7 @@ Usage: cardano-cli latest query | tx-mempool | utxo ) + Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli index 69e95e46b8..763eefdbf5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_committee-state.cli @@ -26,6 +26,7 @@ Usage: cardano-cli latest query committee-state | --output-yaml ] [--out-file FILEPATH] + Get the committee state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli index a88a25c014..eed9fb44ae 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_constitution.cli @@ -10,6 +10,7 @@ Usage: cardano-cli latest query constitution ] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the constitution diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli index 575043303e..d96d24f2fe 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-stake-distribution.cli @@ -20,6 +20,7 @@ Usage: cardano-cli latest query drep-stake-distribution | --output-yaml ] [--out-file FILEPATH] + Get the DRep stake distribution. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli index 28d5799e3d..0992a16cfe 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_drep-state.cli @@ -17,6 +17,7 @@ Usage: cardano-cli latest query drep-state [--include-stake] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the DRep state. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_era-history.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_era-history.cli index f2bd4d4b8f..a7fb3da576 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_era-history.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_era-history.cli @@ -7,6 +7,7 @@ Usage: cardano-cli latest query era-history --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + Obtains the era history data. The era history contains information about when era transitions happened and can be used together with the start time to diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_future-pparams.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_future-pparams.cli index 8286a40573..886830854e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_future-pparams.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_future-pparams.cli @@ -10,6 +10,7 @@ Usage: cardano-cli latest query future-pparams ] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the protocol parameters that will apply at the next epoch diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli index 26da7419f3..e25ea23ffc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_gov-state.cli @@ -6,6 +6,7 @@ Usage: cardano-cli latest query gov-state [--cardano-mode [--epoch-slots SLOTS]] [--volatile-tip | --immutable-tip] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the governance state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_kes-period-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_kes-period-info.cli index c23385b54d..0694900974 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 @@ -13,6 +13,7 @@ Usage: cardano-cli latest query kes-period-info | --output-yaml ] [--out-file FILEPATH] + Get information about the current KES period and your node's operational certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_leadership-schedule.cli index 7775ff6530..c260a4e3e1 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 @@ -21,6 +21,7 @@ Usage: cardano-cli latest query leadership-schedule | --output-yaml ] [--out-file FILEPATH] + Get the slots the node is expected to mint a block in (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-peer-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-peer-snapshot.cli index cea79de478..3dd98104f1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-peer-snapshot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ledger-peer-snapshot.cli @@ -13,6 +13,7 @@ Usage: cardano-cli latest query ledger-peer-snapshot | --output-yaml ] [--out-file FILEPATH] + Dump the current snapshot of ledger peers.These are the largest pools that cumulatively hold 90% of total stake. 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 d6a712e960..99f96665bb 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 @@ -13,6 +13,7 @@ Usage: cardano-cli latest query ledger-state | --output-yaml ] [--out-file FILEPATH] + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-params.cli index 35fb74f2c9..cf1ed255c0 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 @@ -11,6 +11,7 @@ Usage: cardano-cli latest query pool-params ) [--output-json | --output-yaml] [--out-file FILEPATH] + DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_pool-state.cli index f7781e6277..07d3c699c3 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 @@ -11,6 +11,7 @@ Usage: cardano-cli latest query pool-state ) [--output-json | --output-yaml] [--out-file FILEPATH] + Dump the pool state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_proposals.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_proposals.cli index 5ee0430f3b..2d077ee9a8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_proposals.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_proposals.cli @@ -10,6 +10,7 @@ Usage: cardano-cli latest query proposals [--cardano-mode [--epoch-slots SLOTS]] ) [--output-json | --output-yaml] [--out-file FILEPATH] + Get the governance proposals that are eligible for ratification. Proposals submitted during the current epoch are excluded, as they cannot be ratified diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-parameters.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-parameters.cli index 87b982d87a..b5c1ac33d0 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-parameters.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-parameters.cli @@ -9,6 +9,7 @@ Usage: cardano-cli latest query protocol-parameters | --output-yaml ] [--out-file FILEPATH] + Get the node's current protocol parameters diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_protocol-state.cli index 25f309c29e..c05aee1e80 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 @@ -14,6 +14,7 @@ Usage: cardano-cli latest query protocol-state | --output-yaml ] [--out-file FILEPATH] + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ratify-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ratify-state.cli index 471fce3535..934c77a1cc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ratify-state.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_ratify-state.cli @@ -10,6 +10,7 @@ Usage: cardano-cli latest query ratify-state ] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the ratification state 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 db9e3f4e1c..1597c21d62 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 @@ -14,6 +14,7 @@ Usage: cardano-cli latest query ref-script-size | --output-yaml ] [--out-file FILEPATH] + Calculate the reference input scripts size in bytes for provided transaction inputs. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_slot-number.cli index 59b39e631f..71abb81051 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 @@ -7,6 +7,7 @@ Usage: cardano-cli latest query slot-number --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] TIMESTAMP + Query slot number for UTC timestamp diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_spo-stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_spo-stake-distribution.cli index e69b5c6e3c..22242c6dfe 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_spo-stake-distribution.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_spo-stake-distribution.cli @@ -19,6 +19,7 @@ Usage: cardano-cli latest query spo-stake-distribution | --output-yaml ] [--out-file FILEPATH] + Get the SPO stake distribution. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-address-info.cli index 6ca5b56ffc..43ba29b588 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 @@ -13,6 +13,7 @@ Usage: cardano-cli latest query stake-address-info | --output-yaml ] [--out-file FILEPATH] + Get the current delegations and reward accounts filtered by stake address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-distribution.cli index 20684412be..6d725cd94f 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 @@ -13,6 +13,7 @@ Usage: cardano-cli latest query stake-distribution | --output-yaml ] [--out-file FILEPATH] + Get the node's current aggregated stake distribution diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-pool-default-vote.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-pool-default-vote.cli index b91b561f81..53eb4af7b7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-pool-default-vote.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-pool-default-vote.cli @@ -16,6 +16,7 @@ Usage: cardano-cli latest query stake-pool-default-vote | --output-yaml ] [--out-file FILEPATH] + Get the stake pool default vote. 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 a6c373b80b..198648363c 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 @@ -11,6 +11,7 @@ Usage: cardano-cli latest query stake-pools | --output-yaml ] [--out-file FILEPATH] + Get the node's current set of stake pool ids diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_stake-snapshot.cli index 98aa2c9fd4..c9c0fb3cee 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 @@ -13,6 +13,7 @@ Usage: cardano-cli latest query stake-snapshot ) [--output-json | --output-yaml] [--out-file FILEPATH] + Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tip.cli index a6655bbd9a..cd84e3f074 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 @@ -4,6 +4,7 @@ Usage: cardano-cli latest query tip [--cardano-mode [--epoch-slots SLOTS]] [--volatile-tip | --immutable-tip] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the node's current tip (slot no, hash, block no) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli index 5fe9c3d5c1..59383e1300 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_treasury.cli @@ -3,6 +3,7 @@ Usage: cardano-cli latest query treasury [--cardano-mode [--epoch-slots SLOTS]] --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + Get the treasury value diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool.cli index d8df9c58d1..63849f4288 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool.cli @@ -8,6 +8,7 @@ Usage: cardano-cli latest query tx-mempool (info | next-tx | tx-exists) [--output-json | --output-yaml] [--out-file FILEPATH] + Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_tx-exists.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_tx-exists.cli index c1d684ddbe..f4495f6f04 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_tx-exists.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_query_tx-mempool_tx-exists.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli latest query tx-mempool tx-exists TX_ID +Usage: cardano-cli latest query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool 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 5429c862b8..cad2e6c01b 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 @@ -13,6 +13,7 @@ Usage: cardano-cli latest query utxo [--cardano-mode [--epoch-slots SLOTS]] | --output-yaml ] [--out-file FILEPATH] + Get a portion of the current UTxO: by tx in, by address or the whole. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address.cli index d696d86d57..562c8d6ccd 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 @@ -11,6 +11,7 @@ Usage: cardano-cli latest stake-address | registration-and-vote-delegation-certificate | registration-stake-and-vote-delegation-certificate ) + Stake address commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_build.cli index 658946805e..a73d0c05a9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_build.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_build.cli @@ -8,6 +8,7 @@ Usage: cardano-cli latest stake-address build | --testnet-magic NATURAL ) [--out-file FILEPATH] + Build a stake address diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_deregistration-certificate.cli index 574325d92d..87a046c5d7 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 @@ -7,6 +7,7 @@ Usage: cardano-cli latest stake-address deregistration-certificate ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-gen.cli index 9602c45c05..22f2ee2e95 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-gen.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest stake-address key-gen ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a stake address key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-hash.cli index 45d97819a1..7d48c37640 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_key-hash.cli @@ -3,6 +3,7 @@ Usage: cardano-cli latest stake-address key-hash | --stake-verification-key-file FILEPATH ) [--out-file FILEPATH] + Print the hash of a stake address key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-and-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-and-delegation-certificate.cli index 746c5a4c91..1c00a9dda5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-and-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-and-delegation-certificate.cli @@ -12,6 +12,7 @@ Usage: cardano-cli latest stake-address registration-and-delegation-certificate ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration and delegation certificate, which when submitted in a transaction registers a stake address and delegates stake to a diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-and-vote-delegation-certificate.cli index 018bbbc659..8a744cc9fa 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-and-vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-and-vote-delegation-certificate.cli @@ -14,6 +14,7 @@ Usage: cardano-cli latest stake-address registration-and-vote-delegation-certifi ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration and vote delegation certificate, which when submitted in a transaction registers a stake address and delegates votes diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-certificate.cli index b6cea3dedd..41b49fc1f8 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 @@ -7,6 +7,7 @@ Usage: cardano-cli latest stake-address registration-certificate ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-stake-and-vote-delegation-certificate.cli index 5422c69c3b..b8a2c8e3b7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-stake-and-vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_registration-stake-and-vote-delegation-certificate.cli @@ -19,6 +19,7 @@ Usage: cardano-cli latest stake-address registration-stake-and-vote-delegation-c ) --key-reg-deposit-amt NATURAL --out-file FILEPATH + Create a stake address registration, stake delegation and vote delegation certificate, which when submitted in a transaction registers a stake address, diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli index 969ff1790f..9546d44cec 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-and-vote-delegation-certificate.cli @@ -18,6 +18,7 @@ Usage: cardano-cli latest stake-address stake-and-vote-delegation-certificate | --always-no-confidence ) --out-file FILEPATH + Create a stake address stake and vote delegation certificate, which when submitted in a transaction delegates stake to a stake pool and a DRep. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-delegation-certificate.cli index 9a3be4bf29..d410cf177f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_stake-delegation-certificate.cli @@ -11,6 +11,7 @@ Usage: cardano-cli latest stake-address stake-delegation-certificate | --stake-pool-id STAKE_POOL_ID ) --out-file FILEPATH + Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_vote-delegation-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_vote-delegation-certificate.cli index b68b61a1e9..5b9f026e73 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_vote-delegation-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-address_vote-delegation-certificate.cli @@ -13,6 +13,7 @@ Usage: cardano-cli latest stake-address vote-delegation-certificate | --always-no-confidence ) --out-file FILEPATH + Create a stake address vote delegation certificate, which when submitted in a transaction delegates stake to a DRep. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool.cli index 3999e6a5e1..b5565cfd4f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool.cli @@ -4,6 +4,7 @@ Usage: cardano-cli latest stake-pool | id | metadata-hash ) + Stake pool commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_deregistration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_deregistration-certificate.cli index 8edf1e597e..e53c4dd496 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_deregistration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_deregistration-certificate.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest stake-pool deregistration-certificate ) --epoch NATURAL --out-file FILEPATH + Create a stake pool deregistration certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_id.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_id.cli index ce57ecc3b3..2b48c3e131 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_id.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_id.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest stake-pool id ) [--output-bech32 | --output-hex] [--out-file FILEPATH] + Build pool id from the offline key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_metadata-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_metadata-hash.cli index 2b5df9cde7..cc6db017a8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_metadata-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_metadata-hash.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest stake-pool metadata-hash [ --expected-hash HASH | --out-file FILEPATH ] + Calculate the hash of a stake pool metadata file, optionally checking the obtained hash against an expected value. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_registration-certificate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_registration-certificate.cli index e6f73a80e8..4ce6a5169c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_registration-certificate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_stake-pool_registration-certificate.cli @@ -6,6 +6,7 @@ Usage: cardano-cli latest stake-pool registration-certificate ( --vrf-verification-key STRING | --vrf-verification-key-file FILEPATH ) + [--bls-signing-key-file FILEPATH] --pool-pledge LOVELACE --pool-cost LOVELACE --pool-margin RATIONAL @@ -29,6 +30,7 @@ Usage: cardano-cli latest stake-pool registration-certificate | --testnet-magic NATURAL ) --out-file FILEPATH + Create a stake pool registration certificate @@ -44,6 +46,8 @@ Available options: VRF verification key (Bech32 or hex-encoded). --vrf-verification-key-file FILEPATH Filepath of the VRF verification key. + --bls-signing-key-file FILEPATH + Input filepath of the BLS signing 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. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_text-view_decode-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_text-view_decode-cbor.cli index 42a89c1b90..ad9ba9bbc2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_text-view_decode-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_text-view_decode-cbor.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest text-view decode-cbor --in-file FILEPATH | --output-yaml ] [--out-file FILEPATH] + Print a TextView file as decoded CBOR. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction.cli index 5c3177e239..74958de633 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction.cli @@ -13,6 +13,7 @@ Usage: cardano-cli latest transaction | hash-script-data | txid ) + Transaction commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_assemble.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_assemble.cli index 30b8d5a91d..4a5068141a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_assemble.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_assemble.cli @@ -2,6 +2,7 @@ Usage: cardano-cli latest transaction assemble --tx-body-file FILEPATH [--witness-file FILEPATH] [--out-canonical-cbor] --out-file FILEPATH + Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-estimate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-estimate.cli index 90d1a1d98e..24804c8646 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 @@ -160,6 +160,7 @@ Usage: cardano-cli latest transaction build-estimate [--treasury-donation LOVELACE] [--out-canonical-cbor] --out-file FILEPATH + Build a balanced transaction without access to a live node (automatically estimates fees) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-raw.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build-raw.cli index fc867c47f4..313d070edc 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 @@ -155,6 +155,7 @@ Usage: cardano-cli latest transaction build-raw [--treasury-donation LOVELACE] [--out-canonical-cbor] --out-file FILEPATH + Build a transaction (low-level, inconvenient) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_build.cli index 8036bac810..f96773a3f4 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 @@ -146,6 +146,7 @@ Usage: cardano-cli latest transaction build ( --out-file FILEPATH | --calculate-plutus-script-cost FILEPATH ) + Build a balanced transaction (automatically calculates fees) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli index 8d12b190a7..8ca78def43 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli @@ -13,6 +13,7 @@ Usage: cardano-cli latest transaction calculate-min-fee --tx-body-file FILEPATH ] [--tx-in-count NATURAL] [--tx-out-count NATURAL] + Calculate the minimum fee for a transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-required-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-required-utxo.cli index 1422c5e6f3..6846254bd9 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-required-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-required-utxo.cli @@ -12,6 +12,7 @@ Usage: cardano-cli latest transaction calculate-min-required-utxo --protocol-par | --tx-out-inline-datum-value JSON_VALUE ] [--tx-out-reference-script-file FILEPATH] + Calculate the minimum required UTxO for a transaction output. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-value.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-value.cli index d0073737a0..79ca1bff4f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-value.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-value.cli @@ -12,6 +12,7 @@ Usage: cardano-cli latest transaction calculate-min-value --protocol-params-file | --tx-out-inline-datum-value JSON_VALUE ] [--tx-out-reference-script-file FILEPATH] + DEPRECATED: Use 'calculate-min-required-utxo' instead. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-plutus-script-cost.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-plutus-script-cost.cli index a4a5e21bc9..0d1bcb02d1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-plutus-script-cost.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-plutus-script-cost.cli @@ -2,6 +2,7 @@ Usage: cardano-cli latest transaction calculate-plutus-script-cost ( online | offline ) + Calculate the costs of the Plutus scripts of a given transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-plutus-script-cost_offline.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-plutus-script-cost_offline.cli index f5062ddd8d..d4e6e00d32 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-plutus-script-cost_offline.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-plutus-script-cost_offline.cli @@ -9,6 +9,7 @@ Usage: cardano-cli latest transaction calculate-plutus-script-cost offline --protocol-params-file FILEPATH --tx-file FILEPATH [--out-file FILEPATH] + Manually provide get context info and calculate the costs of the Plutus scripts of a given transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-plutus-script-cost_online.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-plutus-script-cost_online.cli index 3b361df5bc..e2dc070e3f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-plutus-script-cost_online.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-plutus-script-cost_online.cli @@ -7,6 +7,7 @@ Usage: cardano-cli latest transaction calculate-plutus-script-cost online --socket-path SOCKET_PATH --tx-file FILEPATH [--out-file FILEPATH] + Connect to a running node to get context info and calculate the costs of the Plutus scripts of a given transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_hash-script-data.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_hash-script-data.cli index 265e685188..734bca4d0b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_hash-script-data.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_hash-script-data.cli @@ -3,6 +3,7 @@ Usage: cardano-cli latest transaction hash-script-data | --script-data-file JSON_FILE | --script-data-value JSON_VALUE ) + Calculate the hash of script data. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_policyid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_policyid.cli index 41416c33a5..616fd54e16 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_policyid.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_policyid.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli latest transaction policyid --script-file FILEPATH +Usage: cardano-cli latest transaction policyid --script-file FILEPATH Calculate the PolicyId from the monetary policy script. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign-witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign-witness.cli index 03da6e46d3..b86fad01ec 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign-witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign-witness.cli @@ -2,6 +2,7 @@ Usage: cardano-cli latest transaction sign-witness --tx-body-file FILEPATH [--witness-file FILEPATH] [--out-canonical-cbor] --out-file FILEPATH + Assemble a tx body and witness(es) to form a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign.cli index 80d0ca521c..e59d5d7ef7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_sign.cli @@ -9,6 +9,7 @@ Usage: cardano-cli latest transaction sign ] [--out-canonical-cbor] --out-file FILEPATH + Sign a transaction diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_submit.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_submit.cli index 86861023c4..143a669600 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_submit.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_submit.cli @@ -6,6 +6,7 @@ Usage: cardano-cli latest transaction submit ) --socket-path SOCKET_PATH --tx-file FILEPATH + Submit a transaction to the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_txid.cli index 3aa0157e5b..e1a6ccb6e3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_txid.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_txid.cli @@ -6,6 +6,7 @@ Usage: cardano-cli latest transaction txid | --output-text | --output-yaml ] + Print a transaction identifier. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_witness.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_witness.cli index 91ce291243..8cc82397f8 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_witness.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_witness.cli @@ -5,6 +5,7 @@ Usage: cardano-cli latest transaction witness --tx-body-file FILEPATH | --testnet-magic NATURAL ] --out-file FILEPATH + Create a transaction witness diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy.cli index a071bb72db..7653aa277f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli legacy COMMAND +Usage: cardano-cli legacy COMMAND Legacy commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis.cli index 5b0ba72236..cef4d1dbd7 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis.cli @@ -11,6 +11,7 @@ Usage: cardano-cli legacy genesis | create-staked | hash ) + Genesis block commands diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-cardano.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-cardano.cli index f4653e0971..ee5bfeef83 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-cardano.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-cardano.cli @@ -15,6 +15,7 @@ Usage: cardano-cli legacy genesis create-cardano --conway-era --alonzo-template FILEPATH --conway-template FILEPATH [--node-config-template FILEPATH] + Create a Byron and Shelley genesis file from a genesis template and genesis/delegation/spending keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-staked.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-staked.cli index 9b6a5464e5..f205c1a2f4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-staked.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create-staked.cli @@ -18,6 +18,7 @@ Usage: cardano-cli legacy genesis create-staked --conway-era [--bulk-pools-per-file INT] [--num-stuffed-utxo INT] [--relay-specification-file FILEPATH] + Create a staked Shelley genesis file from a genesis template and genesis/delegation/spending keys. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create.cli index 313c74309f..026213cfd1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_create.cli @@ -5,6 +5,7 @@ Usage: cardano-cli legacy genesis create | --alonzo | --babbage | --conway + | --dijkstra ) [ --key-output-bech32 | --key-output-text-envelope @@ -16,6 +17,7 @@ Usage: cardano-cli legacy genesis create [--start-time UTC_TIME] [--supply LOVELACE] (--mainnet | --testnet-magic NATURAL) + Create a Shelley genesis file from a genesis template and genesis/delegation/spending keys. @@ -27,6 +29,7 @@ Available options: --alonzo Specify the Alonzo era --babbage Specify the Babbage era --conway Specify the Conway era + --dijkstra Specify the Dijkstra era --key-output-bech32 Format key output to BECH32. --key-output-text-envelope Format key output to TEXT_ENVELOPE (default). diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_get-ver-key.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_get-ver-key.cli index bfe982f433..cd2bd07aa2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_get-ver-key.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_get-ver-key.cli @@ -1,5 +1,6 @@ Usage: cardano-cli legacy genesis get-ver-key --verification-key-file FILEPATH --signing-key-file FILEPATH + Derive the verification key from a signing key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_hash.cli index b3efe9822c..3a94f9ae2a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_hash.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli legacy genesis hash --genesis FILEPATH +Usage: cardano-cli legacy genesis hash --genesis FILEPATH DEPRECATION WARNING! This command is deprecated and will be removed in a future release. Please use hash genesis-file instead. Compute the hash of a diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-addr.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-addr.cli index d8ffa9363a..94f19a77f3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-addr.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-addr.cli @@ -3,6 +3,7 @@ Usage: cardano-cli legacy genesis initial-addr --verification-key-file FILEPATH | --testnet-magic NATURAL ) [--out-file FILEPATH] + Get the address for an initial UTxO based on the verification key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-txin.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-txin.cli index ce798a7f38..1364b0ef7a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-txin.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_initial-txin.cli @@ -3,6 +3,7 @@ Usage: cardano-cli legacy genesis initial-txin --verification-key-file FILEPATH | --testnet-magic NATURAL ) [--out-file FILEPATH] + Get the TxIn for an initial UTxO based on the verification key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-delegate.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-delegate.cli index 924b889e34..19ca631023 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-delegate.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-delegate.cli @@ -1,6 +1,7 @@ Usage: cardano-cli legacy genesis key-gen-delegate --verification-key-file FILEPATH --signing-key-file FILEPATH --operational-certificate-issue-counter-file FILEPATH + Create a Shelley genesis delegate key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-genesis.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-genesis.cli index be2effd488..60dce97ca3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-genesis.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-genesis.cli @@ -1,5 +1,6 @@ Usage: cardano-cli legacy genesis key-gen-genesis --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a Shelley genesis key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-utxo.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-utxo.cli index c7c902a15e..4b9a0eb2fc 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-utxo.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-gen-utxo.cli @@ -1,5 +1,6 @@ Usage: cardano-cli legacy genesis key-gen-utxo --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a Shelley genesis UTxO key pair diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-hash.cli index c7a1e260a3..3d7c7068c5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_genesis_key-hash.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli legacy genesis key-hash --verification-key-file FILEPATH +Usage: cardano-cli legacy genesis key-hash --verification-key-file FILEPATH Print the identifier (hash) of a public key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/migrate-delegate-key-from.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/migrate-delegate-key-from.cli index 0f7e27ea1d..a11ad153e4 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/migrate-delegate-key-from.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/migrate-delegate-key-from.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli migrate-delegate-key-from --from FILEPATH --to FILEPATH +Usage: cardano-cli migrate-delegate-key-from --from FILEPATH --to FILEPATH Migrate a delegate key from an older version. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node.cli index f133ab4c3d..1cddb43c1a 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 @@ -6,6 +6,7 @@ Usage: cardano-cli node | new-counter | issue-op-cert ) + Node operation commands. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_issue-op-cert.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_issue-op-cert.cli index 919c7c4ca9..2cdd35db35 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_issue-op-cert.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_issue-op-cert.cli @@ -6,6 +6,7 @@ Usage: cardano-cli node issue-op-cert --operational-certificate-issue-counter-file FILEPATH --kes-period NATURAL --out-file FILEPATH + Issue a node operational certificate diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-KES.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-KES.cli index c50f660c89..0a3e8ca665 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-KES.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-KES.cli @@ -5,6 +5,7 @@ Usage: cardano-cli node key-gen-KES ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a key pair for a node KES operational key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-VRF.cli index ca087e3f2b..4dc31b128e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen-VRF.cli @@ -5,6 +5,7 @@ Usage: cardano-cli node key-gen-VRF ] --verification-key-file FILEPATH --signing-key-file FILEPATH + Create a key pair for a node VRF operational key diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen.cli index 271275a727..1d3d6c6b9f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-gen.cli @@ -6,6 +6,7 @@ Usage: cardano-cli node key-gen --cold-verification-key-file FILEPATH --cold-signing-key-file FILEPATH --operational-certificate-issue-counter-file FILEPATH + Create a key pair for a node operator's offline key and a new certificate issue counter diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-hash-VRF.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-hash-VRF.cli index 7d2302c233..f3f150cb8e 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-hash-VRF.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_key-hash-VRF.cli @@ -3,6 +3,7 @@ Usage: cardano-cli node key-hash-VRF | --verification-key-file FILEPATH ) [--out-file FILEPATH] + Print hash of a node's operational VRF key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_new-counter.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_new-counter.cli index 733e8c6b9c..2fc10e4343 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/node_new-counter.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/node_new-counter.cli @@ -6,6 +6,7 @@ Usage: cardano-cli node new-counter ) --counter-value INT --operational-certificate-issue-counter-file FILEPATH + Create a new certificate issue counter diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/ping.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/ping.cli index c919aa1ed7..65d37ea50f 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/ping.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/ping.cli @@ -6,6 +6,7 @@ Usage: cardano-cli ping [-c|--count COUNT] [-q|--quiet] [-Q|--query-versions] [-t|--tip] + Ping a cardano node either using node-to-node or node-to-client protocol. It negotiates a handshake and keeps sending keep alive messages. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/pretty-print-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/pretty-print-cbor.cli index 9f8fdc6033..0999fc29c5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/pretty-print-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/pretty-print-cbor.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli pretty-print-cbor --filepath FILEPATH +Usage: cardano-cli pretty-print-cbor --filepath FILEPATH Pretty print a CBOR file. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/print-genesis-hash.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/print-genesis-hash.cli index 9d4f815791..a941ca88e3 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/print-genesis-hash.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/print-genesis-hash.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli print-genesis-hash --genesis-json FILEPATH +Usage: cardano-cli print-genesis-hash --genesis-json FILEPATH Compute hash of a genesis file. 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 e3889db8de..fc23ff07f0 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 @@ -16,6 +16,7 @@ Usage: cardano-cli query | slot-number | ledger-peer-snapshot ) + Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_era-history.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_era-history.cli index 8edc9fdc81..0cde05ed27 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_era-history.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_era-history.cli @@ -3,6 +3,7 @@ Usage: cardano-cli query era-history [--cardano-mode [--epoch-slots SLOTS]] --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] [--out-file FILEPATH] + Obtains the era history data. The era history contains information about when era transitions happened and can be used together with the start time to 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 652e83f4be..cdced789df 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 @@ -5,6 +5,7 @@ Usage: cardano-cli query kes-period-info [--cardano-mode [--epoch-slots SLOTS]] --op-cert-file FILEPATH [--output-json | --output-yaml] [--out-file FILEPATH] + Get information about the current KES period and your node's operational certificate. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_leadership-schedule.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_leadership-schedule.cli index 56ca2590f0..4756b96673 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 @@ -21,6 +21,7 @@ Usage: cardano-cli query leadership-schedule | --output-yaml ] [--out-file FILEPATH] + Get the slots the node is expected to mint a block in (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-peer-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-peer-snapshot.cli index 4aa76b5b97..83aba60064 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-peer-snapshot.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_ledger-peer-snapshot.cli @@ -11,6 +11,7 @@ Usage: cardano-cli query ledger-peer-snapshot [--all-ledger-peers] [--output-json | --output-yaml] [--out-file FILEPATH] + Dump the current snapshot of big ledger peers. These are the largest pools that cumulatively hold 90% of total stake. 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 0eeb89534a..55b19fca95 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 @@ -7,6 +7,7 @@ Usage: cardano-cli query ledger-state [--cardano-mode [--epoch-slots SLOTS]] | --output-yaml ] [--out-file FILEPATH] + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-params.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-params.cli index 5fca97998d..2bb52c0d30 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 @@ -7,6 +7,7 @@ Usage: cardano-cli query pool-params [--cardano-mode [--epoch-slots SLOTS]] ) [--output-json | --output-yaml] [--out-file FILEPATH] + DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_pool-state.cli index d3ac22da36..099bfb3b8d 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 @@ -7,6 +7,7 @@ Usage: cardano-cli query pool-state [--cardano-mode [--epoch-slots SLOTS]] ) [--output-json | --output-yaml] [--out-file FILEPATH] + Dump the pool state diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-parameters.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-parameters.cli index 1e2d699dbd..2d4d6b642c 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-parameters.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-parameters.cli @@ -7,6 +7,7 @@ Usage: cardano-cli query protocol-parameters --socket-path SOCKET_PATH [--output-json | --output-yaml] [--out-file FILEPATH] + Get the node's current protocol parameters diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-state.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_protocol-state.cli index cd26341ab2..bf32932d48 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 @@ -8,6 +8,7 @@ Usage: cardano-cli query protocol-state [--cardano-mode [--epoch-slots SLOTS]] | --output-yaml ] [--out-file FILEPATH] + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_slot-number.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_slot-number.cli index bbb854705f..7bcbf574c1 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 @@ -3,6 +3,7 @@ Usage: cardano-cli query slot-number [--cardano-mode [--epoch-slots SLOTS]] --socket-path SOCKET_PATH [--volatile-tip | --immutable-tip] TIMESTAMP + Query slot number for UTC timestamp diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-address-info.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-address-info.cli index d74f495bea..3804bc5d73 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 @@ -9,6 +9,7 @@ Usage: cardano-cli query stake-address-info --address ADDRESS [--output-json | --output-yaml] [--out-file FILEPATH] + Get the current delegations and reward accounts filtered by stake address. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-distribution.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-distribution.cli index 1782e15d46..51207f9bbb 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 @@ -11,6 +11,7 @@ Usage: cardano-cli query stake-distribution | --output-yaml ] [--out-file FILEPATH] + Get the node's current aggregated stake distribution diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-pools.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-pools.cli index 91228cd677..bb74a7c802 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 @@ -7,6 +7,7 @@ Usage: cardano-cli query stake-pools [--cardano-mode [--epoch-slots SLOTS]] | --output-yaml ] [--out-file FILEPATH] + Get the node's current set of stake pool ids diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-snapshot.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_stake-snapshot.cli index 09d95c1989..fc2bcab018 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 @@ -7,6 +7,7 @@ Usage: cardano-cli query stake-snapshot [--cardano-mode [--epoch-slots SLOTS]] ) [--output-json | --output-yaml] [--out-file FILEPATH] + Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tip.cli index 8efc84af56..0e660bca5a 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 @@ -4,6 +4,7 @@ Usage: cardano-cli query tip [--cardano-mode [--epoch-slots SLOTS]] [--volatile-tip | --immutable-tip] [--output-json | --output-yaml] [--out-file FILEPATH] + Get the node's current tip (slot no, hash, block no) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool.cli index 38af65f6f8..5bb32e97df 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool.cli @@ -4,6 +4,7 @@ Usage: cardano-cli query tx-mempool [--cardano-mode [--epoch-slots SLOTS]] (info | next-tx | tx-exists) [--output-json | --output-yaml] [--out-file FILEPATH] + Local Mempool info diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_tx-exists.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_tx-exists.cli index 1879b8279b..15d3b85bc2 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_tx-exists.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/query_tx-mempool_tx-exists.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli query tx-mempool tx-exists TX_ID +Usage: cardano-cli query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool 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 7bb39b49f2..ee3b141ea0 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 @@ -13,6 +13,7 @@ Usage: cardano-cli query utxo [--cardano-mode [--epoch-slots SLOTS]] | --output-yaml ] [--out-file FILEPATH] + Get a portion of the current UTxO: by tx in, by address or the whole. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-address.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-address.cli index ca52828232..ae79fa1939 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-address.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-address.cli @@ -4,6 +4,7 @@ Usage: cardano-cli signing-key-address ] (--mainnet | --testnet-magic NATURAL) --secret FILEPATH + Print address of a signing key. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-public.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-public.cli index 856ea1dab5..e96522ac65 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-public.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/signing-key-public.cli @@ -1,5 +1,6 @@ Usage: cardano-cli signing-key-public [--byron-legacy-formats | --byron-formats] --secret FILEPATH + Pretty-print a signing key's verification key (not a secret). diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/submit-tx.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/submit-tx.cli index d03fa33be8..b066fe7d3b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/submit-tx.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/submit-tx.cli @@ -1,6 +1,7 @@ Usage: cardano-cli submit-tx --socket-path SOCKET_PATH (--mainnet | --testnet-magic NATURAL) --tx FILEPATH + Submit a raw, signed transaction, in its on-wire representation. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/to-verification.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/to-verification.cli index a6a0ece869..03bf3772a6 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/to-verification.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/to-verification.cli @@ -1,6 +1,7 @@ Usage: cardano-cli to-verification [--byron-legacy-formats | --byron-formats] --secret FILEPATH --to FILEPATH + Extract a verification key in its base64 form. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/txid.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/txid.cli index 35e337fc41..17fe67b9f5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/txid.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/txid.cli @@ -1,4 +1,4 @@ -Usage: cardano-cli txid --tx FILEPATH +Usage: cardano-cli txid --tx FILEPATH Print the txid of a raw, signed transaction. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/validate-cbor.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/validate-cbor.cli index a876d66654..46863949cd 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/validate-cbor.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/validate-cbor.cli @@ -6,6 +6,7 @@ Usage: cardano-cli validate-cbor | --byron-vote ] --filepath FILEPATH + Validate a CBOR blockchain object. diff --git a/cardano-cli/test/cardano-cli-golden/files/input/shelley/keys/bls_keys/signing_key.pop b/cardano-cli/test/cardano-cli-golden/files/input/shelley/keys/bls_keys/signing_key.pop index 723f8543d9..59d9d2b363 100644 --- a/cardano-cli/test/cardano-cli-golden/files/input/shelley/keys/bls_keys/signing_key.pop +++ b/cardano-cli/test/cardano-cli-golden/files/input/shelley/keys/bls_keys/signing_key.pop @@ -1,5 +1,5 @@ { "type": "BlsPossessionProof_bls12-381-BLS-Signature-Mininimal-Signature-Size", "description": "BLS12-381 possession proof", - "cborHex": "586087f83b7745e33d7eab3b5bf257eeefe2642d6fc7b5255d53c3febb881b62e335291ea4addc744222f1aee37d17a577f3a9c5a19cabc33939c10398e3243dce8a3cca86f380b6ca46074e43f3b2b6094c30f9f717efd411bad84a86722ac8d02e" + "cborHex": "583087f83b7745e33d7eab3b5bf257eeefe2642d6fc7b5255d53c3febb881b62e335291ea4addc744222f1aee37d17a577f3" } diff --git a/flake.lock b/flake.lock index b54da6470c..ce51b753fd 100644 --- a/flake.lock +++ b/flake.lock @@ -3,11 +3,11 @@ "CHaP": { "flake": false, "locked": { - "lastModified": 1780979799, - "narHash": "sha256-c8MAXayinE44ezf9GnW06+iva79GIfNq4mkToLJMqaI=", + "lastModified": 1783362288, + "narHash": "sha256-U0o77JuGp6ADqym7TtGV3AwzRn5SFuiTRyCOR6qfxGA=", "owner": "intersectmbo", "repo": "cardano-haskell-packages", - "rev": "9ab9e91aadeeb6baccfd160e12fe54308d81ebc0", + "rev": "177c874bc5555d1b907dc310ad1da71a50aeff52", "type": "github" }, "original": { @@ -209,11 +209,11 @@ "hackageNix": { "flake": false, "locked": { - "lastModified": 1776316107, - "narHash": "sha256-lYM+lDSQCT+MYtNXigF0u3hyH7PabG5okls4a6AZGlQ=", + "lastModified": 1784725984, + "narHash": "sha256-r3rrYHLP7ReJdhsE4Go+1Gf1jQDbtQlZTxKBgQR2IJE=", "owner": "input-output-hk", "repo": "hackage.nix", - "rev": "54996315d39ab3042ef00e30942031666a78ae5c", + "rev": "336cdd4d10ff336c61e100a878a7b127b396f05d", "type": "github" }, "original": { @@ -764,6 +764,25 @@ "type": "github" } }, + "ouroboros-consensus": { + "flake": false, + "locked": { + "lastModified": 1784650797, + "narHash": "sha256-NAokIKE0yOW5EIx6zFgvuwa95iD4vzIq13CJOUUe0mA=", + "ref": "refs/heads/main", + "rev": "3511ac5ad2ded55553d821e7305a2c10e1cfbeca", + "revCount": 11479, + "submodules": true, + "type": "git", + "url": "https://github.com/input-output-hk/ouroboros-consensus" + }, + "original": { + "rev": "3511ac5ad2ded55553d821e7305a2c10e1cfbeca", + "submodules": true, + "type": "git", + "url": "https://github.com/input-output-hk/ouroboros-consensus" + } + }, "pre-commit-hooks": { "inputs": { "flake-compat": "flake-compat_2", @@ -796,6 +815,7 @@ "haskellNix", "nixpkgs-unstable" ], + "ouroboros-consensus": "ouroboros-consensus", "pre-commit-hooks": "pre-commit-hooks", "unstable": "unstable" } diff --git a/flake.nix b/flake.nix index c7a14e6291..24f75d9c67 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,13 @@ url = "github:intersectmbo/cardano-haskell-packages?ref=repo"; flake = false; }; + + # Fetched with submodules=1 so that cardano-blueprint is available during + # cabal project evaluation (haskell.nix's fetchgit does not fetch submodules). + ouroboros-consensus = { + url = "git+https://github.com/input-output-hk/ouroboros-consensus?rev=3511ac5ad2ded55553d821e7305a2c10e1cfbeca&submodules=1"; + flake = false; + }; }; outputs = inputs: let @@ -168,6 +175,9 @@ # inputMap = { "https://chap.intersectmbo.org/" = inputs.CHaP; + # Provide ouroboros-consensus with submodules so cardano-blueprint + # files are available during cabal project evaluation. + "https://github.com/input-output-hk/ouroboros-consensus" = inputs.ouroboros-consensus; }; shell = { packages = p: [p.cardano-cli p.cardano-ledger-core p.cardano-api p.ouroboros-consensus]; diff --git a/test-leios-pool-reg.sh b/test-leios-pool-reg.sh index 8833472bb2..f9b5768f30 100755 --- a/test-leios-pool-reg.sh +++ b/test-leios-pool-reg.sh @@ -1,32 +1,55 @@ #!/usr/bin/env bash # -# Acceptance test suite of the leios-enabled pool registration +# Acceptance test suite of the leios-enabled pool registration. +# Builds, verifies, signs, and submits a pool-registration transaction +# containing a Leios BLS key against a running local devnet. set -eo pipefail -# Check for required commands -REQUIRED_COMMANDS=( - "cardano-cli" -) - -MISSING_COMMANDS=() -for cmd in "${REQUIRED_COMMANDS[@]}"; do - if ! command -v "$cmd" &>/dev/null; then - MISSING_COMMANDS+=("$cmd") +# If cardano-cli in PATH lacks the 'dijkstra' subcommand, try to find the +# cabal-built binary and prepend it automatically. +if ! cardano-cli dijkstra --help &>/dev/null 2>&1; then + CABAL_CLI=$(cabal list-bin cardano-cli 2>/dev/null || true) + if [ -n "$CABAL_CLI" ] && "$CABAL_CLI" dijkstra --help &>/dev/null 2>&1; then + export PATH + PATH="$(dirname "$CABAL_CLI"):$PATH" + echo "Note: using cabal-built cardano-cli: $CABAL_CLI" + else + echo "Error: cardano-cli does not support the 'dijkstra' subcommand." + echo "" + echo "Build the local binary and add it to PATH:" + echo "" + echo " export PATH=\$(dirname \$(cabal list-bin cardano-cli)):\$PATH" + exit 1 fi -done +fi -if [ ${#MISSING_COMMANDS[@]} -gt 0 ]; then - echo "Error: The following required commands are not available:" - for cmd in "${MISSING_COMMANDS[@]}"; do - echo " - $cmd" - done - echo "" - echo "If you want to use the cabal built binary, use:" - echo "" - echo 'export PATH=$(dirname $(cabal list-bin cardano-cli)):$PATH' +# Check for other required commands +if ! command -v jq &>/dev/null; then + echo "Error: 'jq' is not available." exit 1 fi +# --------------------------------------------------------------------------- +# Devnet configuration +# --------------------------------------------------------------------------- +# Point at a running local devnet. Override any of these before invoking. +: "${DEVNET_DIR:=/media/nvme/cardano-node/tmp-devnet}" +: "${LEIOS_SOURCE_DIR:=$HOME/git/iog/ouroboros-leios/demo/proto-devnet/config}" +: "${SOCKET_PATH:=$DEVNET_DIR/node1/node.socket}" +: "${TESTNET_MAGIC:=164}" + +# The funder pays fees and deposits (stakeAddressDeposit + stakePoolDeposit). +# Defaults to delegator1 from the proto-devnet config (has a stable 30T lovelace UTxO). +# NOTE: The genesis utxo1 UTxO is consumed by the tx-centrifuge on a running devnet. +# Use one of the delegator keys instead, which retain their UTxOs. +# Override to use a different funded UTxO explicitly: +# FUNDER_TX_IN=# FUNDER_SKEY=path/to/key.skey ./test-leios-pool-reg.sh +: "${FUNDER_SKEY:=$LEIOS_SOURCE_DIR/stake-delegators/delegator1/payment.skey}" +: "${FUNDER_VKEY:=${FUNDER_SKEY%.skey}.vkey}" +: "${FUNDER_STAKE_VKEY:=$LEIOS_SOURCE_DIR/stake-delegators/delegator1/staking.vkey}" +# Leave FUNDER_TX_IN unset to let the script auto-detect a UTxO. +: "${FUNDER_TX_IN:=}" + : "${WORKING_DIR:=$(pwd)/tmp-test-leios-pool-reg}" if [ -d "$WORKING_DIR" ]; then echo "Working directory already exists: $WORKING_DIR" @@ -43,6 +66,9 @@ fi mkdir -p "${WORKING_DIR}" cd "${WORKING_DIR}" || exit 1 +# --------------------------------------------------------------------------- +# Key generation +# --------------------------------------------------------------------------- cardano-cli address key-gen \ --verification-key-file payment.vkey \ --signing-key-file payment.skey @@ -83,18 +109,9 @@ cardano-cli dijkstra node issue-pop-BLS \ --bls-signing-key-file bls.skey \ --out-file bls.pop -cat >poolMetaData.json <&2 + echo "" >&2 + echo "On the proto-devnet the tx-centrifuge consumes the genesis UTxO." >&2 + echo "Provide a funded UTxO explicitly:" >&2 + echo " FUNDER_TX_IN=# FUNDER_SKEY= $0" >&2 + exit 1 + fi +else + FUNDER_VALUE=$(cardano-cli dijkstra query utxo \ + --tx-in "$FUNDER_TX_IN" \ + --testnet-magic "$TESTNET_MAGIC" \ + --socket-path "$SOCKET_PATH" \ + --output-json | jq -r 'to_entries | first | .value.value.lovelace // empty') + if [ -z "$FUNDER_VALUE" ]; then + echo "Error: UTxO $FUNDER_TX_IN not found on chain" >&2 + exit 1 + fi +fi +echo "Using funder UTxO: $FUNDER_TX_IN ($FUNDER_VALUE lovelace)" + +# --------------------------------------------------------------------------- +# Build transaction (two-pass: estimate fee, then build final) +# --------------------------------------------------------------------------- +# Pass 1: draft with fee=0, change = value - deposits (used only for fee estimation) +DRAFT_CHANGE=$(( FUNDER_VALUE - TOTAL_DEPOSITS )) cardano-cli dijkstra transaction build-raw \ - --tx-in 0000000000000000000000000000000000000000000000000000000000000000#0 \ - --tx-out addr_test1vp5cxztpc6hep9ds7fjgmle3l225tk8ske3rmwr9adu0m6qchmx5z+100000000 \ + --tx-in "$FUNDER_TX_IN" \ + --tx-out "${FUNDER_ADDR}+${DRAFT_CHANGE}" \ --fee 0 \ --certificate-file pool.cert \ - --certificate-file deleg.cert \ + --certificate-file reg-and-deleg.cert \ + --out-file tx.draft + +FEE=$(cardano-cli dijkstra transaction calculate-min-fee \ + --tx-body-file tx.draft \ + --protocol-params-file <(echo "$PROTO_PARAMS") \ + --witness-count 3 \ + --output-json | jq '.fee') + +# Pass 2: final tx with correct fee and change +FINAL_CHANGE=$(( FUNDER_VALUE - TOTAL_DEPOSITS - FEE )) +cardano-cli dijkstra transaction build-raw \ + --tx-in "$FUNDER_TX_IN" \ + --tx-out "${FUNDER_ADDR}+${FINAL_CHANGE}" \ + --fee "$FEE" \ + --certificate-file pool.cert \ + --certificate-file reg-and-deleg.cert \ --out-file tx.raw +# --------------------------------------------------------------------------- +# Verify BLS key is present in the pool params +# --------------------------------------------------------------------------- pool_params=$(cardano-cli debug transaction view --tx-file tx.raw | jq '.certificates[0]."Pool registration"."pool params"') -actual_bls=$(jq -r '.bls' <<<"$pool_params") +# leiosKey.leiosPubKey is the raw-bytes hex of the BLS verification key. +# The bls.vkey cborHex is the CBOR-encoded form, which is a short CBOR prefix +# followed by the same raw bytes, so raw bytes are always a substring of cborHex. +actual_bls=$(jq -r '.leiosKey.leiosPubKey' <<<"$pool_params") expected_bls=$(jq -r '.cborHex' bls.vkey) GREEN='\033[0;32m' @@ -134,13 +226,67 @@ YELLOW='\033[0;33m' BOLD='\033[1m' RESET='\033[0m' -if [[ "$expected_bls" == *"$actual_bls"* ]]; then +if [[ "$actual_bls" == "null" || -z "$actual_bls" ]]; then + echo -e "${RED}${BOLD}✗ leiosKey not found in pool params${RESET}" >&2 + echo -e "${BOLD}Full pool params:${RESET}" >&2 + echo "$pool_params" >&2 + exit 1 +elif [[ "$expected_bls" == *"$actual_bls"* ]]; then echo -e "${GREEN}${BOLD}✓ BLS key in pool registration matches bls.vkey${RESET}" else echo -e "${RED}${BOLD}✗ BLS key mismatch:${RESET}" >&2 echo -e " ${YELLOW}expected${RESET} (from bls.vkey cborHex): $expected_bls" >&2 - echo -e " ${YELLOW}actual${RESET} (in pool registration): $actual_bls" >&2 + echo -e " ${YELLOW}actual${RESET} (leiosKey.leiosPubKey): $actual_bls" >&2 echo -e "${BOLD}Full pool params:${RESET}" >&2 echo "$pool_params" >&2 exit 1 fi + +# --------------------------------------------------------------------------- +# Sign and submit +# --------------------------------------------------------------------------- +cardano-cli dijkstra transaction sign \ + --tx-file tx.raw \ + --signing-key-file "$FUNDER_SKEY" \ + --signing-key-file stake.skey \ + --signing-key-file cold.skey \ + --testnet-magic "$TESTNET_MAGIC" \ + --out-file tx.signed + +TXID=$(cardano-cli dijkstra transaction txid --tx-file tx.signed) + +cardano-cli dijkstra transaction submit \ + --tx-file tx.signed \ + --testnet-magic "$TESTNET_MAGIC" \ + --socket-path "$SOCKET_PATH" + +echo "Submitted pool registration tx: $TXID" + +# --------------------------------------------------------------------------- +# Wait for the pool to appear in the stake-pool set +# --------------------------------------------------------------------------- +POOL_ID=$(cardano-cli dijkstra stake-pool id \ + --cold-verification-key-file cold.vkey \ + --output-bech32) + +echo "Waiting for pool $POOL_ID to be registered on-chain ..." +for _ in $(seq 1 60); do + if cardano-cli dijkstra query stake-pools \ + --testnet-magic "$TESTNET_MAGIC" \ + --socket-path "$SOCKET_PATH" | + jq -e --arg p "$POOL_ID" 'map(. == $p) | any' >/dev/null 2>&1; then + echo -e "${GREEN}${BOLD}✓ Pool $POOL_ID registered on-chain${RESET}" + echo "" + echo -e "${BOLD}Pool state:${RESET}" + cardano-cli dijkstra query pool-state \ + --stake-pool-id "$POOL_ID" \ + --testnet-magic "$TESTNET_MAGIC" \ + --socket-path "$SOCKET_PATH" \ + --output-json | jq . + exit 0 + fi + sleep 2 +done + +echo -e "${RED}${BOLD}✗ Pool not seen on-chain after 120 s${RESET}" >&2 +exit 1