Is there a way for cardano-cli
to generate stake registration certificate using the extended stake address verification key (stake_xvk
) that was generated from cardano-address
CLI?
Steps to generate extended stake address verification key:
cardano-address recovery-phrase generate --size 15 > phrase.prv
cardano-address key from-recovery-phrase Shelley < phrase.prv > root.xsk
cardano-address key child 1852H/1815H/0H/2/0 < root.xsk | cardano-address key public --with-chain-code > stake.xvk
Now I have extended stake address verification key stake.xvk
.
From here, I want to generate stake registration certificate using cardano-cli like so:
cardano-cli stake-address registration-certificate \
--staking-verification-key-file stake.vkey \
--out-file stake.cert
But this doesn't work because the content of --staking-verification-key-file
is much different that of stake_xvk
.