Generating keys
First, you should register a stake pool using the following command:
cardano-cli stake-pool registration-certificate \
--cold-verification-key-file cold.vkey \
--vrf-verification-key-file vrf.vkey \
--pool-pledge <AMOUNT TO PLEDGE IN LOVELACE> \
--pool-cost <POOL COST PER EPOCH IN LOVELACE> \
--pool-margin <POOL OPERATOR MARGIN > \
--pool-reward-account-verification-key-file stake.vkey \
--pool-owner-stake-verification-key-file stake.vkey \
--testnet-magic 2 \
--pool-relay-ipv4 <RELAY NODE PUBLIC IP> \
--pool-relay-port <RELAY NODE PORT> \
--single-host-pool-relay STRING <The stake pool relay's DNS name that corresponds to an A or AAAA DNS record> \
--metadata-url https://git.io/JJWdJ \
--metadata-hash <POOL METADATA HASH> \
--out-file pool-registration.certGenerating the artifacts
You will now need to generate all the following artifacts:
payment.vkey
payment verification key
payment.skey
payment signing key
payment.addr
funded address linked to stake
stake.vkey
staking verification key
stake.skey
staking signing key
stake.addr
registered stake address
cold.skey
cold signing key
cold.vkey
cold verification key
kes.skey
KES signing key
kes.vkey
KES verification key
vrf.skey
VRF signing key
vrf.vkey
VRF verification key
opcert.cert
operational certificate
opcert.counter
issue counter
metadata url
metadata hash
Payment and stake key pairs
Payment and stake keys
Generate payment keys:
Generate stake keys:
Generate the payment address:
Generate a recovery phrase and save it to a file:
Get the root private key:
Generate the private and public keys for the index 0 address:
Convert the private key so that it can be used within the cardano-cli:
Get the public (verification) key compatible with the cardano-cli:
Generate the stake keys:
Convert:
Get the extended verification key:
Also, get the non-extended verification key:
Finally, generate the payment address:
Also, generate the stake address:
Cold keys
Key evolving signature (KES) keys
Verifiable random function (VRF) keys
Upload keys to the block-producing node
On the Block producer, run:
Use a USB drive to bring kes.skey vrf.skey and opcert.cert to your working machine and from there, upload:
Last updated
Was this helpful?