Hi, I am learning how to create a stake pool for Cardano. I have setup a producer and a relay node that are connected to mainnet. They have been working for the last 4 days and are in sync. Now I am trying to create the certificate so I can start producing blocks. I moved some ADA (600) to a wallet in the node:
-mainnet TxHash TxIx Amount
--------------------------------------------------------------------------------------
595ab38d96830a917cfcc076f377448e8cdd907504c11abf38c94793db2ef08b 0 600000000 lovelace + TxOutDatumHashNone
I am running the following commands:
cardano-cli transaction build-raw
--tx-in 595ab38d96830a917cfcc076f377448e8cdd907504c11abf38c94793db2ef08b#0
--tx-out $(cat payment.addr)+99804755
--invalid-hereafter 43000000
--fee 195245
--out-file tx.raw
--certificate-file pool-registration.cert
--certificate-file delegation.cert
cardano-cli transaction sign --tx-body-file tx.raw
--signing-key-file payment.skey
--signing-key-file stake.skey
--signing-key-file cold.skey
--mainnet
--out-file tx.signed
cardano-cli transaction submit --tx-file tx.signed --mainnet
and I get the following error:
Command failed: transaction submit Error: Error while submitting tx: ShelleyTxValidationError
ShelleyBasedEraAlonzo (ApplyTxError [UtxowFailure (WrappedShelleyEraFailure
(MissingVKeyWitnessesUTXOW (WitHashes (fromList [KeyHash
"f7fb2e4f0b43044b636c1af9a13a81dbb900a13a20731181d7f06bb8"])))),DelegsFailure (DelplFailure
(DelegFailure (StakeDelegationImpossibleDELEG (KeyHashObj (KeyHash
"1c46c52ff3e1355598692867bf6694472afdd82cda6ed04d7315adc4")))))])
I have been solving some other issues related to UTXOs amount but I can’t figure out how to solve this one. Any pointer will be greatly appreciated.
Thanks,
Martin