From 4c7d52aa91c347d9bf7caddb22466e8571867c29 Mon Sep 17 00:00:00 2001 From: Jordan Millar Date: Fri, 20 Sep 2024 10:15:36 -0400 Subject: [PATCH] Final golden file updates --- .../Babbage/Transaction/CalculateMinFee.hs | 3 +- .../Test/Golden/Governance/Action.hs | 3 +- .../Test/Golden/Key/NonExtendedKey.hs | 6 +- .../Test/Golden/Shelley/Address/Build.hs | 6 +- .../Test/Golden/Shelley/Address/Info.hs | 9 +- .../Test/Golden/Shelley/Address/KeyGen.hs | 6 +- .../Test/Golden/Shelley/Genesis/Create.hs | 6 +- .../Golden/Shelley/Genesis/InitialTxIn.hs | 3 +- .../Golden/Shelley/Genesis/KeyGenDelegate.hs | 3 +- .../Golden/Shelley/Genesis/KeyGenGenesis.hs | 3 +- .../Test/Golden/Shelley/Genesis/KeyGenUtxo.hs | 3 +- .../Test/Golden/Shelley/Genesis/KeyHash.hs | 3 +- .../Shelley/Key/ConvertCardanoAddressKey.hs | 15 +- .../Shelley/Metadata/StakePoolMetadata.hs | 3 +- .../Test/Golden/Shelley/MultiSig/Address.hs | 9 +- .../Test/Golden/Shelley/Node/IssueOpCert.hs | 3 +- .../Test/Golden/Shelley/Node/KeyGen.hs | 9 +- .../Test/Golden/Shelley/Node/KeyGenKes.hs | 9 +- .../Test/Golden/Shelley/Node/KeyGenVrf.hs | 9 +- .../Test/Golden/Shelley/StakeAddress/Build.hs | 3 +- .../Golden/Shelley/StakeAddress/KeyGen.hs | 3 +- .../Golden/Shelley/StakeAddress/KeyHash.hs | 3 +- .../Certificates/GenesisKeyDelegation.hs | 9 +- .../Shelley/TextEnvelope/Certificates/MIR.hs | 3 +- .../TextEnvelope/Certificates/Operational.hs | 9 +- .../TextEnvelope/Certificates/StakePool.hs | 9 +- .../TextEnvelope/Keys/ExtendedPaymentKeys.hs | 9 +- .../TextEnvelope/Keys/GenesisDelegateKeys.hs | 3 +- .../Shelley/TextEnvelope/Keys/GenesisKeys.hs | 3 +- .../TextEnvelope/Keys/GenesisUTxOKeys.hs | 3 +- .../Shelley/TextEnvelope/Keys/KESKeys.hs | 9 +- .../Shelley/TextEnvelope/Keys/PaymentKeys.hs | 9 +- .../Shelley/TextEnvelope/Keys/StakeKeys.hs | 9 +- .../Shelley/TextEnvelope/Keys/VRFKeys.hs | 9 +- .../Test/Golden/Shelley/TextEnvelope/Tx/Tx.hs | 6 +- .../Golden/Shelley/TextView/DecodeCbor.hs | 3 +- .../Golden/Shelley/Transaction/Assemble.hs | 3 +- .../Test/Golden/Shelley/Transaction/Build.hs | 3 +- .../Shelley/Transaction/CalculateMinFee.hs | 3 +- .../Shelley/Transaction/CreateWitness.hs | 3 +- .../Test/Golden/Shelley/Transaction/Sign.hs | 12 +- .../cardano-cli-golden/Test/Golden/TxView.hs | 3 +- .../cardano-cli-golden/files/golden/help.cli | 16520 ++++++++-------- .../files/golden/help/latest.cli | 2 +- .../Test/Cli/FilePermissions.hs | 3 +- .../test/cardano-cli-test/Test/Cli/ITN.hs | 12 +- .../Test/Cli/Pioneers/Exercise1.hs | 15 +- .../Test/Cli/Pioneers/Exercise2.hs | 9 +- .../Test/Cli/Pioneers/Exercise3.hs | 9 +- .../Test/Cli/Pioneers/Exercise4.hs | 3 +- .../Test/Cli/Pioneers/Exercise5.hs | 9 +- .../Test/Cli/Pioneers/Exercise6.hs | 9 +- 52 files changed, 8467 insertions(+), 8364 deletions(-) diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Babbage/Transaction/CalculateMinFee.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Babbage/Transaction/CalculateMinFee.hs index 6cc28bbfaf..eba767a054 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Babbage/Transaction/CalculateMinFee.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Babbage/Transaction/CalculateMinFee.hs @@ -21,7 +21,8 @@ hprop_golden_babbage_transaction_calculate_min_fee = propertyOnce $ do minFeeTxt <- execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "calculate-min-fee" , "--witness-count" , "1" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs index c73df7542a..cef108c2a2 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs @@ -19,7 +19,8 @@ hprop_golden_governance_action_create_constitution = void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--verification-key-file" , stakeAddressVKeyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Key/NonExtendedKey.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Key/NonExtendedKey.hs index e539a4ae38..5599f29bf3 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Key/NonExtendedKey.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Key/NonExtendedKey.hs @@ -29,7 +29,8 @@ hprop_golden_KeyNonExtendedKey_GenesisExtendedVerificationKey = -- Convert the `cardano-address` signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "non-extended-key" , "--extended-verification-key-file" , genesisVKeyFp @@ -53,7 +54,8 @@ hprop_golden_KeyNonExtendedKey_StakeExtendedVerificationKeyShelley = -- Convert the `cardano-address` signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "non-extended-key" , "--extended-verification-key-file" , genesisVKeyFp diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Build.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Build.hs index 1033238a8b..a3223d578e 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Build.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Build.hs @@ -29,7 +29,8 @@ hprop_golden_shelleyAddressBuild = propertyOnce . H.moduleWorkspace "tmp" $ \tem stakingAddressText <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "build" , "--testnet-magic" , "14" @@ -49,7 +50,8 @@ hprop_golden_shelleyAddressBuild = propertyOnce . H.moduleWorkspace "tmp" $ \tem enterpriseAddressText <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "build" , "--testnet-magic" , "14" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Info.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Info.hs index b743e31008..993a02113a 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Info.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/Info.hs @@ -21,7 +21,8 @@ hprop_golden_shelleyAddressInfo = propertyOnce $ do infoText1 <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "info" , "--address" , byronBase58 @@ -35,7 +36,8 @@ hprop_golden_shelleyAddressInfo = propertyOnce $ do infoText2 <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "info" , "--address" , byronHex @@ -48,7 +50,8 @@ hprop_golden_shelleyAddressInfo = propertyOnce $ do infoText3 <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "info" , "--address" , shelleyHex diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/KeyGen.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/KeyGen.hs index 00afc396fc..8aa7dcaee4 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/KeyGen.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Address/KeyGen.hs @@ -20,7 +20,8 @@ hprop_golden_shelley_address_key_gen = propertyOnce . H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--verification-key-file" , addressVKeyFile @@ -51,7 +52,8 @@ hprop_golden_shelley_address_extended_key_gen = propertyOnce . H.moduleWorkspace void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--extended-key" , "--verification-key-file" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/Create.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/Create.hs index cdec6c7ed3..e3f1d6df52 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/Create.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/Create.hs @@ -97,7 +97,8 @@ hprop_golden_shelleyGenesisCreate = propertyOnce $ do -- Create the genesis json file and required keys void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "create" , "--testnet-magic" , "12" @@ -194,7 +195,8 @@ hprop_golden_shelleyGenesisCreate = propertyOnce $ do -- Create the genesis json file and required keys void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "create" , "--testnet-magic" , "12" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/InitialTxIn.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/InitialTxIn.hs index 9cc554d53a..29b5d61c7c 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/InitialTxIn.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/InitialTxIn.hs @@ -19,7 +19,8 @@ hprop_golden_shelleyGenesisInitialTxIn = propertyOnce $ do H.note "test/cardano-cli-golden/files/golden/shelley/keys/genesis_utxo_hashes/utxo_hash" utxoHash <- execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "initial-txin" , "--testnet-magic" , "16" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenDelegate.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenDelegate.hs index aec076e758..17429d5f21 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenDelegate.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenDelegate.hs @@ -21,7 +21,8 @@ hprop_golden_shelley_genesis_key_gen_delegate = propertyOnce . H.moduleWorkspace void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-delegate" , "--verification-key-file" , verificationKeyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenGenesis.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenGenesis.hs index a441b0ff3d..4e345a276d 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenGenesis.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenGenesis.hs @@ -20,7 +20,8 @@ hprop_golden_shelleyGenesisKeyGenGenesis = propertyOnce . H.moduleWorkspace "tmp void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-genesis" , "--verification-key-file" , verificationKeyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenUtxo.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenUtxo.hs index bb2896f1ef..647293a95d 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenUtxo.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyGenUtxo.hs @@ -20,7 +20,8 @@ hprop_golden_shelleyGenesisKeyGenUtxo = propertyOnce . H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-utxo" , "--verification-key-file" , utxoVerificationKeyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyHash.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyHash.hs index b961e67906..46a639d980 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyHash.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Genesis/KeyHash.hs @@ -21,7 +21,8 @@ hprop_golden_shelleyGenesisKeyHash = propertyOnce . H.moduleWorkspace "tmp" $ \t genesisVerificationKeyHash <- execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-hash" , "--verification-key-file" , referenceVerificationKey diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Key/ConvertCardanoAddressKey.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Key/ConvertCardanoAddressKey.hs index 5ad89d8269..6b3c3a495f 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Key/ConvertCardanoAddressKey.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Key/ConvertCardanoAddressKey.hs @@ -61,7 +61,8 @@ hprop_golden_convertCardanoAddressByronSigningKey = -- Convert the `cardano-address` signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-cardano-address-key" , "--byron-payment-key" , "--signing-key-file" @@ -98,7 +99,8 @@ hprop_golden_convertCardanoAddressIcarusSigningKey = -- Convert the `cardano-address` signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-cardano-address-key" , "--icarus-payment-key" , "--signing-key-file" @@ -136,7 +138,8 @@ hprop_golden_convertCardanoAddressShelleyPaymentSigningKey = -- Convert the `cardano-address` signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-cardano-address-key" , "--shelley-payment-key" , "--signing-key-file" @@ -174,7 +177,8 @@ hprop_golden_convertCardanoAddressShelleyStakeSigningKey = -- Convert the `cardano-address` signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-cardano-address-key" , "--shelley-stake-key" , "--signing-key-file" @@ -214,7 +218,8 @@ hprop_golden_convert_cardano_address_cc_drep = do -- Convert the `cardano-address` signing key H.noteShowM_ $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-cardano-address-key" , flag , "--signing-key-file" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Metadata/StakePoolMetadata.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Metadata/StakePoolMetadata.hs index f521facdbe..6c5eb4846e 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Metadata/StakePoolMetadata.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Metadata/StakePoolMetadata.hs @@ -29,7 +29,8 @@ hprop_golden_stakePoolMetadataHash = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Hash the stake pool metadata void $ execCardanoCLI - [ "stake-pool" + [ "latest" + , "stake-pool" , "metadata-hash" , "--pool-metadata-file" , stakePoolMetadataFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/MultiSig/Address.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/MultiSig/Address.hs index 27a84a9197..e9b8719249 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/MultiSig/Address.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/MultiSig/Address.hs @@ -17,7 +17,8 @@ hprop_golden_shelleyAllMultiSigAddressBuild = propertyOnce . H.moduleWorkspace " allMultiSigAddress <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "build" , "--payment-script-file" , allMultiSigFp @@ -37,7 +38,8 @@ hprop_golden_shelleyAnyMultiSigAddressBuild = propertyOnce . H.moduleWorkspace " anyMultiSigAddress <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "build" , "--payment-script-file" , anyMultiSigFp @@ -58,7 +60,8 @@ hprop_golden_shelleyAtLeastMultiSigAddressBuild = propertyOnce . H.moduleWorkspa atLeastMultiSigAddress <- execCardanoCLI - [ "address" + [ "latest" + , "address" , "build" , "--payment-script-file" , atLeastMultiSigFp diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/IssueOpCert.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/IssueOpCert.hs index bf1398c8a3..e8cbb3f625 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/IssueOpCert.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/IssueOpCert.hs @@ -35,7 +35,8 @@ hprop_golden_shelleyNodeIssueOpCert = propertyOnce . H.moduleWorkspace "tmp" $ \ -- --signing-key-file /dev/null void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "issue-op-cert" , "--hot-kes-verification-key-file" , hotKesVerificationKeyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGen.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGen.hs index 81d4116e9d..75c2d6733a 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGen.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGen.hs @@ -21,7 +21,8 @@ hprop_golden_shelleyNodeKeyGen = propertyOnce . H.moduleWorkspace "tmp" $ \tempD void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen" , "--verification-key-file" , verificationKeyFile @@ -57,7 +58,8 @@ hprop_golden_shelleyNodeKeyGen_te = propertyOnce . H.moduleWorkspace "tmp" $ \te void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen" , "--verification-key-file" , verificationKeyFile @@ -93,7 +95,8 @@ hprop_golden_shelleyNodeKeyGen_bech32 = propertyOnce . H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenKes.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenKes.hs index f3bab09955..e6ce286766 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenKes.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenKes.hs @@ -20,7 +20,8 @@ hprop_golden_shelleyNodeKeyGenKes = propertyOnce . H.moduleWorkspace "tmp" $ \te void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--verification-key-file" , verificationKey @@ -45,7 +46,8 @@ hprop_golden_shelleyNodeKeyGenKes_te = propertyOnce . H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--key-output-format" , "text-envelope" @@ -72,7 +74,8 @@ hprop_golden_shelleyNodeKeyGenKes_bech32 = propertyOnce . H.moduleWorkspace "tmp void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenVrf.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenVrf.hs index 4807de24c4..3347f4de48 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenVrf.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Node/KeyGenVrf.hs @@ -20,7 +20,8 @@ hprop_golden_shelleyNodeKeyGenVrf = propertyOnce . H.moduleWorkspace "tmp" $ \te void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--verification-key-file" , verificationKey @@ -45,7 +46,8 @@ hprop_golden_shelleyNodeKeyGenVrf_te = propertyOnce . H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--key-output-format" , "text-envelope" @@ -72,7 +74,8 @@ hprop_golden_shelleyNodeKeyGenVrf_bech32 = propertyOnce . H.moduleWorkspace "tmp void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/Build.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/Build.hs index 2afb42b5d3..5a16e930a2 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/Build.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/Build.hs @@ -19,7 +19,8 @@ hprop_golden_shelleyStakeAddressBuild = propertyOnce . H.moduleWorkspace "tmp" $ rewardAddress <- execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "build" , "--mainnet" , "--staking-verification-key-file" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyGen.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyGen.hs index 67c03cd8db..c72a53679b 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyGen.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyGen.hs @@ -19,7 +19,8 @@ hprop_golden_shelleyStakeAddressKeyGen = propertyOnce . H.moduleWorkspace "tmp" void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--verification-key-file" , verificationKeyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyHash.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyHash.hs index ea2ce1eecf..e275393382 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyHash.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/StakeAddress/KeyHash.hs @@ -20,7 +20,8 @@ hprop_golden_shelleyStakeAddressKeyHash = propertyOnce . H.moduleWorkspace "tmp" verificationKeyHash <- execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-hash" , "--stake-verification-key-file" , verificationKeyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/GenesisKeyDelegation.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/GenesisKeyDelegation.hs index daf095f1d0..d41d5a7981 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/GenesisKeyDelegation.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/GenesisKeyDelegation.hs @@ -45,7 +45,8 @@ hprop_golden_shelleyGenesisKeyDelegationCertificate = -- Generate genesis key pair void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-genesis" , "--verification-key-file" , genesisVerKeyFilePath @@ -56,7 +57,8 @@ hprop_golden_shelleyGenesisKeyDelegationCertificate = -- Generate genesis delegate key pair void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-delegate" , "--verification-key-file" , genesisDelegVerKeyFilePath @@ -69,7 +71,8 @@ hprop_golden_shelleyGenesisKeyDelegationCertificate = -- Generate VRF key pair void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--verification-key-file" , vrfVerKeyFilePath diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/MIR.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/MIR.hs index 934966dbe6..5730cb0528 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/MIR.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/MIR.hs @@ -33,7 +33,8 @@ hprop_golden_shelleyMIRCertificate = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Generate stake key pair void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--verification-key-file" , verKey diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/Operational.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/Operational.hs index 60c9775742..ee962f9310 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/Operational.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/Operational.hs @@ -35,7 +35,8 @@ hprop_golden_shelleyOperationalCertificate = propertyOnce . H.moduleWorkspace "t -- Create KES key pair void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--verification-key-file" , kesVerKey @@ -48,7 +49,8 @@ hprop_golden_shelleyOperationalCertificate = propertyOnce . H.moduleWorkspace "t -- Create cold key pair void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen" , "--cold-verification-key-file" , coldVerKey @@ -63,7 +65,8 @@ hprop_golden_shelleyOperationalCertificate = propertyOnce . H.moduleWorkspace "t -- Create operational certificate void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "issue-op-cert" , "--kes-verification-key-file" , kesVerKey diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/StakePool.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/StakePool.hs index 0ed34287a0..3a1db87bb7 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/StakePool.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Certificates/StakePool.hs @@ -47,7 +47,8 @@ hprop_golden_shelleyStakePoolCertificates = propertyOnce . H.moduleWorkspace "tm -- Create cold key pair void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen" , "--cold-verification-key-file" , coldVerKey @@ -62,7 +63,8 @@ hprop_golden_shelleyStakePoolCertificates = propertyOnce . H.moduleWorkspace "tm -- Generate stake key pair void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--verification-key-file" , poolRewardAccountAndOwnerVerKey @@ -75,7 +77,8 @@ hprop_golden_shelleyStakePoolCertificates = propertyOnce . H.moduleWorkspace "tm -- Generate vrf verification key void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--verification-key-file" , vrfVerKey diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/ExtendedPaymentKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/ExtendedPaymentKeys.hs index 33688b81e8..2726984e41 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/ExtendedPaymentKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/ExtendedPaymentKeys.hs @@ -36,7 +36,8 @@ hprop_golden_shelleyExtendedPaymentKeys = propertyOnce . H.moduleWorkspace "tmp" -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--extended-key" , "--verification-key-file" @@ -72,7 +73,8 @@ hprop_golden_shelleyExtendedPaymentKeys_te = propertyOnce . H.moduleWorkspace "t -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--key-output-format" , "text-envelope" @@ -105,7 +107,8 @@ hprop_golden_shelleyExtendedPaymentKeys_bech32 = propertyOnce . H.moduleWorkspac -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisDelegateKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisDelegateKeys.hs index 65c9c7550e..1b28ca5637 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisDelegateKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisDelegateKeys.hs @@ -36,7 +36,8 @@ hprop_golden_shelleyGenesisDelegateKeys = propertyOnce . H.moduleWorkspace "tmp" -- Generate payment verification key void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-delegate" , "--verification-key-file" , verKey diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisKeys.hs index 500316dd18..8427026e91 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisKeys.hs @@ -31,7 +31,8 @@ hprop_golden_shelleyGenesisKeys = propertyOnce . H.moduleWorkspace "tmp" $ \temp -- Generate payment verification key void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-genesis" , "--verification-key-file" , verKey diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisUTxOKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisUTxOKeys.hs index 3898d1a3bd..21c8e74e3f 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisUTxOKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/GenesisUTxOKeys.hs @@ -31,7 +31,8 @@ hprop_golden_shelleyGenesisUTxOKeys = propertyOnce . H.moduleWorkspace "tmp" $ \ -- Generate payment verification key void $ execCardanoCLI - [ "genesis" + [ "latest" + , "genesis" , "key-gen-utxo" , "--verification-key-file" , verKey diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/KESKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/KESKeys.hs index 60add90692..cb09756794 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/KESKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/KESKeys.hs @@ -35,7 +35,8 @@ hprop_golden_shelleyKESKeys = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -- Generate payment verification key void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--verification-key-file" , verKey @@ -69,7 +70,8 @@ hprop_golden_shelleyKESKeys_te = propertyOnce . H.moduleWorkspace "tmp" $ \tempD -- Generate payment verification key void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--key-output-format" , "text-envelope" @@ -99,7 +101,8 @@ hprop_golden_shelleyKESKeys_bech32 = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Generate payment verification key void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/PaymentKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/PaymentKeys.hs index db600a5498..d91b9536ef 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/PaymentKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/PaymentKeys.hs @@ -35,7 +35,8 @@ hprop_golden_shelleyPaymentKeys = propertyOnce . H.moduleWorkspace "tmp" $ \temp -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--verification-key-file" , verKey @@ -69,7 +70,8 @@ hprop_golden_shelleyPaymentKeys_te = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--key-output-format" , "text-envelope" @@ -101,7 +103,8 @@ hprop_golden_shelleyPaymentKeys_bech32 = propertyOnce . H.moduleWorkspace "tmp" -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/StakeKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/StakeKeys.hs index b56628c264..8865a2d9b2 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/StakeKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/StakeKeys.hs @@ -35,7 +35,8 @@ hprop_golden_shelleyStakeKeys = propertyOnce . H.moduleWorkspace "tmp" $ \tempDi -- Generate stake key pair void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--verification-key-file" , verKey @@ -69,7 +70,8 @@ hprop_golden_shelleyStakeKeys_te = propertyOnce . H.moduleWorkspace "tmp" $ \tem -- Generate stake key pair void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--key-output-format" , "text-envelope" @@ -101,7 +103,8 @@ hprop_golden_shelleyStakeKeys_bech32 = propertyOnce . H.moduleWorkspace "tmp" $ -- Generate stake key pair void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/VRFKeys.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/VRFKeys.hs index d5e47bd24b..5f30c173b0 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/VRFKeys.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Keys/VRFKeys.hs @@ -37,7 +37,8 @@ hprop_golden_shelleyVRFKeys = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -- Generate vrf verification key void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--verification-key-file" , verKey @@ -73,7 +74,8 @@ hprop_golden_shelleyVRFKeys_te = propertyOnce . H.moduleWorkspace "tmp" $ \tempD -- Generate vrf verification key void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--key-output-format" , "text-envelope" @@ -105,7 +107,8 @@ hprop_golden_shelleyVRFKeys_bech32 = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Generate vrf verification key void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--key-output-format" , "bech32" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Tx/Tx.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Tx/Tx.hs index 4c989d8500..d64fa9f357 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Tx/Tx.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextEnvelope/Tx/Tx.hs @@ -47,7 +47,8 @@ hprop_golden_shelleyTx = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> do -- Sign transaction void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--tx-body-file" , transactionBodyFile @@ -98,7 +99,8 @@ disable_hprop_golden_checkIfConstitutionalCommitteeKeyCanSign = propertyOnce . H -- Sign transaction void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--tx-body-file" , transactionBodyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextView/DecodeCbor.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextView/DecodeCbor.hs index 8a6aaf5e3d..d743f19f93 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextView/DecodeCbor.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/TextView/DecodeCbor.hs @@ -19,7 +19,8 @@ hprop_golden_shelleyTextViewDecodeCbor = propertyOnce $ H.moduleWorkspace "tmp" decodedTxt <- execCardanoCLI - [ "text-view" + [ "latest" + , "text-view" , "decode-cbor" , "--file" , unsignedTxFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Assemble.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Assemble.hs index 5457510830..29556aa66c 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Assemble.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Assemble.hs @@ -22,7 +22,8 @@ hprop_golden_shelleyTransactionAssembleWitness_SigningKey = propertyOnce $ H.mod noteInputFile "test/cardano-cli-golden/files/input/shelley/witnesses/singleSigningKeyWitness" void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign-witness" , "--tx-body-file" , txBodyFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Build.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Build.hs index 1458dcd2de..f6b3e9343f 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Build.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Build.hs @@ -83,7 +83,8 @@ hprop_golden_shelley_transaction_build_minting = polid <- execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "policyid" , "--script-file" , scriptWit diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CalculateMinFee.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CalculateMinFee.hs index d7ec1364c2..e3512046bd 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CalculateMinFee.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CalculateMinFee.hs @@ -43,7 +43,8 @@ hprop_golden_shelley_transaction_calculate_min_fee = do minFeeTxt <- execCardanoCLI $ - [ "transaction" + [ "latest" + , "transaction" , "calculate-min-fee" , "--byron-witness-count" , "10" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CreateWitness.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CreateWitness.hs index 7b74679c49..fe319de342 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CreateWitness.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CreateWitness.hs @@ -48,7 +48,8 @@ hprop_golden_shelley_transaction_signing_key_witness = propertyOnce $ H.moduleWo void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "witness" , "--tx-body-file" , txBodyOutFile diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Sign.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Sign.hs index bd2dc39dcd..f7cc64e6bf 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Sign.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/Sign.hs @@ -31,7 +31,8 @@ hprop_golden_shelley_transaction_sign = propertyOnce $ H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--mainnet" , "--tx-body-file" @@ -49,7 +50,8 @@ hprop_golden_shelley_transaction_sign = propertyOnce $ H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--mainnet" , "--tx-body-file" @@ -69,7 +71,8 @@ hprop_golden_shelley_transaction_sign = propertyOnce $ H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--mainnet" , "--tx-body-file" @@ -89,7 +92,8 @@ hprop_golden_shelley_transaction_sign = propertyOnce $ H.moduleWorkspace "tmp" $ void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--mainnet" , "--tx-body-file" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/TxView.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/TxView.hs index 628b1edbcb..acb0f3b02d 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/TxView.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/TxView.hs @@ -421,7 +421,8 @@ hprop_golden_view_alonzo_signed_yaml = -- Sign void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--tx-body-file" , transactionBodyFile 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 92e122ffe3..261b62fca5 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -1,1432 +1,780 @@ Usage: cardano-cli - ( shelley + ( legacy + | byron + | shelley | allegra | mary | alonzo | babbage | conway | latest - | legacy - | byron | hash | ping | debug commands | version ) -Usage: cardano-cli shelley - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) - - Shelley era commands - DEPRECATED - will be removed in the future +Usage: cardano-cli legacy Legacy commands -Usage: cardano-cli shelley address (key-gen | key-hash | build | info) + Legacy commands - DEPRECATED - will be removed in the future - Payment address commands. +Usage: cardano-cli legacy governance + ( create-mir-certificate + | create-genesis-key-delegation-certificate + | create-update-proposal + ) -Usage: cardano-cli shelley address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + Governance commands - Create an address key pair. +Usage: cardano-cli legacy governance create-mir-certificate + ( [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + ] + ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH + | stake-addresses + | transfer-to-treasury + | transfer-to-rewards + ) -Usage: cardano-cli shelley address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] + Create an MIR (Move Instantaneous Rewards) certificate - Print the hash of an address key. +Usage: cardano-cli legacy governance create-mir-certificate stake-addresses + [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + ] + ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH -Usage: cardano-cli shelley address build - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - | --payment-script-file FILEPATH - ) - [ --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] + Create an MIR certificate to pay stake addresses - Build a Shelley payment address, with optional delegation to a stake address. +Usage: cardano-cli legacy governance create-mir-certificate transfer-to-treasury + [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + ] + --transfer LOVELACE + --out-file FILEPATH -Usage: cardano-cli shelley address info --address ADDRESS [--out-file FILEPATH] + Create an MIR certificate to transfer from the reserves pot to the treasury + pot - Print information about an address. +Usage: cardano-cli legacy governance create-mir-certificate transfer-to-rewards + [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + ] + --transfer LOVELACE + --out-file FILEPATH -Usage: cardano-cli shelley key - ( verification-key - | non-extended-key - | convert-byron-key - | convert-byron-genesis-vkey - | convert-itn-key - | convert-itn-extended-key - | convert-itn-bip32-key - | convert-cardano-address-key - ) + Create an MIR certificate to transfer from the treasury pot to the reserves + pot - Key utility commands. +Usage: cardano-cli legacy governance create-genesis-key-delegation-certificate + [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + ] + ( --genesis-verification-key STRING + | --genesis-verification-key-file FILEPATH + | --genesis-verification-key-hash STRING + ) + ( --genesis-delegate-verification-key STRING + | --genesis-delegate-verification-key-file FILEPATH + | --genesis-delegate-verification-key-hash STRING + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + | --vrf-verification-key-hash STRING + ) + --out-file FILEPATH -Usage: cardano-cli shelley key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH + Create a genesis key delegation certificate - Get a verification key from a signing key. This supports all key types. +Usage: cardano-cli legacy governance create-update-proposal --out-file FILEPATH + --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + [--decentralization-parameter RATIONAL] + [ --extra-entropy HEX + | --reset-extra-entropy + ] + [--max-block-header-size WORD16] + [--max-block-body-size WORD32] + [--max-tx-size WORD32] + [--min-fee-constant LOVELACE] + [--min-fee-linear LOVELACE] + [--min-utxo-value NATURAL] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--min-pool-cost NATURAL] + [--pool-retirement-epoch-interval WORD32] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--monetary-expansion RATIONAL] + [--treasury-expansion RATIONAL] + [--price-execution-steps RATIONAL + --price-execution-memory RATIONAL] + [--max-tx-execution-units (INT, INT)] + [--max-block-execution-units (INT, INT)] + [--max-value-size INT] + [--collateral-percent INT] + [--max-collateral-inputs INT] + [--utxo-cost-per-byte LOVELACE] + [--cost-model-file FILE] -Usage: cardano-cli shelley key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH + Create an update proposal - Get a non-extended verification key from an extended verification key. This - supports all extended key types. +Usage: cardano-cli legacy genesis + ( key-gen-genesis + | key-gen-delegate + | key-gen-utxo + | key-hash + | get-ver-key + | initial-addr + | initial-txin + | create-cardano + | create + | create-staked + | hash + ) -Usage: cardano-cli shelley key convert-byron-key [--password TEXT] - ( --byron-payment-key-type - | --legacy-byron-payment-key-type - | --byron-genesis-key-type - | --legacy-byron-genesis-key-type - | --byron-genesis-delegate-key-type - | --legacy-byron-genesis-delegate-key-type - ) - ( --byron-signing-key-file FILEPATH - | --byron-verification-key-file FILEPATH - ) - --out-file FILEPATH + Genesis block commands - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. +Usage: cardano-cli legacy genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli shelley key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH + Create a Shelley genesis key pair - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key +Usage: cardano-cli legacy genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH -Usage: cardano-cli shelley key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH + Create a Shelley genesis delegate key pair - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key +Usage: cardano-cli legacy genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli shelley key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH + Create a Shelley genesis UTxO key pair - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key +Usage: cardano-cli legacy genesis key-hash --verification-key-file FILEPATH -Usage: cardano-cli shelley key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH + Print the identifier (hash) of a public key - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key +Usage: cardano-cli legacy genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli shelley key convert-cardano-address-key - ( --cc-cold-key - | --cc-hot-key - | --drep-key - | --shelley-payment-key - | --shelley-stake-key - | --icarus-payment-key - | --byron-payment-key - ) - --signing-key-file FILEPATH - --out-file FILEPATH + Derive the verification key from a signing key - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. - -Usage: cardano-cli shelley genesis - ( key-gen-genesis - | key-gen-delegate - | key-gen-utxo - | key-hash - | get-ver-key - | initial-addr - | initial-txin - | create-cardano - | create - | create-staked - | create-testnet-data - | hash - ) - - Genesis block commands. - -Usage: cardano-cli shelley genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a Shelley genesis key pair - -Usage: cardano-cli shelley genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - - Create a Shelley genesis delegate key pair - -Usage: cardano-cli shelley genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a Shelley genesis UTxO key pair - -Usage: cardano-cli shelley genesis key-hash --verification-key-file FILEPATH - - Print the identifier (hash) of a public key - -Usage: cardano-cli shelley genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Derive the verification key from a signing key - -Usage: cardano-cli shelley genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli legacy genesis initial-addr --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] Get the address for an initial UTxO based on the verification key -Usage: cardano-cli shelley genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli legacy genesis initial-txin --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] Get the TxIn for an initial UTxO based on the verification key -Usage: cardano-cli shelley genesis create-cardano --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--security-param INT] - [--slot-length INT] - [--slot-coefficient RATIONAL] - ( --mainnet - | --testnet-magic NATURAL - ) - --byron-template FILEPATH - --shelley-template FILEPATH - --alonzo-template FILEPATH - --conway-template FILEPATH - [--node-config-template FILEPATH] - - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. - -Usage: cardano-cli shelley genesis create [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - ( --mainnet - | --testnet-magic NATURAL - ) - - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. - -Usage: cardano-cli shelley genesis create-staked [--key-output-format STRING] +Usage: cardano-cli legacy genesis create-cardano + [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + | --conway-era + ] --genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT] - [--gen-pools INT] - [--gen-stake-delegs INT] [--start-time UTC-TIME] [--supply LOVELACE] - [--supply-delegated LOVELACE] + [--security-param INT] + [--slot-length INT] + [--slot-coefficient RATIONAL] ( --mainnet | --testnet-magic NATURAL ) - [--bulk-pool-cred-files INT] - [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] - [--relay-specification-file FILEPATH] + --byron-template FILEPATH + --shelley-template FILEPATH + --alonzo-template FILEPATH + --conway-template FILEPATH + [--node-config-template FILEPATH] - Create a staked Shelley genesis file from a genesis template and + Create a Byron and Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli shelley genesis create-testnet-data [--spec-shelley FILEPATH] - [--spec-alonzo FILEPATH] - [--spec-conway FILEPATH] - [--genesis-keys INT] - [--pools INT] - [ --stake-delegators INT - | --transient-stake-delegators INT - ] - [ --drep-keys INT - | --transient-drep-keys INT - ] - [--stuffed-utxo INT] - [--utxo-keys INT] - [--total-supply LOVELACE] - [--delegated-supply LOVELACE] - [--testnet-magic NATURAL] - [--relays FILEPATH] - [--start-time UTC-TIME] - --out-dir DIR +Usage: cardano-cli legacy genesis create + [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + | --conway-era + ] + [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + (--mainnet | --testnet-magic NATURAL) - Create data to use for starting a testnet. + Create a Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -Usage: cardano-cli shelley genesis hash --genesis FILEPATH +Usage: cardano-cli legacy genesis create-staked + [ --shelley-era + | --allegra-era + | --mary-era + | --alonzo-era + | --babbage-era + | --conway-era + ] + [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--gen-pools INT] + [--gen-stake-delegs INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--supply-delegated LOVELACE] + ( --mainnet + | --testnet-magic NATURAL + ) + [--bulk-pool-cred-files INT] + [--bulk-pools-per-file INT] + [--num-stuffed-utxo INT] + [--relay-specification-file FILEPATH] + + Create a staked Shelley genesis file from a genesis template and + genesis/delegation/spending keys. + +Usage: cardano-cli legacy genesis hash --genesis FILEPATH Compute the hash of a genesis file -Usage: cardano-cli shelley governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) +Usage: cardano-cli byron + ( key + | transaction + | genesis + | governance + | miscellaneous + ) - Governance commands. + Byron specific commands -Usage: cardano-cli shelley governance create-mir-certificate - ( ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - | stake-addresses - | transfer-to-treasury - | transfer-to-rewards - ) +Usage: cardano-cli byron key ( keygen + | to-verification + | signing-key-public + | signing-key-address + | migrate-delegate-key-from + ) - Create an MIR (Move Instantaneous Rewards) certificate + Byron key utility commands -Usage: cardano-cli shelley governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli byron key keygen --secret FILEPATH - Create an MIR certificate to pay stake addresses + Generate a signing key. -Usage: cardano-cli shelley governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli byron key to-verification + [ --byron-legacy-formats + | --byron-formats + ] + --secret FILEPATH + --to FILEPATH - Create an MIR certificate to transfer from the reserves pot to the treasury - pot + Extract a verification key in its base64 form. -Usage: cardano-cli shelley governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli byron key signing-key-public + [ --byron-legacy-formats + | --byron-formats + ] + --secret FILEPATH - Create an MIR certificate to transfer from the treasury pot to the reserves - pot + Pretty-print a signing key's verification key (not a secret). -Usage: cardano-cli shelley governance create-genesis-key-delegation-certificate - ( --genesis-verification-key STRING - | --genesis-verification-key-file FILEPATH - | --genesis-verification-key-hash STRING - ) - ( --genesis-delegate-verification-key STRING - | --genesis-delegate-verification-key-file FILEPATH - | --genesis-delegate-verification-key-hash STRING - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - | --vrf-verification-key-hash STRING - ) - --out-file FILEPATH - - Create a genesis key delegation certificate - -Usage: cardano-cli shelley governance action create-protocol-parameters-update - - Governance action commands. - -Usage: cardano-cli shelley governance action create-protocol-parameters-update --epoch NATURAL - (--genesis-verification-key-file FILEPATH) - [--min-fee-linear LOVELACE] - [--min-fee-constant LOVELACE] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--max-block-header-size WORD16] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--treasury-expansion RATIONAL] - [--monetary-expansion RATIONAL] - [--min-pool-cost NATURAL] - [--min-utxo-value NATURAL] - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] - [ --extra-entropy HEX - | --reset-extra-entropy - ] - [--decentralization-parameter RATIONAL] - --out-file FILEPATH - - Create a protocol parameters update. +Usage: cardano-cli byron key signing-key-address + [ --byron-legacy-formats + | --byron-formats + ] + ( --mainnet + | --testnet-magic NATURAL + ) + --secret FILEPATH -Usage: cardano-cli shelley node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) + Print address of a signing key. - Node operation commands. +Usage: cardano-cli byron key migrate-delegate-key-from --from FILEPATH + --to FILEPATH -Usage: cardano-cli shelley node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH + Migrate a delegate key from an older version. - Create a key pair for a node operator's offline key and a new certificate - issue counter +Usage: cardano-cli byron transaction ( submit-tx + | issue-genesis-utxo-expenditure + | issue-utxo-expenditure + | txid + ) -Usage: cardano-cli shelley node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + Byron transaction commands - Create a key pair for a node KES operational key +Usage: cardano-cli byron transaction submit-tx --socket-path SOCKET_PATH + ( --mainnet + | --testnet-magic NATURAL + ) + --tx FILEPATH -Usage: cardano-cli shelley node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + Submit a raw, signed transaction, in its on-wire representation. - Create a key pair for a node VRF operational key +Usage: cardano-cli byron transaction issue-genesis-utxo-expenditure --genesis-json FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [ --byron-legacy-formats + | --byron-formats + ] + --tx FILEPATH + --wallet-key FILEPATH + --rich-addr-from ADDR + (--txout '("ADDR", LOVELACE)') -Usage: cardano-cli shelley node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] + Write a file with a signed transaction, spending genesis UTxO. - Print hash of a node's operational VRF key. +Usage: cardano-cli byron transaction issue-utxo-expenditure + ( --mainnet + | --testnet-magic NATURAL + ) + [ --byron-legacy-formats + | --byron-formats + ] + --tx FILEPATH + --wallet-key FILEPATH + (--txin (TXID,INDEX)) + (--txout '("ADDR", LOVELACE)') -Usage: cardano-cli shelley node new-counter - ( --stake-pool-verification-key STRING - | --genesis-delegate-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --counter-value INT - --operational-certificate-issue-counter-file FILEPATH + Write a file with a signed transaction, spending normal UTxO. - Create a new certificate issue counter +Usage: cardano-cli byron transaction txid --tx FILEPATH -Usage: cardano-cli shelley node issue-op-cert - ( --kes-verification-key STRING - | --kes-verification-key-file FILEPATH - ) - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - --kes-period NATURAL - --out-file FILEPATH + Print the txid of a raw, signed transaction. - Issue a node operational certificate +Usage: cardano-cli byron genesis (genesis | print-genesis-hash) -Usage: cardano-cli shelley query - ( protocol-parameters - | tip - | stake-pools - | stake-distribution - | stake-address-info - | utxo - | ledger-state - | protocol-state - | stake-snapshot - | leadership-schedule - | kes-period-info - | pool-state - | tx-mempool - | slot-number - | ref-script-size - ) + Byron genesis block commands - 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 byron genesis genesis --genesis-output-dir FILEPATH + --start-time POSIXSECONDS + --protocol-parameters-file FILEPATH + --k INT + --protocol-magic INT + --n-poor-addresses INT + --n-delegate-addresses INT + --total-balance INT + --delegate-share DOUBLE + --avvm-entry-count INT + --avvm-entry-balance INT + [--avvm-balance-factor DOUBLE] + [--secret-seed INT] -Usage: cardano-cli shelley query protocol-parameters --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + Create genesis. - Get the node's current protocol parameters +Usage: cardano-cli byron genesis print-genesis-hash --genesis-json FILEPATH -Usage: cardano-cli shelley query tip --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] + Compute hash of a genesis file. - Get the node's current tip (slot no, hash, block no) +Usage: cardano-cli byron governance COMMAND -Usage: cardano-cli shelley query stake-pools --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--output-json | --output-text] - [--out-file FILEPATH] + Byron governance commands - Get the node's current set of stake pool ids +Usage: cardano-cli byron governance submit-proposal-vote + --socket-path SOCKET_PATH + ( --mainnet + | --testnet-magic NATURAL + ) + --filepath FILEPATH -Usage: cardano-cli shelley query stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] + Submit a proposal vote. - Get the node's current aggregated stake distribution +Usage: cardano-cli byron governance submit-update-proposal + --socket-path SOCKET_PATH + ( --mainnet + | --testnet-magic NATURAL + ) + --filepath FILEPATH -Usage: cardano-cli shelley query stake-address-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - --address ADDRESS - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + Submit an update proposal. - Get the current delegations and reward accounts filtered by stake address. +Usage: cardano-cli byron governance create-proposal-vote + ( --mainnet + | --testnet-magic NATURAL + ) + --signing-key FILEPATH + --proposal-filepath FILEPATH + ( --vote-yes + | --vote-no + ) + --output-filepath FILEPATH -Usage: cardano-cli shelley query utxo --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - ( --whole-utxo - | (--address ADDRESS) - | (--tx-in TX-IN) - ) - (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] - [--out-file FILEPATH] + Create an update proposal vote. - Get a portion of the current UTxO: by tx in, by address or the whole. +Usage: cardano-cli byron governance create-update-proposal + ( --mainnet + | --testnet-magic NATURAL + ) + --signing-key FILEPATH + --protocol-version-major WORD16 + --protocol-version-minor WORD16 + --protocol-version-alt WORD8 + --application-name STRING + --software-version-num WORD32 + --system-tag STRING + --installer-hash HASH + --filepath FILEPATH + [--script-version WORD16] + [--slot-duration NATURAL] + [--max-block-size NATURAL] + [--max-header-size NATURAL] + [--max-tx-size NATURAL] + [--max-proposal-size NATURAL] + [--max-mpc-thd DOUBLE] + [--heavy-del-thd DOUBLE] + [--update-vote-thd DOUBLE] + [--update-proposal-thd DOUBLE] + [--time-to-live WORD64] + [--softfork-init-thd DOUBLE + --softfork-min-thd DOUBLE + --softfork-thd-dec DOUBLE] + [--tx-fee-a-constant INT + --tx-fee-b-constant DOUBLE] + [--unlock-stake-epoch WORD64] -Usage: cardano-cli shelley query ledger-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] + Create an update proposal. + +Usage: cardano-cli byron miscellaneous (validate-cbor | pretty-print-cbor) + + Byron miscellaneous commands + +Usage: cardano-cli byron miscellaneous validate-cbor + [ --byron-block INT + | --byron-delegation-certificate + | --byron-tx + | --byron-update-proposal + | --byron-vote + ] + --filepath FILEPATH + + Validate a CBOR blockchain object. + +Usage: cardano-cli byron miscellaneous pretty-print-cbor --filepath FILEPATH + + Pretty print a CBOR file. + +Usage: cardano-cli byron submit-proposal-vote --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) - [--out-file FILEPATH] + --filepath FILEPATH - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) + Submit a proposal vote. -Usage: cardano-cli shelley query protocol-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] +Usage: cardano-cli byron submit-update-proposal --socket-path SOCKET_PATH ( --mainnet | --testnet-magic NATURAL ) - [--out-file FILEPATH] + --filepath FILEPATH - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) + Submit an update proposal. -Usage: cardano-cli shelley query stake-snapshot --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] +Usage: cardano-cli byron create-proposal-vote + ( --mainnet + | --testnet-magic NATURAL + ) + --signing-key FILEPATH + --proposal-filepath FILEPATH + (--vote-yes | --vote-no) + --output-filepath FILEPATH + + Create an update proposal vote. + +Usage: cardano-cli byron create-update-proposal ( --mainnet | --testnet-magic NATURAL ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] + --signing-key FILEPATH + --protocol-version-major WORD16 + --protocol-version-minor WORD16 + --protocol-version-alt WORD8 + --application-name STRING + --software-version-num WORD32 + --system-tag STRING + --installer-hash HASH + --filepath FILEPATH + [--script-version WORD16] + [--slot-duration NATURAL] + [--max-block-size NATURAL] + [--max-header-size NATURAL] + [--max-tx-size NATURAL] + [--max-proposal-size NATURAL] + [--max-mpc-thd DOUBLE] + [--heavy-del-thd DOUBLE] + [--update-vote-thd DOUBLE] + [--update-proposal-thd DOUBLE] + [--time-to-live WORD64] + [--softfork-init-thd DOUBLE + --softfork-min-thd DOUBLE + --softfork-thd-dec DOUBLE] + [--tx-fee-a-constant INT + --tx-fee-b-constant DOUBLE] + [--unlock-stake-epoch WORD64] - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) + Create an update proposal. -Usage: cardano-cli shelley query pool-params --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] +Usage: cardano-cli shelley + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced - command) + Shelley era commands - DEPRECATED - will be removed in the future -Usage: cardano-cli shelley query leadership-schedule --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --genesis FILEPATH - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --vrf-signing-key-file FILEPATH - (--current | --next) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] +Usage: cardano-cli shelley address (key-gen | key-hash | build | info) - Get the slots the node is expected to mint a block in (advanced command) + Payment address commands. -Usage: cardano-cli shelley query kes-period-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli shelley address key-gen [--key-output-format STRING] + [ --normal-key + | --extended-key + | --byron-key + ] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Get information about the current KES period and your node's operational - certificate. + Create an address key pair. -Usage: cardano-cli shelley query pool-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) +Usage: cardano-cli shelley address key-hash + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH ) [--out-file FILEPATH] - Dump the pool state + Print the hash of an address key. -Usage: cardano-cli shelley query tx-mempool --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli shelley address build + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + | --payment-script-file FILEPATH + ) + [ --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] - Local Mempool info + Build a Shelley payment address, with optional delegation to a stake address. -Usage: cardano-cli shelley query tx-mempool info +Usage: cardano-cli shelley address info --address ADDRESS [--out-file FILEPATH] - Ask the node about the current mempool's capacity and sizes + Print information about an address. -Usage: cardano-cli shelley query tx-mempool next-tx +Usage: cardano-cli shelley key + ( verification-key + | non-extended-key + | convert-byron-key + | convert-byron-genesis-vkey + | convert-itn-key + | convert-itn-extended-key + | convert-itn-bip32-key + | convert-cardano-address-key + ) - Requests the next transaction from the mempool's current list + Key utility commands. -Usage: cardano-cli shelley query tx-mempool tx-exists TX_ID +Usage: cardano-cli shelley key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH - Query if a particular transaction exists in the mempool + Get a verification key from a signing key. This supports all key types. -Usage: cardano-cli shelley query slot-number --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - TIMESTAMP +Usage: cardano-cli shelley key non-extended-key --extended-verification-key-file FILEPATH + --verification-key-file FILEPATH - Query slot number for UTC timestamp + Get a non-extended verification key from an extended verification key. This + supports all extended key types. -Usage: cardano-cli shelley query ref-script-size --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - (--tx-in TX-IN) - ( --mainnet - | --testnet-magic NATURAL +Usage: cardano-cli shelley key convert-byron-key [--password TEXT] + ( --byron-payment-key-type + | --legacy-byron-payment-key-type + | --byron-genesis-key-type + | --legacy-byron-genesis-key-type + | --byron-genesis-delegate-key-type + | --legacy-byron-genesis-delegate-key-type ) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - - Calculate the reference input scripts size in bytes for provided transaction - inputs. - -Usage: cardano-cli shelley stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate - ) + ( --byron-signing-key-file FILEPATH + | --byron-verification-key-file FILEPATH + ) + --out-file FILEPATH - Stake address commands. + Convert a Byron payment, genesis or genesis delegate key (signing or + verification) to a corresponding Shelley-format key. -Usage: cardano-cli shelley stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli shelley key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 + --out-file FILEPATH - Create a stake address key pair + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis + verification key -Usage: cardano-cli shelley stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli shelley key convert-itn-key + ( --itn-signing-key-file FILEPATH + | --itn-verification-key-file FILEPATH + ) + --out-file FILEPATH - Print the hash of a stake address key + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or + verification key to a corresponding Shelley stake key -Usage: cardano-cli shelley stake-address build - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - ) - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli shelley key convert-itn-extended-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Build a stake address + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key + to a corresponding Shelley stake signing key -Usage: cardano-cli shelley stake-address registration-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - --out-file FILEPATH +Usage: cardano-cli shelley key convert-itn-bip32-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Create a stake address registration certificate + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a + corresponding Shelley stake signing key -Usage: cardano-cli shelley stake-address deregistration-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - --out-file FILEPATH +Usage: cardano-cli shelley key convert-cardano-address-key + ( --cc-cold-key + | --cc-hot-key + | --drep-key + | --shelley-payment-key + | --shelley-stake-key + | --icarus-payment-key + | --byron-payment-key + ) + --signing-key-file FILEPATH + --out-file FILEPATH - Create a stake address deregistration certificate + Convert a cardano-address extended signing key to a corresponding + Shelley-format key. -Usage: cardano-cli shelley stake-address stake-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --out-file FILEPATH +Usage: cardano-cli shelley genesis + ( key-gen-genesis + | key-gen-delegate + | key-gen-utxo + | key-hash + | get-ver-key + | initial-addr + | initial-txin + | create-cardano + | create + | create-staked + | create-testnet-data + | hash + ) - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. + Genesis block commands. -Usage: cardano-cli shelley stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) +Usage: cardano-cli shelley genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH - Stake pool commands. + Create a Shelley genesis key pair -Usage: cardano-cli shelley stake-pool registration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH +Usage: cardano-cli shelley genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH - Create a stake pool registration certificate + Create a Shelley genesis delegate key pair -Usage: cardano-cli shelley stake-pool deregistration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --epoch NATURAL - --out-file FILEPATH +Usage: cardano-cli shelley genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH - Create a stake pool deregistration certificate + Create a Shelley genesis UTxO key pair -Usage: cardano-cli shelley stake-pool id - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli shelley genesis key-hash --verification-key-file FILEPATH - Build pool id from the offline key + Print the identifier (hash) of a public key -Usage: cardano-cli shelley stake-pool metadata-hash --pool-metadata-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli shelley genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH - Print the hash of pool metadata. + Derive the verification key from a signing key -Usage: cardano-cli shelley text-view decode-cbor +Usage: cardano-cli shelley genesis initial-addr --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + Get the address for an initial UTxO based on the verification key -Usage: cardano-cli shelley text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli shelley genesis initial-txin --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Print a TextView file as decoded CBOR. + Get the TxIn for an initial UTxO based on the verification key -Usage: cardano-cli shelley transaction - ( build-raw - | build - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - | view - ) +Usage: cardano-cli shelley genesis create-cardano --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--security-param INT] + [--slot-length INT] + [--slot-coefficient RATIONAL] + ( --mainnet + | --testnet-magic NATURAL + ) + --byron-template FILEPATH + --shelley-template FILEPATH + --alonzo-template FILEPATH + --conway-template FILEPATH + [--node-config-template FILEPATH] - Transaction commands. + Create a Byron and Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -Usage: cardano-cli shelley transaction build-raw - [ --script-valid - | --script-invalid - ] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ) - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - --spending-reference-tx-in-execution-units (INT, INT) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - ( --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ) - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - ) - --tx-in-execution-units (INT, INT)] - ]) - [--read-only-tx-in-reference TX-IN] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - [--mint VALUE - ( --mint-script-file FILEPATH - [ - ( --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ) - --mint-execution-units (INT, INT)] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --mint-reference-tx-in-execution-units (INT, INT) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - --fee LOVELACE - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ - ( --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ) - --certificate-execution-units (INT, INT)] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - --certificate-reference-tx-in-execution-units (INT, INT) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ - ( --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ) - --withdrawal-execution-units (INT, INT)] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - --withdrawal-reference-tx-in-execution-units (INT, INT) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--protocol-params-file FILEPATH] - [--update-proposal-file FILEPATH] - --out-file FILEPATH - - Build a transaction (low-level, inconvenient) - - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli shelley transaction build --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --script-valid - | --script-invalid - ] - [--witness-override WORD] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ) - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - ( --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ) - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - )] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--update-proposal-file FILEPATH] - ( --out-file FILEPATH - | --calculate-plutus-script-cost FILEPATH - ) - - Build a balanced transaction (automatically calculates fees) - - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - -Usage: cardano-cli shelley transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH - - Sign a transaction - -Usage: cardano-cli shelley transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH - - Create a transaction witness - -Usage: cardano-cli shelley transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH - - Assemble a tx body and witness(es) to form a transaction - -Usage: cardano-cli shelley transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH - - Assemble a tx body and witness(es) to form a transaction - -Usage: cardano-cli shelley transaction submit --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --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 shelley transaction policyid --script-file FILEPATH - - Calculate the PolicyId from the monetary policy script. - -Usage: cardano-cli shelley transaction calculate-min-fee --tx-body-file FILEPATH - --protocol-params-file FILEPATH - --witness-count NATURAL - [--byron-witness-count NATURAL] - [--reference-script-size NATURAL] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - [ --mainnet - | --testnet-magic NATURAL - ] - [--tx-in-count NATURAL] - [--tx-out-count NATURAL] - - Calculate the minimum fee for a transaction. - -Usage: cardano-cli shelley transaction calculate-min-required-utxo --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] - - Calculate the minimum required UTxO for a transaction output. - -Usage: cardano-cli shelley transaction calculate-min-value --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] - - DEPRECATED: Use 'calculate-min-required-utxo' instead. - -Usage: cardano-cli shelley transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) - - Calculate the hash of script data. - -Usage: cardano-cli shelley transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - - Print a transaction identifier. - -Usage: cardano-cli shelley transaction view - - This command has been removed. Please use "debug transaction view" instead. - -Usage: cardano-cli allegra - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) - - Allegra era commands - DEPRECATED - will be removed in the future - -Usage: cardano-cli allegra address (key-gen | key-hash | build | info) - - Payment address commands. - -Usage: cardano-cli allegra address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create an address key pair. - -Usage: cardano-cli allegra address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] - - Print the hash of an address key. - -Usage: cardano-cli allegra address build - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - | --payment-script-file FILEPATH - ) - [ --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] - - Build a Shelley payment address, with optional delegation to a stake address. - -Usage: cardano-cli allegra address info --address ADDRESS [--out-file FILEPATH] - - Print information about an address. - -Usage: cardano-cli allegra key - ( verification-key - | non-extended-key - | convert-byron-key - | convert-byron-genesis-vkey - | convert-itn-key - | convert-itn-extended-key - | convert-itn-bip32-key - | convert-cardano-address-key - ) - - Key utility commands. - -Usage: cardano-cli allegra key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH - - Get a verification key from a signing key. This supports all key types. - -Usage: cardano-cli allegra key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH - - Get a non-extended verification key from an extended verification key. This - supports all extended key types. - -Usage: cardano-cli allegra key convert-byron-key [--password TEXT] - ( --byron-payment-key-type - | --legacy-byron-payment-key-type - | --byron-genesis-key-type - | --legacy-byron-genesis-key-type - | --byron-genesis-delegate-key-type - | --legacy-byron-genesis-delegate-key-type - ) - ( --byron-signing-key-file FILEPATH - | --byron-verification-key-file FILEPATH - ) - --out-file FILEPATH - - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. - -Usage: cardano-cli allegra key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH - - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key - -Usage: cardano-cli allegra key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH - - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key - -Usage: cardano-cli allegra key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH - - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key - -Usage: cardano-cli allegra key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH - - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key - -Usage: cardano-cli allegra key convert-cardano-address-key - ( --cc-cold-key - | --cc-hot-key - | --drep-key - | --shelley-payment-key - | --shelley-stake-key - | --icarus-payment-key - | --byron-payment-key - ) - --signing-key-file FILEPATH - --out-file FILEPATH - - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. - -Usage: cardano-cli allegra genesis - ( key-gen-genesis - | key-gen-delegate - | key-gen-utxo - | key-hash - | get-ver-key - | initial-addr - | initial-txin - | create-cardano - | create - | create-staked - | create-testnet-data - | hash - ) - - Genesis block commands. - -Usage: cardano-cli allegra genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a Shelley genesis key pair - -Usage: cardano-cli allegra genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - - Create a Shelley genesis delegate key pair - -Usage: cardano-cli allegra genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a Shelley genesis UTxO key pair - -Usage: cardano-cli allegra genesis key-hash --verification-key-file FILEPATH - - Print the identifier (hash) of a public key - -Usage: cardano-cli allegra genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Derive the verification key from a signing key - -Usage: cardano-cli allegra genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] - - Get the address for an initial UTxO based on the verification key - -Usage: cardano-cli allegra genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] - - Get the TxIn for an initial UTxO based on the verification key - -Usage: cardano-cli allegra genesis create-cardano --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--security-param INT] - [--slot-length INT] - [--slot-coefficient RATIONAL] - ( --mainnet - | --testnet-magic NATURAL - ) - --byron-template FILEPATH - --shelley-template FILEPATH - --alonzo-template FILEPATH - --conway-template FILEPATH - [--node-config-template FILEPATH] - - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. - -Usage: cardano-cli allegra genesis create [--key-output-format STRING] +Usage: cardano-cli shelley genesis create [--key-output-format STRING] --genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT] @@ -1439,7 +787,7 @@ Usage: cardano-cli allegra genesis create [--key-output-format STRING] Create a Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli allegra genesis create-staked [--key-output-format STRING] +Usage: cardano-cli shelley genesis create-staked [--key-output-format STRING] --genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT] @@ -1459,7 +807,7 @@ Usage: cardano-cli allegra genesis create-staked [--key-output-format STRING] Create a staked Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli allegra genesis create-testnet-data [--spec-shelley FILEPATH] +Usage: cardano-cli shelley genesis create-testnet-data [--spec-shelley FILEPATH] [--spec-alonzo FILEPATH] [--spec-conway FILEPATH] [--genesis-keys INT] @@ -1481,11 +829,11 @@ Usage: cardano-cli allegra genesis create-testnet-data [--spec-shelley FILEPATH] Create data to use for starting a testnet. -Usage: cardano-cli allegra genesis hash --genesis FILEPATH +Usage: cardano-cli shelley genesis hash --genesis FILEPATH Compute the hash of a genesis file -Usage: cardano-cli allegra governance +Usage: cardano-cli shelley governance ( create-mir-certificate | create-genesis-key-delegation-certificate | action @@ -1493,7 +841,7 @@ Usage: cardano-cli allegra governance Governance commands. -Usage: cardano-cli allegra governance create-mir-certificate +Usage: cardano-cli shelley governance create-mir-certificate ( ( --reserves | --treasury ) @@ -1507,7 +855,7 @@ Usage: cardano-cli allegra governance create-mir-certificate Create an MIR (Move Instantaneous Rewards) certificate -Usage: cardano-cli allegra governance create-mir-certificate stake-addresses +Usage: cardano-cli shelley governance create-mir-certificate stake-addresses ( --reserves | --treasury ) @@ -1517,19 +865,19 @@ Usage: cardano-cli allegra governance create-mir-certificate stake-addresses Create an MIR certificate to pay stake addresses -Usage: cardano-cli allegra governance create-mir-certificate transfer-to-treasury --transfer LOVELACE +Usage: cardano-cli shelley governance create-mir-certificate transfer-to-treasury --transfer LOVELACE --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot -Usage: cardano-cli allegra governance create-mir-certificate transfer-to-rewards --transfer LOVELACE +Usage: cardano-cli shelley governance create-mir-certificate transfer-to-rewards --transfer LOVELACE --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot -Usage: cardano-cli allegra governance create-genesis-key-delegation-certificate +Usage: cardano-cli shelley governance create-genesis-key-delegation-certificate ( --genesis-verification-key STRING | --genesis-verification-key-file FILEPATH | --genesis-verification-key-hash STRING @@ -1546,11 +894,11 @@ Usage: cardano-cli allegra governance create-genesis-key-delegation-certificate Create a genesis key delegation certificate -Usage: cardano-cli allegra governance action create-protocol-parameters-update +Usage: cardano-cli shelley governance action create-protocol-parameters-update Governance action commands. -Usage: cardano-cli allegra governance action create-protocol-parameters-update --epoch NATURAL +Usage: cardano-cli shelley governance action create-protocol-parameters-update --epoch NATURAL (--genesis-verification-key-file FILEPATH) [--min-fee-linear LOVELACE] [--min-fee-constant LOVELACE] @@ -1566,17 +914,17 @@ Usage: cardano-cli allegra governance action create-protocol-parameters-update - [--monetary-expansion RATIONAL] [--min-pool-cost NATURAL] [--min-utxo-value NATURAL] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] [ --extra-entropy HEX | --reset-extra-entropy ] [--decentralization-parameter RATIONAL] - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] --out-file FILEPATH Create a protocol parameters update. -Usage: cardano-cli allegra node +Usage: cardano-cli shelley node ( key-gen | key-gen-KES | key-gen-VRF @@ -1587,7 +935,7 @@ Usage: cardano-cli allegra node Node operation commands. -Usage: cardano-cli allegra node key-gen [--key-output-format STRING] +Usage: cardano-cli shelley node key-gen [--key-output-format STRING] --cold-verification-key-file FILEPATH --cold-signing-key-file FILEPATH --operational-certificate-issue-counter-file FILEPATH @@ -1595,19 +943,19 @@ Usage: cardano-cli allegra node key-gen [--key-output-format STRING] Create a key pair for a node operator's offline key and a new certificate issue counter -Usage: cardano-cli allegra node key-gen-KES [--key-output-format STRING] +Usage: cardano-cli shelley node key-gen-KES [--key-output-format STRING] --verification-key-file FILEPATH --signing-key-file FILEPATH Create a key pair for a node KES operational key -Usage: cardano-cli allegra node key-gen-VRF [--key-output-format STRING] +Usage: cardano-cli shelley node key-gen-VRF [--key-output-format STRING] --verification-key-file FILEPATH --signing-key-file FILEPATH Create a key pair for a node VRF operational key -Usage: cardano-cli allegra node key-hash-VRF +Usage: cardano-cli shelley node key-hash-VRF ( --verification-key STRING | --verification-key-file FILEPATH ) @@ -1615,7 +963,7 @@ Usage: cardano-cli allegra node key-hash-VRF Print hash of a node's operational VRF key. -Usage: cardano-cli allegra node new-counter +Usage: cardano-cli shelley node new-counter ( --stake-pool-verification-key STRING | --genesis-delegate-verification-key STRING | --cold-verification-key-file FILEPATH @@ -1625,7 +973,7 @@ Usage: cardano-cli allegra node new-counter Create a new certificate issue counter -Usage: cardano-cli allegra node issue-op-cert +Usage: cardano-cli shelley node issue-op-cert ( --kes-verification-key STRING | --kes-verification-key-file FILEPATH ) @@ -1636,7 +984,7 @@ Usage: cardano-cli allegra node issue-op-cert Issue a node operational certificate -Usage: cardano-cli allegra query +Usage: cardano-cli shelley query ( protocol-parameters | tip | stake-pools @@ -1657,7 +1005,7 @@ Usage: cardano-cli allegra query Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli allegra query protocol-parameters --socket-path SOCKET_PATH +Usage: cardano-cli shelley query protocol-parameters --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -1667,14 +1015,14 @@ Usage: cardano-cli allegra query protocol-parameters --socket-path SOCKET_PATH Get the node's current protocol parameters -Usage: cardano-cli allegra query tip --socket-path SOCKET_PATH +Usage: cardano-cli shelley query tip --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) -Usage: cardano-cli allegra query stake-pools --socket-path SOCKET_PATH +Usage: cardano-cli shelley query stake-pools --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -1685,7 +1033,7 @@ Usage: cardano-cli allegra query stake-pools --socket-path SOCKET_PATH Get the node's current set of stake pool ids -Usage: cardano-cli allegra query stake-distribution --socket-path SOCKET_PATH +Usage: cardano-cli shelley query stake-distribution --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -1698,7 +1046,7 @@ Usage: cardano-cli allegra query stake-distribution --socket-path SOCKET_PATH Get the node's current aggregated stake distribution -Usage: cardano-cli allegra query stake-address-info --socket-path SOCKET_PATH +Usage: cardano-cli shelley query stake-address-info --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] --address ADDRESS @@ -1709,7 +1057,7 @@ Usage: cardano-cli allegra query stake-address-info --socket-path SOCKET_PATH Get the current delegations and reward accounts filtered by stake address. -Usage: cardano-cli allegra query utxo --socket-path SOCKET_PATH +Usage: cardano-cli shelley query utxo --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --whole-utxo | (--address ADDRESS) @@ -1721,7 +1069,7 @@ Usage: cardano-cli allegra query utxo --socket-path SOCKET_PATH Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli allegra query ledger-state --socket-path SOCKET_PATH +Usage: cardano-cli shelley query ledger-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -1732,7 +1080,7 @@ Usage: cardano-cli allegra query ledger-state --socket-path SOCKET_PATH Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) -Usage: cardano-cli allegra query protocol-state --socket-path SOCKET_PATH +Usage: cardano-cli shelley query protocol-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -1743,7 +1091,7 @@ Usage: cardano-cli allegra query protocol-state --socket-path SOCKET_PATH Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) -Usage: cardano-cli allegra query stake-snapshot --socket-path SOCKET_PATH +Usage: cardano-cli shelley query stake-snapshot --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -1757,7 +1105,7 @@ Usage: cardano-cli allegra query stake-snapshot --socket-path SOCKET_PATH Obtain the three stake snapshots for a pool, plus the total active stake (advanced command) -Usage: cardano-cli allegra query pool-params --socket-path SOCKET_PATH +Usage: cardano-cli shelley query pool-params --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -1772,7 +1120,7 @@ Usage: cardano-cli allegra query pool-params --socket-path SOCKET_PATH (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced command) -Usage: cardano-cli allegra query leadership-schedule --socket-path SOCKET_PATH +Usage: cardano-cli shelley query leadership-schedule --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -1792,7 +1140,7 @@ Usage: cardano-cli allegra query leadership-schedule --socket-path SOCKET_PATH Get the slots the node is expected to mint a block in (advanced command) -Usage: cardano-cli allegra query kes-period-info --socket-path SOCKET_PATH +Usage: cardano-cli shelley query kes-period-info --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -1804,7 +1152,7 @@ Usage: cardano-cli allegra query kes-period-info --socket-path SOCKET_PATH Get information about the current KES period and your node's operational certificate. -Usage: cardano-cli allegra query pool-state --socket-path SOCKET_PATH +Usage: cardano-cli shelley query pool-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -1817,7 +1165,7 @@ Usage: cardano-cli allegra query pool-state --socket-path SOCKET_PATH Dump the pool state -Usage: cardano-cli allegra query tx-mempool --socket-path SOCKET_PATH +Usage: cardano-cli shelley query tx-mempool --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -1828,19 +1176,19 @@ Usage: cardano-cli allegra query tx-mempool --socket-path SOCKET_PATH Local Mempool info -Usage: cardano-cli allegra query tx-mempool info +Usage: cardano-cli shelley query tx-mempool info Ask the node about the current mempool's capacity and sizes -Usage: cardano-cli allegra query tx-mempool next-tx +Usage: cardano-cli shelley query tx-mempool next-tx Requests the next transaction from the mempool's current list -Usage: cardano-cli allegra query tx-mempool tx-exists TX_ID +Usage: cardano-cli shelley query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool -Usage: cardano-cli allegra query slot-number --socket-path SOCKET_PATH +Usage: cardano-cli shelley query slot-number --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -1850,7 +1198,7 @@ Usage: cardano-cli allegra query slot-number --socket-path SOCKET_PATH Query slot number for UTC timestamp -Usage: cardano-cli allegra query ref-script-size --socket-path SOCKET_PATH +Usage: cardano-cli shelley query ref-script-size --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] (--tx-in TX-IN) @@ -1865,7 +1213,7 @@ Usage: cardano-cli allegra query ref-script-size --socket-path SOCKET_PATH Calculate the reference input scripts size in bytes for provided transaction inputs. -Usage: cardano-cli allegra stake-address +Usage: cardano-cli shelley stake-address ( key-gen | key-hash | build @@ -1876,13 +1224,13 @@ Usage: cardano-cli allegra stake-address Stake address commands. -Usage: cardano-cli allegra stake-address key-gen [--key-output-format STRING] +Usage: cardano-cli shelley stake-address key-gen [--key-output-format STRING] --verification-key-file FILEPATH --signing-key-file FILEPATH Create a stake address key pair -Usage: cardano-cli allegra stake-address key-hash +Usage: cardano-cli shelley stake-address key-hash ( --stake-verification-key STRING | --stake-verification-key-file FILEPATH ) @@ -1890,7 +1238,7 @@ Usage: cardano-cli allegra stake-address key-hash Print the hash of a stake address key -Usage: cardano-cli allegra stake-address build +Usage: cardano-cli shelley stake-address build ( --stake-verification-key STRING | --stake-verification-key-file FILEPATH | --stake-key-hash HASH @@ -1903,7 +1251,7 @@ Usage: cardano-cli allegra stake-address build Build a stake address -Usage: cardano-cli allegra stake-address registration-certificate +Usage: cardano-cli shelley stake-address registration-certificate ( --stake-verification-key STRING | --stake-verification-key-file FILEPATH | --stake-key-hash HASH @@ -1914,7 +1262,7 @@ Usage: cardano-cli allegra stake-address registration-certificate Create a stake address registration certificate -Usage: cardano-cli allegra stake-address deregistration-certificate +Usage: cardano-cli shelley stake-address deregistration-certificate ( --stake-verification-key STRING | --stake-verification-key-file FILEPATH | --stake-key-hash HASH @@ -1925,7 +1273,7 @@ Usage: cardano-cli allegra stake-address deregistration-certificate Create a stake address deregistration certificate -Usage: cardano-cli allegra stake-address stake-delegation-certificate +Usage: cardano-cli shelley stake-address stake-delegation-certificate ( --stake-verification-key STRING | --stake-verification-key-file FILEPATH | --stake-key-hash HASH @@ -1941,7 +1289,7 @@ Usage: cardano-cli allegra stake-address stake-delegation-certificate Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. -Usage: cardano-cli allegra stake-pool +Usage: cardano-cli shelley stake-pool ( registration-certificate | deregistration-certificate | id @@ -1950,7 +1298,7 @@ Usage: cardano-cli allegra stake-pool Stake pool commands. -Usage: cardano-cli allegra stake-pool registration-certificate +Usage: cardano-cli shelley stake-pool registration-certificate ( --stake-pool-verification-key STRING | --cold-verification-key-file FILEPATH ) @@ -1982,7 +1330,7 @@ Usage: cardano-cli allegra stake-pool registration-certificate Create a stake pool registration certificate -Usage: cardano-cli allegra stake-pool deregistration-certificate +Usage: cardano-cli shelley stake-pool deregistration-certificate ( --stake-pool-verification-key STRING | --cold-verification-key-file FILEPATH ) @@ -1991,7 +1339,7 @@ Usage: cardano-cli allegra stake-pool deregistration-certificate Create a stake pool deregistration certificate -Usage: cardano-cli allegra stake-pool id +Usage: cardano-cli shelley stake-pool id ( --stake-pool-verification-key STRING | --cold-verification-key-file FILEPATH ) @@ -2000,22 +1348,22 @@ Usage: cardano-cli allegra stake-pool id Build pool id from the offline key -Usage: cardano-cli allegra stake-pool metadata-hash --pool-metadata-file FILEPATH +Usage: cardano-cli shelley stake-pool metadata-hash --pool-metadata-file FILEPATH [--out-file FILEPATH] Print the hash of pool metadata. -Usage: cardano-cli allegra text-view decode-cbor +Usage: cardano-cli shelley text-view decode-cbor Commands for dealing with Shelley TextView files. Transactions, addresses etc are stored on disk as TextView files. -Usage: cardano-cli allegra text-view decode-cbor --in-file FILEPATH +Usage: cardano-cli shelley text-view decode-cbor --in-file FILEPATH [--out-file FILEPATH] Print a TextView file as decoded CBOR. -Usage: cardano-cli allegra transaction +Usage: cardano-cli shelley transaction ( build-raw | build | sign @@ -2032,7 +1380,7 @@ Usage: cardano-cli allegra transaction Transaction commands. -Usage: cardano-cli allegra transaction build-raw +Usage: cardano-cli shelley transaction build-raw [ --script-valid | --script-invalid ] @@ -2160,7 +1508,7 @@ Usage: cardano-cli allegra transaction build-raw Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m -Usage: cardano-cli allegra transaction build --socket-path SOCKET_PATH +Usage: cardano-cli shelley transaction build --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -2284,7 +1632,7 @@ Usage: cardano-cli allegra transaction build --socket-path SOCKET_PATH Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m -Usage: cardano-cli allegra transaction sign +Usage: cardano-cli shelley transaction sign ( --tx-body-file FILEPATH | --tx-file FILEPATH ) @@ -2297,7 +1645,7 @@ Usage: cardano-cli allegra transaction sign Sign a transaction -Usage: cardano-cli allegra transaction witness --tx-body-file FILEPATH +Usage: cardano-cli shelley transaction witness --tx-body-file FILEPATH --signing-key-file FILEPATH [--address STRING] [ --mainnet @@ -2307,19 +1655,19 @@ Usage: cardano-cli allegra transaction witness --tx-body-file FILEPATH Create a transaction witness -Usage: cardano-cli allegra transaction assemble --tx-body-file FILEPATH +Usage: cardano-cli shelley transaction assemble --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli allegra transaction sign-witness --tx-body-file FILEPATH +Usage: cardano-cli shelley transaction sign-witness --tx-body-file FILEPATH [--witness-file FILEPATH] --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli allegra transaction submit --socket-path SOCKET_PATH +Usage: cardano-cli shelley transaction submit --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -2330,11 +1678,11 @@ Usage: cardano-cli allegra transaction submit --socket-path SOCKET_PATH Submit a transaction to the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli allegra transaction policyid --script-file FILEPATH +Usage: cardano-cli shelley transaction policyid --script-file FILEPATH Calculate the PolicyId from the monetary policy script. -Usage: cardano-cli allegra transaction calculate-min-fee --tx-body-file FILEPATH +Usage: cardano-cli shelley transaction calculate-min-fee --tx-body-file FILEPATH --protocol-params-file FILEPATH --witness-count NATURAL [--byron-witness-count NATURAL] @@ -2351,7 +1699,7 @@ Usage: cardano-cli allegra transaction calculate-min-fee --tx-body-file FILEPATH Calculate the minimum fee for a transaction. -Usage: cardano-cli allegra transaction calculate-min-required-utxo --protocol-params-file FILEPATH +Usage: cardano-cli shelley transaction calculate-min-required-utxo --protocol-params-file FILEPATH --tx-out ADDRESS VALUE [ --tx-out-datum-hash HASH | --tx-out-datum-hash-cbor-file CBOR_FILE @@ -2368,7 +1716,7 @@ Usage: cardano-cli allegra transaction calculate-min-required-utxo --protocol-pa Calculate the minimum required UTxO for a transaction output. -Usage: cardano-cli allegra transaction calculate-min-value --protocol-params-file FILEPATH +Usage: cardano-cli shelley transaction calculate-min-value --protocol-params-file FILEPATH --tx-out ADDRESS VALUE [ --tx-out-datum-hash HASH | --tx-out-datum-hash-cbor-file CBOR_FILE @@ -2385,7 +1733,7 @@ Usage: cardano-cli allegra transaction calculate-min-value --protocol-params-fil DEPRECATED: Use 'calculate-min-required-utxo' instead. -Usage: cardano-cli allegra transaction hash-script-data +Usage: cardano-cli shelley transaction hash-script-data ( --script-data-cbor-file CBOR_FILE | --script-data-file JSON_FILE | --script-data-value JSON_VALUE @@ -2393,550 +1741,566 @@ Usage: cardano-cli allegra transaction hash-script-data Calculate the hash of script data. -Usage: cardano-cli allegra transaction txid +Usage: cardano-cli shelley transaction txid ( --tx-body-file FILEPATH | --tx-file FILEPATH ) Print a transaction identifier. -Usage: cardano-cli allegra transaction view +Usage: cardano-cli shelley transaction view This command has been removed. Please use "debug transaction view" instead. -Usage: cardano-cli mary - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +Usage: cardano-cli allegra + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) - Mary era commands - DEPRECATED - will be removed in the future + Allegra era commands - DEPRECATED - will be removed in the future -Usage: cardano-cli mary address (key-gen | key-hash | build | info) +Usage: cardano-cli allegra address (key-gen | key-hash | build | info) Payment address commands. -Usage: cardano-cli mary address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli allegra address key-gen [--key-output-format STRING] + [ --normal-key + | --extended-key + | --byron-key + ] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create an address key pair. -Usage: cardano-cli mary address key-hash +Usage: cardano-cli allegra address key-hash + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + ) + [--out-file FILEPATH] + + Print the hash of an address key. + +Usage: cardano-cli allegra address build ( --payment-verification-key STRING | --payment-verification-key-file FILEPATH + | --payment-script-file FILEPATH ) + [ --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ] + (--mainnet | --testnet-magic NATURAL) [--out-file FILEPATH] - Print the hash of an address key. - -Usage: cardano-cli mary address build - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - | --payment-script-file FILEPATH - ) - [ --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] - Build a Shelley payment address, with optional delegation to a stake address. -Usage: cardano-cli mary address info --address ADDRESS [--out-file FILEPATH] +Usage: cardano-cli allegra address info --address ADDRESS [--out-file FILEPATH] Print information about an address. -Usage: cardano-cli mary key - ( verification-key - | non-extended-key - | convert-byron-key - | convert-byron-genesis-vkey - | convert-itn-key - | convert-itn-extended-key - | convert-itn-bip32-key - | convert-cardano-address-key - ) +Usage: cardano-cli allegra key + ( verification-key + | non-extended-key + | convert-byron-key + | convert-byron-genesis-vkey + | convert-itn-key + | convert-itn-extended-key + | convert-itn-bip32-key + | convert-cardano-address-key + ) Key utility commands. -Usage: cardano-cli mary key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli allegra key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH Get a verification key from a signing key. This supports all key types. -Usage: cardano-cli mary key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli allegra key non-extended-key --extended-verification-key-file FILEPATH + --verification-key-file FILEPATH Get a non-extended verification key from an extended verification key. This supports all extended key types. -Usage: cardano-cli mary key convert-byron-key [--password TEXT] - ( --byron-payment-key-type - | --legacy-byron-payment-key-type - | --byron-genesis-key-type - | --legacy-byron-genesis-key-type - | --byron-genesis-delegate-key-type - | --legacy-byron-genesis-delegate-key-type - ) - ( --byron-signing-key-file FILEPATH - | --byron-verification-key-file FILEPATH - ) - --out-file FILEPATH +Usage: cardano-cli allegra key convert-byron-key [--password TEXT] + ( --byron-payment-key-type + | --legacy-byron-payment-key-type + | --byron-genesis-key-type + | --legacy-byron-genesis-key-type + | --byron-genesis-delegate-key-type + | --legacy-byron-genesis-delegate-key-type + ) + ( --byron-signing-key-file FILEPATH + | --byron-verification-key-file FILEPATH + ) + --out-file FILEPATH Convert a Byron payment, genesis or genesis delegate key (signing or verification) to a corresponding Shelley-format key. -Usage: cardano-cli mary key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH +Usage: cardano-cli allegra key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 + --out-file FILEPATH Convert a Base64-encoded Byron genesis verification key to a Shelley genesis verification key -Usage: cardano-cli mary key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH +Usage: cardano-cli allegra key convert-itn-key + ( --itn-signing-key-file FILEPATH + | --itn-verification-key-file FILEPATH + ) + --out-file FILEPATH Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or verification key to a corresponding Shelley stake key -Usage: cardano-cli mary key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli allegra key convert-itn-extended-key --itn-signing-key-file FILEPATH + --out-file FILEPATH Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key to a corresponding Shelley stake signing key -Usage: cardano-cli mary key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli allegra key convert-itn-bip32-key --itn-signing-key-file FILEPATH + --out-file FILEPATH Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a corresponding Shelley stake signing key -Usage: cardano-cli mary key convert-cardano-address-key - ( --cc-cold-key - | --cc-hot-key - | --drep-key - | --shelley-payment-key - | --shelley-stake-key - | --icarus-payment-key - | --byron-payment-key - ) - --signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli allegra key convert-cardano-address-key + ( --cc-cold-key + | --cc-hot-key + | --drep-key + | --shelley-payment-key + | --shelley-stake-key + | --icarus-payment-key + | --byron-payment-key + ) + --signing-key-file FILEPATH + --out-file FILEPATH Convert a cardano-address extended signing key to a corresponding Shelley-format key. -Usage: cardano-cli mary genesis - ( key-gen-genesis - | key-gen-delegate - | key-gen-utxo - | key-hash - | get-ver-key - | initial-addr - | initial-txin - | create-cardano - | create - | create-staked - | create-testnet-data - | hash - ) +Usage: cardano-cli allegra genesis + ( key-gen-genesis + | key-gen-delegate + | key-gen-utxo + | key-hash + | get-ver-key + | initial-addr + | initial-txin + | create-cardano + | create + | create-staked + | create-testnet-data + | hash + ) Genesis block commands. -Usage: cardano-cli mary genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli allegra genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair -Usage: cardano-cli mary genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli allegra genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH Create a Shelley genesis delegate key pair -Usage: cardano-cli mary genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli allegra genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair -Usage: cardano-cli mary genesis key-hash --verification-key-file FILEPATH +Usage: cardano-cli allegra genesis key-hash --verification-key-file FILEPATH Print the identifier (hash) of a public key -Usage: cardano-cli mary genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli allegra genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key -Usage: cardano-cli mary genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli allegra genesis initial-addr --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] Get the address for an initial UTxO based on the verification key -Usage: cardano-cli mary genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli allegra genesis initial-txin --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] Get the TxIn for an initial UTxO based on the verification key -Usage: cardano-cli mary genesis create-cardano --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--security-param INT] - [--slot-length INT] - [--slot-coefficient RATIONAL] - ( --mainnet - | --testnet-magic NATURAL - ) - --byron-template FILEPATH - --shelley-template FILEPATH - --alonzo-template FILEPATH - --conway-template FILEPATH - [--node-config-template FILEPATH] +Usage: cardano-cli allegra genesis create-cardano --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--security-param INT] + [--slot-length INT] + [--slot-coefficient RATIONAL] + ( --mainnet + | --testnet-magic NATURAL + ) + --byron-template FILEPATH + --shelley-template FILEPATH + --alonzo-template FILEPATH + --conway-template FILEPATH + [--node-config-template FILEPATH] Create a Byron and Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli mary genesis create [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - (--mainnet | --testnet-magic NATURAL) +Usage: cardano-cli allegra genesis create [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + ( --mainnet + | --testnet-magic NATURAL + ) Create a Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli mary genesis create-staked [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--gen-pools INT] - [--gen-stake-delegs INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--supply-delegated LOVELACE] - ( --mainnet - | --testnet-magic NATURAL - ) - [--bulk-pool-cred-files INT] - [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] - [--relay-specification-file FILEPATH] +Usage: cardano-cli allegra genesis create-staked [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--gen-pools INT] + [--gen-stake-delegs INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--supply-delegated LOVELACE] + ( --mainnet + | --testnet-magic NATURAL + ) + [--bulk-pool-cred-files INT] + [--bulk-pools-per-file INT] + [--num-stuffed-utxo INT] + [--relay-specification-file FILEPATH] Create a staked Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli mary genesis create-testnet-data [--spec-shelley FILEPATH] - [--spec-alonzo FILEPATH] - [--spec-conway FILEPATH] - [--genesis-keys INT] - [--pools INT] - [ --stake-delegators INT - | --transient-stake-delegators INT - ] - [ --drep-keys INT - | --transient-drep-keys INT - ] - [--stuffed-utxo INT] - [--utxo-keys INT] - [--total-supply LOVELACE] - [--delegated-supply LOVELACE] - [--testnet-magic NATURAL] - [--relays FILEPATH] - [--start-time UTC-TIME] - --out-dir DIR +Usage: cardano-cli allegra genesis create-testnet-data [--spec-shelley FILEPATH] + [--spec-alonzo FILEPATH] + [--spec-conway FILEPATH] + [--genesis-keys INT] + [--pools INT] + [ --stake-delegators INT + | --transient-stake-delegators INT + ] + [ --drep-keys INT + | --transient-drep-keys INT + ] + [--stuffed-utxo INT] + [--utxo-keys INT] + [--total-supply LOVELACE] + [--delegated-supply LOVELACE] + [--testnet-magic NATURAL] + [--relays FILEPATH] + [--start-time UTC-TIME] + --out-dir DIR Create data to use for starting a testnet. -Usage: cardano-cli mary genesis hash --genesis FILEPATH +Usage: cardano-cli allegra genesis hash --genesis FILEPATH Compute the hash of a genesis file -Usage: cardano-cli mary governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) +Usage: cardano-cli allegra governance + ( create-mir-certificate + | create-genesis-key-delegation-certificate + | action + ) Governance commands. -Usage: cardano-cli mary governance create-mir-certificate - ( ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - | stake-addresses - | transfer-to-treasury - | transfer-to-rewards - ) +Usage: cardano-cli allegra governance create-mir-certificate + ( ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH + | stake-addresses + | transfer-to-treasury + | transfer-to-rewards + ) Create an MIR (Move Instantaneous Rewards) certificate -Usage: cardano-cli mary governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli allegra governance create-mir-certificate stake-addresses + ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH Create an MIR certificate to pay stake addresses -Usage: cardano-cli mary governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli allegra governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot -Usage: cardano-cli mary governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli allegra governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot -Usage: cardano-cli mary governance create-genesis-key-delegation-certificate - ( --genesis-verification-key STRING - | --genesis-verification-key-file FILEPATH - | --genesis-verification-key-hash STRING - ) - ( --genesis-delegate-verification-key STRING - | --genesis-delegate-verification-key-file FILEPATH - | --genesis-delegate-verification-key-hash STRING - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - | --vrf-verification-key-hash STRING - ) - --out-file FILEPATH +Usage: cardano-cli allegra governance create-genesis-key-delegation-certificate + ( --genesis-verification-key STRING + | --genesis-verification-key-file FILEPATH + | --genesis-verification-key-hash STRING + ) + ( --genesis-delegate-verification-key STRING + | --genesis-delegate-verification-key-file FILEPATH + | --genesis-delegate-verification-key-hash STRING + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + | --vrf-verification-key-hash STRING + ) + --out-file FILEPATH Create a genesis key delegation certificate -Usage: cardano-cli mary governance action create-protocol-parameters-update +Usage: cardano-cli allegra governance action create-protocol-parameters-update Governance action commands. -Usage: cardano-cli mary governance action create-protocol-parameters-update --epoch NATURAL - (--genesis-verification-key-file FILEPATH) - [--min-fee-linear LOVELACE] - [--min-fee-constant LOVELACE] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--max-block-header-size WORD16] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--treasury-expansion RATIONAL] - [--monetary-expansion RATIONAL] - [--min-pool-cost NATURAL] - [--min-utxo-value NATURAL] - [ --extra-entropy HEX - | --reset-extra-entropy - ] - [--decentralization-parameter RATIONAL] - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] - --out-file FILEPATH +Usage: cardano-cli allegra governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--min-fee-linear LOVELACE] + [--min-fee-constant LOVELACE] + [--max-block-body-size WORD32] + [--max-tx-size WORD32] + [--max-block-header-size WORD16] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--pool-retirement-epoch-interval WORD32] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--treasury-expansion RATIONAL] + [--monetary-expansion RATIONAL] + [--min-pool-cost NATURAL] + [--min-utxo-value NATURAL] + [ --extra-entropy HEX + | --reset-extra-entropy + ] + [--decentralization-parameter RATIONAL] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + --out-file FILEPATH Create a protocol parameters update. -Usage: cardano-cli mary node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli allegra node + ( key-gen + | key-gen-KES + | key-gen-VRF + | key-hash-VRF + | new-counter + | issue-op-cert + ) Node operation commands. -Usage: cardano-cli mary node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli allegra node key-gen [--key-output-format STRING] + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH Create a key pair for a node operator's offline key and a new certificate issue counter -Usage: cardano-cli mary node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli allegra node key-gen-KES [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a key pair for a node KES operational key -Usage: cardano-cli mary node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli allegra node key-gen-VRF [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a key pair for a node VRF operational key -Usage: cardano-cli mary node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli allegra node key-hash-VRF + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + [--out-file FILEPATH] Print hash of a node's operational VRF key. -Usage: cardano-cli mary node new-counter - ( --stake-pool-verification-key STRING - | --genesis-delegate-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --counter-value INT - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli allegra node new-counter + ( --stake-pool-verification-key STRING + | --genesis-delegate-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + --counter-value INT + --operational-certificate-issue-counter-file FILEPATH Create a new certificate issue counter -Usage: cardano-cli mary node issue-op-cert - ( --kes-verification-key STRING - | --kes-verification-key-file FILEPATH - ) - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - --kes-period NATURAL - --out-file FILEPATH +Usage: cardano-cli allegra node issue-op-cert + ( --kes-verification-key STRING + | --kes-verification-key-file FILEPATH + ) + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH + --kes-period NATURAL + --out-file FILEPATH Issue a node operational certificate -Usage: cardano-cli mary query - ( protocol-parameters - | tip - | stake-pools - | stake-distribution - | stake-address-info - | utxo - | ledger-state - | protocol-state - | stake-snapshot - | leadership-schedule - | kes-period-info - | pool-state - | tx-mempool - | slot-number - | ref-script-size - ) +Usage: cardano-cli allegra query + ( protocol-parameters + | tip + | stake-pools + | stake-distribution + | stake-address-info + | utxo + | ledger-state + | protocol-state + | stake-snapshot + | leadership-schedule + | kes-period-info + | pool-state + | tx-mempool + | slot-number + | ref-script-size + ) Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli mary query protocol-parameters --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli allegra query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] Get the node's current protocol parameters -Usage: cardano-cli mary query tip --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli allegra query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) -Usage: cardano-cli mary query stake-pools --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli allegra query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids -Usage: cardano-cli mary query stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] +Usage: cardano-cli allegra query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --output-json + | --output-text + ] + [--out-file FILEPATH] Get the node's current aggregated stake distribution -Usage: cardano-cli mary query stake-address-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - --address ADDRESS - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] - - Get the current delegations and reward accounts filtered by stake address. - -Usage: cardano-cli mary query utxo --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - ( --whole-utxo - | (--address ADDRESS) - | (--tx-in TX-IN) - ) - (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli allegra query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] + + Get the current delegations and reward accounts filtered by stake address. + +Usage: cardano-cli allegra query utxo --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + ( --whole-utxo + | (--address ADDRESS) + | (--tx-in TX-IN) + ) + (--mainnet | --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli mary query ledger-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli allegra query ledger-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) -Usage: cardano-cli mary query protocol-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli allegra query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) -Usage: cardano-cli mary query stake-snapshot --socket-path SOCKET_PATH +Usage: cardano-cli allegra query stake-snapshot --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--out-file FILEPATH] + + Obtain the three stake snapshots for a pool, plus the total active stake + (advanced command) + +Usage: cardano-cli allegra query pool-params --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -2947,1298 +2311,1164 @@ Usage: cardano-cli mary query stake-snapshot --socket-path SOCKET_PATH ) [--out-file FILEPATH] - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) - -Usage: cardano-cli mary query pool-params --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] - DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced command) -Usage: cardano-cli mary query leadership-schedule --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --genesis FILEPATH - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --vrf-signing-key-file FILEPATH - (--current | --next) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] +Usage: cardano-cli allegra query leadership-schedule --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --genesis FILEPATH + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --vrf-signing-key-file FILEPATH + (--current | --next) + [ --output-json + | --output-text + ] + [--out-file FILEPATH] Get the slots the node is expected to mint a block in (advanced command) -Usage: cardano-cli mary query kes-period-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli allegra query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --op-cert-file FILEPATH + [--out-file FILEPATH] Get information about the current KES period and your node's operational certificate. -Usage: cardano-cli mary query pool-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] +Usage: cardano-cli allegra query pool-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--out-file FILEPATH] Dump the pool state -Usage: cardano-cli mary query tx-mempool --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - (info | next-tx | tx-exists) - [--out-file FILEPATH] - - Local Mempool info - -Usage: cardano-cli mary query tx-mempool info - - Ask the node about the current mempool's capacity and sizes - -Usage: cardano-cli mary query tx-mempool next-tx - - Requests the next transaction from the mempool's current list - -Usage: cardano-cli mary query tx-mempool tx-exists TX_ID - - Query if a particular transaction exists in the mempool - -Usage: cardano-cli mary query slot-number --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - TIMESTAMP - - Query slot number for UTC timestamp - -Usage: cardano-cli mary query ref-script-size --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - (--tx-in TX-IN) - ( --mainnet - | --testnet-magic NATURAL - ) - [--output-json | --output-text] - [--out-file FILEPATH] - - Calculate the reference input scripts size in bytes for provided transaction - inputs. - -Usage: cardano-cli mary stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate - ) - - Stake address commands. - -Usage: cardano-cli mary stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH - - Create a stake address key pair - -Usage: cardano-cli mary stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] - - Print the hash of a stake address key - -Usage: cardano-cli mary stake-address build - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - ) +Usage: cardano-cli allegra query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] ( --mainnet | --testnet-magic NATURAL ) + (info | next-tx | tx-exists) [--out-file FILEPATH] - Build a stake address - -Usage: cardano-cli mary stake-address registration-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - --out-file FILEPATH - - Create a stake address registration certificate - -Usage: cardano-cli mary stake-address deregistration-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - --out-file FILEPATH - - Create a stake address deregistration certificate - -Usage: cardano-cli mary stake-address stake-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --out-file FILEPATH - - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. + Local Mempool info -Usage: cardano-cli mary stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) +Usage: cardano-cli allegra query tx-mempool info - Stake pool commands. + Ask the node about the current mempool's capacity and sizes -Usage: cardano-cli mary stake-pool registration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH +Usage: cardano-cli allegra query tx-mempool next-tx - Create a stake pool registration certificate + Requests the next transaction from the mempool's current list -Usage: cardano-cli mary stake-pool deregistration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --epoch NATURAL - --out-file FILEPATH +Usage: cardano-cli allegra query tx-mempool tx-exists TX_ID - Create a stake pool deregistration certificate + Query if a particular transaction exists in the mempool -Usage: cardano-cli mary stake-pool id - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli allegra query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + TIMESTAMP - Build pool id from the offline key + Query slot number for UTC timestamp -Usage: cardano-cli mary stake-pool metadata-hash --pool-metadata-file FILEPATH +Usage: cardano-cli allegra query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + ( --mainnet + | --testnet-magic NATURAL + ) + [ --output-json + | --output-text + ] [--out-file FILEPATH] - Print the hash of pool metadata. + Calculate the reference input scripts size in bytes for provided transaction + inputs. -Usage: cardano-cli mary text-view decode-cbor +Usage: cardano-cli allegra stake-address + ( key-gen + | key-hash + | build + | registration-certificate + | deregistration-certificate + | stake-delegation-certificate + ) - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + Stake address commands. -Usage: cardano-cli mary text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli allegra stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Print a TextView file as decoded CBOR. + Create a stake address key pair -Usage: cardano-cli mary transaction - ( build-raw - | build - | build-estimate - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - | view - ) +Usage: cardano-cli allegra stake-address key-hash + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + ) + [--out-file FILEPATH] - Transaction commands. + Print the hash of a stake address key -Usage: cardano-cli mary transaction build-raw - [ --script-valid - | --script-invalid - ] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ) - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - --spending-reference-tx-in-execution-units (INT, INT) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - ( --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ) - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - ) - --tx-in-execution-units (INT, INT)] - ]) - [--read-only-tx-in-reference TX-IN] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - [--mint VALUE - ( --mint-script-file FILEPATH - [ - ( --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ) - --mint-execution-units (INT, INT)] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --mint-reference-tx-in-execution-units (INT, INT) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - --fee LOVELACE - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ - ( --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ) - --certificate-execution-units (INT, INT)] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - --certificate-reference-tx-in-execution-units (INT, INT) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ - ( --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ) - --withdrawal-execution-units (INT, INT)] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - --withdrawal-reference-tx-in-execution-units (INT, INT) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--protocol-params-file FILEPATH] - [--update-proposal-file FILEPATH] - --out-file FILEPATH +Usage: cardano-cli allegra stake-address build + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + ) + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Build a transaction (low-level, inconvenient) + Build a stake address - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m +Usage: cardano-cli allegra stake-address registration-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + --out-file FILEPATH -Usage: cardano-cli mary transaction build --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--script-valid | --script-invalid] - [--witness-override WORD] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ) - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - ( --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ) - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - )] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--update-proposal-file FILEPATH] - ( --out-file FILEPATH - | --calculate-plutus-script-cost FILEPATH - ) + Create a stake address registration certificate - Build a balanced transaction (automatically calculates fees) +Usage: cardano-cli allegra stake-address deregistration-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + --out-file FILEPATH - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + Create a stake address deregistration certificate -Usage: cardano-cli mary transaction build-estimate - [ --script-valid - | --script-invalid - ] - --shelley-key-witnesses INT - [--byron-key-witnesses Int] - --protocol-params-file FILEPATH - --total-utxo-value VALUE - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present +Usage: cardano-cli allegra stake-address stake-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --out-file FILEPATH + + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. + +Usage: cardano-cli allegra stake-pool + ( registration-certificate + | deregistration-certificate + | id + | metadata-hash + ) + + Stake pool commands. + +Usage: cardano-cli allegra stake-pool registration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + ) + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + ( --pool-reward-account-verification-key STRING + | --pool-reward-account-verification-key-file FILEPATH + ) + ( --pool-owner-verification-key STRING + | --pool-owner-stake-verification-key-file FILEPATH + ) + [ [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT + | --single-host-pool-relay STRING + [--pool-relay-port INT] + | --multi-host-pool-relay STRING + ] + [--metadata-url URL + --metadata-hash HASH] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILEPATH + + Create a stake pool registration certificate + +Usage: cardano-cli allegra stake-pool deregistration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + --epoch NATURAL + --out-file FILEPATH + + Create a stake pool deregistration certificate + +Usage: cardano-cli allegra stake-pool id + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] + + Build pool id from the offline key + +Usage: cardano-cli allegra stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] + + Print the hash of pool metadata. + +Usage: cardano-cli allegra text-view decode-cbor + + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. + +Usage: cardano-cli allegra text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] + + Print a TextView file as decoded CBOR. + +Usage: cardano-cli allegra transaction + ( build-raw + | build + | sign + | witness + | assemble + | submit + | policyid + | calculate-min-fee + | calculate-min-required-utxo + | hash-script-data + | txid + | view + ) + + Transaction commands. + +Usage: cardano-cli allegra transaction build-raw + [ --script-valid + | --script-invalid + ] + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ) + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + --spending-reference-tx-in-execution-units (INT, INT) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + ( --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present ) - ( --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 + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --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-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-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 + [--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 ) - --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 + --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 ) - ( --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 + --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-reference-tx-in-execution-units (INT, INT) - ]] - [--tx-total-collateral INTEGER] - [--reference-script-size NATURAL] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--update-proposal-file FILEPATH] - --out-file FILEPATH + --withdrawal-execution-units (INT, INT)] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + --withdrawal-reference-tx-in-execution-units (INT, INT) + ]] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--protocol-params-file FILEPATH] + [--update-proposal-file FILEPATH] + --out-file FILEPATH + + Build a transaction (low-level, inconvenient) + + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + +Usage: cardano-cli allegra transaction build --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --script-valid + | --script-invalid + ] + [--witness-override WORD] + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ) + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + ( --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present + ) + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + )] + ]) + [--read-only-tx-in-reference TX-IN] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-total-collateral INTEGER] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( --mint-script-file FILEPATH + [ --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + [--certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--update-proposal-file FILEPATH] + ( --out-file FILEPATH + | --calculate-plutus-script-cost FILEPATH + ) - Build a balanced transaction without access to a live node (automatically estimates fees) + Build a balanced transaction (automatically calculates fees) Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m -Usage: cardano-cli mary transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [--mainnet | --testnet-magic NATURAL] - --out-file FILEPATH - - Sign a transaction - -Usage: cardano-cli mary transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] +Usage: cardano-cli allegra transaction sign + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) + [--signing-key-file FILEPATH + [--address STRING]] [ --mainnet | --testnet-magic NATURAL ] --out-file FILEPATH + Sign a transaction + +Usage: cardano-cli allegra transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [ --mainnet + | --testnet-magic NATURAL + ] + --out-file FILEPATH + Create a transaction witness -Usage: cardano-cli mary transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH +Usage: cardano-cli allegra transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli mary transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH +Usage: cardano-cli allegra transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli mary transaction submit --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --tx-file FILEPATH +Usage: cardano-cli allegra transaction submit --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --tx-file FILEPATH Submit a transaction to the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli mary transaction policyid --script-file FILEPATH +Usage: cardano-cli allegra transaction policyid --script-file FILEPATH Calculate the PolicyId from the monetary policy script. -Usage: cardano-cli mary transaction calculate-min-fee --tx-body-file FILEPATH - --protocol-params-file FILEPATH - --witness-count NATURAL - [--byron-witness-count NATURAL] - [--reference-script-size NATURAL] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - [ --mainnet - | --testnet-magic NATURAL - ] - [--tx-in-count NATURAL] - [--tx-out-count NATURAL] +Usage: cardano-cli allegra transaction calculate-min-fee --tx-body-file FILEPATH + --protocol-params-file FILEPATH + --witness-count NATURAL + [--byron-witness-count NATURAL] + [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILEPATH] + [ --mainnet + | --testnet-magic NATURAL + ] + [--tx-in-count NATURAL] + [--tx-out-count NATURAL] Calculate the minimum fee for a transaction. -Usage: cardano-cli mary transaction calculate-min-required-utxo --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] +Usage: cardano-cli allegra transaction calculate-min-required-utxo --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] Calculate the minimum required UTxO for a transaction output. -Usage: cardano-cli mary transaction calculate-min-value --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] +Usage: cardano-cli allegra transaction calculate-min-value --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] DEPRECATED: Use 'calculate-min-required-utxo' instead. -Usage: cardano-cli mary transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) +Usage: cardano-cli allegra transaction hash-script-data + ( --script-data-cbor-file CBOR_FILE + | --script-data-file JSON_FILE + | --script-data-value JSON_VALUE + ) Calculate the hash of script data. -Usage: cardano-cli mary transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) +Usage: cardano-cli allegra transaction txid + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) Print a transaction identifier. -Usage: cardano-cli mary transaction view +Usage: cardano-cli allegra transaction view This command has been removed. Please use "debug transaction view" instead. -Usage: cardano-cli alonzo - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +Usage: cardano-cli mary + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) - Alonzo era commands - DEPRECATED - will be removed in the future + Mary era commands - DEPRECATED - will be removed in the future -Usage: cardano-cli alonzo address (key-gen | key-hash | build | info) +Usage: cardano-cli mary address (key-gen | key-hash | build | info) Payment address commands. -Usage: cardano-cli alonzo address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli mary address key-gen [--key-output-format STRING] + [ --normal-key + | --extended-key + | --byron-key + ] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create an address key pair. -Usage: cardano-cli alonzo address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli mary address key-hash + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + ) + [--out-file FILEPATH] Print the hash of an address key. -Usage: cardano-cli alonzo address build - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - | --payment-script-file FILEPATH - ) - [ --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli mary address build + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + | --payment-script-file FILEPATH + ) + [ --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Build a Shelley payment address, with optional delegation to a stake address. -Usage: cardano-cli alonzo address info --address ADDRESS [--out-file FILEPATH] +Usage: cardano-cli mary address info --address ADDRESS [--out-file FILEPATH] Print information about an address. -Usage: cardano-cli alonzo key - ( verification-key - | non-extended-key - | convert-byron-key - | convert-byron-genesis-vkey - | convert-itn-key - | convert-itn-extended-key - | convert-itn-bip32-key - | convert-cardano-address-key - ) +Usage: cardano-cli mary key + ( verification-key + | non-extended-key + | convert-byron-key + | convert-byron-genesis-vkey + | convert-itn-key + | convert-itn-extended-key + | convert-itn-bip32-key + | convert-cardano-address-key + ) Key utility commands. -Usage: cardano-cli alonzo key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli mary key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH Get a verification key from a signing key. This supports all key types. -Usage: cardano-cli alonzo key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli mary key non-extended-key --extended-verification-key-file FILEPATH + --verification-key-file FILEPATH Get a non-extended verification key from an extended verification key. This supports all extended key types. -Usage: cardano-cli alonzo key convert-byron-key [--password TEXT] - ( --byron-payment-key-type - | --legacy-byron-payment-key-type - | --byron-genesis-key-type - | --legacy-byron-genesis-key-type - | --byron-genesis-delegate-key-type - | --legacy-byron-genesis-delegate-key-type - ) - ( --byron-signing-key-file FILEPATH - | --byron-verification-key-file FILEPATH - ) - --out-file FILEPATH +Usage: cardano-cli mary key convert-byron-key [--password TEXT] + ( --byron-payment-key-type + | --legacy-byron-payment-key-type + | --byron-genesis-key-type + | --legacy-byron-genesis-key-type + | --byron-genesis-delegate-key-type + | --legacy-byron-genesis-delegate-key-type + ) + ( --byron-signing-key-file FILEPATH + | --byron-verification-key-file FILEPATH + ) + --out-file FILEPATH Convert a Byron payment, genesis or genesis delegate key (signing or verification) to a corresponding Shelley-format key. -Usage: cardano-cli alonzo key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH +Usage: cardano-cli mary key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 + --out-file FILEPATH Convert a Base64-encoded Byron genesis verification key to a Shelley genesis verification key -Usage: cardano-cli alonzo key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH +Usage: cardano-cli mary key convert-itn-key + ( --itn-signing-key-file FILEPATH + | --itn-verification-key-file FILEPATH + ) + --out-file FILEPATH Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or verification key to a corresponding Shelley stake key -Usage: cardano-cli alonzo key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli mary key convert-itn-extended-key --itn-signing-key-file FILEPATH + --out-file FILEPATH Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key to a corresponding Shelley stake signing key -Usage: cardano-cli alonzo key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli mary key convert-itn-bip32-key --itn-signing-key-file FILEPATH + --out-file FILEPATH Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a corresponding Shelley stake signing key -Usage: cardano-cli alonzo key convert-cardano-address-key - ( --cc-cold-key - | --cc-hot-key - | --drep-key - | --shelley-payment-key - | --shelley-stake-key - | --icarus-payment-key - | --byron-payment-key - ) - --signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli mary key convert-cardano-address-key + ( --cc-cold-key + | --cc-hot-key + | --drep-key + | --shelley-payment-key + | --shelley-stake-key + | --icarus-payment-key + | --byron-payment-key + ) + --signing-key-file FILEPATH + --out-file FILEPATH Convert a cardano-address extended signing key to a corresponding Shelley-format key. -Usage: cardano-cli alonzo genesis - ( key-gen-genesis - | key-gen-delegate - | key-gen-utxo - | key-hash - | get-ver-key - | initial-addr - | initial-txin - | create-cardano - | create - | create-staked - | create-testnet-data - | hash - ) +Usage: cardano-cli mary genesis + ( key-gen-genesis + | key-gen-delegate + | key-gen-utxo + | key-hash + | get-ver-key + | initial-addr + | initial-txin + | create-cardano + | create + | create-staked + | create-testnet-data + | hash + ) Genesis block commands. -Usage: cardano-cli alonzo genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli mary genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair -Usage: cardano-cli alonzo genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli mary genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH Create a Shelley genesis delegate key pair -Usage: cardano-cli alonzo genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli mary genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair -Usage: cardano-cli alonzo genesis key-hash --verification-key-file FILEPATH +Usage: cardano-cli mary genesis key-hash --verification-key-file FILEPATH Print the identifier (hash) of a public key -Usage: cardano-cli alonzo genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli mary genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key -Usage: cardano-cli alonzo genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli mary genesis initial-addr --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] Get the address for an initial UTxO based on the verification key -Usage: cardano-cli alonzo genesis initial-txin --verification-key-file FILEPATH +Usage: cardano-cli mary genesis initial-txin --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] + + Get the TxIn for an initial UTxO based on the verification key + +Usage: cardano-cli mary genesis create-cardano --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--security-param INT] + [--slot-length INT] + [--slot-coefficient RATIONAL] ( --mainnet | --testnet-magic NATURAL ) - [--out-file FILEPATH] - - Get the TxIn for an initial UTxO based on the verification key - -Usage: cardano-cli alonzo genesis create-cardano --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--security-param INT] - [--slot-length INT] - [--slot-coefficient RATIONAL] - ( --mainnet - | --testnet-magic NATURAL - ) - --byron-template FILEPATH - --shelley-template FILEPATH - --alonzo-template FILEPATH - --conway-template FILEPATH - [--node-config-template FILEPATH] + --byron-template FILEPATH + --shelley-template FILEPATH + --alonzo-template FILEPATH + --conway-template FILEPATH + [--node-config-template FILEPATH] Create a Byron and Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli alonzo genesis create [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - (--mainnet | --testnet-magic NATURAL) +Usage: cardano-cli mary genesis create [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + (--mainnet | --testnet-magic NATURAL) Create a Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli alonzo genesis create-staked [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--gen-pools INT] - [--gen-stake-delegs INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--supply-delegated LOVELACE] - ( --mainnet - | --testnet-magic NATURAL - ) - [--bulk-pool-cred-files INT] - [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] - [--relay-specification-file FILEPATH] +Usage: cardano-cli mary genesis create-staked [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--gen-pools INT] + [--gen-stake-delegs INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--supply-delegated LOVELACE] + ( --mainnet + | --testnet-magic NATURAL + ) + [--bulk-pool-cred-files INT] + [--bulk-pools-per-file INT] + [--num-stuffed-utxo INT] + [--relay-specification-file FILEPATH] Create a staked Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli alonzo genesis create-testnet-data [--spec-shelley FILEPATH] - [--spec-alonzo FILEPATH] - [--spec-conway FILEPATH] - [--genesis-keys INT] - [--pools INT] - [ --stake-delegators INT - | --transient-stake-delegators INT - ] - [ --drep-keys INT - | --transient-drep-keys INT - ] - [--stuffed-utxo INT] - [--utxo-keys INT] - [--total-supply LOVELACE] - [--delegated-supply LOVELACE] - [--testnet-magic NATURAL] - [--relays FILEPATH] - [--start-time UTC-TIME] - --out-dir DIR +Usage: cardano-cli mary genesis create-testnet-data [--spec-shelley FILEPATH] + [--spec-alonzo FILEPATH] + [--spec-conway FILEPATH] + [--genesis-keys INT] + [--pools INT] + [ --stake-delegators INT + | --transient-stake-delegators INT + ] + [ --drep-keys INT + | --transient-drep-keys INT + ] + [--stuffed-utxo INT] + [--utxo-keys INT] + [--total-supply LOVELACE] + [--delegated-supply LOVELACE] + [--testnet-magic NATURAL] + [--relays FILEPATH] + [--start-time UTC-TIME] + --out-dir DIR Create data to use for starting a testnet. -Usage: cardano-cli alonzo genesis hash --genesis FILEPATH +Usage: cardano-cli mary genesis hash --genesis FILEPATH Compute the hash of a genesis file -Usage: cardano-cli alonzo governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - ) +Usage: cardano-cli mary governance + ( create-mir-certificate + | create-genesis-key-delegation-certificate + | action + ) Governance commands. -Usage: cardano-cli alonzo governance create-mir-certificate - ( ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - | stake-addresses - | transfer-to-treasury - | transfer-to-rewards +Usage: cardano-cli mary governance create-mir-certificate + ( ( --reserves + | --treasury ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH + | stake-addresses + | transfer-to-treasury + | transfer-to-rewards + ) Create an MIR (Move Instantaneous Rewards) certificate -Usage: cardano-cli alonzo governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli mary governance create-mir-certificate stake-addresses + ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH Create an MIR certificate to pay stake addresses -Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli mary governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot -Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli mary governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot -Usage: cardano-cli alonzo governance create-genesis-key-delegation-certificate - ( --genesis-verification-key STRING - | --genesis-verification-key-file FILEPATH - | --genesis-verification-key-hash STRING - ) - ( --genesis-delegate-verification-key STRING - | --genesis-delegate-verification-key-file FILEPATH - | --genesis-delegate-verification-key-hash STRING - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - | --vrf-verification-key-hash STRING - ) - --out-file FILEPATH +Usage: cardano-cli mary governance create-genesis-key-delegation-certificate + ( --genesis-verification-key STRING + | --genesis-verification-key-file FILEPATH + | --genesis-verification-key-hash STRING + ) + ( --genesis-delegate-verification-key STRING + | --genesis-delegate-verification-key-file FILEPATH + | --genesis-delegate-verification-key-hash STRING + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + | --vrf-verification-key-hash STRING + ) + --out-file FILEPATH Create a genesis key delegation certificate -Usage: cardano-cli alonzo governance action create-protocol-parameters-update +Usage: cardano-cli mary governance action create-protocol-parameters-update Governance action commands. -Usage: cardano-cli alonzo governance action create-protocol-parameters-update --epoch NATURAL - (--genesis-verification-key-file FILEPATH) - [--min-fee-linear LOVELACE] - [--min-fee-constant LOVELACE] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--max-block-header-size WORD16] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--treasury-expansion RATIONAL] - [--monetary-expansion RATIONAL] - [--min-pool-cost NATURAL] - [ --extra-entropy HEX - | --reset-extra-entropy - ] - [--decentralization-parameter RATIONAL] - [--price-execution-steps RATIONAL - --price-execution-memory RATIONAL] - [--max-tx-execution-units (INT, INT)] - [--max-block-execution-units (INT, INT)] - [--max-value-size INT] - [--collateral-percent INT] - [--max-collateral-inputs INT] - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] - [--cost-model-file FILE] - --out-file FILEPATH - - Create a protocol parameters update. - -Usage: cardano-cli alonzo node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli mary governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--min-fee-linear LOVELACE] + [--min-fee-constant LOVELACE] + [--max-block-body-size WORD32] + [--max-tx-size WORD32] + [--max-block-header-size WORD16] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--pool-retirement-epoch-interval WORD32] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--treasury-expansion RATIONAL] + [--monetary-expansion RATIONAL] + [--min-pool-cost NATURAL] + [--min-utxo-value NATURAL] + [ --extra-entropy HEX + | --reset-extra-entropy + ] + [--decentralization-parameter RATIONAL] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + --out-file FILEPATH + + Create a protocol parameters update. + +Usage: cardano-cli mary node + ( key-gen + | key-gen-KES + | key-gen-VRF + | key-hash-VRF + | new-counter + | issue-op-cert + ) Node operation commands. -Usage: cardano-cli alonzo node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli mary node key-gen [--key-output-format STRING] + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH Create a key pair for a node operator's offline key and a new certificate issue counter -Usage: cardano-cli alonzo node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli mary node key-gen-KES [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a key pair for a node KES operational key -Usage: cardano-cli alonzo node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli mary node key-gen-VRF [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a key pair for a node VRF operational key -Usage: cardano-cli alonzo node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli mary node key-hash-VRF + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + [--out-file FILEPATH] Print hash of a node's operational VRF key. -Usage: cardano-cli alonzo node new-counter - ( --stake-pool-verification-key STRING - | --genesis-delegate-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --counter-value INT - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli mary node new-counter + ( --stake-pool-verification-key STRING + | --genesis-delegate-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + --counter-value INT + --operational-certificate-issue-counter-file FILEPATH Create a new certificate issue counter -Usage: cardano-cli alonzo node issue-op-cert - ( --kes-verification-key STRING - | --kes-verification-key-file FILEPATH - ) - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - --kes-period NATURAL - --out-file FILEPATH +Usage: cardano-cli mary node issue-op-cert + ( --kes-verification-key STRING + | --kes-verification-key-file FILEPATH + ) + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH + --kes-period NATURAL + --out-file FILEPATH Issue a node operational certificate -Usage: cardano-cli alonzo query - ( protocol-parameters - | tip - | stake-pools - | stake-distribution - | stake-address-info - | utxo - | ledger-state - | protocol-state - | stake-snapshot - | leadership-schedule - | kes-period-info - | pool-state - | tx-mempool - | slot-number - | ref-script-size - ) +Usage: cardano-cli mary query + ( protocol-parameters + | tip + | stake-pools + | stake-distribution + | stake-address-info + | utxo + | ledger-state + | protocol-state + | stake-snapshot + | leadership-schedule + | kes-period-info + | pool-state + | tx-mempool + | slot-number + | ref-script-size + ) Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli alonzo query protocol-parameters --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli mary query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] Get the node's current protocol parameters -Usage: cardano-cli alonzo query tip --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli mary query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Get the node's current tip (slot no, hash, block no) -Usage: cardano-cli alonzo query stake-pools --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli mary query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--output-json | --output-text] + [--out-file FILEPATH] Get the node's current set of stake pool ids -Usage: cardano-cli alonzo query stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] +Usage: cardano-cli mary query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --output-json + | --output-text + ] + [--out-file FILEPATH] Get the node's current aggregated stake distribution -Usage: cardano-cli alonzo query stake-address-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - --address ADDRESS - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli mary query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] Get the current delegations and reward accounts filtered by stake address. -Usage: cardano-cli alonzo query utxo --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - ( --whole-utxo - | (--address ADDRESS) - | (--tx-in TX-IN) - ) - (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli mary query utxo --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + ( --whole-utxo + | (--address ADDRESS) + | (--tx-in TX-IN) + ) + (--mainnet | --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli alonzo query ledger-state --socket-path SOCKET_PATH +Usage: cardano-cli mary query ledger-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] + + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced + command) + +Usage: cardano-cli mary query protocol-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -4246,181 +3476,175 @@ Usage: cardano-cli alonzo query ledger-state --socket-path SOCKET_PATH ) [--out-file FILEPATH] - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) - -Usage: cardano-cli alonzo query protocol-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced command) -Usage: cardano-cli alonzo query stake-snapshot --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] - - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) +Usage: cardano-cli mary query stake-snapshot --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--out-file FILEPATH] -Usage: cardano-cli alonzo query pool-params --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] + Obtain the three stake snapshots for a pool, plus the total active stake + (advanced command) + +Usage: cardano-cli mary query pool-params --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--out-file FILEPATH] DEPRECATED. Use query pool-state instead. Dump the pool parameters (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced command) -Usage: cardano-cli alonzo query leadership-schedule --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --genesis FILEPATH - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --vrf-signing-key-file FILEPATH - (--current | --next) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] +Usage: cardano-cli mary query leadership-schedule --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --genesis FILEPATH + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --vrf-signing-key-file FILEPATH + (--current | --next) + [ --output-json + | --output-text + ] + [--out-file FILEPATH] Get the slots the node is expected to mint a block in (advanced command) -Usage: cardano-cli alonzo query kes-period-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli mary query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --op-cert-file FILEPATH + [--out-file FILEPATH] Get information about the current KES period and your node's operational certificate. -Usage: cardano-cli alonzo query pool-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] +Usage: cardano-cli mary query pool-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--out-file FILEPATH] Dump the pool state -Usage: cardano-cli alonzo query tx-mempool --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli mary query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info -Usage: cardano-cli alonzo query tx-mempool info +Usage: cardano-cli mary query tx-mempool info Ask the node about the current mempool's capacity and sizes -Usage: cardano-cli alonzo query tx-mempool next-tx +Usage: cardano-cli mary query tx-mempool next-tx Requests the next transaction from the mempool's current list -Usage: cardano-cli alonzo query tx-mempool tx-exists TX_ID +Usage: cardano-cli mary query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool -Usage: cardano-cli alonzo query slot-number --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - TIMESTAMP +Usage: cardano-cli mary query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + TIMESTAMP Query slot number for UTC timestamp -Usage: cardano-cli alonzo query ref-script-size --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - (--tx-in TX-IN) - ( --mainnet - | --testnet-magic NATURAL - ) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] +Usage: cardano-cli mary query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + ( --mainnet + | --testnet-magic NATURAL + ) + [--output-json | --output-text] + [--out-file FILEPATH] Calculate the reference input scripts size in bytes for provided transaction inputs. -Usage: cardano-cli alonzo stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate - ) +Usage: cardano-cli mary stake-address + ( key-gen + | key-hash + | build + | registration-certificate + | deregistration-certificate + | stake-delegation-certificate + ) Stake address commands. -Usage: cardano-cli alonzo stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli mary stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a stake address key pair -Usage: cardano-cli alonzo stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli mary stake-address key-hash + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + ) + [--out-file FILEPATH] Print the hash of a stake address key -Usage: cardano-cli alonzo stake-address build - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - ) - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli mary stake-address build + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + ) + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] Build a stake address -Usage: cardano-cli alonzo stake-address registration-certificate +Usage: cardano-cli mary stake-address registration-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + --out-file FILEPATH + + Create a stake address registration certificate + +Usage: cardano-cli mary stake-address deregistration-certificate ( --stake-verification-key STRING | --stake-verification-key-file FILEPATH | --stake-key-hash HASH @@ -4429,1254 +3653,1171 @@ Usage: cardano-cli alonzo stake-address registration-certificate ) --out-file FILEPATH - Create a stake address registration certificate + Create a stake address deregistration certificate -Usage: cardano-cli alonzo stake-address deregistration-certificate +Usage: cardano-cli mary stake-address stake-delegation-certificate ( --stake-verification-key STRING | --stake-verification-key-file FILEPATH | --stake-key-hash HASH | --stake-script-file FILEPATH | --stake-address ADDRESS ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) --out-file FILEPATH - Create a stake address deregistration certificate - -Usage: cardano-cli alonzo stake-address stake-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --out-file FILEPATH - Create a stake address stake delegation certificate, which when submitted in a transaction delegates stake to a stake pool. -Usage: cardano-cli alonzo stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) +Usage: cardano-cli mary stake-pool + ( registration-certificate + | deregistration-certificate + | id + | metadata-hash + ) + + Stake pool commands. + +Usage: cardano-cli mary stake-pool registration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + ) + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + ( --pool-reward-account-verification-key STRING + | --pool-reward-account-verification-key-file FILEPATH + ) + ( --pool-owner-verification-key STRING + | --pool-owner-stake-verification-key-file FILEPATH + ) + [ [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT + | --single-host-pool-relay STRING + [--pool-relay-port INT] + | --multi-host-pool-relay STRING + ] + [--metadata-url URL + --metadata-hash HASH] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILEPATH - Stake pool commands. + Create a stake pool registration certificate -Usage: cardano-cli alonzo stake-pool registration-certificate +Usage: cardano-cli mary stake-pool deregistration-certificate ( --stake-pool-verification-key STRING | --cold-verification-key-file FILEPATH ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) + --epoch NATURAL --out-file FILEPATH - Create a stake pool registration certificate - -Usage: cardano-cli alonzo stake-pool deregistration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --epoch NATURAL - --out-file FILEPATH - Create a stake pool deregistration certificate -Usage: cardano-cli alonzo stake-pool id - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli mary stake-pool id + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] Build pool id from the offline key -Usage: cardano-cli alonzo stake-pool metadata-hash --pool-metadata-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli mary stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. -Usage: cardano-cli alonzo text-view decode-cbor +Usage: cardano-cli mary text-view decode-cbor Commands for dealing with Shelley TextView files. Transactions, addresses etc are stored on disk as TextView files. -Usage: cardano-cli alonzo text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli mary text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. -Usage: cardano-cli alonzo transaction - ( build-raw - | build - | build-estimate - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - | view - ) +Usage: cardano-cli mary transaction + ( build-raw + | build + | build-estimate + | sign + | witness + | assemble + | submit + | policyid + | calculate-min-fee + | calculate-min-required-utxo + | hash-script-data + | txid + | view + ) Transaction commands. -Usage: cardano-cli alonzo transaction build-raw - [ --script-valid - | --script-invalid - ] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present +Usage: cardano-cli mary transaction build-raw + [ --script-valid + | --script-invalid + ] + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ) + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + --spending-reference-tx-in-execution-units (INT, INT) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + ( --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present ) - ( --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 + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --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-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 ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-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 + [--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 ) - ( --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 + --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 ) - --withdrawal-reference-tx-in-execution-units (INT, INT) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--protocol-params-file FILEPATH] - [--update-proposal-file FILEPATH] - --out-file FILEPATH + --certificate-execution-units (INT, INT)] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + --certificate-reference-tx-in-execution-units (INT, INT) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ + ( --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ) + --withdrawal-execution-units (INT, INT)] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + --withdrawal-reference-tx-in-execution-units (INT, INT) + ]] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--protocol-params-file FILEPATH] + [--update-proposal-file FILEPATH] + --out-file FILEPATH Build a transaction (low-level, inconvenient) Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m -Usage: cardano-cli alonzo transaction build --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --script-valid - | --script-invalid - ] - [--witness-override WORD] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ) - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - ( --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ) - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - )] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE +Usage: cardano-cli mary transaction build --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--script-valid | --script-invalid] + [--witness-override WORD] + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ) + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + ( --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present ) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH + ( --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 ] - [--update-proposal-file FILEPATH] - ( --out-file FILEPATH - | --calculate-plutus-script-cost FILEPATH - ) + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( --mint-script-file FILEPATH + [ --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + [--certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--update-proposal-file FILEPATH] + ( --out-file FILEPATH + | --calculate-plutus-script-cost FILEPATH + ) Build a balanced transaction (automatically calculates fees) Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m -Usage: cardano-cli alonzo transaction build-estimate - [ --script-valid - | --script-invalid - ] - --shelley-key-witnesses INT - [--byron-key-witnesses Int] - --protocol-params-file FILEPATH - --total-utxo-value VALUE - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present +Usage: cardano-cli mary transaction build-estimate + [ --script-valid + | --script-invalid + ] + --shelley-key-witnesses INT + [--byron-key-witnesses Int] + --protocol-params-file FILEPATH + --total-utxo-value VALUE + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ) + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + --spending-reference-tx-in-execution-units (INT, INT) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + ( --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present ) - ( --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 + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --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-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-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 + [--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 ) - --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 + --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 ) - ( --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 + --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-reference-tx-in-execution-units (INT, INT) - ]] - [--tx-total-collateral INTEGER] - [--reference-script-size NATURAL] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--update-proposal-file FILEPATH] - --out-file FILEPATH + --withdrawal-execution-units (INT, INT)] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + --withdrawal-reference-tx-in-execution-units (INT, INT) + ]] + [--tx-total-collateral INTEGER] + [--reference-script-size NATURAL] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--update-proposal-file FILEPATH] + --out-file FILEPATH Build a balanced transaction without access to a live node (automatically estimates fees) Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m -Usage: cardano-cli alonzo transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH +Usage: cardano-cli mary transaction sign + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) + [--signing-key-file FILEPATH + [--address STRING]] + [--mainnet | --testnet-magic NATURAL] + --out-file FILEPATH Sign a transaction -Usage: cardano-cli alonzo transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH +Usage: cardano-cli mary transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [ --mainnet + | --testnet-magic NATURAL + ] + --out-file FILEPATH Create a transaction witness -Usage: cardano-cli alonzo transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH +Usage: cardano-cli mary transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli alonzo transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH +Usage: cardano-cli mary transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli alonzo transaction submit --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --tx-file FILEPATH +Usage: cardano-cli mary transaction submit --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --tx-file FILEPATH Submit a transaction to the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli alonzo transaction policyid --script-file FILEPATH +Usage: cardano-cli mary transaction policyid --script-file FILEPATH Calculate the PolicyId from the monetary policy script. -Usage: cardano-cli alonzo transaction calculate-min-fee --tx-body-file FILEPATH - --protocol-params-file FILEPATH - --witness-count NATURAL - [--byron-witness-count NATURAL] - [--reference-script-size NATURAL] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - [ --mainnet - | --testnet-magic NATURAL - ] - [--tx-in-count NATURAL] - [--tx-out-count NATURAL] +Usage: cardano-cli mary transaction calculate-min-fee --tx-body-file FILEPATH + --protocol-params-file FILEPATH + --witness-count NATURAL + [--byron-witness-count NATURAL] + [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILEPATH] + [ --mainnet + | --testnet-magic NATURAL + ] + [--tx-in-count NATURAL] + [--tx-out-count NATURAL] Calculate the minimum fee for a transaction. -Usage: cardano-cli alonzo transaction calculate-min-required-utxo --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] +Usage: cardano-cli mary transaction calculate-min-required-utxo --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] Calculate the minimum required UTxO for a transaction output. -Usage: cardano-cli alonzo transaction calculate-min-value --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] +Usage: cardano-cli mary transaction calculate-min-value --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] DEPRECATED: Use 'calculate-min-required-utxo' instead. -Usage: cardano-cli alonzo transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) +Usage: cardano-cli mary transaction hash-script-data + ( --script-data-cbor-file CBOR_FILE + | --script-data-file JSON_FILE + | --script-data-value JSON_VALUE + ) Calculate the hash of script data. -Usage: cardano-cli alonzo transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) +Usage: cardano-cli mary transaction txid + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) Print a transaction identifier. -Usage: cardano-cli alonzo transaction view +Usage: cardano-cli mary transaction view This command has been removed. Please use "debug transaction view" instead. -Usage: cardano-cli babbage - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +Usage: cardano-cli alonzo + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) - Babbage era commands - DEPRECATED - will be removed in the future + Alonzo era commands - DEPRECATED - will be removed in the future -Usage: cardano-cli babbage address (key-gen | key-hash | build | info) +Usage: cardano-cli alonzo address (key-gen | key-hash | build | info) Payment address commands. -Usage: cardano-cli babbage address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli alonzo address key-gen [--key-output-format STRING] + [ --normal-key + | --extended-key + | --byron-key + ] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create an address key pair. -Usage: cardano-cli babbage address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli alonzo address key-hash + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + ) + [--out-file FILEPATH] Print the hash of an address key. -Usage: cardano-cli babbage address build - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - | --payment-script-file FILEPATH - ) - [ --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli alonzo address build + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + | --payment-script-file FILEPATH + ) + [ --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] Build a Shelley payment address, with optional delegation to a stake address. -Usage: cardano-cli babbage address info --address ADDRESS [--out-file FILEPATH] +Usage: cardano-cli alonzo address info --address ADDRESS [--out-file FILEPATH] Print information about an address. -Usage: cardano-cli babbage key - ( verification-key - | non-extended-key - | convert-byron-key - | convert-byron-genesis-vkey - | convert-itn-key - | convert-itn-extended-key - | convert-itn-bip32-key - | convert-cardano-address-key - ) +Usage: cardano-cli alonzo key + ( verification-key + | non-extended-key + | convert-byron-key + | convert-byron-genesis-vkey + | convert-itn-key + | convert-itn-extended-key + | convert-itn-bip32-key + | convert-cardano-address-key + ) Key utility commands. -Usage: cardano-cli babbage key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli alonzo key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH Get a verification key from a signing key. This supports all key types. -Usage: cardano-cli babbage key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli alonzo key non-extended-key --extended-verification-key-file FILEPATH + --verification-key-file FILEPATH Get a non-extended verification key from an extended verification key. This supports all extended key types. -Usage: cardano-cli babbage key convert-byron-key [--password TEXT] - ( --byron-payment-key-type - | --legacy-byron-payment-key-type - | --byron-genesis-key-type - | --legacy-byron-genesis-key-type - | --byron-genesis-delegate-key-type - | --legacy-byron-genesis-delegate-key-type - ) - ( --byron-signing-key-file FILEPATH - | --byron-verification-key-file FILEPATH - ) - --out-file FILEPATH +Usage: cardano-cli alonzo key convert-byron-key [--password TEXT] + ( --byron-payment-key-type + | --legacy-byron-payment-key-type + | --byron-genesis-key-type + | --legacy-byron-genesis-key-type + | --byron-genesis-delegate-key-type + | --legacy-byron-genesis-delegate-key-type + ) + ( --byron-signing-key-file FILEPATH + | --byron-verification-key-file FILEPATH + ) + --out-file FILEPATH Convert a Byron payment, genesis or genesis delegate key (signing or verification) to a corresponding Shelley-format key. -Usage: cardano-cli babbage key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH +Usage: cardano-cli alonzo key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 + --out-file FILEPATH Convert a Base64-encoded Byron genesis verification key to a Shelley genesis verification key -Usage: cardano-cli babbage key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH +Usage: cardano-cli alonzo key convert-itn-key + ( --itn-signing-key-file FILEPATH + | --itn-verification-key-file FILEPATH + ) + --out-file FILEPATH Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or verification key to a corresponding Shelley stake key -Usage: cardano-cli babbage key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli alonzo key convert-itn-extended-key --itn-signing-key-file FILEPATH + --out-file FILEPATH Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key to a corresponding Shelley stake signing key -Usage: cardano-cli babbage key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli alonzo key convert-itn-bip32-key --itn-signing-key-file FILEPATH + --out-file FILEPATH Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a corresponding Shelley stake signing key -Usage: cardano-cli babbage key convert-cardano-address-key - ( --cc-cold-key - | --cc-hot-key - | --drep-key - | --shelley-payment-key - | --shelley-stake-key - | --icarus-payment-key - | --byron-payment-key - ) - --signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli alonzo key convert-cardano-address-key + ( --cc-cold-key + | --cc-hot-key + | --drep-key + | --shelley-payment-key + | --shelley-stake-key + | --icarus-payment-key + | --byron-payment-key + ) + --signing-key-file FILEPATH + --out-file FILEPATH Convert a cardano-address extended signing key to a corresponding Shelley-format key. -Usage: cardano-cli babbage genesis - ( key-gen-genesis - | key-gen-delegate - | key-gen-utxo - | key-hash - | get-ver-key - | initial-addr - | initial-txin - | create-cardano - | create - | create-staked - | create-testnet-data - | hash - ) +Usage: cardano-cli alonzo genesis + ( key-gen-genesis + | key-gen-delegate + | key-gen-utxo + | key-hash + | get-ver-key + | initial-addr + | initial-txin + | create-cardano + | create + | create-staked + | create-testnet-data + | hash + ) Genesis block commands. -Usage: cardano-cli babbage genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli alonzo genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis key pair -Usage: cardano-cli babbage genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli alonzo genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH Create a Shelley genesis delegate key pair -Usage: cardano-cli babbage genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli alonzo genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a Shelley genesis UTxO key pair -Usage: cardano-cli babbage genesis key-hash --verification-key-file FILEPATH +Usage: cardano-cli alonzo genesis key-hash --verification-key-file FILEPATH Print the identifier (hash) of a public key -Usage: cardano-cli babbage genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli alonzo genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH Derive the verification key from a signing key -Usage: cardano-cli babbage genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli alonzo genesis initial-addr --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] Get the address for an initial UTxO based on the verification key -Usage: cardano-cli babbage genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli alonzo genesis initial-txin --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] Get the TxIn for an initial UTxO based on the verification key -Usage: cardano-cli babbage genesis create-cardano --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--security-param INT] - [--slot-length INT] - [--slot-coefficient RATIONAL] - ( --mainnet - | --testnet-magic NATURAL - ) - --byron-template FILEPATH - --shelley-template FILEPATH - --alonzo-template FILEPATH - --conway-template FILEPATH - [--node-config-template FILEPATH] - - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. - -Usage: cardano-cli babbage genesis create [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - ( --mainnet - | --testnet-magic NATURAL - ) - - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. - -Usage: cardano-cli babbage genesis create-staked [--key-output-format STRING] - --genesis-dir DIR +Usage: cardano-cli alonzo genesis create-cardano --genesis-dir DIR [--gen-genesis-keys INT] [--gen-utxo-keys INT] - [--gen-pools INT] - [--gen-stake-delegs INT] [--start-time UTC-TIME] [--supply LOVELACE] - [--supply-delegated LOVELACE] + [--security-param INT] + [--slot-length INT] + [--slot-coefficient RATIONAL] ( --mainnet | --testnet-magic NATURAL ) - [--bulk-pool-cred-files INT] - [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] - [--relay-specification-file FILEPATH] + --byron-template FILEPATH + --shelley-template FILEPATH + --alonzo-template FILEPATH + --conway-template FILEPATH + [--node-config-template FILEPATH] + + Create a Byron and Shelley genesis file from a genesis template and + genesis/delegation/spending keys. + +Usage: cardano-cli alonzo genesis create [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + (--mainnet | --testnet-magic NATURAL) + + Create a Shelley genesis file from a genesis template and + genesis/delegation/spending keys. + +Usage: cardano-cli alonzo genesis create-staked [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--gen-pools INT] + [--gen-stake-delegs INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--supply-delegated LOVELACE] + ( --mainnet + | --testnet-magic NATURAL + ) + [--bulk-pool-cred-files INT] + [--bulk-pools-per-file INT] + [--num-stuffed-utxo INT] + [--relay-specification-file FILEPATH] Create a staked Shelley genesis file from a genesis template and genesis/delegation/spending keys. -Usage: cardano-cli babbage genesis create-testnet-data [--spec-shelley FILEPATH] - [--spec-alonzo FILEPATH] - [--spec-conway FILEPATH] - [--genesis-keys INT] - [--pools INT] - [ --stake-delegators INT - | --transient-stake-delegators INT - ] - [ --drep-keys INT - | --transient-drep-keys INT - ] - [--stuffed-utxo INT] - [--utxo-keys INT] - [--total-supply LOVELACE] - [--delegated-supply LOVELACE] - [--testnet-magic NATURAL] - [--relays FILEPATH] - [--start-time UTC-TIME] - --out-dir DIR +Usage: cardano-cli alonzo genesis create-testnet-data [--spec-shelley FILEPATH] + [--spec-alonzo FILEPATH] + [--spec-conway FILEPATH] + [--genesis-keys INT] + [--pools INT] + [ --stake-delegators INT + | --transient-stake-delegators INT + ] + [ --drep-keys INT + | --transient-drep-keys INT + ] + [--stuffed-utxo INT] + [--utxo-keys INT] + [--total-supply LOVELACE] + [--delegated-supply LOVELACE] + [--testnet-magic NATURAL] + [--relays FILEPATH] + [--start-time UTC-TIME] + --out-dir DIR Create data to use for starting a testnet. -Usage: cardano-cli babbage genesis hash --genesis FILEPATH +Usage: cardano-cli alonzo genesis hash --genesis FILEPATH Compute the hash of a genesis file -Usage: cardano-cli babbage governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | action - | create-poll - | answer-poll - | verify-poll - ) +Usage: cardano-cli alonzo governance + ( create-mir-certificate + | create-genesis-key-delegation-certificate + | action + ) Governance commands. -Usage: cardano-cli babbage governance create-mir-certificate - ( ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - | stake-addresses - | transfer-to-treasury - | transfer-to-rewards - ) +Usage: cardano-cli alonzo governance create-mir-certificate + ( ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH + | stake-addresses + | transfer-to-treasury + | transfer-to-rewards + ) Create an MIR (Move Instantaneous Rewards) certificate -Usage: cardano-cli babbage governance create-mir-certificate stake-addresses - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli alonzo governance create-mir-certificate stake-addresses + ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH Create an MIR certificate to pay stake addresses -Usage: cardano-cli babbage governance create-mir-certificate transfer-to-treasury --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the reserves pot to the treasury pot -Usage: cardano-cli babbage governance create-mir-certificate transfer-to-rewards --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli alonzo governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH Create an MIR certificate to transfer from the treasury pot to the reserves pot -Usage: cardano-cli babbage governance create-genesis-key-delegation-certificate - ( --genesis-verification-key STRING - | --genesis-verification-key-file FILEPATH - | --genesis-verification-key-hash STRING - ) - ( --genesis-delegate-verification-key STRING - | --genesis-delegate-verification-key-file FILEPATH - | --genesis-delegate-verification-key-hash STRING - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - | --vrf-verification-key-hash STRING - ) - --out-file FILEPATH +Usage: cardano-cli alonzo governance create-genesis-key-delegation-certificate + ( --genesis-verification-key STRING + | --genesis-verification-key-file FILEPATH + | --genesis-verification-key-hash STRING + ) + ( --genesis-delegate-verification-key STRING + | --genesis-delegate-verification-key-file FILEPATH + | --genesis-delegate-verification-key-hash STRING + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + | --vrf-verification-key-hash STRING + ) + --out-file FILEPATH Create a genesis key delegation certificate -Usage: cardano-cli babbage governance action create-protocol-parameters-update +Usage: cardano-cli alonzo governance action create-protocol-parameters-update Governance action commands. -Usage: cardano-cli babbage governance action create-protocol-parameters-update --epoch NATURAL - (--genesis-verification-key-file FILEPATH) - [--min-fee-linear LOVELACE] - [--min-fee-constant LOVELACE] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--max-block-header-size WORD16] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--treasury-expansion RATIONAL] - [--monetary-expansion RATIONAL] - [--min-pool-cost NATURAL] - [--price-execution-steps RATIONAL - --price-execution-memory RATIONAL] - [--max-tx-execution-units (INT, INT)] - [--max-block-execution-units (INT, INT)] - [--max-value-size INT] - [--collateral-percent INT] - [--max-collateral-inputs INT] - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] - [--utxo-cost-per-byte LOVELACE] - [--cost-model-file FILE] - --out-file FILEPATH +Usage: cardano-cli alonzo governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--min-fee-linear LOVELACE] + [--min-fee-constant LOVELACE] + [--max-block-body-size WORD32] + [--max-tx-size WORD32] + [--max-block-header-size WORD16] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--pool-retirement-epoch-interval WORD32] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--treasury-expansion RATIONAL] + [--monetary-expansion RATIONAL] + [--min-pool-cost NATURAL] + [ --extra-entropy HEX + | --reset-extra-entropy + ] + [--decentralization-parameter RATIONAL] + [--price-execution-steps RATIONAL + --price-execution-memory RATIONAL] + [--max-tx-execution-units (INT, INT)] + [--max-block-execution-units (INT, INT)] + [--max-value-size INT] + [--collateral-percent INT] + [--max-collateral-inputs INT] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + [--cost-model-file FILE] + --out-file FILEPATH Create a protocol parameters update. -Usage: cardano-cli babbage governance create-poll --question STRING - (--answer STRING) - [--nonce UINT] - --out-file FILEPATH - - Create an SPO poll - -Usage: cardano-cli babbage governance answer-poll --poll-file FILEPATH - [--answer INT] - [--out-file FILEPATH] - - Answer an SPO poll - -Usage: cardano-cli babbage governance verify-poll --poll-file FILEPATH - --tx-file FILEPATH - [--out-file FILEPATH] - - Verify an answer to a given SPO poll - -Usage: cardano-cli babbage node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli alonzo node + ( key-gen + | key-gen-KES + | key-gen-VRF + | key-hash-VRF + | new-counter + | issue-op-cert + ) Node operation commands. -Usage: cardano-cli babbage node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli alonzo node key-gen [--key-output-format STRING] + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH Create a key pair for a node operator's offline key and a new certificate issue counter -Usage: cardano-cli babbage node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli alonzo node key-gen-KES [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a key pair for a node KES operational key -Usage: cardano-cli babbage node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli alonzo node key-gen-VRF [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a key pair for a node VRF operational key -Usage: cardano-cli babbage node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli alonzo node key-hash-VRF + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + [--out-file FILEPATH] Print hash of a node's operational VRF key. -Usage: cardano-cli babbage node new-counter - ( --stake-pool-verification-key STRING - | --genesis-delegate-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --counter-value INT - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli alonzo node new-counter + ( --stake-pool-verification-key STRING + | --genesis-delegate-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + --counter-value INT + --operational-certificate-issue-counter-file FILEPATH Create a new certificate issue counter -Usage: cardano-cli babbage node issue-op-cert - ( --kes-verification-key STRING - | --kes-verification-key-file FILEPATH - ) - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - --kes-period NATURAL - --out-file FILEPATH +Usage: cardano-cli alonzo node issue-op-cert + ( --kes-verification-key STRING + | --kes-verification-key-file FILEPATH + ) + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH + --kes-period NATURAL + --out-file FILEPATH Issue a node operational certificate -Usage: cardano-cli babbage query - ( protocol-parameters - | tip - | stake-pools - | stake-distribution - | stake-address-info - | utxo - | ledger-state - | protocol-state - | stake-snapshot - | leadership-schedule - | kes-period-info - | pool-state - | tx-mempool - | slot-number - | ref-script-size - ) +Usage: cardano-cli alonzo query + ( protocol-parameters + | tip + | stake-pools + | stake-distribution + | stake-address-info + | utxo + | ledger-state + | protocol-state + | stake-snapshot + | leadership-schedule + | kes-period-info + | pool-state + | tx-mempool + | slot-number + | ref-script-size + ) Node query commands. Will query the local node whose Unix domain socket is obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli babbage query protocol-parameters --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] - - Get the node's current protocol parameters - -Usage: cardano-cli babbage query tip --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] - - Get the node's current tip (slot no, hash, block no) - -Usage: cardano-cli babbage query stake-pools --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--output-json | --output-text] - [--out-file FILEPATH] - - Get the node's current set of stake pool ids - -Usage: cardano-cli babbage query stake-distribution --socket-path SOCKET_PATH +Usage: cardano-cli alonzo query protocol-parameters --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet | --testnet-magic NATURAL ) - [ --output-json - | --output-text - ] [--out-file FILEPATH] - Get the node's current aggregated stake distribution + Get the node's current protocol parameters -Usage: cardano-cli babbage query stake-address-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - --address ADDRESS - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli alonzo query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] - Get the current delegations and reward accounts filtered by stake address. + Get the node's current tip (slot no, hash, block no) -Usage: cardano-cli babbage query utxo --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - ( --whole-utxo - | (--address ADDRESS) - | (--tx-in TX-IN) - ) - (--mainnet | --testnet-magic NATURAL) - [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli alonzo query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--output-json | --output-text] + [--out-file FILEPATH] - Get a portion of the current UTxO: by tx in, by address or the whole. + Get the node's current set of stake pool ids -Usage: cardano-cli babbage query ledger-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli alonzo query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --output-json + | --output-text + ] + [--out-file FILEPATH] - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) + Get the node's current aggregated stake distribution -Usage: cardano-cli babbage query protocol-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli alonzo query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) + Get the current delegations and reward accounts filtered by stake address. -Usage: cardano-cli babbage query stake-snapshot --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--out-file FILEPATH] +Usage: cardano-cli alonzo query utxo --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + ( --whole-utxo + | (--address ADDRESS) + | (--tx-in TX-IN) + ) + (--mainnet | --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) + Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli babbage query pool-params --socket-path SOCKET_PATH +Usage: cardano-cli alonzo query ledger-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet | --testnet-magic NATURAL ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) [--out-file FILEPATH] - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced command) -Usage: cardano-cli babbage query leadership-schedule --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --genesis FILEPATH - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --vrf-signing-key-file FILEPATH - (--current | --next) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] +Usage: cardano-cli alonzo query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Get the slots the node is expected to mint a block in (advanced command) + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced + command) -Usage: cardano-cli babbage query kes-period-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --op-cert-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli alonzo query stake-snapshot --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--out-file FILEPATH] - Get information about the current KES period and your node's operational - certificate. + Obtain the three stake snapshots for a pool, plus the total active stake + (advanced command) -Usage: cardano-cli babbage query pool-state --socket-path SOCKET_PATH +Usage: cardano-cli alonzo query pool-params --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet @@ -5687,5089 +4828,5948 @@ Usage: cardano-cli babbage query pool-state --socket-path SOCKET_PATH ) [--out-file FILEPATH] + DEPRECATED. Use query pool-state instead. Dump the pool parameters + (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced + command) + +Usage: cardano-cli alonzo query leadership-schedule --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --genesis FILEPATH + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --vrf-signing-key-file FILEPATH + (--current | --next) + [ --output-json + | --output-text + ] + [--out-file FILEPATH] + + Get the slots the node is expected to mint a block in (advanced command) + +Usage: cardano-cli alonzo query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --op-cert-file FILEPATH + [--out-file FILEPATH] + + Get information about the current KES period and your node's operational + certificate. + +Usage: cardano-cli alonzo query pool-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--out-file FILEPATH] + Dump the pool state -Usage: cardano-cli babbage query tx-mempool --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - (info | next-tx | tx-exists) - [--out-file FILEPATH] +Usage: cardano-cli alonzo query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + (info | next-tx | tx-exists) + [--out-file FILEPATH] Local Mempool info -Usage: cardano-cli babbage query tx-mempool info +Usage: cardano-cli alonzo query tx-mempool info Ask the node about the current mempool's capacity and sizes -Usage: cardano-cli babbage query tx-mempool next-tx +Usage: cardano-cli alonzo query tx-mempool next-tx Requests the next transaction from the mempool's current list -Usage: cardano-cli babbage query tx-mempool tx-exists TX_ID +Usage: cardano-cli alonzo query tx-mempool tx-exists TX_ID Query if a particular transaction exists in the mempool -Usage: cardano-cli babbage query slot-number --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - TIMESTAMP +Usage: cardano-cli alonzo query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + TIMESTAMP Query slot number for UTC timestamp -Usage: cardano-cli babbage query ref-script-size --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - (--tx-in TX-IN) - ( --mainnet - | --testnet-magic NATURAL - ) - [ --output-json - | --output-text - ] - [--out-file FILEPATH] +Usage: cardano-cli alonzo query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + ( --mainnet + | --testnet-magic NATURAL + ) + [ --output-json + | --output-text + ] + [--out-file FILEPATH] Calculate the reference input scripts size in bytes for provided transaction inputs. -Usage: cardano-cli babbage stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate - ) +Usage: cardano-cli alonzo stake-address + ( key-gen + | key-hash + | build + | registration-certificate + | deregistration-certificate + | stake-delegation-certificate + ) Stake address commands. -Usage: cardano-cli babbage stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli alonzo stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH Create a stake address key pair -Usage: cardano-cli babbage stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli alonzo stake-address key-hash + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + ) + [--out-file FILEPATH] Print the hash of a stake address key -Usage: cardano-cli babbage stake-address build - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - ) - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli alonzo stake-address build + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + ) + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] Build a stake address -Usage: cardano-cli babbage stake-address registration-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - --out-file FILEPATH +Usage: cardano-cli alonzo stake-address registration-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + --out-file FILEPATH Create a stake address registration certificate -Usage: cardano-cli babbage stake-address deregistration-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - --out-file FILEPATH - - Create a stake address deregistration certificate - -Usage: cardano-cli babbage stake-address stake-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --out-file FILEPATH - - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. - -Usage: cardano-cli babbage stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) - - Stake pool commands. +Usage: cardano-cli alonzo stake-address deregistration-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + --out-file FILEPATH -Usage: cardano-cli babbage stake-pool registration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH + Create a stake address deregistration certificate + +Usage: cardano-cli alonzo stake-address stake-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --out-file FILEPATH + + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. + +Usage: cardano-cli alonzo stake-pool + ( registration-certificate + | deregistration-certificate + | id + | metadata-hash + ) + + Stake pool commands. + +Usage: cardano-cli alonzo stake-pool registration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + ) + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + ( --pool-reward-account-verification-key STRING + | --pool-reward-account-verification-key-file FILEPATH + ) + ( --pool-owner-verification-key STRING + | --pool-owner-stake-verification-key-file FILEPATH + ) + [ [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT + | --single-host-pool-relay STRING + [--pool-relay-port INT] + | --multi-host-pool-relay STRING + ] + [--metadata-url URL + --metadata-hash HASH] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILEPATH Create a stake pool registration certificate -Usage: cardano-cli babbage stake-pool deregistration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --epoch NATURAL - --out-file FILEPATH +Usage: cardano-cli alonzo stake-pool deregistration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + --epoch NATURAL + --out-file FILEPATH Create a stake pool deregistration certificate -Usage: cardano-cli babbage stake-pool id - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli alonzo stake-pool id + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] Build pool id from the offline key -Usage: cardano-cli babbage stake-pool metadata-hash --pool-metadata-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli alonzo stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] Print the hash of pool metadata. -Usage: cardano-cli babbage text-view decode-cbor +Usage: cardano-cli alonzo text-view decode-cbor Commands for dealing with Shelley TextView files. Transactions, addresses etc are stored on disk as TextView files. -Usage: cardano-cli babbage text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli alonzo text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] Print a TextView file as decoded CBOR. -Usage: cardano-cli babbage transaction - ( build-raw - | build - | build-estimate - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - | view - ) +Usage: cardano-cli alonzo transaction + ( build-raw + | build + | build-estimate + | sign + | witness + | assemble + | submit + | policyid + | calculate-min-fee + | calculate-min-required-utxo + | hash-script-data + | txid + | view + ) + + Transaction commands. + +Usage: cardano-cli alonzo transaction build-raw + [ --script-valid + | --script-invalid + ] + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ) + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + --spending-reference-tx-in-execution-units (INT, INT) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + ( --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present + ) + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + ) + --tx-in-execution-units (INT, INT)] + ]) + [--read-only-tx-in-reference TX-IN] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-total-collateral INTEGER] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + [--mint VALUE + ( --mint-script-file FILEPATH + [ + ( --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ) + --mint-execution-units (INT, INT)] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + --fee LOVELACE + [--certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ + ( --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ) + --certificate-execution-units (INT, INT)] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + --certificate-reference-tx-in-execution-units (INT, INT) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ + ( --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ) + --withdrawal-execution-units (INT, INT)] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + --withdrawal-reference-tx-in-execution-units (INT, INT) + ]] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--protocol-params-file FILEPATH] + [--update-proposal-file FILEPATH] + --out-file FILEPATH + + Build a transaction (low-level, inconvenient) + + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + +Usage: cardano-cli alonzo transaction build --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --script-valid + | --script-invalid + ] + [--witness-override WORD] + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ) + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + ( --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present + ) + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + )] + ]) + [--read-only-tx-in-reference TX-IN] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-total-collateral INTEGER] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( --mint-script-file FILEPATH + [ --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + [--certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--update-proposal-file FILEPATH] + ( --out-file FILEPATH + | --calculate-plutus-script-cost FILEPATH + ) + + Build a balanced transaction (automatically calculates fees) - Transaction commands. + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m -Usage: cardano-cli babbage transaction build-raw - [ --script-valid - | --script-invalid - ] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ) - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - --spending-reference-tx-in-execution-units (INT, INT) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - ( --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ) - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - ) - --tx-in-execution-units (INT, INT)] - ]) - [--read-only-tx-in-reference TX-IN] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - [--mint VALUE - ( --mint-script-file FILEPATH - [ - ( --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ) - --mint-execution-units (INT, INT)] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --mint-reference-tx-in-execution-units (INT, INT) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - --fee LOVELACE - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ - ( --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ) - --certificate-execution-units (INT, INT)] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - --certificate-reference-tx-in-execution-units (INT, INT) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH +Usage: cardano-cli alonzo transaction build-estimate + [ --script-valid + | --script-invalid + ] + --shelley-key-witnesses INT + [--byron-key-witnesses Int] + --protocol-params-file FILEPATH + --total-utxo-value VALUE + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ) + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + --spending-reference-tx-in-execution-units (INT, INT) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + ( --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present + ) + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + ) + --tx-in-execution-units (INT, INT)] + ]) + [--read-only-tx-in-reference TX-IN] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( --mint-script-file FILEPATH + [ + ( --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ) + --mint-execution-units (INT, INT)] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] [ - ( --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ) - --withdrawal-execution-units (INT, INT)] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - --withdrawal-reference-tx-in-execution-units (INT, INT) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--protocol-params-file FILEPATH] - [--update-proposal-file FILEPATH] - --out-file FILEPATH + --certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ + ( --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ) + --certificate-execution-units (INT, INT)] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + --certificate-reference-tx-in-execution-units (INT, INT) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ + ( --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ) + --withdrawal-execution-units (INT, INT)] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + --withdrawal-reference-tx-in-execution-units (INT, INT) + ]] + [--tx-total-collateral INTEGER] + [--reference-script-size NATURAL] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--update-proposal-file FILEPATH] + --out-file FILEPATH - Build a transaction (low-level, inconvenient) + 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 babbage transaction build --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --script-valid - | --script-invalid - ] - [--witness-override WORD] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ) - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - ( --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ) - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - )] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--update-proposal-file FILEPATH] - ( --out-file FILEPATH - | --calculate-plutus-script-cost FILEPATH +Usage: cardano-cli alonzo transaction sign + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) + [--signing-key-file FILEPATH + [--address STRING]] + [ --mainnet + | --testnet-magic NATURAL + ] + --out-file FILEPATH + + Sign a transaction + +Usage: cardano-cli alonzo transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [ --mainnet + | --testnet-magic NATURAL + ] + --out-file FILEPATH + + Create a transaction witness + +Usage: cardano-cli alonzo transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH + + Assemble a tx body and witness(es) to form a transaction + +Usage: cardano-cli alonzo transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH + + Assemble a tx body and witness(es) to form a transaction + +Usage: cardano-cli alonzo transaction submit --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL ) + --tx-file FILEPATH - Build a balanced transaction (automatically calculates fees) + Submit a transaction to the local node whose Unix domain socket is obtained + from the CARDANO_NODE_SOCKET_PATH environment variable. - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m +Usage: cardano-cli alonzo transaction policyid --script-file FILEPATH -Usage: cardano-cli babbage transaction build-estimate - [ --script-valid - | --script-invalid - ] - --shelley-key-witnesses INT - [--byron-key-witnesses Int] - --protocol-params-file FILEPATH - --total-utxo-value VALUE - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ) - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - --spending-reference-tx-in-execution-units (INT, INT) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - ( --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ) - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - ) - --tx-in-execution-units (INT, INT)] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE + Calculate the PolicyId from the monetary policy script. + +Usage: cardano-cli alonzo transaction calculate-min-fee --tx-body-file FILEPATH + --protocol-params-file FILEPATH + --witness-count NATURAL + [--byron-witness-count NATURAL] + [--reference-script-size NATURAL] + [ --output-json + | --output-text ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ - ( --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ) - --mint-execution-units (INT, INT)] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --mint-reference-tx-in-execution-units (INT, INT) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [ - --certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ - ( --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ) - --certificate-execution-units (INT, INT)] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - --certificate-reference-tx-in-execution-units (INT, INT) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ - ( --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ) - --withdrawal-execution-units (INT, INT)] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - --withdrawal-reference-tx-in-execution-units (INT, INT) - ]] - [--tx-total-collateral INTEGER] - [--reference-script-size NATURAL] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--update-proposal-file FILEPATH] - --out-file FILEPATH + [--out-file FILEPATH] + [ --mainnet + | --testnet-magic NATURAL + ] + [--tx-in-count NATURAL] + [--tx-out-count NATURAL] + + Calculate the minimum fee for a transaction. + +Usage: cardano-cli alonzo transaction calculate-min-required-utxo --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] + + Calculate the minimum required UTxO for a transaction output. + +Usage: cardano-cli alonzo transaction calculate-min-value --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] + + DEPRECATED: Use 'calculate-min-required-utxo' instead. + +Usage: cardano-cli alonzo transaction hash-script-data + ( --script-data-cbor-file CBOR_FILE + | --script-data-file JSON_FILE + | --script-data-value JSON_VALUE + ) + + Calculate the hash of script data. + +Usage: cardano-cli alonzo transaction txid + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) + + Print a transaction identifier. + +Usage: cardano-cli alonzo transaction view + + This command has been removed. Please use "debug transaction view" instead. + +Usage: cardano-cli babbage + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) + + Babbage era commands - DEPRECATED - will be removed in the future + +Usage: cardano-cli babbage address (key-gen | key-hash | build | info) + + Payment address commands. + +Usage: cardano-cli babbage address key-gen [--key-output-format STRING] + [ --normal-key + | --extended-key + | --byron-key + ] + --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create an address key pair. + +Usage: cardano-cli babbage address key-hash + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + ) + [--out-file FILEPATH] + + Print the hash of an address key. + +Usage: cardano-cli babbage address build + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + | --payment-script-file FILEPATH + ) + [ --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] - Build a balanced transaction without access to a live node (automatically estimates fees) + Build a Shelley payment address, with optional delegation to a stake address. - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m +Usage: cardano-cli babbage address info --address ADDRESS [--out-file FILEPATH] -Usage: cardano-cli babbage transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH + Print information about an address. - Sign a transaction +Usage: cardano-cli babbage key + ( verification-key + | non-extended-key + | convert-byron-key + | convert-byron-genesis-vkey + | convert-itn-key + | convert-itn-extended-key + | convert-itn-bip32-key + | convert-cardano-address-key + ) -Usage: cardano-cli babbage transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [ --mainnet - | --testnet-magic NATURAL - ] + Key utility commands. + +Usage: cardano-cli babbage key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH + + Get a verification key from a signing key. This supports all key types. + +Usage: cardano-cli babbage key non-extended-key --extended-verification-key-file FILEPATH + --verification-key-file FILEPATH + + Get a non-extended verification key from an extended verification key. This + supports all extended key types. + +Usage: cardano-cli babbage key convert-byron-key [--password TEXT] + ( --byron-payment-key-type + | --legacy-byron-payment-key-type + | --byron-genesis-key-type + | --legacy-byron-genesis-key-type + | --byron-genesis-delegate-key-type + | --legacy-byron-genesis-delegate-key-type + ) + ( --byron-signing-key-file FILEPATH + | --byron-verification-key-file FILEPATH + ) + --out-file FILEPATH + + Convert a Byron payment, genesis or genesis delegate key (signing or + verification) to a corresponding Shelley-format key. + +Usage: cardano-cli babbage key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 + --out-file FILEPATH + + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis + verification key + +Usage: cardano-cli babbage key convert-itn-key + ( --itn-signing-key-file FILEPATH + | --itn-verification-key-file FILEPATH + ) --out-file FILEPATH - Create a transaction witness + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or + verification key to a corresponding Shelley stake key -Usage: cardano-cli babbage transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH +Usage: cardano-cli babbage key convert-itn-extended-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Assemble a tx body and witness(es) to form a transaction + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key + to a corresponding Shelley stake signing key -Usage: cardano-cli babbage transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH +Usage: cardano-cli babbage key convert-itn-bip32-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Assemble a tx body and witness(es) to form a transaction + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a + corresponding Shelley stake signing key -Usage: cardano-cli babbage transaction submit --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --tx-file FILEPATH +Usage: cardano-cli babbage 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 - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. + Convert a cardano-address extended signing key to a corresponding + Shelley-format key. -Usage: cardano-cli babbage transaction policyid --script-file FILEPATH +Usage: cardano-cli babbage genesis + ( key-gen-genesis + | key-gen-delegate + | key-gen-utxo + | key-hash + | get-ver-key + | initial-addr + | initial-txin + | create-cardano + | create + | create-staked + | create-testnet-data + | hash + ) - Calculate the PolicyId from the monetary policy script. + Genesis block commands. -Usage: cardano-cli babbage transaction calculate-min-fee --tx-body-file FILEPATH - --protocol-params-file FILEPATH - --witness-count NATURAL - [--byron-witness-count NATURAL] - [--reference-script-size NATURAL] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - [ --mainnet - | --testnet-magic NATURAL - ] - [--tx-in-count NATURAL] - [--tx-out-count NATURAL] +Usage: cardano-cli babbage genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH - Calculate the minimum fee for a transaction. + Create a Shelley genesis key pair -Usage: cardano-cli babbage transaction calculate-min-required-utxo --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] +Usage: cardano-cli babbage genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH - Calculate the minimum required UTxO for a transaction output. + Create a Shelley genesis delegate key pair -Usage: cardano-cli babbage transaction calculate-min-value --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] +Usage: cardano-cli babbage genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH - DEPRECATED: Use 'calculate-min-required-utxo' instead. + Create a Shelley genesis UTxO key pair -Usage: cardano-cli babbage transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) +Usage: cardano-cli babbage genesis key-hash --verification-key-file FILEPATH - Calculate the hash of script data. + Print the identifier (hash) of a public key -Usage: cardano-cli babbage transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) +Usage: cardano-cli babbage genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH - Print a transaction identifier. + Derive the verification key from a signing key -Usage: cardano-cli babbage transaction view +Usage: cardano-cli babbage genesis initial-addr --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - This command has been removed. Please use "debug transaction view" instead. + Get the address for an initial UTxO based on the verification key -Usage: cardano-cli conway - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +Usage: cardano-cli babbage genesis initial-txin --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] + + Get the TxIn for an initial UTxO based on the verification key + +Usage: cardano-cli babbage genesis create-cardano --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--security-param INT] + [--slot-length INT] + [--slot-coefficient RATIONAL] + ( --mainnet + | --testnet-magic NATURAL + ) + --byron-template FILEPATH + --shelley-template FILEPATH + --alonzo-template FILEPATH + --conway-template FILEPATH + [--node-config-template FILEPATH] - Conway era commands + Create a Byron and Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -Usage: cardano-cli conway address (key-gen | key-hash | build | info) +Usage: cardano-cli babbage genesis create [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + ( --mainnet + | --testnet-magic NATURAL + ) - Payment address commands. + Create a Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -Usage: cardano-cli conway address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli babbage genesis create-staked [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--gen-pools INT] + [--gen-stake-delegs INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--supply-delegated LOVELACE] + ( --mainnet + | --testnet-magic NATURAL + ) + [--bulk-pool-cred-files INT] + [--bulk-pools-per-file INT] + [--num-stuffed-utxo INT] + [--relay-specification-file FILEPATH] - Create an address key pair. + Create a staked Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -Usage: cardano-cli conway address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli babbage genesis create-testnet-data [--spec-shelley FILEPATH] + [--spec-alonzo FILEPATH] + [--spec-conway FILEPATH] + [--genesis-keys INT] + [--pools INT] + [ --stake-delegators INT + | --transient-stake-delegators INT + ] + [ --drep-keys INT + | --transient-drep-keys INT + ] + [--stuffed-utxo INT] + [--utxo-keys INT] + [--total-supply LOVELACE] + [--delegated-supply LOVELACE] + [--testnet-magic NATURAL] + [--relays FILEPATH] + [--start-time UTC-TIME] + --out-dir DIR - Print the hash of an address key. + Create data to use for starting a testnet. -Usage: cardano-cli conway address build - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - | --payment-script-file FILEPATH - ) - [ --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli babbage genesis hash --genesis FILEPATH - Build a Shelley payment address, with optional delegation to a stake address. + Compute the hash of a genesis file -Usage: cardano-cli conway address info --address ADDRESS [--out-file FILEPATH] +Usage: cardano-cli babbage governance + ( create-mir-certificate + | create-genesis-key-delegation-certificate + | action + | create-poll + | answer-poll + | verify-poll + ) - Print information about an address. + Governance commands. -Usage: cardano-cli conway key - ( verification-key - | non-extended-key - | convert-byron-key - | convert-byron-genesis-vkey - | convert-itn-key - | convert-itn-extended-key - | convert-itn-bip32-key - | convert-cardano-address-key - ) +Usage: cardano-cli babbage governance create-mir-certificate + ( ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH + | stake-addresses + | transfer-to-treasury + | transfer-to-rewards + ) - Key utility commands. + Create an MIR (Move Instantaneous Rewards) certificate -Usage: cardano-cli conway key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli babbage governance create-mir-certificate stake-addresses + ( --reserves + | --treasury + ) + (--stake-address ADDRESS) + (--reward LOVELACE) + --out-file FILEPATH - Get a verification key from a signing key. This supports all key types. + Create an MIR certificate to pay stake addresses -Usage: cardano-cli conway key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli babbage governance create-mir-certificate transfer-to-treasury --transfer LOVELACE + --out-file FILEPATH - Get a non-extended verification key from an extended verification key. This - supports all extended key types. + Create an MIR certificate to transfer from the reserves pot to the treasury + pot -Usage: cardano-cli conway key convert-byron-key [--password TEXT] - ( --byron-payment-key-type - | --legacy-byron-payment-key-type - | --byron-genesis-key-type - | --legacy-byron-genesis-key-type - | --byron-genesis-delegate-key-type - | --legacy-byron-genesis-delegate-key-type - ) - ( --byron-signing-key-file FILEPATH - | --byron-verification-key-file FILEPATH - ) - --out-file FILEPATH +Usage: cardano-cli babbage governance create-mir-certificate transfer-to-rewards --transfer LOVELACE + --out-file FILEPATH - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. + Create an MIR certificate to transfer from the treasury pot to the reserves + pot -Usage: cardano-cli conway key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH +Usage: cardano-cli babbage governance create-genesis-key-delegation-certificate + ( --genesis-verification-key STRING + | --genesis-verification-key-file FILEPATH + | --genesis-verification-key-hash STRING + ) + ( --genesis-delegate-verification-key STRING + | --genesis-delegate-verification-key-file FILEPATH + | --genesis-delegate-verification-key-hash STRING + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + | --vrf-verification-key-hash STRING + ) + --out-file FILEPATH - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key + Create a genesis key delegation certificate -Usage: cardano-cli conway key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH +Usage: cardano-cli babbage governance action create-protocol-parameters-update - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key + Governance action commands. -Usage: cardano-cli conway key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli babbage governance action create-protocol-parameters-update --epoch NATURAL + (--genesis-verification-key-file FILEPATH) + [--min-fee-linear LOVELACE] + [--min-fee-constant LOVELACE] + [--max-block-body-size WORD32] + [--max-tx-size WORD32] + [--max-block-header-size WORD16] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--pool-retirement-epoch-interval WORD32] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--treasury-expansion RATIONAL] + [--monetary-expansion RATIONAL] + [--min-pool-cost NATURAL] + [--price-execution-steps RATIONAL + --price-execution-memory RATIONAL] + [--max-tx-execution-units (INT, INT)] + [--max-block-execution-units (INT, INT)] + [--max-value-size INT] + [--collateral-percent INT] + [--max-collateral-inputs INT] + [--protocol-major-version MAJOR + --protocol-minor-version MINOR] + [--utxo-cost-per-byte LOVELACE] + [--cost-model-file FILE] + --out-file FILEPATH - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key + Create a protocol parameters update. -Usage: cardano-cli conway key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli babbage governance create-poll --question STRING + (--answer STRING) + [--nonce UINT] + --out-file FILEPATH - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key + Create an SPO poll -Usage: cardano-cli conway key convert-cardano-address-key - ( --cc-cold-key - | --cc-hot-key - | --drep-key - | --shelley-payment-key - | --shelley-stake-key - | --icarus-payment-key - | --byron-payment-key - ) - --signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli babbage governance answer-poll --poll-file FILEPATH + [--answer INT] + [--out-file FILEPATH] - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. + Answer an SPO poll -Usage: cardano-cli conway genesis - ( key-gen-genesis - | key-gen-delegate - | key-gen-utxo - | key-hash - | get-ver-key - | initial-addr - | initial-txin - | create-cardano - | create - | create-staked - | create-testnet-data - | hash - ) +Usage: cardano-cli babbage governance verify-poll --poll-file FILEPATH + --tx-file FILEPATH + [--out-file FILEPATH] - Genesis block commands. + Verify an answer to a given SPO poll -Usage: cardano-cli conway genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli babbage node + ( key-gen + | key-gen-KES + | key-gen-VRF + | key-hash-VRF + | new-counter + | issue-op-cert + ) - Create a Shelley genesis key pair + Node operation commands. -Usage: cardano-cli conway genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli babbage node key-gen [--key-output-format STRING] + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH - Create a Shelley genesis delegate key pair + Create a key pair for a node operator's offline key and a new certificate + issue counter -Usage: cardano-cli conway genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli babbage node key-gen-KES [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Create a Shelley genesis UTxO key pair + Create a key pair for a node KES operational key -Usage: cardano-cli conway genesis key-hash --verification-key-file FILEPATH +Usage: cardano-cli babbage node key-gen-VRF [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Print the identifier (hash) of a public key + Create a key pair for a node VRF operational key -Usage: cardano-cli conway genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli babbage node key-hash-VRF + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + [--out-file FILEPATH] - Derive the verification key from a signing key + Print hash of a node's operational VRF key. -Usage: cardano-cli conway genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli babbage node new-counter + ( --stake-pool-verification-key STRING + | --genesis-delegate-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + --counter-value INT + --operational-certificate-issue-counter-file FILEPATH - Get the address for an initial UTxO based on the verification key + Create a new certificate issue counter -Usage: cardano-cli conway genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli babbage node issue-op-cert + ( --kes-verification-key STRING + | --kes-verification-key-file FILEPATH + ) + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH + --kes-period NATURAL + --out-file FILEPATH - Get the TxIn for an initial UTxO based on the verification key + Issue a node operational certificate -Usage: cardano-cli conway genesis create-cardano --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--security-param INT] - [--slot-length INT] - [--slot-coefficient RATIONAL] - ( --mainnet - | --testnet-magic NATURAL - ) - --byron-template FILEPATH - --shelley-template FILEPATH - --alonzo-template FILEPATH - --conway-template FILEPATH - [--node-config-template FILEPATH] +Usage: cardano-cli babbage query + ( protocol-parameters + | tip + | stake-pools + | stake-distribution + | stake-address-info + | utxo + | ledger-state + | protocol-state + | stake-snapshot + | leadership-schedule + | kes-period-info + | pool-state + | tx-mempool + | slot-number + | ref-script-size + ) - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Node query commands. Will query the local node whose Unix domain socket is + obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli conway genesis create [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - (--mainnet | --testnet-magic NATURAL) +Usage: cardano-cli babbage query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Get the node's current protocol parameters -Usage: cardano-cli conway genesis create-staked [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--gen-pools INT] - [--gen-stake-delegs INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--supply-delegated LOVELACE] - ( --mainnet - | --testnet-magic NATURAL - ) - [--bulk-pool-cred-files INT] - [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] - [--relay-specification-file FILEPATH] +Usage: cardano-cli babbage query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] - Create a staked Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Get the node's current tip (slot no, hash, block no) -Usage: cardano-cli conway genesis create-testnet-data [--spec-shelley FILEPATH] - [--spec-alonzo FILEPATH] - [--spec-conway FILEPATH] - [--genesis-keys INT] - [--pools INT] - [ --stake-delegators INT - | --transient-stake-delegators INT - ] - [ --drep-keys INT - | --transient-drep-keys INT - ] - [--stuffed-utxo INT] - [--utxo-keys INT] - [--total-supply LOVELACE] - [--delegated-supply LOVELACE] - [--testnet-magic NATURAL] - [--relays FILEPATH] - [--start-time UTC-TIME] - --out-dir DIR +Usage: cardano-cli babbage query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--output-json | --output-text] + [--out-file FILEPATH] - Create data to use for starting a testnet. + Get the node's current set of stake pool ids -Usage: cardano-cli conway genesis hash --genesis FILEPATH +Usage: cardano-cli babbage query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --output-json + | --output-text + ] + [--out-file FILEPATH] - Compute the hash of a genesis file + Get the node's current aggregated stake distribution -Usage: cardano-cli conway governance (action | committee | drep | vote) +Usage: cardano-cli babbage query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Governance commands. + Get the current delegations and reward accounts filtered by stake address. -Usage: cardano-cli conway governance action - ( create-constitution - | update-committee - | create-info - | create-no-confidence - | create-protocol-parameters-update - | create-treasury-withdrawal - | create-hardfork - | view - ) +Usage: cardano-cli babbage query utxo --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + ( --whole-utxo + | (--address ADDRESS) + | (--tx-in TX-IN) + ) + (--mainnet | --testnet-magic NATURAL) + [--output-json | --output-text] + [--out-file FILEPATH] - Governance action commands. + Get a portion of the current UTxO: by tx in, by address or the whole. -Usage: cardano-cli conway governance action create-constitution - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --anchor-url TEXT - --anchor-data-hash HASH - --constitution-url TEXT - --constitution-hash HASH - [--constitution-script-hash HASH] - --out-file FILEPATH +Usage: cardano-cli babbage query ledger-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] + + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced + command) - Create a constitution. +Usage: cardano-cli babbage query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] -Usage: cardano-cli conway governance action update-committee - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [ --remove-cc-cold-verification-key STRING - | --remove-cc-cold-verification-key-file FILEPATH - | --remove-cc-cold-verification-key-hash STRING - | --remove-cc-cold-script-hash HASH - ] - [ - ( --add-cc-cold-verification-key STRING - | --add-cc-cold-verification-key-file FILEPATH - | --add-cc-cold-verification-key-hash STRING - | --add-cc-cold-script-hash HASH - ) - --epoch NATURAL] - --threshold RATIONAL - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --out-file FILEPATH + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced + command) - Create or update a new committee proposal. +Usage: cardano-cli babbage query stake-snapshot --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--out-file FILEPATH] -Usage: cardano-cli conway governance action create-info (--mainnet | --testnet) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - --out-file FILEPATH + Obtain the three stake snapshots for a pool, plus the total active stake + (advanced command) - Create an info action. +Usage: cardano-cli babbage query pool-params --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--out-file FILEPATH] -Usage: cardano-cli conway governance action create-no-confidence - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --out-file FILEPATH + DEPRECATED. Use query pool-state instead. Dump the pool parameters + (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced + command) - Create a no confidence proposal. +Usage: cardano-cli babbage query leadership-schedule --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --genesis FILEPATH + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --vrf-signing-key-file FILEPATH + (--current | --next) + [ --output-json + | --output-text + ] + [--out-file FILEPATH] -Usage: cardano-cli conway governance action create-protocol-parameters-update - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - [--constitution-script-hash HASH] - [--min-fee-linear LOVELACE] - [--min-fee-constant LOVELACE] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--max-block-header-size WORD16] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--treasury-expansion RATIONAL] - [--monetary-expansion RATIONAL] - [--min-pool-cost NATURAL] - [--price-execution-steps RATIONAL - --price-execution-memory RATIONAL] - [--max-tx-execution-units (INT, INT)] - [--max-block-execution-units (INT, INT)] - [--max-value-size INT] - [--collateral-percent INT] - [--max-collateral-inputs INT] - [--utxo-cost-per-byte LOVELACE] - [--pool-voting-threshold-motion-no-confidence RATIONAL - --pool-voting-threshold-committee-normal RATIONAL - --pool-voting-threshold-committee-no-confidence RATIONAL - --pool-voting-threshold-hard-fork-initiation RATIONAL - --pool-voting-threshold-pp-security-group RATIONAL] - [--drep-voting-threshold-motion-no-confidence RATIONAL - --drep-voting-threshold-committee-normal RATIONAL - --drep-voting-threshold-committee-no-confidence RATIONAL - --drep-voting-threshold-update-to-constitution RATIONAL - --drep-voting-threshold-hard-fork-initiation RATIONAL - --drep-voting-threshold-pp-network-group RATIONAL - --drep-voting-threshold-pp-economic-group RATIONAL - --drep-voting-threshold-pp-technical-group RATIONAL - --drep-voting-threshold-pp-governance-group RATIONAL - --drep-voting-threshold-treasury-withdrawal RATIONAL] - [--min-committee-size INT] - [--committee-term-length WORD32] - [--governance-action-lifetime WORD32] - [--new-governance-action-deposit NATURAL] - [--drep-deposit LOVELACE] - [--drep-activity WORD32] - [--ref-script-cost-per-byte RATIONAL] - [--cost-model-file FILE] - --out-file FILEPATH + Get the slots the node is expected to mint a block in (advanced command) - Create a protocol parameters update. +Usage: cardano-cli babbage query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --op-cert-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli conway governance action create-treasury-withdrawal - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - ( - ( --funds-receiving-stake-verification-key STRING - | --funds-receiving-stake-verification-key-file FILEPATH - | --funds-receiving-stake-key-hash HASH - ) - --transfer LOVELACE) - [--constitution-script-hash HASH] - --out-file FILEPATH + Get information about the current KES period and your node's operational + certificate. - Create a treasury withdrawal. +Usage: cardano-cli babbage query pool-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--out-file FILEPATH] -Usage: cardano-cli conway governance action create-hardfork - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --anchor-url TEXT - --anchor-data-hash HASH - --protocol-major-version MAJOR - --protocol-minor-version MINOR - --out-file FILEPATH + Dump the pool state - Create a hardfork initiation proposal. +Usage: cardano-cli babbage query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + (info | next-tx | tx-exists) + [--out-file FILEPATH] -Usage: cardano-cli conway governance action view --action-file FILEPATH - [ --output-json - | --output-yaml - ] - [--out-file FILEPATH] + Local Mempool info + +Usage: cardano-cli babbage query tx-mempool info + + Ask the node about the current mempool's capacity and sizes - View a governance action. +Usage: cardano-cli babbage query tx-mempool next-tx -Usage: cardano-cli conway governance committee - ( key-gen-cold - | key-gen-hot - | key-hash - | create-hot-key-authorization-certificate - | create-cold-key-resignation-certificate - ) + Requests the next transaction from the mempool's current list - Committee member commands. +Usage: cardano-cli babbage query tx-mempool tx-exists TX_ID -Usage: cardano-cli conway governance committee key-gen-cold - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH + Query if a particular transaction exists in the mempool - Create a cold key pair for a Constitutional Committee Member +Usage: cardano-cli babbage query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + TIMESTAMP -Usage: cardano-cli conway governance committee key-gen-hot --verification-key-file FILEPATH - --signing-key-file FILEPATH + Query slot number for UTC timestamp - Create a hot key pair for a Constitutional Committee Member +Usage: cardano-cli babbage query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + ( --mainnet + | --testnet-magic NATURAL + ) + [ --output-json + | --output-text + ] + [--out-file FILEPATH] -Usage: cardano-cli conway governance committee key-hash - ( --verification-key STRING - | --verification-key-file FILEPATH - ) + Calculate the reference input scripts size in bytes for provided transaction + inputs. - Print the identifier (hash) of a public key +Usage: cardano-cli babbage stake-address + ( key-gen + | key-hash + | build + | registration-certificate + | deregistration-certificate + | stake-delegation-certificate + ) -Usage: cardano-cli conway governance committee create-hot-key-authorization-certificate - ( --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - | --cold-script-file FILEPATH - ) - ( --hot-verification-key STRING - | --hot-verification-key-file FILEPATH - | --hot-verification-key-hash STRING - | --hot-script-hash HASH - | --hot-script-file FILEPATH - ) - --out-file FILEPATH + Stake address commands. - Create hot key authorization certificate for a Constitutional Committee Member +Usage: cardano-cli babbage stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli conway governance committee create-cold-key-resignation-certificate - ( --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - | --cold-script-file FILEPATH - ) - [--resignation-metadata-url TEXT - --resignation-metadata-hash HASH] - --out-file FILEPATH + Create a stake address key pair - Create cold key resignation certificate for a Constitutional Committee Member +Usage: cardano-cli babbage stake-address key-hash + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + ) + [--out-file FILEPATH] -Usage: cardano-cli conway governance drep - ( key-gen - | id - | registration-certificate - | retirement-certificate - | update-certificate - | metadata-hash - ) + Print the hash of a stake address key - DRep member commands. +Usage: cardano-cli babbage stake-address build + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + ) + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] -Usage: cardano-cli conway governance drep key-gen --verification-key-file FILEPATH - --signing-key-file FILEPATH + Build a stake address - Generate Delegated Representative verification and signing keys. +Usage: cardano-cli babbage stake-address registration-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + --out-file FILEPATH -Usage: cardano-cli conway governance drep id - ( --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] + Create a stake address registration certificate - Generate a drep id. +Usage: cardano-cli babbage stake-address deregistration-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + --out-file FILEPATH -Usage: cardano-cli conway governance drep registration-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - --key-reg-deposit-amt NATURAL - [--drep-metadata-url TEXT - --drep-metadata-hash HASH] - --out-file FILEPATH + Create a stake address deregistration certificate - Create a registration certificate. +Usage: cardano-cli babbage stake-address stake-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --out-file FILEPATH -Usage: cardano-cli conway governance drep retirement-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - --deposit-amt LOVELACE - --out-file FILEPATH + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. - Create a DRep retirement certificate. +Usage: cardano-cli babbage stake-pool + ( registration-certificate + | deregistration-certificate + | id + | metadata-hash + ) -Usage: cardano-cli conway governance drep update-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - [--drep-metadata-url TEXT - --drep-metadata-hash HASH] - --out-file FILEPATH + Stake pool commands. - Create a DRep update certificate. +Usage: cardano-cli babbage stake-pool registration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + ) + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + ( --pool-reward-account-verification-key STRING + | --pool-reward-account-verification-key-file FILEPATH + ) + ( --pool-owner-verification-key STRING + | --pool-owner-stake-verification-key-file FILEPATH + ) + [ [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT + | --single-host-pool-relay STRING + [--pool-relay-port INT] + | --multi-host-pool-relay STRING + ] + [--metadata-url URL + --metadata-hash HASH] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILEPATH -Usage: cardano-cli conway governance drep metadata-hash --drep-metadata-file FILEPATH - [--out-file FILEPATH] + Create a stake pool registration certificate - Calculate the hash of a metadata file. +Usage: cardano-cli babbage stake-pool deregistration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + --epoch NATURAL + --out-file FILEPATH -Usage: cardano-cli conway governance vote (create | view) + Create a stake pool deregistration certificate - Vote commands. +Usage: cardano-cli babbage stake-pool id + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] -Usage: cardano-cli conway governance vote create (--yes | --no | --abstain) - --governance-action-tx-id TXID - --governance-action-index WORD16 - ( --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - | --drep-script-hash HASH - | --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - | --cc-hot-verification-key STRING - | --cc-hot-verification-key-file FILEPATH - | --cc-hot-key-hash STRING - | --cc-hot-script-hash HASH - ) - [--anchor-url TEXT - --anchor-data-hash HASH] - --out-file FILEPATH + Build pool id from the offline key - Vote creation. +Usage: cardano-cli babbage stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli conway governance vote view [--output-json | --output-yaml] - --vote-file FILEPATH - [--out-file FILEPATH] + Print the hash of pool metadata. - Vote viewing. +Usage: cardano-cli babbage text-view decode-cbor -Usage: cardano-cli conway node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. - Node operation commands. +Usage: cardano-cli babbage text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli conway node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH + Print a TextView file as decoded CBOR. + +Usage: cardano-cli babbage transaction + ( build-raw + | build + | build-estimate + | sign + | witness + | assemble + | submit + | policyid + | calculate-min-fee + | calculate-min-required-utxo + | hash-script-data + | txid + | view + ) + + Transaction commands. + +Usage: cardano-cli babbage transaction build-raw + [ --script-valid + | --script-invalid + ] + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ) + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + --spending-reference-tx-in-execution-units (INT, INT) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + ( --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present + ) + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + ) + --tx-in-execution-units (INT, INT)] + ]) + [--read-only-tx-in-reference TX-IN] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-total-collateral INTEGER] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + [--mint VALUE + ( --mint-script-file FILEPATH + [ + ( --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ) + --mint-execution-units (INT, INT)] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + --fee LOVELACE + [--certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ + ( --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ) + --certificate-execution-units (INT, INT)] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + --certificate-reference-tx-in-execution-units (INT, INT) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ + ( --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ) + --withdrawal-execution-units (INT, INT)] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + --withdrawal-reference-tx-in-execution-units (INT, INT) + ]] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--protocol-params-file FILEPATH] + [--update-proposal-file FILEPATH] + --out-file FILEPATH + + Build a transaction (low-level, inconvenient) + + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m + +Usage: cardano-cli babbage transaction build --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --script-valid + | --script-invalid + ] + [--witness-override WORD] + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ) + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + ( --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present + ) + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + )] + ]) + [--read-only-tx-in-reference TX-IN] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-total-collateral INTEGER] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( --mint-script-file FILEPATH + [ --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + [--certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--update-proposal-file FILEPATH] + ( --out-file FILEPATH + | --calculate-plutus-script-cost FILEPATH + ) - Create a key pair for a node operator's offline key and a new certificate - issue counter + Build a balanced transaction (automatically calculates fees) -Usage: cardano-cli conway node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - Create a key pair for a node KES operational key +Usage: cardano-cli babbage transaction build-estimate + [ --script-valid + | --script-invalid + ] + --shelley-key-witnesses INT + [--byron-key-witnesses Int] + --protocol-params-file FILEPATH + --total-utxo-value VALUE + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + ( --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ) + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + --spending-reference-tx-in-execution-units (INT, INT) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + ( --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present + ) + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + ) + --tx-in-execution-units (INT, INT)] + ]) + [--read-only-tx-in-reference TX-IN] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( --mint-script-file FILEPATH + [ + ( --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ) + --mint-execution-units (INT, INT)] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + [ + --certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ + ( --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ) + --certificate-execution-units (INT, INT)] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + --certificate-reference-tx-in-execution-units (INT, INT) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ + ( --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ) + --withdrawal-execution-units (INT, INT)] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + --withdrawal-reference-tx-in-execution-units (INT, INT) + ]] + [--tx-total-collateral INTEGER] + [--reference-script-size NATURAL] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--update-proposal-file FILEPATH] + --out-file FILEPATH -Usage: cardano-cli conway node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + Build a balanced transaction without access to a live node (automatically estimates fees) - Create a key pair for a node VRF operational key + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m -Usage: cardano-cli conway node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH +Usage: cardano-cli babbage transaction sign + ( --tx-body-file FILEPATH + | --tx-file FILEPATH ) - [--out-file FILEPATH] - - Print hash of a node's operational VRF key. - -Usage: cardano-cli conway node new-counter - ( --stake-pool-verification-key STRING - | --genesis-delegate-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --counter-value INT - --operational-certificate-issue-counter-file FILEPATH - - Create a new certificate issue counter - -Usage: cardano-cli conway node issue-op-cert - ( --kes-verification-key STRING - | --kes-verification-key-file FILEPATH - ) - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - --kes-period NATURAL - --out-file FILEPATH - - Issue a node operational certificate - -Usage: cardano-cli conway query - ( protocol-parameters - | tip - | stake-pools - | stake-distribution - | stake-address-info - | utxo - | ledger-state - | protocol-state - | stake-snapshot - | leadership-schedule - | kes-period-info - | pool-state - | tx-mempool - | slot-number - | ref-script-size - | constitution - | gov-state - | drep-state - | drep-stake-distribution - | spo-stake-distribution - | committee-state - | treasury - ) + [--signing-key-file FILEPATH + [--address STRING]] + [ --mainnet + | --testnet-magic NATURAL + ] + --out-file FILEPATH - Node query commands. Will query the local node whose Unix domain socket is - obtained from the CARDANO_NODE_SOCKET_PATH environment variable. + Sign a transaction -Usage: cardano-cli conway query protocol-parameters --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli babbage transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [ --mainnet + | --testnet-magic NATURAL + ] + --out-file FILEPATH - Get the node's current protocol parameters + Create a transaction witness -Usage: cardano-cli conway query tip --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] +Usage: cardano-cli babbage transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH - Get the node's current tip (slot no, hash, block no) + Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli conway query stake-pools --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--volatile-tip | --immutable-tip] - [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli babbage transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH - Get the node's current set of stake pool ids + Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli conway query stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --volatile-tip - | --immutable-tip - ] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] +Usage: cardano-cli babbage transaction submit --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --tx-file FILEPATH - Get the node's current aggregated stake distribution + 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 query stake-address-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - --address ADDRESS - ( --mainnet - | --testnet-magic NATURAL - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] +Usage: cardano-cli babbage transaction policyid --script-file FILEPATH - Get the current delegations and reward accounts filtered by stake address. + Calculate the PolicyId from the monetary policy script. -Usage: cardano-cli conway query utxo --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - ( --whole-utxo - | (--address ADDRESS) - | (--tx-in TX-IN) - ) - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli babbage transaction calculate-min-fee --tx-body-file FILEPATH + --protocol-params-file FILEPATH + --witness-count NATURAL + [--byron-witness-count NATURAL] + [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILEPATH] + [ --mainnet + | --testnet-magic NATURAL + ] + [--tx-in-count NATURAL] + [--tx-out-count NATURAL] - Get a portion of the current UTxO: by tx in, by address or the whole. + Calculate the minimum fee for a transaction. -Usage: cardano-cli conway query ledger-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] +Usage: cardano-cli babbage transaction calculate-min-required-utxo --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) + Calculate the minimum required UTxO for a transaction output. -Usage: cardano-cli conway query protocol-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] +Usage: cardano-cli babbage transaction calculate-min-value --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) + DEPRECATED: Use 'calculate-min-required-utxo' instead. -Usage: cardano-cli conway query stake-snapshot --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] +Usage: cardano-cli babbage transaction hash-script-data + ( --script-data-cbor-file CBOR_FILE + | --script-data-file JSON_FILE + | --script-data-value JSON_VALUE + ) - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) + Calculate the hash of script data. -Usage: cardano-cli conway query pool-params --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) +Usage: cardano-cli babbage transaction txid + ( --tx-body-file FILEPATH + | --tx-file FILEPATH ) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced - command) + Print a transaction identifier. -Usage: cardano-cli conway query leadership-schedule --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --genesis FILEPATH - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --vrf-signing-key-file FILEPATH - (--current | --next) - [ --volatile-tip - | --immutable-tip - ] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] +Usage: cardano-cli babbage transaction view - Get the slots the node is expected to mint a block in (advanced command) + This command has been removed. Please use "debug transaction view" instead. -Usage: cardano-cli conway query kes-period-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --op-cert-file FILEPATH - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] +Usage: cardano-cli conway + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) - Get information about the current KES period and your node's operational - certificate. + Conway era commands -Usage: cardano-cli conway query pool-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] +Usage: cardano-cli conway address (key-gen | key-hash | build | info) - Dump the pool state + Payment address commands. + +Usage: cardano-cli conway address key-gen [--key-output-format STRING] + [ --normal-key + | --extended-key + | --byron-key + ] + --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create an address key pair. -Usage: cardano-cli conway query tx-mempool --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL +Usage: cardano-cli conway address key-hash + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH ) - (info | next-tx | tx-exists) [--out-file FILEPATH] - Local Mempool info - -Usage: cardano-cli conway query tx-mempool info + Print the hash of an address key. - Ask the node about the current mempool's capacity and sizes +Usage: cardano-cli conway address build + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + | --payment-script-file FILEPATH + ) + [ --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] -Usage: cardano-cli conway query tx-mempool next-tx + Build a Shelley payment address, with optional delegation to a stake address. - Requests the next transaction from the mempool's current list +Usage: cardano-cli conway address info --address ADDRESS [--out-file FILEPATH] -Usage: cardano-cli conway query tx-mempool tx-exists TX_ID + Print information about an address. - Query if a particular transaction exists in the mempool +Usage: cardano-cli conway key + ( verification-key + | non-extended-key + | convert-byron-key + | convert-byron-genesis-vkey + | convert-itn-key + | convert-itn-extended-key + | convert-itn-bip32-key + | convert-cardano-address-key + ) -Usage: cardano-cli conway query slot-number --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--volatile-tip | --immutable-tip] - TIMESTAMP + Key utility commands. - Query slot number for UTC timestamp +Usage: cardano-cli conway key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH -Usage: cardano-cli conway query ref-script-size --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - (--tx-in TX-IN) - ( --mainnet - | --testnet-magic NATURAL - ) - [ --volatile-tip - | --immutable-tip - ] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] + Get a verification key from a signing key. This supports all key types. - Calculate the reference input scripts size in bytes for provided transaction - inputs. +Usage: cardano-cli conway key non-extended-key --extended-verification-key-file FILEPATH + --verification-key-file FILEPATH -Usage: cardano-cli conway query constitution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] + Get a non-extended verification key from an extended verification key. This + supports all extended key types. - Get the constitution +Usage: cardano-cli conway key convert-byron-key [--password TEXT] + ( --byron-payment-key-type + | --legacy-byron-payment-key-type + | --byron-genesis-key-type + | --legacy-byron-genesis-key-type + | --byron-genesis-delegate-key-type + | --legacy-byron-genesis-delegate-key-type + ) + ( --byron-signing-key-file FILEPATH + | --byron-verification-key-file FILEPATH + ) + --out-file FILEPATH -Usage: cardano-cli conway query gov-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] + Convert a Byron payment, genesis or genesis delegate key (signing or + verification) to a corresponding Shelley-format key. - Get the governance state +Usage: cardano-cli conway key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 + --out-file FILEPATH -Usage: cardano-cli conway query drep-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-dreps - | - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - ) - [--include-stake] - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis + verification key - Get the DRep state. +Usage: cardano-cli conway key convert-itn-key + ( --itn-signing-key-file FILEPATH + | --itn-verification-key-file FILEPATH + ) + --out-file FILEPATH -Usage: cardano-cli conway query drep-stake-distribution - --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-dreps - | - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or + verification key to a corresponding Shelley stake key - Get the DRep stake distribution. +Usage: cardano-cli conway key convert-itn-extended-key --itn-signing-key-file FILEPATH + --out-file FILEPATH -Usage: cardano-cli conway query spo-stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-spos - | - ( --spo-verification-key STRING - | --spo-verification-key-file FILEPATH - | --spo-key-hash HASH - ) - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key + to a corresponding Shelley stake signing key - Get the SPO stake distribution. +Usage: cardano-cli conway key convert-itn-bip32-key --itn-signing-key-file FILEPATH + --out-file FILEPATH -Usage: cardano-cli conway query committee-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - ] - [ --hot-key STRING - | --hot-key-file FILEPATH - | --hot-key-hash STRING - | --hot-script-hash HASH - ] - [ --active - | --expired - | --unrecognized - ] - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a + corresponding Shelley stake signing key - Get the committee state +Usage: cardano-cli conway key convert-cardano-address-key + ( --cc-cold-key + | --cc-hot-key + | --drep-key + | --shelley-payment-key + | --shelley-stake-key + | --icarus-payment-key + | --byron-payment-key + ) + --signing-key-file FILEPATH + --out-file FILEPATH -Usage: cardano-cli conway query treasury --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] + Convert a cardano-address extended signing key to a corresponding + Shelley-format key. - Get the treasury value +Usage: cardano-cli conway genesis + ( key-gen-genesis + | key-gen-delegate + | key-gen-utxo + | key-hash + | get-ver-key + | initial-addr + | initial-txin + | create-cardano + | create + | create-staked + | create-testnet-data + | hash + ) -Usage: cardano-cli conway stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate - | stake-and-vote-delegation-certificate - | vote-delegation-certificate - ) + Genesis block commands. - Stake address commands. +Usage: cardano-cli conway genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli conway stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH + Create a Shelley genesis key pair - Create a stake address key pair +Usage: cardano-cli conway genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH -Usage: cardano-cli conway stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) - [--out-file FILEPATH] + Create a Shelley genesis delegate key pair - Print the hash of a stake address key +Usage: cardano-cli conway genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli conway stake-address build - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - ) - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + Create a Shelley genesis UTxO key pair - Build a stake address +Usage: cardano-cli conway genesis key-hash --verification-key-file FILEPATH -Usage: cardano-cli conway stake-address registration-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH + Print the identifier (hash) of a public key - Create a stake address registration certificate +Usage: cardano-cli conway genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli conway stake-address deregistration-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH + Derive the verification key from a signing key - Create a stake address deregistration certificate +Usage: cardano-cli conway genesis initial-addr --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] -Usage: cardano-cli conway stake-address stake-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --out-file FILEPATH + Get the address for an initial UTxO based on the verification key - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. +Usage: cardano-cli conway genesis initial-txin --verification-key-file FILEPATH + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] -Usage: cardano-cli conway stake-address stake-and-vote-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - | --always-abstain - | --always-no-confidence - ) - --out-file FILEPATH + Get the TxIn for an initial UTxO based on the verification key - Create a stake address stake and vote delegation certificate, which when - submitted in a transaction delegates stake to a stake pool and a DRep. +Usage: cardano-cli conway genesis create-cardano --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--security-param INT] + [--slot-length INT] + [--slot-coefficient RATIONAL] + ( --mainnet + | --testnet-magic NATURAL + ) + --byron-template FILEPATH + --shelley-template FILEPATH + --alonzo-template FILEPATH + --conway-template FILEPATH + [--node-config-template FILEPATH] -Usage: cardano-cli conway 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 Byron and Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - Create a stake address vote delegation certificate, which when submitted in a - transaction delegates stake to a DRep. +Usage: cardano-cli conway genesis create [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + (--mainnet | --testnet-magic NATURAL) -Usage: cardano-cli conway stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) + Create a Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - Stake pool commands. +Usage: cardano-cli conway genesis create-staked [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--gen-pools INT] + [--gen-stake-delegs INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--supply-delegated LOVELACE] + ( --mainnet + | --testnet-magic NATURAL + ) + [--bulk-pool-cred-files INT] + [--bulk-pools-per-file INT] + [--num-stuffed-utxo INT] + [--relay-specification-file FILEPATH] -Usage: cardano-cli conway stake-pool registration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH + Create a staked Shelley genesis file from a genesis template and + genesis/delegation/spending keys. - Create a stake pool registration certificate +Usage: cardano-cli conway genesis create-testnet-data [--spec-shelley FILEPATH] + [--spec-alonzo FILEPATH] + [--spec-conway FILEPATH] + [--genesis-keys INT] + [--pools INT] + [ --stake-delegators INT + | --transient-stake-delegators INT + ] + [ --drep-keys INT + | --transient-drep-keys INT + ] + [--stuffed-utxo INT] + [--utxo-keys INT] + [--total-supply LOVELACE] + [--delegated-supply LOVELACE] + [--testnet-magic NATURAL] + [--relays FILEPATH] + [--start-time UTC-TIME] + --out-dir DIR -Usage: cardano-cli conway stake-pool deregistration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --epoch NATURAL - --out-file FILEPATH + Create data to use for starting a testnet. - Create a stake pool deregistration certificate +Usage: cardano-cli conway genesis hash --genesis FILEPATH -Usage: cardano-cli conway stake-pool id - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] + Compute the hash of a genesis file - Build pool id from the offline key +Usage: cardano-cli conway governance (action | committee | drep | vote) -Usage: cardano-cli conway stake-pool metadata-hash --pool-metadata-file FILEPATH - [--out-file FILEPATH] + Governance commands. - Print the hash of pool metadata. +Usage: cardano-cli conway governance action + ( create-constitution + | update-committee + | create-info + | create-no-confidence + | create-protocol-parameters-update + | create-treasury-withdrawal + | create-hardfork + | view + ) + + Governance action commands. -Usage: cardano-cli conway text-view decode-cbor +Usage: cardano-cli conway governance action create-constitution + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + --constitution-url TEXT + --constitution-hash HASH + [--constitution-script-hash HASH] + --out-file FILEPATH - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. + Create a constitution. -Usage: cardano-cli conway text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli conway governance action update-committee + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [ --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 - Print a TextView file as decoded CBOR. + Create or update a new committee proposal. -Usage: cardano-cli conway transaction - ( build-raw - | build - | build-estimate - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - | view - ) +Usage: cardano-cli conway governance action create-info (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + --out-file FILEPATH - Transaction commands. + Create an info action. -Usage: cardano-cli conway transaction build-raw - [ --script-valid - | --script-invalid - ] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - --spending-reference-tx-in-execution-units (INT, INT) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - ) - --tx-in-execution-units (INT, INT)] - ]) - [--read-only-tx-in-reference TX-IN] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - [--mint VALUE - ( --mint-script-file FILEPATH - [ - ( --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ) - --mint-execution-units (INT, INT)] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --mint-reference-tx-in-execution-units (INT, INT) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - --fee LOVELACE - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ - ( --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ) - --certificate-execution-units (INT, INT)] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - --certificate-reference-tx-in-execution-units (INT, INT) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ - ( --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ) - --withdrawal-execution-units (INT, INT)] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - --withdrawal-reference-tx-in-execution-units (INT, INT) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--protocol-params-file FILEPATH] - [--vote-file FILEPATH - [ --vote-script-file FILEPATH - [ - ( --vote-redeemer-cbor-file CBOR_FILE - | --vote-redeemer-file JSON_FILE - | --vote-redeemer-value JSON_VALUE - ) - --vote-execution-units (INT, INT)] - | --vote-tx-in-reference TX-IN - --vote-plutus-script-v3 - ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --vote-reference-tx-in-redeemer-file JSON_FILE - | --vote-reference-tx-in-redeemer-value JSON_VALUE - ) - --vote-reference-tx-in-execution-units (INT, INT) - ]] - [--proposal-file FILEPATH - [ --proposal-script-file FILEPATH - [ - ( --proposal-redeemer-cbor-file CBOR_FILE - | --proposal-redeemer-file JSON_FILE - | --proposal-redeemer-value JSON_VALUE - ) - --proposal-execution-units (INT, INT)] - | --proposal-tx-in-reference TX-IN - --proposal-plutus-script-v3 - ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --proposal-reference-tx-in-redeemer-file JSON_FILE - | --proposal-reference-tx-in-redeemer-value JSON_VALUE - ) - --proposal-reference-tx-in-execution-units (INT, INT) - ]] - [--current-treasury-value LOVELACE - --treasury-donation LOVELACE] - --out-file FILEPATH +Usage: cardano-cli conway governance action create-no-confidence + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH - Build a transaction (low-level, inconvenient) + Create a no confidence proposal. - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m +Usage: cardano-cli conway governance action create-protocol-parameters-update + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + [--constitution-script-hash HASH] + [--min-fee-linear LOVELACE] + [--min-fee-constant LOVELACE] + [--max-block-body-size WORD32] + [--max-tx-size WORD32] + [--max-block-header-size WORD16] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--pool-retirement-epoch-interval WORD32] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--treasury-expansion RATIONAL] + [--monetary-expansion RATIONAL] + [--min-pool-cost NATURAL] + [--price-execution-steps RATIONAL + --price-execution-memory RATIONAL] + [--max-tx-execution-units (INT, INT)] + [--max-block-execution-units (INT, INT)] + [--max-value-size INT] + [--collateral-percent INT] + [--max-collateral-inputs INT] + [--utxo-cost-per-byte LOVELACE] + [--pool-voting-threshold-motion-no-confidence RATIONAL + --pool-voting-threshold-committee-normal RATIONAL + --pool-voting-threshold-committee-no-confidence RATIONAL + --pool-voting-threshold-hard-fork-initiation RATIONAL + --pool-voting-threshold-pp-security-group RATIONAL] + [--drep-voting-threshold-motion-no-confidence RATIONAL + --drep-voting-threshold-committee-normal RATIONAL + --drep-voting-threshold-committee-no-confidence RATIONAL + --drep-voting-threshold-update-to-constitution RATIONAL + --drep-voting-threshold-hard-fork-initiation RATIONAL + --drep-voting-threshold-pp-network-group RATIONAL + --drep-voting-threshold-pp-economic-group RATIONAL + --drep-voting-threshold-pp-technical-group RATIONAL + --drep-voting-threshold-pp-governance-group RATIONAL + --drep-voting-threshold-treasury-withdrawal RATIONAL] + [--min-committee-size INT] + [--committee-term-length WORD32] + [--governance-action-lifetime WORD32] + [--new-governance-action-deposit NATURAL] + [--drep-deposit LOVELACE] + [--drep-activity WORD32] + [--ref-script-cost-per-byte RATIONAL] + [--cost-model-file FILE] + --out-file FILEPATH -Usage: cardano-cli conway transaction build --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --script-valid - | --script-invalid - ] - [--witness-override WORD] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - )] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--vote-file FILEPATH - [ --vote-script-file FILEPATH - [ --vote-redeemer-cbor-file CBOR_FILE - | --vote-redeemer-file JSON_FILE - | --vote-redeemer-value JSON_VALUE - ] - | --vote-tx-in-reference TX-IN - --vote-plutus-script-v3 - ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --vote-reference-tx-in-redeemer-file JSON_FILE - | --vote-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--proposal-file FILEPATH - [ --proposal-script-file FILEPATH - [ --proposal-redeemer-cbor-file CBOR_FILE - | --proposal-redeemer-file JSON_FILE - | --proposal-redeemer-value JSON_VALUE - ] - | --proposal-tx-in-reference TX-IN - --proposal-plutus-script-v3 - ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --proposal-reference-tx-in-redeemer-file JSON_FILE - | --proposal-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--treasury-donation LOVELACE] - ( --out-file FILEPATH - | --calculate-plutus-script-cost FILEPATH - ) + Create a protocol parameters update. + +Usage: cardano-cli conway governance action create-treasury-withdrawal + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + ( + ( --funds-receiving-stake-verification-key STRING + | --funds-receiving-stake-verification-key-file FILEPATH + | --funds-receiving-stake-key-hash HASH + ) + --transfer LOVELACE) + [--constitution-script-hash HASH] + --out-file FILEPATH + + Create a treasury withdrawal. + +Usage: cardano-cli conway governance action create-hardfork + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + --protocol-major-version MAJOR + --protocol-minor-version MINOR + --out-file FILEPATH + + Create a hardfork initiation proposal. + +Usage: cardano-cli conway governance action view --action-file FILEPATH + [ --output-json + | --output-yaml + ] + [--out-file FILEPATH] - Build a balanced transaction (automatically calculates fees) + View a governance action. - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m +Usage: cardano-cli conway governance committee + ( key-gen-cold + | key-gen-hot + | key-hash + | create-hot-key-authorization-certificate + | create-cold-key-resignation-certificate + ) -Usage: cardano-cli conway transaction build-estimate - [ --script-valid - | --script-invalid - ] - --shelley-key-witnesses INT - [--byron-key-witnesses Int] - --protocol-params-file FILEPATH - --total-utxo-value VALUE - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - --spending-reference-tx-in-execution-units (INT, INT) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - ) - --tx-in-execution-units (INT, INT)] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ - ( --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ) - --mint-execution-units (INT, INT)] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --mint-reference-tx-in-execution-units (INT, INT) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [ - --certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ - ( --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ) - --certificate-execution-units (INT, INT)] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - --certificate-reference-tx-in-execution-units (INT, INT) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ - ( --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ) - --withdrawal-execution-units (INT, INT)] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - --withdrawal-reference-tx-in-execution-units (INT, INT) - ]] - [--tx-total-collateral INTEGER] - [--reference-script-size NATURAL] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--vote-file FILEPATH - [ --vote-script-file FILEPATH - [ - ( --vote-redeemer-cbor-file CBOR_FILE - | --vote-redeemer-file JSON_FILE - | --vote-redeemer-value JSON_VALUE - ) - --vote-execution-units (INT, INT)] - | --vote-tx-in-reference TX-IN - --vote-plutus-script-v3 - ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --vote-reference-tx-in-redeemer-file JSON_FILE - | --vote-reference-tx-in-redeemer-value JSON_VALUE - ) - --vote-reference-tx-in-execution-units (INT, INT) - ]] - [--proposal-file FILEPATH - [ --proposal-script-file FILEPATH - [ - ( --proposal-redeemer-cbor-file CBOR_FILE - | --proposal-redeemer-file JSON_FILE - | --proposal-redeemer-value JSON_VALUE - ) - --proposal-execution-units (INT, INT)] - | --proposal-tx-in-reference TX-IN - --proposal-plutus-script-v3 - ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --proposal-reference-tx-in-redeemer-file JSON_FILE - | --proposal-reference-tx-in-redeemer-value JSON_VALUE - ) - --proposal-reference-tx-in-execution-units (INT, INT) - ]] - [--current-treasury-value LOVELACE - --treasury-donation LOVELACE] - --out-file FILEPATH + Committee member commands. + +Usage: cardano-cli conway governance committee key-gen-cold + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + + Create a cold key pair for a Constitutional Committee Member + +Usage: cardano-cli conway governance committee key-gen-hot --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a hot key pair for a Constitutional Committee Member + +Usage: cardano-cli conway governance committee key-hash + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + + Print the identifier (hash) of a public key + +Usage: cardano-cli conway governance committee create-hot-key-authorization-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + ( --hot-verification-key STRING + | --hot-verification-key-file FILEPATH + | --hot-verification-key-hash STRING + | --hot-script-hash HASH + | --hot-script-file FILEPATH + ) + --out-file FILEPATH + + Create hot key authorization certificate for a Constitutional Committee Member + +Usage: cardano-cli conway governance committee create-cold-key-resignation-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + [--resignation-metadata-url TEXT + --resignation-metadata-hash HASH] + --out-file FILEPATH + + Create cold key resignation certificate for a Constitutional Committee Member + +Usage: cardano-cli conway governance drep + ( key-gen + | id + | registration-certificate + | retirement-certificate + | update-certificate + | metadata-hash + ) + + DRep member commands. + +Usage: cardano-cli conway governance drep key-gen --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Generate Delegated Representative verification and signing keys. + +Usage: cardano-cli conway governance drep id + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] + + Generate a drep id. + +Usage: cardano-cli conway governance drep registration-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --key-reg-deposit-amt NATURAL + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH - Build a balanced transaction without access to a live node (automatically estimates fees) + Create a registration certificate. - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m +Usage: cardano-cli conway governance drep retirement-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --deposit-amt LOVELACE + --out-file FILEPATH -Usage: cardano-cli conway transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH + Create a DRep retirement certificate. + +Usage: cardano-cli conway governance drep update-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH + + Create a DRep update certificate. + +Usage: cardano-cli conway governance drep metadata-hash --drep-metadata-file FILEPATH + [--out-file FILEPATH] + + Calculate the hash of a metadata file. + +Usage: cardano-cli conway governance vote (create | view) + + Vote commands. + +Usage: cardano-cli conway governance vote create (--yes | --no | --abstain) + --governance-action-tx-id TXID + --governance-action-index WORD16 + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --drep-script-hash HASH + | --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + | --cc-hot-verification-key STRING + | --cc-hot-verification-key-file FILEPATH + | --cc-hot-key-hash STRING + | --cc-hot-script-hash HASH + ) + [--anchor-url TEXT + --anchor-data-hash HASH] + --out-file FILEPATH + + Vote creation. + +Usage: cardano-cli conway governance vote view [--output-json | --output-yaml] + --vote-file FILEPATH + [--out-file FILEPATH] + + Vote viewing. + +Usage: cardano-cli conway node + ( key-gen + | key-gen-KES + | key-gen-VRF + | key-hash-VRF + | new-counter + | issue-op-cert + ) + + Node operation commands. + +Usage: cardano-cli conway node key-gen [--key-output-format STRING] + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH + + Create a key pair for a node operator's offline key and a new certificate + issue counter + +Usage: cardano-cli conway node key-gen-KES [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a key pair for a node KES operational key + +Usage: cardano-cli conway node key-gen-VRF [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a key pair for a node VRF operational key + +Usage: cardano-cli conway node key-hash-VRF + ( --verification-key STRING + | --verification-key-file FILEPATH + ) + [--out-file FILEPATH] + + Print hash of a node's operational VRF key. + +Usage: cardano-cli conway node new-counter + ( --stake-pool-verification-key STRING + | --genesis-delegate-verification-key STRING + | --cold-verification-key-file FILEPATH ) - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH + --counter-value INT + --operational-certificate-issue-counter-file FILEPATH - Sign a transaction + Create a new certificate issue counter -Usage: cardano-cli conway transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH +Usage: cardano-cli conway node issue-op-cert + ( --kes-verification-key STRING + | --kes-verification-key-file FILEPATH + ) + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH + --kes-period NATURAL + --out-file FILEPATH - Create a transaction witness + Issue a node operational certificate -Usage: cardano-cli conway transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH +Usage: cardano-cli conway query + ( protocol-parameters + | tip + | stake-pools + | stake-distribution + | stake-address-info + | utxo + | ledger-state + | protocol-state + | stake-snapshot + | leadership-schedule + | kes-period-info + | pool-state + | tx-mempool + | slot-number + | ref-script-size + | constitution + | gov-state + | drep-state + | drep-stake-distribution + | spo-stake-distribution + | committee-state + | treasury + ) - Assemble a tx body and witness(es) to form a transaction + Node query commands. Will query the local node whose Unix domain socket is + obtained from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli conway transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH +Usage: cardano-cli conway query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Assemble a tx body and witness(es) to form a transaction + Get the node's current protocol parameters -Usage: cardano-cli conway transaction submit --socket-path SOCKET_PATH +Usage: cardano-cli conway query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the node's current tip (slot no, hash, block no) + +Usage: cardano-cli conway query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--volatile-tip | --immutable-tip] + [--output-json | --output-text] + [--out-file FILEPATH] + + Get the node's current set of stake pool ids + +Usage: cardano-cli conway query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --volatile-tip + | --immutable-tip + ] + [ --output-json + | --output-text + ] + [--out-file FILEPATH] + + Get the node's current aggregated stake distribution + +Usage: cardano-cli conway query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + ( --mainnet + | --testnet-magic NATURAL + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the current delegations and reward accounts filtered by stake address. + +Usage: cardano-cli conway query utxo --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + ( --whole-utxo + | (--address ADDRESS) + | (--tx-in TX-IN) + ) + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--output-json | --output-text] + [--out-file FILEPATH] + + Get a portion of the current UTxO: by tx in, by address or the whole. + +Usage: cardano-cli conway query ledger-state --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet | --testnet-magic NATURAL ) - --tx-file FILEPATH + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced + command) -Usage: cardano-cli conway transaction policyid --script-file FILEPATH +Usage: cardano-cli conway query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] - Calculate the PolicyId from the monetary policy script. + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced + command) -Usage: cardano-cli conway transaction calculate-min-fee --tx-body-file FILEPATH - --protocol-params-file FILEPATH - --witness-count NATURAL - [--byron-witness-count NATURAL] - [--reference-script-size NATURAL] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - [ --mainnet - | --testnet-magic NATURAL - ] - [--tx-in-count NATURAL] - [--tx-out-count NATURAL] +Usage: cardano-cli conway query stake-snapshot --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] - Calculate the minimum fee for a transaction. + Obtain the three stake snapshots for a pool, plus the total active stake + (advanced command) -Usage: cardano-cli conway transaction calculate-min-required-utxo --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] +Usage: cardano-cli conway query pool-params --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] - Calculate the minimum required UTxO for a transaction output. + DEPRECATED. Use query pool-state instead. Dump the pool parameters + (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced + command) -Usage: cardano-cli conway transaction calculate-min-value --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] +Usage: cardano-cli conway query leadership-schedule --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --genesis FILEPATH + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --vrf-signing-key-file FILEPATH + (--current | --next) + [ --volatile-tip + | --immutable-tip + ] + [ --output-json + | --output-text + ] + [--out-file FILEPATH] - DEPRECATED: Use 'calculate-min-required-utxo' instead. + Get the slots the node is expected to mint a block in (advanced command) -Usage: cardano-cli conway transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE - ) +Usage: cardano-cli conway query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --op-cert-file FILEPATH + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] - Calculate the hash of script data. + Get information about the current KES period and your node's operational + certificate. -Usage: cardano-cli conway transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH +Usage: cardano-cli conway query pool-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) ) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] - Print a transaction identifier. + Dump the pool state -Usage: cardano-cli conway transaction view +Usage: cardano-cli conway query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + (info | next-tx | tx-exists) + [--out-file FILEPATH] - This command has been removed. Please use "debug transaction view" instead. + Local Mempool info -Usage: cardano-cli latest - ( address - | key - | genesis - | governance - | node - | query - | stake-address - | stake-pool - | text-view - | transaction - ) +Usage: cardano-cli conway query tx-mempool info - Latest era commands (Babbage) - DEPRECATED - will be removed in the future + Ask the node about the current mempool's capacity and sizes -Usage: cardano-cli latest address (key-gen | key-hash | build | info) +Usage: cardano-cli conway query tx-mempool next-tx - Payment address commands. + Requests the next transaction from the mempool's current list -Usage: cardano-cli latest address key-gen [--key-output-format STRING] - [ --normal-key - | --extended-key - | --byron-key - ] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli conway query tx-mempool tx-exists TX_ID - Create an address key pair. + Query if a particular transaction exists in the mempool -Usage: cardano-cli latest address key-hash - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli conway query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--volatile-tip | --immutable-tip] + TIMESTAMP - Print the hash of an address key. + Query slot number for UTC timestamp -Usage: cardano-cli latest address build - ( --payment-verification-key STRING - | --payment-verification-key-file FILEPATH - | --payment-script-file FILEPATH - ) - [ --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ] - (--mainnet | --testnet-magic NATURAL) - [--out-file FILEPATH] +Usage: cardano-cli conway query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + ( --mainnet + | --testnet-magic NATURAL + ) + [ --volatile-tip + | --immutable-tip + ] + [ --output-json + | --output-text + ] + [--out-file FILEPATH] - Build a Shelley payment address, with optional delegation to a stake address. + Calculate the reference input scripts size in bytes for provided transaction + inputs. -Usage: cardano-cli latest address info --address ADDRESS [--out-file FILEPATH] +Usage: cardano-cli conway query constitution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] - Print information about an address. + Get the constitution -Usage: cardano-cli latest key - ( verification-key - | non-extended-key - | convert-byron-key - | convert-byron-genesis-vkey - | convert-itn-key - | convert-itn-extended-key - | convert-itn-bip32-key - | convert-cardano-address-key - ) +Usage: cardano-cli conway query gov-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] - Key utility commands. + Get the governance state -Usage: cardano-cli latest key verification-key --signing-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli conway query drep-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [--include-stake] + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] - Get a verification key from a signing key. This supports all key types. + Get the DRep state. -Usage: cardano-cli latest key non-extended-key --extended-verification-key-file FILEPATH - --verification-key-file FILEPATH +Usage: cardano-cli conway query drep-stake-distribution + --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] - Get a non-extended verification key from an extended verification key. This - supports all extended key types. + Get the DRep stake distribution. -Usage: cardano-cli latest key convert-byron-key [--password TEXT] - ( --byron-payment-key-type - | --legacy-byron-payment-key-type - | --byron-genesis-key-type - | --legacy-byron-genesis-key-type - | --byron-genesis-delegate-key-type - | --legacy-byron-genesis-delegate-key-type - ) - ( --byron-signing-key-file FILEPATH - | --byron-verification-key-file FILEPATH +Usage: cardano-cli conway query spo-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-spos + | + ( --spo-verification-key STRING + | --spo-verification-key-file FILEPATH + | --spo-key-hash HASH + ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the SPO stake distribution. + +Usage: cardano-cli conway query committee-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL ) - --out-file FILEPATH + [ --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + ] + [ --hot-key STRING + | --hot-key-file FILEPATH + | --hot-key-hash STRING + | --hot-script-hash HASH + ] + [ --active + | --expired + | --unrecognized + ] + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] - Convert a Byron payment, genesis or genesis delegate key (signing or - verification) to a corresponding Shelley-format key. + Get the committee state -Usage: cardano-cli latest key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 - --out-file FILEPATH +Usage: cardano-cli conway query treasury --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] - Convert a Base64-encoded Byron genesis verification key to a Shelley genesis - verification key + Get the treasury value -Usage: cardano-cli latest key convert-itn-key - ( --itn-signing-key-file FILEPATH - | --itn-verification-key-file FILEPATH - ) - --out-file FILEPATH +Usage: cardano-cli conway stake-address + ( key-gen + | key-hash + | build + | registration-certificate + | deregistration-certificate + | stake-delegation-certificate + | stake-and-vote-delegation-certificate + | vote-delegation-certificate + ) - Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or - verification key to a corresponding Shelley stake key + Stake address commands. -Usage: cardano-cli latest key convert-itn-extended-key --itn-signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli conway stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key - to a corresponding Shelley stake signing key + Create a stake address key pair -Usage: cardano-cli latest key convert-itn-bip32-key --itn-signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli conway stake-address key-hash + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + ) + [--out-file FILEPATH] - Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a - corresponding Shelley stake signing key + Print the hash of a stake address key -Usage: cardano-cli latest key convert-cardano-address-key - ( --cc-cold-key - | --cc-hot-key - | --drep-key - | --shelley-payment-key - | --shelley-stake-key - | --icarus-payment-key - | --byron-payment-key - ) - --signing-key-file FILEPATH - --out-file FILEPATH +Usage: cardano-cli conway stake-address build + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + ) + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Convert a cardano-address extended signing key to a corresponding - Shelley-format key. + Build a stake address -Usage: cardano-cli latest genesis - ( key-gen-genesis - | key-gen-delegate - | key-gen-utxo - | key-hash - | get-ver-key - | initial-addr - | initial-txin - | create-cardano - | create - | create-staked - | create-testnet-data - | hash - ) +Usage: cardano-cli conway 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 - Genesis block commands. + Create a stake address registration certificate -Usage: cardano-cli latest genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli conway stake-address deregistration-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH - Create a Shelley genesis key pair + Create a stake address deregistration certificate -Usage: cardano-cli latest genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli conway stake-address stake-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --out-file FILEPATH - Create a Shelley genesis delegate key pair + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. -Usage: cardano-cli latest genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli conway stake-address stake-and-vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH + + Create a stake address stake and vote delegation certificate, which when + submitted in a transaction delegates stake to a stake pool and a DRep. - Create a Shelley genesis UTxO key pair +Usage: cardano-cli conway stake-address vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH -Usage: cardano-cli latest genesis key-hash --verification-key-file FILEPATH + Create a stake address vote delegation certificate, which when submitted in a + transaction delegates stake to a DRep. - Print the identifier (hash) of a public key +Usage: cardano-cli conway stake-pool + ( registration-certificate + | deregistration-certificate + | id + | metadata-hash + ) -Usage: cardano-cli latest genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH + Stake pool commands. - Derive the verification key from a signing key +Usage: cardano-cli conway stake-pool registration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + ) + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + ( --pool-reward-account-verification-key STRING + | --pool-reward-account-verification-key-file FILEPATH + ) + ( --pool-owner-verification-key STRING + | --pool-owner-stake-verification-key-file FILEPATH + ) + [ [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT + | --single-host-pool-relay STRING + [--pool-relay-port INT] + | --multi-host-pool-relay STRING + ] + [--metadata-url URL + --metadata-hash HASH] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILEPATH -Usage: cardano-cli latest genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + Create a stake pool registration certificate - Get the address for an initial UTxO based on the verification key +Usage: cardano-cli conway stake-pool deregistration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + --epoch NATURAL + --out-file FILEPATH -Usage: cardano-cli latest genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] + Create a stake pool deregistration certificate - Get the TxIn for an initial UTxO based on the verification key +Usage: cardano-cli conway stake-pool id + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] -Usage: cardano-cli latest genesis create-cardano --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--security-param INT] - [--slot-length INT] - [--slot-coefficient RATIONAL] - ( --mainnet - | --testnet-magic NATURAL - ) - --byron-template FILEPATH - --shelley-template FILEPATH - --alonzo-template FILEPATH - --conway-template FILEPATH - [--node-config-template FILEPATH] + Build pool id from the offline key - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. +Usage: cardano-cli conway stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli latest genesis create [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - (--mainnet | --testnet-magic NATURAL) + Print the hash of pool metadata. - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. +Usage: cardano-cli conway text-view decode-cbor -Usage: cardano-cli latest genesis create-staked [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--gen-pools INT] - [--gen-stake-delegs INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--supply-delegated LOVELACE] - ( --mainnet - | --testnet-magic NATURAL - ) - [--bulk-pool-cred-files INT] - [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] - [--relay-specification-file FILEPATH] + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. - Create a staked Shelley genesis file from a genesis template and - genesis/delegation/spending keys. +Usage: cardano-cli conway text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli latest genesis create-testnet-data [--spec-shelley FILEPATH] - [--spec-alonzo FILEPATH] - [--spec-conway FILEPATH] - [--genesis-keys INT] - [--pools INT] - [ --stake-delegators INT - | --transient-stake-delegators INT - ] - [ --drep-keys INT - | --transient-drep-keys INT - ] - [--stuffed-utxo INT] - [--utxo-keys INT] - [--total-supply LOVELACE] - [--delegated-supply LOVELACE] - [--testnet-magic NATURAL] - [--relays FILEPATH] - [--start-time UTC-TIME] - --out-dir DIR + Print a TextView file as decoded CBOR. - Create data to use for starting a testnet. +Usage: cardano-cli conway transaction + ( build-raw + | build + | build-estimate + | sign + | witness + | assemble + | submit + | policyid + | calculate-min-fee + | calculate-min-required-utxo + | hash-script-data + | txid + | view + ) -Usage: cardano-cli latest genesis hash --genesis FILEPATH + Transaction commands. - Compute the hash of a genesis file +Usage: cardano-cli conway transaction build-raw + [ --script-valid + | --script-invalid + ] + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ] + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + --spending-reference-tx-in-execution-units (INT, INT) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + [ --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present + ] + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + ) + --tx-in-execution-units (INT, INT)] + ]) + [--read-only-tx-in-reference TX-IN] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-total-collateral INTEGER] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + [--mint VALUE + ( --mint-script-file FILEPATH + [ + ( --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ) + --mint-execution-units (INT, INT)] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + --fee LOVELACE + [--certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ + ( --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ) + --certificate-execution-units (INT, INT)] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + --certificate-reference-tx-in-execution-units (INT, INT) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ + ( --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ) + --withdrawal-execution-units (INT, INT)] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + --withdrawal-reference-tx-in-execution-units (INT, INT) + ]] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--protocol-params-file FILEPATH] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] + --out-file FILEPATH -Usage: cardano-cli latest governance (action | committee | drep | vote) + Build a transaction (low-level, inconvenient) - Governance commands. + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m -Usage: cardano-cli latest governance action - ( create-constitution - | update-committee - | create-info - | create-no-confidence - | create-protocol-parameters-update - | create-treasury-withdrawal - | create-hardfork - | view +Usage: cardano-cli conway transaction build --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --script-valid + | --script-invalid + ] + [--witness-override WORD] + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ] + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + [ --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present + ] + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + )] + ]) + [--read-only-tx-in-reference TX-IN] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-total-collateral INTEGER] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( --mint-script-file FILEPATH + [ --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + [--certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--treasury-donation LOVELACE] + ( --out-file FILEPATH + | --calculate-plutus-script-cost FILEPATH ) - Governance action commands. - -Usage: cardano-cli latest governance action create-constitution - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --anchor-url TEXT - --anchor-data-hash HASH - --constitution-url TEXT - --constitution-hash HASH - [--constitution-script-hash HASH] - --out-file FILEPATH - - Create a constitution. - -Usage: cardano-cli latest governance action update-committee - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [ --remove-cc-cold-verification-key STRING - | --remove-cc-cold-verification-key-file FILEPATH - | --remove-cc-cold-verification-key-hash STRING - | --remove-cc-cold-script-hash HASH - ] - [ - ( --add-cc-cold-verification-key STRING - | --add-cc-cold-verification-key-file FILEPATH - | --add-cc-cold-verification-key-hash STRING - | --add-cc-cold-script-hash HASH - ) - --epoch NATURAL] - --threshold RATIONAL - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --out-file FILEPATH - - Create or update a new committee proposal. - -Usage: cardano-cli latest governance action create-info (--mainnet | --testnet) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - --out-file FILEPATH - - Create an info action. - -Usage: cardano-cli latest governance action create-no-confidence - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --out-file FILEPATH - - Create a no confidence proposal. + Build a balanced transaction (automatically calculates fees) -Usage: cardano-cli latest governance action create-protocol-parameters-update - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - [--constitution-script-hash HASH] - [--min-fee-linear LOVELACE] - [--min-fee-constant LOVELACE] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--max-block-header-size WORD16] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--treasury-expansion RATIONAL] - [--monetary-expansion RATIONAL] - [--min-pool-cost NATURAL] - [--price-execution-steps RATIONAL - --price-execution-memory RATIONAL] - [--max-tx-execution-units (INT, INT)] - [--max-block-execution-units (INT, INT)] - [--max-value-size INT] - [--collateral-percent INT] - [--max-collateral-inputs INT] - [--utxo-cost-per-byte LOVELACE] - [--pool-voting-threshold-motion-no-confidence RATIONAL - --pool-voting-threshold-committee-normal RATIONAL - --pool-voting-threshold-committee-no-confidence RATIONAL - --pool-voting-threshold-hard-fork-initiation RATIONAL - --pool-voting-threshold-pp-security-group RATIONAL] - [--drep-voting-threshold-motion-no-confidence RATIONAL - --drep-voting-threshold-committee-normal RATIONAL - --drep-voting-threshold-committee-no-confidence RATIONAL - --drep-voting-threshold-update-to-constitution RATIONAL - --drep-voting-threshold-hard-fork-initiation RATIONAL - --drep-voting-threshold-pp-network-group RATIONAL - --drep-voting-threshold-pp-economic-group RATIONAL - --drep-voting-threshold-pp-technical-group RATIONAL - --drep-voting-threshold-pp-governance-group RATIONAL - --drep-voting-threshold-treasury-withdrawal RATIONAL] - [--min-committee-size INT] - [--committee-term-length WORD32] - [--governance-action-lifetime WORD32] - [--new-governance-action-deposit NATURAL] - [--drep-deposit LOVELACE] - [--drep-activity WORD32] - [--ref-script-cost-per-byte RATIONAL] - [--cost-model-file FILE] - --out-file FILEPATH + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - Create a protocol parameters update. +Usage: cardano-cli conway transaction build-estimate + [ --script-valid + | --script-invalid + ] + --shelley-key-witnesses INT + [--byron-key-witnesses Int] + --protocol-params-file FILEPATH + --total-utxo-value VALUE + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ] + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + --spending-reference-tx-in-execution-units (INT, INT) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + [ --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present + ] + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + ) + --tx-in-execution-units (INT, INT)] + ]) + [--read-only-tx-in-reference TX-IN] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( --mint-script-file FILEPATH + [ + ( --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ) + --mint-execution-units (INT, INT)] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + [ + --certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ + ( --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ) + --certificate-execution-units (INT, INT)] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + --certificate-reference-tx-in-execution-units (INT, INT) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ + ( --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ) + --withdrawal-execution-units (INT, INT)] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + --withdrawal-reference-tx-in-execution-units (INT, INT) + ]] + [--tx-total-collateral INTEGER] + [--reference-script-size NATURAL] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] + --out-file FILEPATH -Usage: cardano-cli latest governance action create-treasury-withdrawal - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - --anchor-url TEXT - --anchor-data-hash HASH - ( - ( --funds-receiving-stake-verification-key STRING - | --funds-receiving-stake-verification-key-file FILEPATH - | --funds-receiving-stake-key-hash HASH - ) - --transfer LOVELACE) - [--constitution-script-hash HASH] - --out-file FILEPATH + Build a balanced transaction without access to a live node (automatically estimates fees) - Create a treasury withdrawal. + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m -Usage: cardano-cli latest governance action create-hardfork - ( --mainnet - | --testnet - ) - --governance-action-deposit NATURAL - ( --deposit-return-stake-verification-key STRING - | --deposit-return-stake-verification-key-file FILEPATH - | --deposit-return-stake-key-hash HASH - | --deposit-return-stake-script-file FILEPATH - | --deposit-return-stake-address ADDRESS - ) - [--prev-governance-action-tx-id TXID - --prev-governance-action-index WORD16] - --anchor-url TEXT - --anchor-data-hash HASH - --protocol-major-version MAJOR - --protocol-minor-version MINOR - --out-file FILEPATH +Usage: cardano-cli conway transaction sign + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) + [--signing-key-file FILEPATH + [--address STRING]] + [ --mainnet + | --testnet-magic NATURAL + ] + --out-file FILEPATH - Create a hardfork initiation proposal. + Sign a transaction -Usage: cardano-cli latest governance action view --action-file FILEPATH - [ --output-json - | --output-yaml - ] - [--out-file FILEPATH] +Usage: cardano-cli conway transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [ --mainnet + | --testnet-magic NATURAL + ] + --out-file FILEPATH - View a governance action. + Create a transaction witness -Usage: cardano-cli latest governance committee - ( key-gen-cold - | key-gen-hot - | key-hash - | create-hot-key-authorization-certificate - | create-cold-key-resignation-certificate - ) +Usage: cardano-cli conway transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH - Committee member commands. + Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli latest governance committee key-gen-cold - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH +Usage: cardano-cli conway transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH - Create a cold key pair for a Constitutional Committee Member + Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli latest governance committee key-gen-hot --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli conway transaction submit --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --tx-file FILEPATH - Create a hot key pair for a Constitutional Committee Member + 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 governance committee key-hash - ( --verification-key STRING - | --verification-key-file FILEPATH - ) +Usage: cardano-cli conway transaction policyid --script-file FILEPATH - Print the identifier (hash) of a public key + Calculate the PolicyId from the monetary policy script. -Usage: cardano-cli latest governance committee create-hot-key-authorization-certificate - ( --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - | --cold-script-file FILEPATH - ) - ( --hot-verification-key STRING - | --hot-verification-key-file FILEPATH - | --hot-verification-key-hash STRING - | --hot-script-hash HASH - | --hot-script-file FILEPATH - ) - --out-file FILEPATH +Usage: cardano-cli conway transaction calculate-min-fee --tx-body-file FILEPATH + --protocol-params-file FILEPATH + --witness-count NATURAL + [--byron-witness-count NATURAL] + [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILEPATH] + [ --mainnet + | --testnet-magic NATURAL + ] + [--tx-in-count NATURAL] + [--tx-out-count NATURAL] - Create hot key authorization certificate for a Constitutional Committee Member + Calculate the minimum fee for a transaction. -Usage: cardano-cli latest governance committee create-cold-key-resignation-certificate - ( --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - | --cold-script-file FILEPATH - ) - [--resignation-metadata-url TEXT - --resignation-metadata-hash HASH] - --out-file FILEPATH +Usage: cardano-cli conway transaction calculate-min-required-utxo --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] - Create cold key resignation certificate for a Constitutional Committee Member + Calculate the minimum required UTxO for a transaction output. -Usage: cardano-cli latest governance drep - ( key-gen - | id - | registration-certificate - | retirement-certificate - | update-certificate - | metadata-hash - ) +Usage: cardano-cli conway transaction calculate-min-value --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] - DRep member commands. + DEPRECATED: Use 'calculate-min-required-utxo' instead. -Usage: cardano-cli latest governance drep key-gen --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli conway transaction hash-script-data + ( --script-data-cbor-file CBOR_FILE + | --script-data-file JSON_FILE + | --script-data-value JSON_VALUE + ) - Generate Delegated Representative verification and signing keys. + Calculate the hash of script data. -Usage: cardano-cli latest governance drep id - ( --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] +Usage: cardano-cli conway transaction txid + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) - Generate a drep id. + Print a transaction identifier. -Usage: cardano-cli latest governance drep registration-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - --key-reg-deposit-amt NATURAL - [--drep-metadata-url TEXT - --drep-metadata-hash HASH] - --out-file FILEPATH +Usage: cardano-cli conway transaction view - Create a registration certificate. + This command has been removed. Please use "debug transaction view" instead. -Usage: cardano-cli latest governance drep retirement-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - --deposit-amt LOVELACE - --out-file FILEPATH +Usage: cardano-cli latest + ( address + | key + | genesis + | governance + | node + | query + | stake-address + | stake-pool + | text-view + | transaction + ) - Create a DRep retirement certificate. + Latest era commands (Conway) - DEPRECATED - will be removed in the future -Usage: cardano-cli latest governance drep update-certificate - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - [--drep-metadata-url TEXT - --drep-metadata-hash HASH] - --out-file FILEPATH +Usage: cardano-cli latest address (key-gen | key-hash | build | info) - Create a DRep update certificate. + Payment address commands. -Usage: cardano-cli latest governance drep metadata-hash --drep-metadata-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli latest address key-gen [--key-output-format STRING] + [ --normal-key + | --extended-key + | --byron-key + ] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Calculate the hash of a metadata file. + Create an address key pair. -Usage: cardano-cli latest governance vote (create | view) +Usage: cardano-cli latest address key-hash + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + ) + [--out-file FILEPATH] - Vote commands. + Print the hash of an address key. -Usage: cardano-cli latest governance vote create (--yes | --no | --abstain) - --governance-action-tx-id TXID - --governance-action-index WORD16 - ( --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - | --drep-script-hash HASH - | --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - | --cc-hot-verification-key STRING - | --cc-hot-verification-key-file FILEPATH - | --cc-hot-key-hash STRING - | --cc-hot-script-hash HASH - ) - [--anchor-url TEXT - --anchor-data-hash HASH] - --out-file FILEPATH +Usage: cardano-cli latest address build + ( --payment-verification-key STRING + | --payment-verification-key-file FILEPATH + | --payment-script-file FILEPATH + ) + [ --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ] + (--mainnet | --testnet-magic NATURAL) + [--out-file FILEPATH] - Vote creation. + Build a Shelley payment address, with optional delegation to a stake address. -Usage: cardano-cli latest governance vote view [--output-json | --output-yaml] - --vote-file FILEPATH - [--out-file FILEPATH] +Usage: cardano-cli latest address info --address ADDRESS [--out-file FILEPATH] - Vote viewing. + Print information about an address. -Usage: cardano-cli latest node - ( key-gen - | key-gen-KES - | key-gen-VRF - | key-hash-VRF - | new-counter - | issue-op-cert - ) +Usage: cardano-cli latest key + ( verification-key + | non-extended-key + | convert-byron-key + | convert-byron-genesis-vkey + | convert-itn-key + | convert-itn-extended-key + | convert-itn-bip32-key + | convert-cardano-address-key + ) - Node operation commands. + Key utility commands. -Usage: cardano-cli latest node key-gen [--key-output-format STRING] - --cold-verification-key-file FILEPATH - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli latest key verification-key --signing-key-file FILEPATH + --verification-key-file FILEPATH - Create a key pair for a node operator's offline key and a new certificate - issue counter + Get a verification key from a signing key. This supports all key types. -Usage: cardano-cli latest node key-gen-KES [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli latest key non-extended-key --extended-verification-key-file FILEPATH + --verification-key-file FILEPATH - Create a key pair for a node KES operational key + Get a non-extended verification key from an extended verification key. This + supports all extended key types. -Usage: cardano-cli latest node key-gen-VRF [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli latest key convert-byron-key [--password TEXT] + ( --byron-payment-key-type + | --legacy-byron-payment-key-type + | --byron-genesis-key-type + | --legacy-byron-genesis-key-type + | --byron-genesis-delegate-key-type + | --legacy-byron-genesis-delegate-key-type + ) + ( --byron-signing-key-file FILEPATH + | --byron-verification-key-file FILEPATH + ) + --out-file FILEPATH - Create a key pair for a node VRF operational key + Convert a Byron payment, genesis or genesis delegate key (signing or + verification) to a corresponding Shelley-format key. -Usage: cardano-cli latest node key-hash-VRF - ( --verification-key STRING - | --verification-key-file FILEPATH - ) - [--out-file FILEPATH] +Usage: cardano-cli latest key convert-byron-genesis-vkey --byron-genesis-verification-key BASE64 + --out-file FILEPATH - Print hash of a node's operational VRF key. + Convert a Base64-encoded Byron genesis verification key to a Shelley genesis + verification key -Usage: cardano-cli latest node new-counter - ( --stake-pool-verification-key STRING - | --genesis-delegate-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --counter-value INT - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli latest key convert-itn-key + ( --itn-signing-key-file FILEPATH + | --itn-verification-key-file FILEPATH + ) + --out-file FILEPATH - Create a new certificate issue counter + Convert an Incentivized Testnet (ITN) non-extended (Ed25519) signing or + verification key to a corresponding Shelley stake key -Usage: cardano-cli latest node issue-op-cert - ( --kes-verification-key STRING - | --kes-verification-key-file FILEPATH - ) - --cold-signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH - --kes-period NATURAL - --out-file FILEPATH +Usage: cardano-cli latest key convert-itn-extended-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Issue a node operational certificate + Convert an Incentivized Testnet (ITN) extended (Ed25519Extended) signing key + to a corresponding Shelley stake signing key -Usage: cardano-cli latest query - ( protocol-parameters - | tip - | stake-pools - | stake-distribution - | stake-address-info - | utxo - | ledger-state - | protocol-state - | stake-snapshot - | leadership-schedule - | kes-period-info - | pool-state - | tx-mempool - | slot-number - | ref-script-size - | constitution - | gov-state - | drep-state - | drep-stake-distribution - | spo-stake-distribution - | committee-state - | treasury - ) +Usage: cardano-cli latest key convert-itn-bip32-key --itn-signing-key-file FILEPATH + --out-file FILEPATH - Node query commands. Will query the local node whose Unix domain socket is - obtained from the CARDANO_NODE_SOCKET_PATH environment variable. + Convert an Incentivized Testnet (ITN) BIP32 (Ed25519Bip32) signing key to a + corresponding Shelley stake signing key -Usage: cardano-cli latest query protocol-parameters --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli latest key convert-cardano-address-key + ( --cc-cold-key + | --cc-hot-key + | --drep-key + | --shelley-payment-key + | --shelley-stake-key + | --icarus-payment-key + | --byron-payment-key + ) + --signing-key-file FILEPATH + --out-file FILEPATH - Get the node's current protocol parameters + Convert a cardano-address extended signing key to a corresponding + Shelley-format key. -Usage: cardano-cli latest query tip --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] +Usage: cardano-cli latest genesis + ( key-gen-genesis + | key-gen-delegate + | key-gen-utxo + | key-hash + | get-ver-key + | initial-addr + | initial-txin + | create-cardano + | create + | create-staked + | create-testnet-data + | hash + ) - Get the node's current tip (slot no, hash, block no) + Genesis block commands. -Usage: cardano-cli latest query stake-pools --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--volatile-tip | --immutable-tip] - [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli latest genesis key-gen-genesis --verification-key-file FILEPATH + --signing-key-file FILEPATH - Get the node's current set of stake pool ids + Create a Shelley genesis key pair -Usage: cardano-cli latest query stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --volatile-tip - | --immutable-tip - ] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] +Usage: cardano-cli latest genesis key-gen-delegate --verification-key-file FILEPATH + --signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH - Get the node's current aggregated stake distribution + Create a Shelley genesis delegate key pair -Usage: cardano-cli latest query stake-address-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - --address ADDRESS - ( --mainnet - | --testnet-magic NATURAL - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] +Usage: cardano-cli latest genesis key-gen-utxo --verification-key-file FILEPATH + --signing-key-file FILEPATH - Get the current delegations and reward accounts filtered by stake address. + Create a Shelley genesis UTxO key pair -Usage: cardano-cli latest query utxo --socket-path SOCKET_PATH - [--cardano-mode [--epoch-slots SLOTS]] - ( --whole-utxo - | (--address ADDRESS) - | (--tx-in TX-IN) - ) - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--output-json | --output-text] - [--out-file FILEPATH] +Usage: cardano-cli latest genesis key-hash --verification-key-file FILEPATH - Get a portion of the current UTxO: by tx in, by address or the whole. + Print the identifier (hash) of a public key -Usage: cardano-cli latest query ledger-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] +Usage: cardano-cli latest genesis get-ver-key --verification-key-file FILEPATH + --signing-key-file FILEPATH - Dump the current ledger state of the node (Ledger.NewEpochState -- advanced - command) + Derive the verification key from a signing key -Usage: cardano-cli latest query protocol-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] +Usage: cardano-cli latest genesis initial-addr --verification-key-file FILEPATH ( --mainnet | --testnet-magic NATURAL ) - [ --volatile-tip - | --immutable-tip - ] [--out-file FILEPATH] - Dump the current protocol state of the node (Ledger.ChainDepState -- advanced - command) + Get the address for an initial UTxO based on the verification key -Usage: cardano-cli latest query stake-snapshot --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] +Usage: cardano-cli latest genesis initial-txin --verification-key-file FILEPATH ( --mainnet | --testnet-magic NATURAL ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [ --volatile-tip - | --immutable-tip - ] [--out-file FILEPATH] - Obtain the three stake snapshots for a pool, plus the total active stake - (advanced command) + Get the TxIn for an initial UTxO based on the verification key -Usage: cardano-cli latest query pool-params --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] +Usage: cardano-cli latest genesis create-cardano --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--security-param INT] + [--slot-length INT] + [--slot-coefficient RATIONAL] + ( --mainnet + | --testnet-magic NATURAL + ) + --byron-template FILEPATH + --shelley-template FILEPATH + --alonzo-template FILEPATH + --conway-template FILEPATH + [--node-config-template FILEPATH] - DEPRECATED. Use query pool-state instead. Dump the pool parameters - (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced - command) + Create a Byron and Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -Usage: cardano-cli latest query leadership-schedule --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - --genesis FILEPATH - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --vrf-signing-key-file FILEPATH - (--current | --next) - [ --volatile-tip - | --immutable-tip - ] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] +Usage: cardano-cli latest genesis create [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + (--mainnet | --testnet-magic NATURAL) - Get the slots the node is expected to mint a block in (advanced command) + Create a Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -Usage: cardano-cli latest query kes-period-info --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] +Usage: cardano-cli latest genesis create-staked [--key-output-format STRING] + --genesis-dir DIR + [--gen-genesis-keys INT] + [--gen-utxo-keys INT] + [--gen-pools INT] + [--gen-stake-delegs INT] + [--start-time UTC-TIME] + [--supply LOVELACE] + [--supply-delegated LOVELACE] ( --mainnet | --testnet-magic NATURAL ) - --op-cert-file FILEPATH - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] - - Get information about the current KES period and your node's operational - certificate. - -Usage: cardano-cli latest query pool-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-stake-pools - | (--stake-pool-id STAKE_POOL_ID) - ) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] - - Dump the pool state - -Usage: cardano-cli latest query tx-mempool --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - (info | next-tx | tx-exists) - [--out-file FILEPATH] - - Local Mempool info - -Usage: cardano-cli latest query tx-mempool info - - Ask the node about the current mempool's capacity and sizes - -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 - - Query if a particular transaction exists in the mempool - -Usage: cardano-cli latest query slot-number --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--volatile-tip | --immutable-tip] - TIMESTAMP + [--bulk-pool-cred-files INT] + [--bulk-pools-per-file INT] + [--num-stuffed-utxo INT] + [--relay-specification-file FILEPATH] - Query slot number for UTC timestamp + Create a staked Shelley genesis file from a genesis template and + genesis/delegation/spending keys. -Usage: cardano-cli latest query ref-script-size --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - (--tx-in TX-IN) - ( --mainnet - | --testnet-magic NATURAL - ) - [ --volatile-tip - | --immutable-tip - ] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] +Usage: cardano-cli latest genesis create-testnet-data [--spec-shelley FILEPATH] + [--spec-alonzo FILEPATH] + [--spec-conway FILEPATH] + [--genesis-keys INT] + [--pools INT] + [ --stake-delegators INT + | --transient-stake-delegators INT + ] + [ --drep-keys INT + | --transient-drep-keys INT + ] + [--stuffed-utxo INT] + [--utxo-keys INT] + [--total-supply LOVELACE] + [--delegated-supply LOVELACE] + [--testnet-magic NATURAL] + [--relays FILEPATH] + [--start-time UTC-TIME] + --out-dir DIR - Calculate the reference input scripts size in bytes for provided transaction - inputs. + Create data to use for starting a testnet. -Usage: cardano-cli latest query constitution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] +Usage: cardano-cli latest genesis hash --genesis FILEPATH - Get the constitution + Compute the hash of a genesis file -Usage: cardano-cli latest query gov-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] +Usage: cardano-cli latest governance (action | committee | drep | vote) - Get the governance state + Governance commands. -Usage: cardano-cli latest query drep-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-dreps - | - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - ) - [--include-stake] - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] +Usage: cardano-cli latest governance action + ( create-constitution + | update-committee + | create-info + | create-no-confidence + | create-protocol-parameters-update + | create-treasury-withdrawal + | create-hardfork + | view + ) - Get the DRep state. + Governance action commands. -Usage: cardano-cli latest query drep-stake-distribution - --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-dreps - | - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - ) - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] +Usage: cardano-cli latest governance action create-constitution + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + --constitution-url TEXT + --constitution-hash HASH + [--constitution-script-hash HASH] + --out-file FILEPATH - Get the DRep stake distribution. + Create a constitution. -Usage: cardano-cli latest query spo-stake-distribution --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - ( --all-spos - | - ( --spo-verification-key STRING - | --spo-verification-key-file FILEPATH - | --spo-key-hash HASH - ) - ) - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] +Usage: cardano-cli latest governance action update-committee + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [ --remove-cc-cold-verification-key STRING + | --remove-cc-cold-verification-key-file FILEPATH + | --remove-cc-cold-verification-key-hash STRING + | --remove-cc-cold-script-hash HASH + ] + [ + ( --add-cc-cold-verification-key STRING + | --add-cc-cold-verification-key-file FILEPATH + | --add-cc-cold-verification-key-hash STRING + | --add-cc-cold-script-hash HASH + ) + --epoch NATURAL] + --threshold RATIONAL + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH - Get the SPO stake distribution. + Create or update a new committee proposal. -Usage: cardano-cli latest query committee-state --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL - ) - [ --cold-verification-key STRING - | --cold-verification-key-file FILEPATH - | --cold-verification-key-hash STRING - | --cold-script-hash HASH - ] - [ --hot-key STRING - | --hot-key-file FILEPATH - | --hot-key-hash STRING - | --hot-script-hash HASH - ] - [ --active - | --expired - | --unrecognized - ] - [ --volatile-tip - | --immutable-tip - ] - [--out-file FILEPATH] +Usage: cardano-cli latest governance action create-info (--mainnet | --testnet) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + --out-file FILEPATH - Get the committee state + Create an info action. -Usage: cardano-cli latest query treasury --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - (--mainnet | --testnet-magic NATURAL) - [--volatile-tip | --immutable-tip] - [--out-file FILEPATH] +Usage: cardano-cli latest governance action create-no-confidence + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --out-file FILEPATH + + Create a no confidence proposal. + +Usage: cardano-cli latest governance action create-protocol-parameters-update + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + [--constitution-script-hash HASH] + [--min-fee-linear LOVELACE] + [--min-fee-constant LOVELACE] + [--max-block-body-size WORD32] + [--max-tx-size WORD32] + [--max-block-header-size WORD16] + [--key-reg-deposit-amt NATURAL] + [--pool-reg-deposit NATURAL] + [--pool-retirement-epoch-interval WORD32] + [--number-of-pools NATURAL] + [--pool-influence RATIONAL] + [--treasury-expansion RATIONAL] + [--monetary-expansion RATIONAL] + [--min-pool-cost NATURAL] + [--price-execution-steps RATIONAL + --price-execution-memory RATIONAL] + [--max-tx-execution-units (INT, INT)] + [--max-block-execution-units (INT, INT)] + [--max-value-size INT] + [--collateral-percent INT] + [--max-collateral-inputs INT] + [--utxo-cost-per-byte LOVELACE] + [--pool-voting-threshold-motion-no-confidence RATIONAL + --pool-voting-threshold-committee-normal RATIONAL + --pool-voting-threshold-committee-no-confidence RATIONAL + --pool-voting-threshold-hard-fork-initiation RATIONAL + --pool-voting-threshold-pp-security-group RATIONAL] + [--drep-voting-threshold-motion-no-confidence RATIONAL + --drep-voting-threshold-committee-normal RATIONAL + --drep-voting-threshold-committee-no-confidence RATIONAL + --drep-voting-threshold-update-to-constitution RATIONAL + --drep-voting-threshold-hard-fork-initiation RATIONAL + --drep-voting-threshold-pp-network-group RATIONAL + --drep-voting-threshold-pp-economic-group RATIONAL + --drep-voting-threshold-pp-technical-group RATIONAL + --drep-voting-threshold-pp-governance-group RATIONAL + --drep-voting-threshold-treasury-withdrawal RATIONAL] + [--min-committee-size INT] + [--committee-term-length WORD32] + [--governance-action-lifetime WORD32] + [--new-governance-action-deposit NATURAL] + [--drep-deposit LOVELACE] + [--drep-activity WORD32] + [--ref-script-cost-per-byte RATIONAL] + [--cost-model-file FILE] + --out-file FILEPATH - Get the treasury value + Create a protocol parameters update. -Usage: cardano-cli latest stake-address - ( key-gen - | key-hash - | build - | registration-certificate - | deregistration-certificate - | stake-delegation-certificate - | stake-and-vote-delegation-certificate - | vote-delegation-certificate - ) +Usage: cardano-cli latest governance action create-treasury-withdrawal + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + --anchor-url TEXT + --anchor-data-hash HASH + ( + ( --funds-receiving-stake-verification-key STRING + | --funds-receiving-stake-verification-key-file FILEPATH + | --funds-receiving-stake-key-hash HASH + ) + --transfer LOVELACE) + [--constitution-script-hash HASH] + --out-file FILEPATH - Stake address commands. + Create a treasury withdrawal. -Usage: cardano-cli latest stake-address key-gen [--key-output-format STRING] - --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli latest governance action create-hardfork + ( --mainnet + | --testnet + ) + --governance-action-deposit NATURAL + ( --deposit-return-stake-verification-key STRING + | --deposit-return-stake-verification-key-file FILEPATH + | --deposit-return-stake-key-hash HASH + | --deposit-return-stake-script-file FILEPATH + | --deposit-return-stake-address ADDRESS + ) + [--prev-governance-action-tx-id TXID + --prev-governance-action-index WORD16] + --anchor-url TEXT + --anchor-data-hash HASH + --protocol-major-version MAJOR + --protocol-minor-version MINOR + --out-file FILEPATH - Create a stake address key pair + Create a hardfork initiation proposal. -Usage: cardano-cli latest stake-address key-hash - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - ) +Usage: cardano-cli latest governance action view --action-file FILEPATH + [ --output-json + | --output-yaml + ] [--out-file FILEPATH] - Print the hash of a stake address key - -Usage: cardano-cli latest stake-address build - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - ) - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] - - Build a stake address - -Usage: cardano-cli latest stake-address registration-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH + View a governance action. - Create a stake address registration certificate +Usage: cardano-cli latest governance committee + ( key-gen-cold + | key-gen-hot + | key-hash + | create-hot-key-authorization-certificate + | create-cold-key-resignation-certificate + ) -Usage: cardano-cli latest stake-address deregistration-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - --key-reg-deposit-amt NATURAL - --out-file FILEPATH + Committee member commands. - Create a stake address deregistration certificate +Usage: cardano-cli latest governance committee key-gen-cold + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH -Usage: cardano-cli latest stake-address stake-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - --out-file FILEPATH + Create a cold key pair for a Constitutional Committee Member - Create a stake address stake delegation certificate, which when submitted in a - transaction delegates stake to a stake pool. +Usage: cardano-cli latest governance committee key-gen-hot --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli latest stake-address stake-and-vote-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - | --stake-pool-id STAKE_POOL_ID - ) - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - | --always-abstain - | --always-no-confidence - ) - --out-file FILEPATH + Create a hot key pair for a Constitutional Committee Member - Create a stake address stake and vote delegation certificate, which when - submitted in a transaction delegates stake to a stake pool and a DRep. +Usage: cardano-cli latest governance committee key-hash + ( --verification-key STRING + | --verification-key-file FILEPATH + ) -Usage: cardano-cli latest stake-address vote-delegation-certificate - ( --stake-verification-key STRING - | --stake-verification-key-file FILEPATH - | --stake-key-hash HASH - | --stake-script-file FILEPATH - | --stake-address ADDRESS - ) - ( --drep-script-hash HASH - | --drep-verification-key STRING - | --drep-verification-key-file FILEPATH - | --drep-key-hash HASH - | --always-abstain - | --always-no-confidence - ) - --out-file FILEPATH + Print the identifier (hash) of a public key - Create a stake address vote delegation certificate, which when submitted in a - transaction delegates stake to a DRep. +Usage: cardano-cli latest governance committee create-hot-key-authorization-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + ( --hot-verification-key STRING + | --hot-verification-key-file FILEPATH + | --hot-verification-key-hash STRING + | --hot-script-hash HASH + | --hot-script-file FILEPATH + ) + --out-file FILEPATH -Usage: cardano-cli latest stake-pool - ( registration-certificate - | deregistration-certificate - | id - | metadata-hash - ) + Create hot key authorization certificate for a Constitutional Committee Member - Stake pool commands. +Usage: cardano-cli latest governance committee create-cold-key-resignation-certificate + ( --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + | --cold-script-file FILEPATH + ) + [--resignation-metadata-url TEXT + --resignation-metadata-hash HASH] + --out-file FILEPATH -Usage: cardano-cli latest stake-pool registration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - ) - --pool-pledge LOVELACE - --pool-cost LOVELACE - --pool-margin RATIONAL - ( --pool-reward-account-verification-key STRING - | --pool-reward-account-verification-key-file FILEPATH - ) - ( --pool-owner-verification-key STRING - | --pool-owner-stake-verification-key-file FILEPATH - ) - [ [--pool-relay-ipv4 STRING] - [--pool-relay-ipv6 STRING] - --pool-relay-port INT - | --single-host-pool-relay STRING - [--pool-relay-port INT] - | --multi-host-pool-relay STRING - ] - [--metadata-url URL - --metadata-hash HASH] - ( --mainnet - | --testnet-magic NATURAL - ) - --out-file FILEPATH + Create cold key resignation certificate for a Constitutional Committee Member - Create a stake pool registration certificate +Usage: cardano-cli latest governance drep + ( key-gen + | id + | registration-certificate + | retirement-certificate + | update-certificate + | metadata-hash + ) -Usage: cardano-cli latest stake-pool deregistration-certificate - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - --epoch NATURAL - --out-file FILEPATH + DRep member commands. - Create a stake pool deregistration certificate +Usage: cardano-cli latest governance drep key-gen --verification-key-file FILEPATH + --signing-key-file FILEPATH -Usage: cardano-cli latest stake-pool id - ( --stake-pool-verification-key STRING - | --cold-verification-key-file FILEPATH - ) - [--output-format STRING] - [--out-file FILEPATH] + Generate Delegated Representative verification and signing keys. - Build pool id from the offline key +Usage: cardano-cli latest governance drep id + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] -Usage: cardano-cli latest stake-pool metadata-hash --pool-metadata-file FILEPATH - [--out-file FILEPATH] + Generate a drep id. - Print the hash of pool metadata. +Usage: cardano-cli latest governance drep registration-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --key-reg-deposit-amt NATURAL + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH -Usage: cardano-cli latest text-view decode-cbor + Create a registration certificate. - Commands for dealing with Shelley TextView files. Transactions, addresses etc - are stored on disk as TextView files. +Usage: cardano-cli latest governance drep retirement-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + --deposit-amt LOVELACE + --out-file FILEPATH -Usage: cardano-cli latest text-view decode-cbor --in-file FILEPATH - [--out-file FILEPATH] + Create a DRep retirement certificate. - Print a TextView file as decoded CBOR. +Usage: cardano-cli latest governance drep update-certificate + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + [--drep-metadata-url TEXT + --drep-metadata-hash HASH] + --out-file FILEPATH -Usage: cardano-cli latest transaction - ( build-raw - | build - | build-estimate - | sign - | witness - | assemble - | submit - | policyid - | calculate-min-fee - | calculate-min-required-utxo - | hash-script-data - | txid - | view - ) + Create a DRep update certificate. - Transaction commands. +Usage: cardano-cli latest governance drep metadata-hash --drep-metadata-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli latest transaction build-raw - [ --script-valid - | --script-invalid - ] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - --spending-reference-tx-in-execution-units (INT, INT) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - ) - --tx-in-execution-units (INT, INT)] - ]) - [--read-only-tx-in-reference TX-IN] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - [--mint VALUE - ( --mint-script-file FILEPATH - [ - ( --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ) - --mint-execution-units (INT, INT)] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --mint-reference-tx-in-execution-units (INT, INT) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - --fee LOVELACE - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ - ( --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ) - --certificate-execution-units (INT, INT)] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - --certificate-reference-tx-in-execution-units (INT, INT) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ - ( --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ) - --withdrawal-execution-units (INT, INT)] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - --withdrawal-reference-tx-in-execution-units (INT, INT) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--protocol-params-file FILEPATH] - [--vote-file FILEPATH - [ --vote-script-file FILEPATH - [ - ( --vote-redeemer-cbor-file CBOR_FILE - | --vote-redeemer-file JSON_FILE - | --vote-redeemer-value JSON_VALUE - ) - --vote-execution-units (INT, INT)] - | --vote-tx-in-reference TX-IN - --vote-plutus-script-v3 - ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --vote-reference-tx-in-redeemer-file JSON_FILE - | --vote-reference-tx-in-redeemer-value JSON_VALUE - ) - --vote-reference-tx-in-execution-units (INT, INT) - ]] - [--proposal-file FILEPATH - [ --proposal-script-file FILEPATH - [ - ( --proposal-redeemer-cbor-file CBOR_FILE - | --proposal-redeemer-file JSON_FILE - | --proposal-redeemer-value JSON_VALUE - ) - --proposal-execution-units (INT, INT)] - | --proposal-tx-in-reference TX-IN - --proposal-plutus-script-v3 - ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --proposal-reference-tx-in-redeemer-file JSON_FILE - | --proposal-reference-tx-in-redeemer-value JSON_VALUE - ) - --proposal-reference-tx-in-execution-units (INT, INT) - ]] - [--current-treasury-value LOVELACE - --treasury-donation LOVELACE] - --out-file FILEPATH + Calculate the hash of a metadata file. + +Usage: cardano-cli latest governance vote (create | view) + + Vote commands. + +Usage: cardano-cli latest governance vote create (--yes | --no | --abstain) + --governance-action-tx-id TXID + --governance-action-index WORD16 + ( --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --drep-script-hash HASH + | --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + | --cc-hot-verification-key STRING + | --cc-hot-verification-key-file FILEPATH + | --cc-hot-key-hash STRING + | --cc-hot-script-hash HASH + ) + [--anchor-url TEXT + --anchor-data-hash HASH] + --out-file FILEPATH - Build a transaction (low-level, inconvenient) + Vote creation. - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m +Usage: cardano-cli latest governance vote view [--output-json | --output-yaml] + --vote-file FILEPATH + [--out-file FILEPATH] -Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH - [--cardano-mode - [--epoch-slots SLOTS]] - ( --mainnet - | --testnet-magic NATURAL + Vote viewing. + +Usage: cardano-cli latest node + ( key-gen + | key-gen-KES + | key-gen-VRF + | key-hash-VRF + | new-counter + | issue-op-cert + ) + + Node operation commands. + +Usage: cardano-cli latest node key-gen [--key-output-format STRING] + --cold-verification-key-file FILEPATH + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH + + Create a key pair for a node operator's offline key and a new certificate + issue counter + +Usage: cardano-cli latest node key-gen-KES [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a key pair for a node KES operational key + +Usage: cardano-cli latest node key-gen-VRF [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH + + Create a key pair for a node VRF operational key + +Usage: cardano-cli latest node key-hash-VRF + ( --verification-key STRING + | --verification-key-file FILEPATH ) - [ --script-valid - | --script-invalid - ] - [--witness-override WORD] - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - )] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-total-collateral INTEGER] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [--certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--vote-file FILEPATH - [ --vote-script-file FILEPATH - [ --vote-redeemer-cbor-file CBOR_FILE - | --vote-redeemer-file JSON_FILE - | --vote-redeemer-value JSON_VALUE - ] - | --vote-tx-in-reference TX-IN - --vote-plutus-script-v3 - ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --vote-reference-tx-in-redeemer-file JSON_FILE - | --vote-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--proposal-file FILEPATH - [ --proposal-script-file FILEPATH - [ --proposal-redeemer-cbor-file CBOR_FILE - | --proposal-redeemer-file JSON_FILE - | --proposal-redeemer-value JSON_VALUE - ] - | --proposal-tx-in-reference TX-IN - --proposal-plutus-script-v3 - ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --proposal-reference-tx-in-redeemer-file JSON_FILE - | --proposal-reference-tx-in-redeemer-value JSON_VALUE - ) - ]] - [--treasury-donation LOVELACE] - ( --out-file FILEPATH - | --calculate-plutus-script-cost FILEPATH + [--out-file FILEPATH] + + Print hash of a node's operational VRF key. + +Usage: cardano-cli latest node new-counter + ( --stake-pool-verification-key STRING + | --genesis-delegate-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + --counter-value INT + --operational-certificate-issue-counter-file FILEPATH + + Create a new certificate issue counter + +Usage: cardano-cli latest node issue-op-cert + ( --kes-verification-key STRING + | --kes-verification-key-file FILEPATH + ) + --cold-signing-key-file FILEPATH + --operational-certificate-issue-counter-file FILEPATH + --kes-period NATURAL + --out-file FILEPATH + + Issue a node operational certificate + +Usage: cardano-cli latest query + ( protocol-parameters + | tip + | stake-pools + | stake-distribution + | stake-address-info + | utxo + | ledger-state + | protocol-state + | stake-snapshot + | leadership-schedule + | kes-period-info + | pool-state + | tx-mempool + | slot-number + | ref-script-size + | constitution + | gov-state + | drep-state + | drep-stake-distribution + | spo-stake-distribution + | committee-state + | treasury + ) + + Node query commands. Will query the local node whose Unix domain socket is + obtained from the CARDANO_NODE_SOCKET_PATH environment variable. + +Usage: cardano-cli latest query protocol-parameters --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] + + Get the node's current protocol parameters + +Usage: cardano-cli latest query tip --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Get the node's current tip (slot no, hash, block no) + +Usage: cardano-cli latest query stake-pools --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL ) + [--volatile-tip | --immutable-tip] + [--output-json | --output-text] + [--out-file FILEPATH] - Build a balanced transaction (automatically calculates fees) + Get the node's current set of stake pool ids - Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m +Usage: cardano-cli latest query stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --volatile-tip + | --immutable-tip + ] + [ --output-json + | --output-text + ] + [--out-file FILEPATH] -Usage: cardano-cli latest transaction build-estimate - [ --script-valid - | --script-invalid - ] - --shelley-key-witnesses INT - [--byron-key-witnesses Int] - --protocol-params-file FILEPATH - --total-utxo-value VALUE - (--tx-in TX-IN - [ --spending-tx-in-reference TX-IN - ( --spending-plutus-script-v2 - | --spending-plutus-script-v3 - ) - [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE - | --spending-reference-tx-in-datum-file JSON_FILE - | --spending-reference-tx-in-datum-value JSON_VALUE - | --spending-reference-tx-in-inline-datum-present - ] - ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --spending-reference-tx-in-redeemer-file JSON_FILE - | --spending-reference-tx-in-redeemer-value JSON_VALUE - ) - --spending-reference-tx-in-execution-units (INT, INT) - | --simple-script-tx-in-reference TX-IN - | --tx-in-script-file FILEPATH - [ - [ --tx-in-datum-cbor-file CBOR_FILE - | --tx-in-datum-file JSON_FILE - | --tx-in-datum-value JSON_VALUE - | --tx-in-inline-datum-present - ] - ( --tx-in-redeemer-cbor-file CBOR_FILE - | --tx-in-redeemer-file JSON_FILE - | --tx-in-redeemer-value JSON_VALUE - ) - --tx-in-execution-units (INT, INT)] - ]) - [--read-only-tx-in-reference TX-IN] - [ --required-signer FILEPATH - | --required-signer-hash HASH - ] - [--tx-in-collateral TX-IN] - [--tx-out-return-collateral ADDRESS VALUE] - [--tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH]] - --change-address ADDRESS - [--mint VALUE - ( --mint-script-file FILEPATH - [ - ( --mint-redeemer-cbor-file CBOR_FILE - | --mint-redeemer-file JSON_FILE - | --mint-redeemer-value JSON_VALUE - ) - --mint-execution-units (INT, INT)] - | --simple-minting-script-tx-in-reference TX-IN - --policy-id HASH - | --mint-tx-in-reference TX-IN - ( --mint-plutus-script-v2 - | --mint-plutus-script-v3 - ) - ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --mint-reference-tx-in-redeemer-file JSON_FILE - | --mint-reference-tx-in-redeemer-value JSON_VALUE - ) - --mint-reference-tx-in-execution-units (INT, INT) - --policy-id HASH - )] - [--invalid-before SLOT] - [--invalid-hereafter SLOT] - [ - --certificate-file FILEPATH - [ --certificate-script-file FILEPATH - [ - ( --certificate-redeemer-cbor-file CBOR_FILE - | --certificate-redeemer-file JSON_FILE - | --certificate-redeemer-value JSON_VALUE - ) - --certificate-execution-units (INT, INT)] - | --certificate-tx-in-reference TX-IN - ( --certificate-plutus-script-v2 - | --certificate-plutus-script-v3 - ) - ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --certificate-reference-tx-in-redeemer-file JSON_FILE - | --certificate-reference-tx-in-redeemer-value JSON_VALUE - ) - --certificate-reference-tx-in-execution-units (INT, INT) - ]] - [--withdrawal WITHDRAWAL - [ --withdrawal-script-file FILEPATH - [ - ( --withdrawal-redeemer-cbor-file CBOR_FILE - | --withdrawal-redeemer-file JSON_FILE - | --withdrawal-redeemer-value JSON_VALUE - ) - --withdrawal-execution-units (INT, INT)] - | --withdrawal-tx-in-reference TX-IN - ( --withdrawal-plutus-script-v2 - | --withdrawal-plutus-script-v3 - ) - ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --withdrawal-reference-tx-in-redeemer-file JSON_FILE - | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE - ) - --withdrawal-reference-tx-in-execution-units (INT, INT) - ]] - [--tx-total-collateral INTEGER] - [--reference-script-size NATURAL] - [ --json-metadata-no-schema - | --json-metadata-detailed-schema - ] - [--auxiliary-script-file FILEPATH] - [ --metadata-json-file FILEPATH - | --metadata-cbor-file FILEPATH - ] - [--vote-file FILEPATH - [ --vote-script-file FILEPATH - [ - ( --vote-redeemer-cbor-file CBOR_FILE - | --vote-redeemer-file JSON_FILE - | --vote-redeemer-value JSON_VALUE - ) - --vote-execution-units (INT, INT)] - | --vote-tx-in-reference TX-IN - --vote-plutus-script-v3 - ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --vote-reference-tx-in-redeemer-file JSON_FILE - | --vote-reference-tx-in-redeemer-value JSON_VALUE - ) - --vote-reference-tx-in-execution-units (INT, INT) - ]] - [--proposal-file FILEPATH - [ --proposal-script-file FILEPATH - [ - ( --proposal-redeemer-cbor-file CBOR_FILE - | --proposal-redeemer-file JSON_FILE - | --proposal-redeemer-value JSON_VALUE - ) - --proposal-execution-units (INT, INT)] - | --proposal-tx-in-reference TX-IN - --proposal-plutus-script-v3 - ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE - | --proposal-reference-tx-in-redeemer-file JSON_FILE - | --proposal-reference-tx-in-redeemer-value JSON_VALUE - ) - --proposal-reference-tx-in-execution-units (INT, INT) - ]] - [--current-treasury-value LOVELACE - --treasury-donation LOVELACE] - --out-file FILEPATH + Get the node's current aggregated stake distribution + +Usage: cardano-cli latest query stake-address-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + --address ADDRESS + ( --mainnet + | --testnet-magic NATURAL + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get the current delegations and reward accounts filtered by stake address. + +Usage: cardano-cli latest query utxo --socket-path SOCKET_PATH + [--cardano-mode [--epoch-slots SLOTS]] + ( --whole-utxo + | (--address ADDRESS) + | (--tx-in TX-IN) + ) + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--output-json | --output-text] + [--out-file FILEPATH] + + Get a portion of the current UTxO: by tx in, by address or the whole. + +Usage: cardano-cli latest query ledger-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Dump the current ledger state of the node (Ledger.NewEpochState -- advanced + command) + +Usage: cardano-cli latest query protocol-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Dump the current protocol state of the node (Ledger.ChainDepState -- advanced + command) - Build a balanced transaction without access to a live node (automatically estimates fees) +Usage: cardano-cli latest query stake-snapshot --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] - 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 + Obtain the three stake snapshots for a pool, plus the total active stake + (advanced command) -Usage: cardano-cli latest transaction sign - ( --tx-body-file FILEPATH - | --tx-file FILEPATH +Usage: cardano-cli latest query pool-params --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + DEPRECATED. Use query pool-state instead. Dump the pool parameters + (Ledger.NewEpochState.esLState._delegationState._pState._pParams -- advanced + command) + +Usage: cardano-cli latest query leadership-schedule --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --genesis FILEPATH + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --vrf-signing-key-file FILEPATH + (--current | --next) + [ --volatile-tip + | --immutable-tip + ] + [ --output-json + | --output-text + ] + [--out-file FILEPATH] + + Get the slots the node is expected to mint a block in (advanced command) + +Usage: cardano-cli latest query kes-period-info --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --op-cert-file FILEPATH + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] + + Get information about the current KES period and your node's operational + certificate. + +Usage: cardano-cli latest query pool-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL ) - [--signing-key-file FILEPATH - [--address STRING]] - [ --mainnet + ( --all-stake-pools + | (--stake-pool-id STAKE_POOL_ID) + ) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] + + Dump the pool state + +Usage: cardano-cli latest query tx-mempool --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet | --testnet-magic NATURAL - ] - --out-file FILEPATH + ) + (info | next-tx | tx-exists) + [--out-file FILEPATH] - Sign a transaction + Local Mempool info -Usage: cardano-cli latest transaction witness --tx-body-file FILEPATH - --signing-key-file FILEPATH - [--address STRING] - [ --mainnet - | --testnet-magic NATURAL - ] - --out-file FILEPATH +Usage: cardano-cli latest query tx-mempool info - Create a transaction witness + Ask the node about the current mempool's capacity and sizes -Usage: cardano-cli latest transaction assemble --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH +Usage: cardano-cli latest query tx-mempool next-tx - Assemble a tx body and witness(es) to form a transaction + Requests the next transaction from the mempool's current list -Usage: cardano-cli latest transaction sign-witness --tx-body-file FILEPATH - [--witness-file FILEPATH] - --out-file FILEPATH +Usage: cardano-cli latest query tx-mempool tx-exists TX_ID - Assemble a tx body and witness(es) to form a transaction + Query if a particular transaction exists in the mempool -Usage: cardano-cli latest transaction submit --socket-path SOCKET_PATH +Usage: cardano-cli latest query slot-number --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--volatile-tip | --immutable-tip] + TIMESTAMP + + Query slot number for UTC timestamp + +Usage: cardano-cli latest query ref-script-size --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--tx-in TX-IN) + ( --mainnet + | --testnet-magic NATURAL + ) + [ --volatile-tip + | --immutable-tip + ] + [ --output-json + | --output-text + ] + [--out-file FILEPATH] + + Calculate the reference input scripts size in bytes for provided transaction + inputs. + +Usage: cardano-cli latest query constitution --socket-path SOCKET_PATH [--cardano-mode [--epoch-slots SLOTS]] ( --mainnet | --testnet-magic NATURAL ) - --tx-file FILEPATH - - Submit a transaction to the local node whose Unix domain socket is obtained - from the CARDANO_NODE_SOCKET_PATH environment variable. - -Usage: cardano-cli latest transaction policyid --script-file FILEPATH + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] - Calculate the PolicyId from the monetary policy script. + Get the constitution -Usage: cardano-cli latest transaction calculate-min-fee --tx-body-file FILEPATH - --protocol-params-file FILEPATH - --witness-count NATURAL - [--byron-witness-count NATURAL] - [--reference-script-size NATURAL] - [ --output-json - | --output-text - ] - [--out-file FILEPATH] - [ --mainnet - | --testnet-magic NATURAL - ] - [--tx-in-count NATURAL] - [--tx-out-count NATURAL] +Usage: cardano-cli latest query gov-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] - Calculate the minimum fee for a transaction. + Get the governance state -Usage: cardano-cli latest transaction calculate-min-required-utxo --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] +Usage: cardano-cli latest query drep-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [--include-stake] + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] - Calculate the minimum required UTxO for a transaction output. + Get the DRep state. -Usage: cardano-cli latest transaction calculate-min-value --protocol-params-file FILEPATH - --tx-out ADDRESS VALUE - [ --tx-out-datum-hash HASH - | --tx-out-datum-hash-cbor-file CBOR_FILE - | --tx-out-datum-hash-file JSON_FILE - | --tx-out-datum-hash-value JSON_VALUE - | --tx-out-datum-embed-cbor-file CBOR_FILE - | --tx-out-datum-embed-file JSON_FILE - | --tx-out-datum-embed-value JSON_VALUE - | --tx-out-inline-datum-cbor-file CBOR_FILE - | --tx-out-inline-datum-file JSON_FILE - | --tx-out-inline-datum-value JSON_VALUE - ] - [--tx-out-reference-script-file FILEPATH] +Usage: cardano-cli latest query drep-stake-distribution + --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-dreps + | + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] - DEPRECATED: Use 'calculate-min-required-utxo' instead. + Get the DRep stake distribution. -Usage: cardano-cli latest transaction hash-script-data - ( --script-data-cbor-file CBOR_FILE - | --script-data-file JSON_FILE - | --script-data-value JSON_VALUE +Usage: cardano-cli latest query spo-stake-distribution --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + ( --all-spos + | + ( --spo-verification-key STRING + | --spo-verification-key-file FILEPATH + | --spo-key-hash HASH ) + ) + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] - Calculate the hash of script data. + Get the SPO stake distribution. -Usage: cardano-cli latest transaction txid - ( --tx-body-file FILEPATH - | --tx-file FILEPATH - ) +Usage: cardano-cli latest query committee-state --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --cold-verification-key STRING + | --cold-verification-key-file FILEPATH + | --cold-verification-key-hash STRING + | --cold-script-hash HASH + ] + [ --hot-key STRING + | --hot-key-file FILEPATH + | --hot-key-hash STRING + | --hot-script-hash HASH + ] + [ --active + | --expired + | --unrecognized + ] + [ --volatile-tip + | --immutable-tip + ] + [--out-file FILEPATH] - Print a transaction identifier. + Get the committee state -Usage: cardano-cli latest transaction view +Usage: cardano-cli latest query treasury --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + (--mainnet | --testnet-magic NATURAL) + [--volatile-tip | --immutable-tip] + [--out-file FILEPATH] - This command has been removed. Please use "debug transaction view" instead. + Get the treasury value -Usage: cardano-cli legacy Legacy commands +Usage: cardano-cli latest stake-address + ( key-gen + | key-hash + | build + | registration-certificate + | deregistration-certificate + | stake-delegation-certificate + | stake-and-vote-delegation-certificate + | vote-delegation-certificate + ) - Legacy commands - DEPRECATED - will be removed in the future + Stake address commands. -Usage: cardano-cli legacy governance - ( create-mir-certificate - | create-genesis-key-delegation-certificate - | create-update-proposal - ) +Usage: cardano-cli latest stake-address key-gen [--key-output-format STRING] + --verification-key-file FILEPATH + --signing-key-file FILEPATH - Governance commands + Create a stake address key pair -Usage: cardano-cli legacy governance create-mir-certificate - ( [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH - | stake-addresses - | transfer-to-treasury - | transfer-to-rewards - ) +Usage: cardano-cli latest stake-address key-hash + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + ) + [--out-file FILEPATH] - Create an MIR (Move Instantaneous Rewards) certificate + Print the hash of a stake address key -Usage: cardano-cli legacy governance create-mir-certificate stake-addresses - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --reserves - | --treasury - ) - (--stake-address ADDRESS) - (--reward LOVELACE) - --out-file FILEPATH +Usage: cardano-cli latest stake-address build + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + ) + ( --mainnet + | --testnet-magic NATURAL + ) + [--out-file FILEPATH] - Create an MIR certificate to pay stake addresses + Build a stake address -Usage: cardano-cli legacy governance create-mir-certificate transfer-to-treasury - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli latest stake-address registration-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + --key-reg-deposit-amt NATURAL + --out-file FILEPATH - Create an MIR certificate to transfer from the reserves pot to the treasury - pot + Create a stake address registration certificate -Usage: cardano-cli legacy governance create-mir-certificate transfer-to-rewards - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - --transfer LOVELACE - --out-file FILEPATH +Usage: cardano-cli latest 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 an MIR certificate to transfer from the treasury pot to the reserves - pot + Create a stake address deregistration certificate -Usage: cardano-cli legacy governance create-genesis-key-delegation-certificate - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - ] - ( --genesis-verification-key STRING - | --genesis-verification-key-file FILEPATH - | --genesis-verification-key-hash STRING - ) - ( --genesis-delegate-verification-key STRING - | --genesis-delegate-verification-key-file FILEPATH - | --genesis-delegate-verification-key-hash STRING - ) - ( --vrf-verification-key STRING - | --vrf-verification-key-file FILEPATH - | --vrf-verification-key-hash STRING - ) - --out-file FILEPATH +Usage: cardano-cli latest stake-address stake-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + --out-file FILEPATH - Create a genesis key delegation certificate + Create a stake address stake delegation certificate, which when submitted in a + transaction delegates stake to a stake pool. -Usage: cardano-cli legacy governance create-update-proposal --out-file FILEPATH - --epoch NATURAL - (--genesis-verification-key-file FILEPATH) - [--protocol-major-version MAJOR - --protocol-minor-version MINOR] - [--decentralization-parameter RATIONAL] - [ --extra-entropy HEX - | --reset-extra-entropy - ] - [--max-block-header-size WORD16] - [--max-block-body-size WORD32] - [--max-tx-size WORD32] - [--min-fee-constant LOVELACE] - [--min-fee-linear LOVELACE] - [--min-utxo-value NATURAL] - [--key-reg-deposit-amt NATURAL] - [--pool-reg-deposit NATURAL] - [--min-pool-cost NATURAL] - [--pool-retirement-epoch-interval WORD32] - [--number-of-pools NATURAL] - [--pool-influence RATIONAL] - [--monetary-expansion RATIONAL] - [--treasury-expansion RATIONAL] - [--price-execution-steps RATIONAL - --price-execution-memory RATIONAL] - [--max-tx-execution-units (INT, INT)] - [--max-block-execution-units (INT, INT)] - [--max-value-size INT] - [--collateral-percent INT] - [--max-collateral-inputs INT] - [--utxo-cost-per-byte LOVELACE] - [--cost-model-file FILE] +Usage: cardano-cli latest stake-address stake-and-vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + | --stake-pool-id STAKE_POOL_ID + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH - Create an update proposal + 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 legacy genesis - ( key-gen-genesis - | key-gen-delegate - | key-gen-utxo - | key-hash - | get-ver-key - | initial-addr - | initial-txin - | create-cardano - | create - | create-staked - | hash - ) +Usage: cardano-cli latest stake-address vote-delegation-certificate + ( --stake-verification-key STRING + | --stake-verification-key-file FILEPATH + | --stake-key-hash HASH + | --stake-script-file FILEPATH + | --stake-address ADDRESS + ) + ( --drep-script-hash HASH + | --drep-verification-key STRING + | --drep-verification-key-file FILEPATH + | --drep-key-hash HASH + | --always-abstain + | --always-no-confidence + ) + --out-file FILEPATH - Genesis block commands + Create a stake address vote delegation certificate, which when submitted in a + transaction delegates stake to a DRep. -Usage: cardano-cli legacy genesis key-gen-genesis --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli latest stake-pool + ( registration-certificate + | deregistration-certificate + | id + | metadata-hash + ) - Create a Shelley genesis key pair + Stake pool commands. -Usage: cardano-cli legacy genesis key-gen-delegate --verification-key-file FILEPATH - --signing-key-file FILEPATH - --operational-certificate-issue-counter-file FILEPATH +Usage: cardano-cli latest stake-pool registration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + ( --vrf-verification-key STRING + | --vrf-verification-key-file FILEPATH + ) + --pool-pledge LOVELACE + --pool-cost LOVELACE + --pool-margin RATIONAL + ( --pool-reward-account-verification-key STRING + | --pool-reward-account-verification-key-file FILEPATH + ) + ( --pool-owner-verification-key STRING + | --pool-owner-stake-verification-key-file FILEPATH + ) + [ [--pool-relay-ipv4 STRING] + [--pool-relay-ipv6 STRING] + --pool-relay-port INT + | --single-host-pool-relay STRING + [--pool-relay-port INT] + | --multi-host-pool-relay STRING + ] + [--metadata-url URL + --metadata-hash HASH] + ( --mainnet + | --testnet-magic NATURAL + ) + --out-file FILEPATH - Create a Shelley genesis delegate key pair + Create a stake pool registration certificate -Usage: cardano-cli legacy genesis key-gen-utxo --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli latest stake-pool deregistration-certificate + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + --epoch NATURAL + --out-file FILEPATH - Create a Shelley genesis UTxO key pair + Create a stake pool deregistration certificate -Usage: cardano-cli legacy genesis key-hash --verification-key-file FILEPATH +Usage: cardano-cli latest stake-pool id + ( --stake-pool-verification-key STRING + | --cold-verification-key-file FILEPATH + ) + [--output-format STRING] + [--out-file FILEPATH] - Print the identifier (hash) of a public key + Build pool id from the offline key -Usage: cardano-cli legacy genesis get-ver-key --verification-key-file FILEPATH - --signing-key-file FILEPATH +Usage: cardano-cli latest stake-pool metadata-hash --pool-metadata-file FILEPATH + [--out-file FILEPATH] - Derive the verification key from a signing key + Print the hash of pool metadata. -Usage: cardano-cli legacy genesis initial-addr --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli latest text-view decode-cbor - Get the address for an initial UTxO based on the verification key + Commands for dealing with Shelley TextView files. Transactions, addresses etc + are stored on disk as TextView files. -Usage: cardano-cli legacy genesis initial-txin --verification-key-file FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [--out-file FILEPATH] +Usage: cardano-cli latest text-view decode-cbor --in-file FILEPATH + [--out-file FILEPATH] - Get the TxIn for an initial UTxO based on the verification key + Print a TextView file as decoded CBOR. -Usage: cardano-cli legacy genesis create-cardano - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - [--security-param INT] - [--slot-length INT] - [--slot-coefficient RATIONAL] - ( --mainnet - | --testnet-magic NATURAL - ) - --byron-template FILEPATH - --shelley-template FILEPATH - --alonzo-template FILEPATH - --conway-template FILEPATH - [--node-config-template FILEPATH] +Usage: cardano-cli latest transaction + ( build-raw + | build + | build-estimate + | sign + | witness + | assemble + | submit + | policyid + | calculate-min-fee + | calculate-min-required-utxo + | hash-script-data + | txid + | view + ) - Create a Byron and Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Transaction commands. + +Usage: cardano-cli latest transaction build-raw + [ --script-valid + | --script-invalid + ] + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ] + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + --spending-reference-tx-in-execution-units (INT, INT) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + [ --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present + ] + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + ) + --tx-in-execution-units (INT, INT)] + ]) + [--read-only-tx-in-reference TX-IN] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-total-collateral INTEGER] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + [--mint VALUE + ( --mint-script-file FILEPATH + [ + ( --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ) + --mint-execution-units (INT, INT)] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + --fee LOVELACE + [--certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ + ( --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ) + --certificate-execution-units (INT, INT)] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + --certificate-reference-tx-in-execution-units (INT, INT) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ + ( --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ) + --withdrawal-execution-units (INT, INT)] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + --withdrawal-reference-tx-in-execution-units (INT, INT) + ]] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--protocol-params-file FILEPATH] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] + --out-file FILEPATH -Usage: cardano-cli legacy genesis create - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era - ] - [--key-output-format STRING] - --genesis-dir DIR - [--gen-genesis-keys INT] - [--gen-utxo-keys INT] - [--start-time UTC-TIME] - [--supply LOVELACE] - (--mainnet | --testnet-magic NATURAL) + Build a transaction (low-level, inconvenient) - Create a Shelley genesis file from a genesis template and - genesis/delegation/spending keys. + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m -Usage: cardano-cli legacy genesis create-staked - [ --shelley-era - | --allegra-era - | --mary-era - | --alonzo-era - | --babbage-era - | --conway-era +Usage: cardano-cli latest transaction build --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + [ --script-valid + | --script-invalid + ] + [--witness-override WORD] + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present ] - [--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 + ( --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 ) - [--bulk-pool-cred-files INT] - [--bulk-pools-per-file INT] - [--num-stuffed-utxo INT] - [--relay-specification-file FILEPATH] - - Create a staked Shelley genesis file from a genesis template and - genesis/delegation/spending keys. - -Usage: cardano-cli legacy genesis hash --genesis FILEPATH - - Compute the hash of a genesis file - -Usage: cardano-cli byron - ( key - | transaction - | genesis - | governance - | miscellaneous - ) - - Byron specific commands - -Usage: cardano-cli byron key ( keygen - | to-verification - | signing-key-public - | signing-key-address - | migrate-delegate-key-from - ) - - Byron key utility commands - -Usage: cardano-cli byron key keygen --secret FILEPATH - - Generate a signing key. - -Usage: cardano-cli byron key to-verification - [ --byron-legacy-formats - | --byron-formats - ] - --secret FILEPATH - --to FILEPATH - - Extract a verification key in its base64 form. - -Usage: cardano-cli byron key signing-key-public - [ --byron-legacy-formats - | --byron-formats + | --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 ] - --secret FILEPATH - - Pretty-print a signing key's verification key (not a secret). - -Usage: cardano-cli byron key signing-key-address - [ --byron-legacy-formats - | --byron-formats - ] - ( --mainnet - | --testnet-magic NATURAL - ) - --secret FILEPATH - - Print address of a signing key. - -Usage: cardano-cli byron key migrate-delegate-key-from --from FILEPATH - --to FILEPATH - - Migrate a delegate key from an older version. - -Usage: cardano-cli byron transaction ( submit-tx - | issue-genesis-utxo-expenditure - | issue-utxo-expenditure - | txid - ) - - Byron transaction commands - -Usage: cardano-cli byron transaction submit-tx --socket-path SOCKET_PATH - ( --mainnet - | --testnet-magic NATURAL - ) - --tx FILEPATH - - Submit a raw, signed transaction, in its on-wire representation. - -Usage: cardano-cli byron transaction issue-genesis-utxo-expenditure --genesis-json FILEPATH - ( --mainnet - | --testnet-magic NATURAL - ) - [ --byron-legacy-formats - | --byron-formats - ] - --tx FILEPATH - --wallet-key FILEPATH - --rich-addr-from ADDR - (--txout '("ADDR", LOVELACE)') - - Write a file with a signed transaction, spending genesis UTxO. - -Usage: cardano-cli byron transaction issue-utxo-expenditure - ( --mainnet - | --testnet-magic NATURAL - ) - [ --byron-legacy-formats - | --byron-formats - ] - --tx FILEPATH - --wallet-key FILEPATH - (--txin (TXID,INDEX)) - (--txout '("ADDR", LOVELACE)') - - Write a file with a signed transaction, spending normal UTxO. - -Usage: cardano-cli byron transaction txid --tx FILEPATH - - Print the txid of a raw, signed transaction. - -Usage: cardano-cli byron genesis (genesis | print-genesis-hash) + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + ]] + [--treasury-donation LOVELACE] + ( --out-file FILEPATH + | --calculate-plutus-script-cost FILEPATH + ) - Byron genesis block commands + Build a balanced transaction (automatically calculates fees) -Usage: cardano-cli byron genesis genesis --genesis-output-dir FILEPATH - --start-time POSIXSECONDS - --protocol-parameters-file FILEPATH - --k INT - --protocol-magic INT - --n-poor-addresses INT - --n-delegate-addresses INT - --total-balance INT - --delegate-share DOUBLE - --avvm-entry-count INT - --avvm-entry-balance INT - [--avvm-balance-factor DOUBLE] - [--secret-seed INT] + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m - Create genesis. +Usage: cardano-cli latest transaction build-estimate + [ --script-valid + | --script-invalid + ] + --shelley-key-witnesses INT + [--byron-key-witnesses Int] + --protocol-params-file FILEPATH + --total-utxo-value VALUE + (--tx-in TX-IN + [ --spending-tx-in-reference TX-IN + ( --spending-plutus-script-v2 + | --spending-plutus-script-v3 + ) + [ --spending-reference-tx-in-datum-cbor-file CBOR_FILE + | --spending-reference-tx-in-datum-file JSON_FILE + | --spending-reference-tx-in-datum-value JSON_VALUE + | --spending-reference-tx-in-inline-datum-present + ] + ( --spending-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --spending-reference-tx-in-redeemer-file JSON_FILE + | --spending-reference-tx-in-redeemer-value JSON_VALUE + ) + --spending-reference-tx-in-execution-units (INT, INT) + | --simple-script-tx-in-reference TX-IN + | --tx-in-script-file FILEPATH + [ + [ --tx-in-datum-cbor-file CBOR_FILE + | --tx-in-datum-file JSON_FILE + | --tx-in-datum-value JSON_VALUE + | --tx-in-inline-datum-present + ] + ( --tx-in-redeemer-cbor-file CBOR_FILE + | --tx-in-redeemer-file JSON_FILE + | --tx-in-redeemer-value JSON_VALUE + ) + --tx-in-execution-units (INT, INT)] + ]) + [--read-only-tx-in-reference TX-IN] + [ --required-signer FILEPATH + | --required-signer-hash HASH + ] + [--tx-in-collateral TX-IN] + [--tx-out-return-collateral ADDRESS VALUE] + [--tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH]] + --change-address ADDRESS + [--mint VALUE + ( --mint-script-file FILEPATH + [ + ( --mint-redeemer-cbor-file CBOR_FILE + | --mint-redeemer-file JSON_FILE + | --mint-redeemer-value JSON_VALUE + ) + --mint-execution-units (INT, INT)] + | --simple-minting-script-tx-in-reference TX-IN + --policy-id HASH + | --mint-tx-in-reference TX-IN + ( --mint-plutus-script-v2 + | --mint-plutus-script-v3 + ) + ( --mint-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --mint-reference-tx-in-redeemer-file JSON_FILE + | --mint-reference-tx-in-redeemer-value JSON_VALUE + ) + --mint-reference-tx-in-execution-units (INT, INT) + --policy-id HASH + )] + [--invalid-before SLOT] + [--invalid-hereafter SLOT] + [ + --certificate-file FILEPATH + [ --certificate-script-file FILEPATH + [ + ( --certificate-redeemer-cbor-file CBOR_FILE + | --certificate-redeemer-file JSON_FILE + | --certificate-redeemer-value JSON_VALUE + ) + --certificate-execution-units (INT, INT)] + | --certificate-tx-in-reference TX-IN + ( --certificate-plutus-script-v2 + | --certificate-plutus-script-v3 + ) + ( --certificate-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --certificate-reference-tx-in-redeemer-file JSON_FILE + | --certificate-reference-tx-in-redeemer-value JSON_VALUE + ) + --certificate-reference-tx-in-execution-units (INT, INT) + ]] + [--withdrawal WITHDRAWAL + [ --withdrawal-script-file FILEPATH + [ + ( --withdrawal-redeemer-cbor-file CBOR_FILE + | --withdrawal-redeemer-file JSON_FILE + | --withdrawal-redeemer-value JSON_VALUE + ) + --withdrawal-execution-units (INT, INT)] + | --withdrawal-tx-in-reference TX-IN + ( --withdrawal-plutus-script-v2 + | --withdrawal-plutus-script-v3 + ) + ( --withdrawal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --withdrawal-reference-tx-in-redeemer-file JSON_FILE + | --withdrawal-reference-tx-in-redeemer-value JSON_VALUE + ) + --withdrawal-reference-tx-in-execution-units (INT, INT) + ]] + [--tx-total-collateral INTEGER] + [--reference-script-size NATURAL] + [ --json-metadata-no-schema + | --json-metadata-detailed-schema + ] + [--auxiliary-script-file FILEPATH] + [ --metadata-json-file FILEPATH + | --metadata-cbor-file FILEPATH + ] + [--vote-file FILEPATH + [ --vote-script-file FILEPATH + [ + ( --vote-redeemer-cbor-file CBOR_FILE + | --vote-redeemer-file JSON_FILE + | --vote-redeemer-value JSON_VALUE + ) + --vote-execution-units (INT, INT)] + | --vote-tx-in-reference TX-IN + --vote-plutus-script-v3 + ( --vote-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --vote-reference-tx-in-redeemer-file JSON_FILE + | --vote-reference-tx-in-redeemer-value JSON_VALUE + ) + --vote-reference-tx-in-execution-units (INT, INT) + ]] + [--proposal-file FILEPATH + [ --proposal-script-file FILEPATH + [ + ( --proposal-redeemer-cbor-file CBOR_FILE + | --proposal-redeemer-file JSON_FILE + | --proposal-redeemer-value JSON_VALUE + ) + --proposal-execution-units (INT, INT)] + | --proposal-tx-in-reference TX-IN + --proposal-plutus-script-v3 + ( --proposal-reference-tx-in-redeemer-cbor-file CBOR_FILE + | --proposal-reference-tx-in-redeemer-file JSON_FILE + | --proposal-reference-tx-in-redeemer-value JSON_VALUE + ) + --proposal-reference-tx-in-execution-units (INT, INT) + ]] + [--current-treasury-value LOVELACE + --treasury-donation LOVELACE] + --out-file FILEPATH -Usage: cardano-cli byron genesis print-genesis-hash --genesis-json FILEPATH + Build a balanced transaction without access to a live node (automatically estimates fees) - Compute hash of a genesis file. + Please note the order[93;22;23;24m of some cmd options is crucial. If used incorrectly may produce undesired tx body. See nested [] notation above for details.[0;22;23;24m -Usage: cardano-cli byron governance COMMAND +Usage: cardano-cli latest transaction sign + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) + [--signing-key-file FILEPATH + [--address STRING]] + [ --mainnet + | --testnet-magic NATURAL + ] + --out-file FILEPATH - Byron governance commands + Sign a transaction -Usage: cardano-cli byron governance submit-proposal-vote - --socket-path SOCKET_PATH - ( --mainnet - | --testnet-magic NATURAL - ) - --filepath FILEPATH +Usage: cardano-cli latest transaction witness --tx-body-file FILEPATH + --signing-key-file FILEPATH + [--address STRING] + [ --mainnet + | --testnet-magic NATURAL + ] + --out-file FILEPATH - Submit a proposal vote. + Create a transaction witness -Usage: cardano-cli byron governance submit-update-proposal - --socket-path SOCKET_PATH - ( --mainnet - | --testnet-magic NATURAL - ) - --filepath FILEPATH +Usage: cardano-cli latest transaction assemble --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH - Submit an update proposal. + Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli byron governance create-proposal-vote - ( --mainnet - | --testnet-magic NATURAL - ) - --signing-key FILEPATH - --proposal-filepath FILEPATH - ( --vote-yes - | --vote-no - ) - --output-filepath FILEPATH +Usage: cardano-cli latest transaction sign-witness --tx-body-file FILEPATH + [--witness-file FILEPATH] + --out-file FILEPATH - Create an update proposal vote. + Assemble a tx body and witness(es) to form a transaction -Usage: cardano-cli byron governance create-update-proposal - ( --mainnet - | --testnet-magic NATURAL - ) - --signing-key FILEPATH - --protocol-version-major WORD16 - --protocol-version-minor WORD16 - --protocol-version-alt WORD8 - --application-name STRING - --software-version-num WORD32 - --system-tag STRING - --installer-hash HASH - --filepath FILEPATH - [--script-version WORD16] - [--slot-duration NATURAL] - [--max-block-size NATURAL] - [--max-header-size NATURAL] - [--max-tx-size NATURAL] - [--max-proposal-size NATURAL] - [--max-mpc-thd DOUBLE] - [--heavy-del-thd DOUBLE] - [--update-vote-thd DOUBLE] - [--update-proposal-thd DOUBLE] - [--time-to-live WORD64] - [--softfork-init-thd DOUBLE - --softfork-min-thd DOUBLE - --softfork-thd-dec DOUBLE] - [--tx-fee-a-constant INT - --tx-fee-b-constant DOUBLE] - [--unlock-stake-epoch WORD64] +Usage: cardano-cli latest transaction submit --socket-path SOCKET_PATH + [--cardano-mode + [--epoch-slots SLOTS]] + ( --mainnet + | --testnet-magic NATURAL + ) + --tx-file FILEPATH - Create an update proposal. + Submit a transaction to the local node whose Unix domain socket is obtained + from the CARDANO_NODE_SOCKET_PATH environment variable. -Usage: cardano-cli byron miscellaneous (validate-cbor | pretty-print-cbor) +Usage: cardano-cli latest transaction policyid --script-file FILEPATH - Byron miscellaneous commands + Calculate the PolicyId from the monetary policy script. -Usage: cardano-cli byron miscellaneous validate-cbor - [ --byron-block INT - | --byron-delegation-certificate - | --byron-tx - | --byron-update-proposal - | --byron-vote - ] - --filepath FILEPATH +Usage: cardano-cli latest transaction calculate-min-fee --tx-body-file FILEPATH + --protocol-params-file FILEPATH + --witness-count NATURAL + [--byron-witness-count NATURAL] + [--reference-script-size NATURAL] + [ --output-json + | --output-text + ] + [--out-file FILEPATH] + [ --mainnet + | --testnet-magic NATURAL + ] + [--tx-in-count NATURAL] + [--tx-out-count NATURAL] - Validate a CBOR blockchain object. + Calculate the minimum fee for a transaction. -Usage: cardano-cli byron miscellaneous pretty-print-cbor --filepath FILEPATH +Usage: cardano-cli latest transaction calculate-min-required-utxo --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] - Pretty print a CBOR file. + Calculate the minimum required UTxO for a transaction output. -Usage: cardano-cli byron submit-proposal-vote --socket-path SOCKET_PATH - ( --mainnet - | --testnet-magic NATURAL - ) - --filepath FILEPATH +Usage: cardano-cli latest transaction calculate-min-value --protocol-params-file FILEPATH + --tx-out ADDRESS VALUE + [ --tx-out-datum-hash HASH + | --tx-out-datum-hash-cbor-file CBOR_FILE + | --tx-out-datum-hash-file JSON_FILE + | --tx-out-datum-hash-value JSON_VALUE + | --tx-out-datum-embed-cbor-file CBOR_FILE + | --tx-out-datum-embed-file JSON_FILE + | --tx-out-datum-embed-value JSON_VALUE + | --tx-out-inline-datum-cbor-file CBOR_FILE + | --tx-out-inline-datum-file JSON_FILE + | --tx-out-inline-datum-value JSON_VALUE + ] + [--tx-out-reference-script-file FILEPATH] - Submit a proposal vote. + DEPRECATED: Use 'calculate-min-required-utxo' instead. -Usage: cardano-cli byron submit-update-proposal --socket-path SOCKET_PATH - ( --mainnet - | --testnet-magic NATURAL - ) - --filepath FILEPATH +Usage: cardano-cli latest transaction hash-script-data + ( --script-data-cbor-file CBOR_FILE + | --script-data-file JSON_FILE + | --script-data-value JSON_VALUE + ) - Submit an update proposal. + Calculate the hash of script data. -Usage: cardano-cli byron create-proposal-vote - ( --mainnet - | --testnet-magic NATURAL - ) - --signing-key FILEPATH - --proposal-filepath FILEPATH - (--vote-yes | --vote-no) - --output-filepath FILEPATH +Usage: cardano-cli latest transaction txid + ( --tx-body-file FILEPATH + | --tx-file FILEPATH + ) - Create an update proposal vote. + Print a transaction identifier. -Usage: cardano-cli byron create-update-proposal - ( --mainnet - | --testnet-magic NATURAL - ) - --signing-key FILEPATH - --protocol-version-major WORD16 - --protocol-version-minor WORD16 - --protocol-version-alt WORD8 - --application-name STRING - --software-version-num WORD32 - --system-tag STRING - --installer-hash HASH - --filepath FILEPATH - [--script-version WORD16] - [--slot-duration NATURAL] - [--max-block-size NATURAL] - [--max-header-size NATURAL] - [--max-tx-size NATURAL] - [--max-proposal-size NATURAL] - [--max-mpc-thd DOUBLE] - [--heavy-del-thd DOUBLE] - [--update-vote-thd DOUBLE] - [--update-proposal-thd DOUBLE] - [--time-to-live WORD64] - [--softfork-init-thd DOUBLE - --softfork-min-thd DOUBLE - --softfork-thd-dec DOUBLE] - [--tx-fee-a-constant INT - --tx-fee-b-constant DOUBLE] - [--unlock-stake-epoch WORD64] +Usage: cardano-cli latest transaction view - Create an update proposal. + This command has been removed. Please use "debug transaction view" instead. Usage: cardano-cli hash (anchor-data | script) diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest.cli index 70063a9bf4..18674b0e11 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest.cli @@ -11,7 +11,7 @@ Usage: cardano-cli latest | transaction ) - Latest era commands (Babbage) - DEPRECATED - will be removed in the future + Latest era commands (Conway) - DEPRECATED - will be removed in the future Available options: -h,--help Show this help text diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/FilePermissions.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/FilePermissions.hs index 9650adf735..377647955f 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/FilePermissions.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/FilePermissions.hs @@ -28,7 +28,8 @@ hprop_createVRFSigningKeyFilePermissions = -- Create VRF key pair void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-VRF" , "--verification-key-file" , vrfVerKey diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/ITN.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/ITN.hs index 0d2b1af04f..9d953b33f3 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/ITN.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/ITN.hs @@ -54,7 +54,8 @@ hprop_convertITNKeys = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> do -- Generate haskell stake verification key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-itn-key" , "--itn-verification-key-file" , itnVerKeyFp @@ -64,7 +65,8 @@ hprop_convertITNKeys = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> do -- Generate haskell signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-itn-key" , "--itn-signing-key-file" , itnSignKeyFp @@ -97,7 +99,8 @@ hprop_convertITNExtendedSigningKey = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Generate haskell signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-itn-extended-key" , "--itn-signing-key-file" , itnSignKeyFp @@ -132,7 +135,8 @@ hprop_convertITNBIP32SigningKey = propertyOnce . H.moduleWorkspace "tmp" $ \temp -- Generate haskell signing key void $ execCardanoCLI - [ "key" + [ "latest" + , "key" , "convert-itn-bip32-key" , "--itn-signing-key-file" , itnSignKeyFp diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise1.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise1.hs index fb012aae3e..9824e4adad 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise1.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise1.hs @@ -26,7 +26,8 @@ hprop_buildShelleyPaymentAddress = propertyOnce . H.moduleWorkspace "tmp" $ \tem -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--verification-key-file" , verKey @@ -39,7 +40,8 @@ hprop_buildShelleyPaymentAddress = propertyOnce . H.moduleWorkspace "tmp" $ \tem -- Build shelley payment address void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "build" , "--payment-verification-key-file" , verKey @@ -62,7 +64,8 @@ hprop_buildShelleyStakeAddress = propertyOnce . H.moduleWorkspace "tmp" $ \tempD -- Generate payment verification key void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--verification-key-file" , paymentVerKey @@ -73,7 +76,8 @@ hprop_buildShelleyStakeAddress = propertyOnce . H.moduleWorkspace "tmp" $ \tempD -- Generate stake verification key void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--verification-key-file" , stakeVerKey @@ -86,7 +90,8 @@ hprop_buildShelleyStakeAddress = propertyOnce . H.moduleWorkspace "tmp" $ \tempD -- Build shelley stake address void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "build" , "--payment-verification-key-file" , paymentVerKey diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise2.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise2.hs index 7b756d4373..70e0e76b24 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise2.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise2.hs @@ -27,7 +27,8 @@ hprop_createTransaction = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> d -- Generate payment signing key to sign transaction void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--verification-key-file" , paymentVerKey @@ -40,7 +41,8 @@ hprop_createTransaction = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> d -- Create transaction body void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "build-raw" , "--tx-in" , "91999ea21177b33ebe6b8690724a0c026d410a11ad7521caa350abdafa5394c3#0" @@ -65,7 +67,8 @@ hprop_createTransaction = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> d -- Sign transaction void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--tx-body-file" , transactionBodyFile diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise3.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise3.hs index 4847b8d064..3bde21bf9b 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise3.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise3.hs @@ -30,7 +30,8 @@ hprop_createOperationalCertificate = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Create KES key pair void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen-KES" , "--verification-key-file" , kesVerKey @@ -43,7 +44,8 @@ hprop_createOperationalCertificate = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Create cold key pair void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "key-gen" , "--cold-verification-key-file" , coldVerKey @@ -58,7 +60,8 @@ hprop_createOperationalCertificate = propertyOnce . H.moduleWorkspace "tmp" $ \t -- Create operational certificate void $ execCardanoCLI - [ "node" + [ "latest" + , "node" , "issue-op-cert" , "--kes-verification-key-file" , kesVerKey diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise4.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise4.hs index 860929a29f..4fb7765f26 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise4.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise4.hs @@ -25,7 +25,8 @@ hprop_createStakeAddressRegistrationCertificate = propertyOnce . H.moduleWorkspa -- Generate stake verification key void $ execCardanoCLI - [ "stake-address" + [ "latest" + , "stake-address" , "key-gen" , "--verification-key-file" , verKey diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise5.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise5.hs index e6e2d1be27..8fb7554d06 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise5.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise5.hs @@ -27,7 +27,8 @@ hprop_createLegacyZeroTxOutTransaction = propertyOnce . H.moduleWorkspace "tmp" -- Generate payment signing key to sign transaction void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--verification-key-file" , paymentVerKey @@ -40,7 +41,8 @@ hprop_createLegacyZeroTxOutTransaction = propertyOnce . H.moduleWorkspace "tmp" -- Create transaction body void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "build-raw" , "--tx-in" , "91999ea21177b33ebe6b8690724a0c026d410a11ad7521caa350abdafa5394c3#0" @@ -59,7 +61,8 @@ hprop_createLegacyZeroTxOutTransaction = propertyOnce . H.moduleWorkspace "tmp" -- Sign transaction void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--tx-body-file" , transactionBodyFile diff --git a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise6.hs b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise6.hs index 50d1b8825a..c2731ffad8 100644 --- a/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise6.hs +++ b/cardano-cli/test/cardano-cli-test/Test/Cli/Pioneers/Exercise6.hs @@ -27,7 +27,8 @@ hprop_createZeroLovelaceTxOutTransaction = propertyOnce . H.moduleWorkspace "tmp -- Generate payment signing key to sign transaction void $ execCardanoCLI - [ "address" + [ "latest" + , "address" , "key-gen" , "--verification-key-file" , paymentVerKey @@ -40,7 +41,8 @@ hprop_createZeroLovelaceTxOutTransaction = propertyOnce . H.moduleWorkspace "tmp -- Create transaction body void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "build-raw" , "--tx-in" , "91999ea21177b33ebe6b8690724a0c026d410a11ad7521caa350abdafa5394c3#0" @@ -59,7 +61,8 @@ hprop_createZeroLovelaceTxOutTransaction = propertyOnce . H.moduleWorkspace "tmp -- Sign transaction void $ execCardanoCLI - [ "transaction" + [ "latest" + , "transaction" , "sign" , "--tx-body-file" , transactionBodyFile