πŸ§‘β€πŸŽ“Cardano Pledge/Staking key generation with Hardware Wallet

This is a step-by-step guide on how to create pool's pledge/staking (hybrid) keys using hardware wallet (the secret keys never leave the HW)

1. Getting ready

For this guide to work, you will need a computer running Ubuntu Desktop or Ubuntu Server. We will be using Ubuntu Desktop Ubuntu 20.04.3 desktop for this guide. You can use also the Ubuntu Server (or any other Linux flavor) as we will be using the command line (terminal) to execute the neccessary commands.

1.1 Create a "cardano" directory where to store the executable files and keys

open the terminal app and execute the below commands to complete this guide.

1.2 downloading Cardano Wallet CLI

1.2.1 extracting the files

1.2.3 checking the files

1.3 downloading Cardano Hardware Wallet CLI

1.3.1 extracting files

2. Generating pool keys

2.1 creating "keys" folder for the keys

2.1 creating staking keys

you should see the following files in the folder

2.2 Generating payment verification keys from Hardware Wallet

if you are getting the following error: "Error: Error occured while trying to find hw transport, make sure Ledger or Trezor is connected to you computer"

then run the following command and redo the previous step:

wget -q -O - https://raw.githubusercontent.com/LedgerHQ/udev-rules/master/add_udev_rules.sh | sudo bash

(more info about this: https://support.ledger.com/hc/en-us/articles/115005165269-Fix-connection-issues?support=true

approve the public key export on your ledger/trezor device

you should see following files in the folder

2.3. Building a Payment (pledge) address (from payment and staking public keys)

2.4. Building a stake Address

2.5 Create the staking registration certificate

2.6 Check the pledge address (Where you will be sending your pledge)

3. Testing generated addresses and pledging

After you have generated the keys, let's test if everything works fine by adding the account to Daedalus Wallet

3.1. Pair your Hardware Wallet with Daedalus

3.2. Testing the pledge address visibility in Daedalus / Yoroi

3.2.1. Send a test amount (~5 ADA) to the address which you got on previous steps when you generated the pledge wallet keys

3.2.2. When you have received the test ADA - try to send back the 5 ADA to your main wallet.

3.2.3. Wait till the ADA arrives at the Daedalus wallet - if you received it, then everything is set up correctly and you can proceed with sending the rest of the pledge to that address.

4. Sending keys:

For us to generate the necessary keys and to be able to automatically send you the rewards we will need the following files:

  • pool.payment.addr - payment/pledge address

  • pool.payment.vkey - payment/pledge public key (pledge wallet's secret key always stays in your hardware wallet device)

  • pool.staking.addr - pool's staking address, where rewards will be sent

  • pool.staking.vkey - pool's staking public key

  • pool.staking.skey - pool's staking secret key - we will automatically withdraw rewards and send your part to your identified Cardano address (which you submitted in the google spreadsheet)

Last updated

Was this helpful?