Knowledge Base
This guide tries to help when the registration of your stake pools with metadata fails.
Have you checked your calculated minimum-fee a hundred times and you still can't get your stake pool registered on the blockchain?
In chapter 8.7 the min-fee is calculated this way:
cardano-cli shelley transaction calculate-min-fee \
--tx-body-file tx.raw \
--tx-in-count 1 \
--tx-out-count 1 \
--mainnet \
--witness-count 1 \
--byron-witness-count 0 \
--protocol-params-file protocol.json
Please note that in chapter 8.10 you are going to sign the transaction with three signing files:
--signing-key-file payment.skey \
--signing-key-file stake.skey \
--signing-key-file cold.skey \
Therefore you have to increase --witness-count 1
to --witness-count 3
.
Please also note, that the cardano documentation uses --tx-body-file tx.raw
.
Strictly speaking, when you have followed the guide closely, at this point, no tx.raw
exists. You have to replace this by tx.draft
. Look:
cardano-cli shelley transaction calculate-min-fee \
--tx-body-file tx.draft \
--tx-in-count 1 \
--tx-out-count 1 \
--mainnet \
--witness-count 3 \
--byron-witness-count 0 \
--protocol-params-file protocol.json
And Voila - It should work!
![]() |
written by: Chris published at: Aug 31, 2020![]() |
Knowledge Base
Dec 3, 2023, by Eric Hill
Knowledge Base
Sep 7, 2023, by Eric Hill
Knowledge Base
Apr 9, 2023, by Eric Hill
Knowledge Base
Mar 22, 2023, by Eric Hill
Knowledge Base
Oct 22, 2022, by Eric Hill