How to upload poolMetaData.json to Github

Quick steps to hosting your poolmetadata.json

  1. 1.
    Sign up for a Github account by visiting https://github.com/
  2. 2.
    Create a new repository with a short name
  3. 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 https://git.io/ to shorten it.
10. Use this tinyurl URL--metadata-url in your stakepool registration transaction.
11. Download your json with wget from your git.io url
wget -O poolMetaData.json <your git.io link>
This step may be required because git.io may change the json file by removing spaces and new lines.
12. Generate the updated pool metadata hash
block producer node
cardano-cli stake-pool metadata-hash --pool-metadata-file poolMetaData.json > poolMetaDataHash.txt
Last modified 10mo ago
Copy link