Generating wallet keys
Let's generate the wallet keys for our pledge
let's go to our key folder
cd ~/cnode/keys/
Let's start by generating a wallet for paying fees and Pool deposit, let's call it myWallet
02_genPaymentAddrOnly.sh myWallet cli
ls -al
you should see something like this:

Now let's check the balance of the wallet as well the address of that wallet:
01_queryAddress.sh myWallet

ok, as expected, no funds on that wallet :) check the address of that wallet, in this case it's (DONT'T SEND FUNDS TO THIS ADDRESS): addr_test1vrl0cagj24t20dcsmljh5n2egg5pehpfmy6wtsul6resl0gpzsp7d
When you have sent some ADA to your myWallet address, let's check again:

Now let's create an address where you will be storing the pools Pledge
03a_genStakingPaymentAddr.sh poolOwner cli
ls -al poolOwner*

Great, now let's register the owner stake key on the blockchain, myWallet will pay for the transaction as well as for the deposit
03b_regStakingAddrCert.sh poolOwner myWallet

Now let's check if our stake certificate is registered on blockchain:
03c_checkStakingAddrOnChain.sh poolOwner

Ok, our primary Wallet and Pledge wallet is ready! Let's create in our next steps the POOL Keys.
Last updated
Was this helpful?