Registering Your Stake Pool
Registering Your Stake Pool
Create your pool's metadata with a JSON file. Update with your pool information.
ticker must be between 3-5 characters in length. Characters must be A-Z and 0-9 only.
description cannot exceed 255 characters in length.
Calculate the hash of your metadata file. It's saved to poolMetaDataHash.txt
Copy poolMetaDataHash.txt to your air-gapped offline machine, cold environment.
Next, upload your md.json file to a Web site that you administer or a public Web site. For example, you can upload your pool metadata to GitHub.
Verify the metadata hashes by comparing your uploaded .json file and your local .json file's hash.
Get the metadata hash from your metadata json URL. Replace <https://REPLACE WITH YOUR METADATA_URL> with your actual URL.
This above hash must equal the local metadata hash.
If the hashes do no match, then the uploaded .JSON file likely was truncated or extra whitespace caused issues. Upload the .JSON again or to a different web host.
Find the minimum pool cost.
minPoolCost is 170000000 lovelace or 170 ADA. Therefore, your --pool-cost
must be at a minimum this amount.
Create a registration certificate for your stake pool. Update with your metadata URL and your relay node information. Choose one of the three options available to configure relay nodes -- DNS based, Round Robin DNS based, or IP based.
DNS based relays are recommended for simplicity of node management. In other words, you don't need to re-submit this registration certificate transaction every time your IP changes. Also you can easily update the DNS to point towards a new IP should you re-locate or re-build a relay node, for example.
You MUST register at least one relay node on the blockchain using the registration certificate. If you operate multiple relay nodes, then registering all your relay nodes publicly on the blockchain may create a security risk. You can operate one or more unregistered relays by Implementing Peer Sharing. Do NOT register your block-producing node on the blockchain.
✨ Configuring Multiple Relay Nodes
Update the next operation
cardano-cli conway stake-pool registration-certificate
to be run on your air-gapped offline machine appropriately. Replace with your proper domain names or IP addresses.
DNS based relays, 1 entry per DNS record
Round Robin DNS based relays, 1 entry per SRV DNS record
IP based relays, 1 entry per IP address
metadata-url must be less than 64 characters. Shorten your URL or file name.
Here we are pledging 100 ADA with a fixed pool cost of 345 ADA and a pool margin of 15%.
Copy pool.cert to your hot environment.
Pledge stake to your stake pool.
Copy deleg.cert to your hot environment.
This operation creates a delegation certificate which delegates funds from all stake addresses associated with key stake.vkey
to the pool belonging to cold key node.vkey
A stake pool owner's promise to fund their own pool is called Pledge.
Your balance needs to be greater than the pledge amount.
You pledge funds are not moved anywhere. In this guide's example, the pledge remains in the stake pool's owner keys, specifically
payment.addr
Failing to fulfill pledge will result in missed block minting opportunities and your delegators would miss rewards.
Your pledge is not locked up. You are free to transfer your funds.
You need to find the tip of the blockchain to set the invalid-hereafter parameter properly.
Find your balance and UTXOs.
Find the deposit fee for a pool.
Run the build-raw transaction command.
The invalid-hereafter value must be greater than the current tip. In this example, we use current slot + 10000.
Calculate the minimum fee:
Ensure your balance is greater than cost of fee + minPoolCost or this will not work.
Calculate your change output.
Build the transaction.
Copy tx.raw to your cold environment.
Sign the transaction.
Copy tx.signed to your hot environment.
Send the transaction.
🛑 Critical Security Reminders 🔥
Block-producing Node
The only stake pool keys and certs that are required to run a stake pool are those required by the block producer, specifically the following three files.
All other keys must remain offline in your air-gapped offline cold environment.
Relay Nodes
Relay nodes must NOT store any operational certificates
, vrf
, skey
or cold
` ``` keys.
Last updated