Create Cardano Wallet
On this page I will explain how to generate a Cardano wallet based on mnemonic seed phrase phrase wich gets generated with cardano-wallet CLI.
This tutorial was successful with cardano-wallet-v2022-01-18-linux64.tar.gz
System: Ubuntu 20.04.03 LTS Shell: bash Cardano Node: 1.33.0 (included in cardano-wallet-v2022-01-18)
Credits to ilap and for sure the great COINCASHEW crew. They have already finished almost 100%of the work and I only try to contribute at least a tiny bit.
Most wallets use a recovery phrase / mnemonic seed length of 15 or 24 words. In this expample we will use 24 words.
Benefits of mnemonic based wallets: Track and control pool rewards from any wallet (Daedalus, YOROI or any other wallet) that support stakings.
Good to know: a mnemonic seed phrase is not a pure random number of 15 to 24 words. Words need to be select from a specific library - not all words from all languages are allowed. Indeed, only specific english lowercase words are allowed. Anyway, will not select the words for our seed manually. We will use the cardano-wallet cli, which is part Cardano Wallet library.
1. Download latest cardano-wallet release
2. Lets create the wallet with all necessary keys and phrases
Now pls copy your downloaded cardano-wallet-v20<XX>-<XX>-<XX>-linux64.tar.gz file into the cardano-wallet folder and uncopress it.
<XX> in cardano-wallet-v20<XX>-<XX>-<XX>-linux64.tar.gz might be different at the time you will create your wallet because their is a new release available!
In the next step we will already be able to generate our mnemonic seed phrase with cardano-wallet cli
Lets generate a 24 words long recovery phrase / mnemonic seed phrase by using the cardano-address cli
Lets have a look inside the mnemonic-phrase.dat file
3. Generate your private cardano wallet keys
These steps must be done on an air-gapped machine. That means the PC, notebook, raspberrypi what ever device you use to generate your wallet is NOT connected to the internet and will never be. You will store informations on this enveronment that will allow attackers to steel youf funds!
Make shure to copy
mainnet-shelley-genesis.jsoninto your$HOME/cardano-walletfolderCheck if
jq(JASON convert) is installed on your system. If not run:sudo apt-get install jqIf you get the error:E: Couldn't find package jqyou need to update your system and include the specific repositories.TESTNET: change
mainnet-shelley-genesis.jsontotestnet-shelley-genesis.jsoninextractPoolStakingKeys.sh(NOT TESTED)
Create extractPoolStakingKeys.sh script.
Now we need to add execution permisson to extractPoolStakingKeys.sh
Extract your keys. Update the command with your mnemonic phrase.
IMPORTANT: Please check carefully if the base.addr and the base.addr_candidate are identical!
Your new staking keys are in the folder extractedPoolKeys/
Now move payment/stake key pair over to your $HOME/key folder
payment.addr, or also known as base.addr from this extraction script, will be the cardano address which holds your pool's pledge.
Finally close all your terminal windows and open new ones with zero history.
Congratulations! You have generated all your required keys to interact with the Cardano ecosystem. 👍
Fund your payment address
Copy payment.addr to your hot environment (with internet connection and fully sycroniced node). Payment address can be funded from your Daedalus / Yoroi wallet. Run the following to find your payment address.
RECOMMENDATION: Only fund the minimum amount of ADA initally to your new payment.addr to test if everything works as expected. The minimum is 1 ADA.
You should be able to:
Receive funds on your payment.addr
Sent funds from your payment.addr to any other wallet address You could try to send some ADA to:
addr1qyrytjmrf37r0cfas4pa9ss3v3tgqy0m7v4ljmkwtj4m33u4y6asl5ruap3hj6cqhyjn7guh9z4a3ya58xdh064zq8yq4n09fd
After funding your account, check your payment address balance.
Before continuing, your nodes must be fully synchronized to the blockchain. Otherwise, you won't see your funds.
You should see output similar to this. This is your unspent transaction output (UXTO).
PLAN B to check the balance:
https://cardanoscan.io (TESTNET available)
Simply put the output of $(cat payment.addr) into the search field.
Last updated
