Mnemonic Method (extractPoolStakingKeys.sh)

./extractPoolStakingKeys.sh extractedPoolKeys/ 24
user error (Invalid number of words: 9, 12, 15, 18, 21 or 24 words are expected.)
user error (Couldn’t convert bytes into neither extended public or private keys.)
user error (Couldn’t convert bytes into neither extended public or private keys.)
user error (Couldn’t convert bytes into extended private key.)
user error (Couldn’t convert bytes into extended private key.)
user error (Couldn’t convert bytes into extended public key.)
Usage: cardano-address address delegation XPUB
Create a delegation address

Available options:
-h,–help Show this help text
XPUB An extended stake public key.

The payment address is read from stdin.

Example:
$ cardano-address recovery-phrase generate --size 15
| cardano-address key from-recovery-phrase Shelley > root.prv

$ cat root.prv
| cardano-address key child 1852H/1815H/0H/2/0 > stake.prv

$ cat root.prv
| cardano-address key child 1852H/1815H/0H/0/0 > addr.prv

cat addr.prv \ | cardano-address key public \ | cardano-address address payment --network-tag 0 \ | cardano-address address delegation (cat stake.prv | cardano-address key public)
xxxx…
user error (Unrecognized address on standard input)
Generated from 1852H/1815H/0H/{0,2}/0

bech32: user error (StringToDecodeTooShort)
bech32: user error (StringToDecodeTooShort)
bech32: user error (StringToDecodeTooShort)
bech32: user error (StringToDecodeTooShort)
stake.skey: TextView decode error: DecoderErrorDeserialiseFailure “SigningKey StakeExtendedKey” (DeserialiseFailure 2 “end of input”)
payment.skey: TextView decode error: DecoderErrorDeserialiseFailure “SigningKey PaymentExtendedKey” (DeserialiseFailure 2 “end of input”)
payment.evkey: payment.evkey: openBinaryFile: does not exist (No such file or directory)
stake.evkey: stake.evkey: openBinaryFile: does not exist (No such file or directory)
stake.vkey: stake.vkey: openBinaryFile: does not exist (No such file or directory)
payment.vkey: payment.vkey: openBinaryFile: does not exist (No such file or directory)
payment.vkey: payment.vkey: openBinaryFile: does not exist (No such file or directory)

./extractPoolStakingKeys.sh extractedPoolKeys/ <15|24-word length mnemonic>
bash: syntax error near unexpected token `newline’

Hey, did you find a solution to this? I just ran into the same problem.
ThX in advance!
Chris

1 Like

Yes take your words

/extractPoolStakingKeys.sh extractedPoolKeys/ word1 \ word2 \