Hello everyone,
I’ve successfully secured my stakepool with a second owner which is a Hardware Wallet, 2 epochs ago.
Now i want to update my pool settings (Pledge change). Until now, i followed CoinCashew guide to update Stake Pool Infos.
But from now on, as far as i understand, i have to sign any change to the stakepool with both owners. So the process is a little bit different right ?
What i think i should do :
1- Create deleg cert for the HW Wallet
cardano-cli stake-address delegation-certificate
–stake-verification-key-file hw-stake.vkey
–cold-verification-key-file $HOME/cold-keys/node.vkey
–out-file hw-deleg.cert
2- Create the new Pool cert with updated pledge. with both owner’s key
cardano-cli stake-pool registration-certificate
–cold-verification-key-file $HOME/cold-keys/node.vkey
–vrf-verification-key-file vrf.vkey
–pool-pledge 10000000000
–pool-cost 340000000
–pool-margin 0.01
–pool-reward-account-verification-key-file hw-stake.vkey
–pool-owner-stake-verification-key-file stake.vkey
–pool-owner-stake-verification-key-file hw-stake.vkey
–mainnet
–single-host-pool-relay XXXXXXXXXXX
–pool-relay-port 6000
–metadata-url
–metadata-hash $(cat poolMetaDataHash.txt)
–out-file pool.cert
3- Usual fees calculations (this time with 4 witness)
4- Building the Transaction (with the hw-deleg certificate and —mary-era setting)
cardano-cli transaction build-raw
${tx_in}
–mary-era
–tx-out $(cat payment.addr)+${txOut}
–invalid-hereafter $((${currentSlot}+10000))
–fee ${fee}
–certificate-file pool.cert
–certificate-file deleg.cert
–certificate-file hw-deleg.cert
–out-file tx.raw
5- Create 4 witness including one with Hardware Wallet validation (stake.skey, payment.skey, hw-stake.hwsfile, node.skey)
6- Assemble the transaction with 4 witness
cardano-cli transaction assemble
–tx-body-file tx-pool.raw
–witness-file node.witness
–witness-file stake.witness
–witness-file payment.witness
–witness-file hw-stake.witness
–out-file tx-pool.multisign
7- Submit the transaction
Does that sound correct ?