Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stakeKey registration stake.skey witness not needed #4975

Merged
merged 1 commit into from
Mar 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions doc/stake-pool-operations/5_register_key.md
Original file line number Diff line number Diff line change
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