Skip to content

Commit

Permalink
Merge pull request #4975 from input-output-hk/gitmachtl/patch-4
Browse files Browse the repository at this point in the history
stakeKey registration stake.skey witness not needed
  • Loading branch information
newhoggy committed Mar 17, 2023
2 parents 0345419 + eb6148d commit abe1f3a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions doc/stake-pool-operations/5_register_key.md
Expand Up @@ -25,11 +25,16 @@ For the transaction draft, --tx.out, --invalid-hereafter and --fee can be set to

#### Calculate fees

Compute the minimum fee.

Note that only one witness is required because
[Chapter 3.3 "we do not require a witness to register a stake address"](https://github.com/input-output-hk/cardano-ledger/releases/latest/download/shelley-delegation.pdf).

cardano-cli transaction calculate-min-fee \
--tx-body-file tx.draft \
--tx-in-count 1 \
--tx-out-count 1 \
--witness-count 2 \
--witness-count 1 \
--byron-witness-count 0 \
--mainnet \
--protocol-params-file protocol.json
Expand Down Expand Up @@ -79,7 +84,6 @@ Sign it:
cardano-cli transaction sign \
--tx-body-file tx.raw \
--signing-key-file payment.skey \
--signing-key-file stake.skey \
--mainnet \
--out-file tx.signed

Expand Down

0 comments on commit abe1f3a

Please sign in to comment.