Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I want to convert the hash of a pool in hexadecimal to pool1... format
How can I do this?
The encoding is called Bech32.
I suspect that cardano-addresses can do this conversion.
You can do it with the bech32 command (which comez in the cardano-wallet package, if you don't already have it):
bech32 pool <<< <hex_pool_id>
Required, but never shown