- Sign up for a Github account by visiting https://github.com/
- Create a new repository with a short name
- Click Get started by "creating a new file"
- Enter your file name as poolMetaData.json and paste in your json content.
- Click Commit new file
-
Click your new file's name
-
Click on Raw button
-
Copy the URL into your clipboard
Example: https://raw.githubusercontent.com/coincashew/test/master/poolMetaData.json
- The URL must be shorter than 64 characters. Use https://git.io/ to shorten it.
Example:
https://git.io/JUcnl
-
Use this tinyurl URL
--metadata-url
in your stakepool registration transaction. -
Download your json with
wget
from your git.io url
cd $NODE_HOME
wget -O poolMetaData.json <your git.io link>
{% hint style="info" %} This step may be required because git.io may change the json file by removing spaces and new lines. {% endhint %}
- Generate the updated pool metadata hash
{% tabs %} {% tab title="block producer node" %}
cardano-cli stake-pool metadata-hash --pool-metadata-file poolMetaData.json > poolMetaDataHash.txt
{% endtab %} {% endtabs %}