Skip to content

Instantly share code, notes, and snippets.

@caike
Created April 20, 2023 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caike/771c99f35be1f41d354bae6d93c2ee69 to your computer and use it in GitHub Desktop.
Save caike/771c99f35be1f41d354bae6d93c2ee69 to your computer and use it in GitHub Desktop.

From seed phrase to keys:

cat recovery_phrase.txt | cardano-wallet key from-recovery-phrase Shelley > root.prv

cat root.prv | cardano-address key inspect

cardano-wallet key child 1852H/1815H/0H/0/0 < root.prv > payment.prv

cardano-cli key convert-cardano-address-key --shelley-payment-key
--signing-key-file payment.prv
--out-file payment-original.skey

cardano-wallet key child 1852H/1815H/0H/0/0 < root.prv > payment.prv
cardano-wallet key public --without-chain-code < payment.prv > payment.vkey

cardano-cli key convert-cardano-address-key --shelley-payment-key \
                                            --signing-key-file payment.prv \
                                            --out-file payment.skey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment