> For the complete documentation index, see [llms.txt](https://www.coincashew.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node/part-v-tips/uploading-pool-metadata-to-github.md).

# Uploading Pool Metadata to GitHub Pages

### **To host the file containing metadata for your pool on GitHub Pages:**

1. Sign up or login to your [GitHub](https://github.com) account.
2. [Create a new public repository](https://github.com/new) named *username*.github.io, where *username* is your username (or organization name) on GitHub. **Shorter the better.**

<figure><img src="https://4046814935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5KYnWuA6dS_nKYsmfV-887967055%2Fuploads%2Fs2sqOySormdduOn8GWwT%2Fgithub-name.png?alt=media&amp;token=c1780e88-650d-48da-a803-2ef394b6be82" alt=""><figcaption></figcaption></figure>

3. Click Get started by "**creating a new file**" under Quick setup.\\

   <figure><img src="https://4046814935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5KYnWuA6dS_nKYsmfV-887967055%2Fuploads%2FeKCsmnNI9w55f1rFbYrW%2Fcreate-new-file.png?alt=media&amp;token=f14bc6b1-466f-42c3-88e4-79d3077ce24e" alt=""><figcaption></figcaption></figure>
4. Enter your file name as **md.json** and paste in your JSON content.

<figure><img src="https://4046814935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5KYnWuA6dS_nKYsmfV-887967055%2Fuploads%2FC8sr4cJnic4H0esNRNP2%2Fmd.png?alt=media&amp;token=ff68949a-6404-4740-baf7-73637ad5a84f" alt=""><figcaption></figcaption></figure>

5. Click **Commit Changes...**

<figure><img src="https://4046814935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M5KYnWuA6dS_nKYsmfV-887967055%2Fuploads%2F7qp6mz3Aff1qUuYQBE7B%2Fcommit.png?alt=media&amp;token=5f02310b-5439-4ac9-8389-f3e7aa2b148a" alt=""><figcaption></figcaption></figure>

6. If everything worked properly, your pool metadata is now hosted at URL:

```
https://USERNAME.github.io/FILE
```

{% hint style="info" %}
Example URL: <https://coincashew.github.io/md.json>
{% endhint %}

{% hint style="warning" %}
Ensure the URL is less than 64 characters. If too long, pick a shorter github username or shorter json file name.
{% endhint %}

7. In your stakepool registration transaction, set the value of the `--metadata-url` parameter to this URL.
8. On your block producer node, download your JSON file using the URL with `wget` command:

```bash
cd $NODE_HOME
wget -O md.json <your github pages URL>
```

{% hint style="warning" %}
Note that it can take up to 10 minutes for changes to your site to publish after you commit changes.
{% endhint %}

9. As a sanity check, check the contents of your JSON file.

```bash
cat md.json
```

10. On your block producer node, generate the updated pool metadata hash.

```bash
cardano-cli conway stake-pool metadata-hash --pool-metadata-file md.json > poolMetaDataHash.txt
```
