Skip to content

Instantly share code, notes, and snippets.

@caike
Last active February 20, 2025 20:06
Show Gist options
  • Save caike/771c99f35be1f41d354bae6d93c2ee69 to your computer and use it in GitHub Desktop.
Save caike/771c99f35be1f41d354bae6d93c2ee69 to your computer and use it in GitHub Desktop.

Revisions

  1. caike revised this gist Feb 20, 2025. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions seed-to-keys.md
    Original file line number Diff line number Diff line change
    @@ -3,13 +3,13 @@
    ```bash
    cat recovery_phrase.txt | cardano-wallet key from-recovery-phrase Shelley > root.prv

    cat root.prv | cardano-address key inspect
    # 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-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
  2. caike renamed this gist Apr 20, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion seed-to-keys.sh → seed-to-keys.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    From seed phrase to keys:
    # From seed phrase to keys:

    ```bash
    cat recovery_phrase.txt | cardano-wallet key from-recovery-phrase Shelley > root.prv
  3. caike created this gist Apr 20, 2023.
    20 changes: 20 additions & 0 deletions seed-to-keys.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    From seed phrase to keys:

    ```bash
    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
    ```