Cold keys missing for retiring

Hey! I am trying to retire my pool but I get the error:
WARN: No pools available that can be selected! Required files:
cold.vkey
cold.skey

I have tried to decrypt and I have checked the file permissions, but I think I am missing pool.cert, how can I fix this? Because one time I tried to retire my pool but something happened so that didn’t go through.

You need to have those two files, they are part of a pool’s identity.

Those keys are indeed very important. May I ask where this transaction for creating the retirement certificate is being build? In most tutorials on how to build a stakepool it is really emphasized that you never store your cold keys on a live (that is internet connected) device. Can it be that this transaction is not being build on that device that store the cold keys?

And if you would like to find your keys on your linux device use the following command, this lists all file containing the string

grep -rnw /path/where/you/want/to/search -e "Payment Signing Key"

for the Signing key (cold.skey).

I tested last week and it worked… please check here

Where can I find that command? And what do I need to fill in?

what command, give me the ticker and I will provide you the commands

UNI is my Ticker

  • decrypt the wallet/pool files
  • replace POOL_FOLDER_NAME with your folder name from /priv/pool
  • replace WALLET_FOLDER_NAME with your folder name from /priv/wallet

the bellow command must be run from pool folder - otherwise the file will be created in the active directory and you will need to move to priv/pool/pool_folder/

cd /priv/pool/pool_folder/

cardano-cli stake-pool registration-certificate \
    --cold-verification-key-file /opt/cardano/cnode/priv/pool/POOL_FOLDER_NAME/cold.vkey \
    --vrf-verification-key-file /opt/cardano/cnode/priv/pool/POOL_FOLDER_NAME/vrf.vkey \
    --pool-pledge 51000000 \
    --pool-cost 340000000 \
    --pool-margin 0.3 \
    --pool-reward-account-verification-key-file /opt/cardano/cnode/priv/wallet/WALLET_FOLDER_NAME/stake.vkey \
    --pool-owner-stake-verification-key-file /opt/cardano/cnode/priv/wallet/WALLET_FOLDER_NAME/stake.vkey \
    --mainnet \
    --single-host-pool-relay 135.125.237.216 \
    --pool-relay-port 6000 \
    --metadata-url https://uniunt.org/metadata.json \
    --metadata-hash $(cat poolMetaDataHash.txt) \
    --out-file pool.cert

after this you can try to retire the pool

I get this error:

I also tried manually creating the .txt file but that didn’t help

sorry I forgot about the hash

Try again

cardano-cli stake-pool registration-certificate \
    --cold-verification-key-file /opt/cardano/cnode/priv/pool/POOL_FOLDER_NAME/cold.vkey \
    --vrf-verification-key-file /opt/cardano/cnode/priv/pool/POOL_FOLDER_NAME/vrf.vkey \
    --pool-pledge 51000000 \
    --pool-cost 340000000 \
    --pool-margin 0.3 \
    --pool-reward-account-verification-key-file /opt/cardano/cnode/priv/wallet/WALLET_FOLDER_NAME/stake.vkey \
    --pool-owner-stake-verification-key-file /opt/cardano/cnode/priv/wallet/WALLET_FOLDER_NAME/stake.vkey \
    --mainnet \
    --single-host-pool-relay 135.125.237.216 \
    --pool-relay-port 6000 \
    --metadata-url https://uniunt.org/metadata.json \
    --metadata-hash 59163927fae75620b0855585cdcda8e31b864c9ed7186044b88565d5511b38f8 \
    --out-file pool.cert

image

Now, next epoch you must:

  • cntools → funds → withdraw (to withdraw the 500 ADA received as rewards
  • cntools → wallet → deregister (to receive back 2ADA)
  • cntools → funds → send (if u want to transfer the funds)