# Command failed: transaction sign

**URL:** <https://forum.cardano.org/t/command-failed-transaction-sign/97216>\
**Category:** Setup a Stake Pool\
**Tags:** cardano\
**Created:** [8 March 2022 16:05 UTC](https://forum.cardano.org/t/command-failed-transaction-sign/97216 "2022-03-08T16:05:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SKINN3R](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@SKINN3R](https://forum.cardano.org/u/SKINN3R)\
**Post date:** [8 March 2022 16:05 UTC](https://forum.cardano.org/t/command-failed-transaction-sign/97216/1 "2022-03-08T16:05:08Z")

</div>

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”

---

<div class="post-metadata">

**Author:** ![jeremyisme](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/jeremyisme/32/54872_2.png) [@jeremyisme](https://forum.cardano.org/u/jeremyisme)\
**Post date:** [8 March 2022 17:40 UTC](https://forum.cardano.org/t/command-failed-transaction-sign/97216/2 "2022-03-08T17:40:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![HeptaSean](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/heptasean/32/82306_2.png) [@HeptaSean](https://forum.cardano.org/u/HeptaSean)\
**Post date:** [8 March 2022 17:53 UTC](https://forum.cardano.org/t/command-failed-transaction-sign/97216/3 "2022-03-08T17:53:03Z")

</div>

> [@jeremyisme](#):
>
> check your staking address in paymentwithstake.addr

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

---

<div class="post-metadata">

**Author:** ![jeremyisme](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/jeremyisme/32/54872_2.png) [@jeremyisme](https://forum.cardano.org/u/jeremyisme)\
**Post date:** [8 March 2022 18:06 UTC](https://forum.cardano.org/t/command-failed-transaction-sign/97216/4 "2022-03-08T18:06:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![SKINN3R](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@SKINN3R](https://forum.cardano.org/u/SKINN3R)\
**Post date:** [9 March 2022 14:13 UTC](https://forum.cardano.org/t/command-failed-transaction-sign/97216/5 "2022-03-09T14:13:09Z")

</div>

hey, thanks i think thats true. too much commands 😉
