Command failed: transaction sign

We have a Problem with the Stakepool Registration. Thanks for Help

The command:

–cardano-cli transaction sign
–tx-body-file cardano-operation/tx.raw
–signing-key-file cardano-operation/paymentwithstake.addr
–signing-key-file cardano-operation/stake.skey
–signing-key-file cardano-operation/cold.skey
–testnet-magic 1097911063
–out-file cardano-operation/tx.signed

Command failed: transaction sign Error: Error reading signing key: cardano-operation/paymentwithstake.addr: Unexpected Bech32 prefix: the actual prefix is “addr_test”, but it was expected to be “addr_sk” or “addr_xsk” or “pool_sk” or “stake_sk” or “stake_xsk”

check your staking address in paymentwithstake.addr How did you generate the address in that file?

1 Like

If the files are not messed up, it should be an .skey file, not an .addr file, in the first place.


ah, good spotting. Yeah, that is meant to be an skey. Not an addr file.

1 Like

hey, thanks i think thats true. too much commands :wink: