How to upload poolMetaData.json to Github

Quick steps to hosting your poolmetadata.json

  1. Sign up for a Github account by visiting

  2. Create a new repository with a short name

  3. Click Get started by "creating a new file"

4. Enter your file name as poolMetaData.json and paste in your json content.

5. Click Commit new file

6. Click your new file's name

7. Click on Raw button

8. Copy the URL into your clipboard


9. The URL must be shorter than 64 characters. Use to shorten it.


10. Use this tinyurl URL--metadata-url in your stakepool registration transaction.

11. Download your json with wget from your url

wget -O poolMetaData.json <your link>

This step may be required because may change the json file by removing spaces and new lines.

12. Generate the updated pool metadata hash

block producer node
block producer node
cardano-cli stake-pool metadata-hash --pool-metadata-file poolMetaData.json > poolMetaDataHash.txt