Verifying Stake Pool Operation

If you can successfully complete the following tasks, then your stake pool is registered on the blockchain:

Retrieving the Stake Pool ID

Compute your stake pool ID using the following command:

cardano-cli conway stake-pool id --cold-verification-key-file $HOME/cold-keys/node.vkey --output-format hex > stakepoolid.txt
cat stakepoolid.txt

Copy stakepoolid.txt to your hot environment.

Querying Stakes

Using your stake pool ID and the following command, you can query the Cardano blockchain at any time to display the stakes delegated to your pool:

cardano-cli conway query stake-snapshot --stake-pool-id $(cat stakepoolid.txt) --mainnet 

If the query returns results, then your stake pool is registered! 👏

In the pools object in the JSON-formatted query results, the following keys display the stakes delegated to your pool, in Lovelace:

  • stakeGo displays the total stakes delegated to your pool in the previous epoch

  • stakeSet displays the total stakes delegated to your pool in the current epoch

  • stakeMark displays the total stakes currently delegated to your pool for the next epoch

Finding Your Stake Pool Using a Block Explorer

Using your stake pool ID, you can also find data for your pool on block explorers such as https://pooltool.io/

Conclusion

Congratulations! Your stake pool is included in the Cardano network and is ready to produce blocks.

Currently, Input Output recommends the following stake pool configuration:

  • At least two relay nodes that are registered on the blockchain

  • One relay node that is NOT registered on the blockchain

When you finish testing that your stake pool successfully produces blocks, consider future-proofing your stake pool.

Last updated