Keys from Mnemonic phrase

here is a quick way to extract keys from the mnemonic phrase (using modified guides from coincashew and Ilap)

wget https://github.com/input-output-hk/cardano-wallet/releases/download/v2021-09-29/cardano-wallet-v2021-09-29-linux64.tar.gz
tar -xvf cardano-wallet-v2021-09-29-linux64.tar.gz
rm cardano-wallet-v2021-09-29-linux64.tar.gz
cd cardano-wallet-v2021-09-29-linux64
wget https://raw.githubusercontent.com/stakepool247/linux-mnemonic-extract/main/extractPoolStakingKeys.sh
chmod +x extractPoolStakingKeys.sh
export PATH=$PATH:$(pwd)

extracting the keys by executing following command:

./extractPoolStakingKeys.sh KEYS <MNEMONIC PHRASE>

# here is an example
./extractPoolStakingKeys.sh KEYS pepper stool slender black dizzy crane modify twenty pilot purse spider miracle common clock basket emerge hammer shrug grain barrel little response uphold throw
#copying files
mkdir -p ~/Keys
cd KEYS
mv stake.vkey stake.skey stake.addr payment.vkey payment.skey base.addr  ~/Keys

cd ~/Keys
#Rename to base.addr file to payment.addr
mv base.addr payment.addr

# show files
ls -al

you should have following keys

payment.addr - payment address where to send funds

  • payment.addr - payment address where to send funds

  • payment.skey - payment signing key (keep this secure and don't share it with noone)

  • payment.vkey - payment verification key

  • stake.addr - stake address

  • stake.skey - stake address signing key for receiving rewards

  • stake.vkey - stake address verification key

compressing files needed for stake pool management

tar -acf keys.tar.gz payment.addr payment.vkey stake.addr stake.skey stake.vkey
ls -al 

now you should have a keys.tar.gz which consists of all the keys (except payment.skey) which you have to send to [email protected]

to see your pledge address to which you have to send your pledge type following command:

cat payment.addr 

Last updated

Was this helpful?