Cabana
AppToolsProtocol Docs
  • Welcome 👋
  • ⚙️Protocol
    • The Basics
    • V5 Changes
    • A Brief History
    • Bots
    • FAQs
  • 🏖️Cabana App
    • Prize Yield
    • Vault Lists
    • Bonus Rewards
    • Delegations
    • Guides
      • Depositing into a prize vault
      • Withdrawing from a prize vault
      • Checking for prizes
      • Checking your balance
  • 🛠️Cabana Tools
    • Cabana Factory
    • Cabana Lists
    • Cabanalytics
    • Design Tools
    • Guides
      • Deploying a Prize Vault
      • Deploying a Liquidation Pair
      • Creating a Vault List
      • Editing a Vault List
      • Hosting a Vault List
      • Promoting Your Vault
      • Full Cabana Factory Walkthrough
      • Full Cabana Lists Walkthrough
  • 🔗Links
    • Cabana App
    • Cabana Tools
    • PoolTogether Discord
    • PoolTogether UI Kit
    • PoolTogether Brand Kit
Powered by GitBook
On this page
  • IPFS + ENS
  • Self-Hosting
  1. Cabana Tools
  2. Guides

Hosting a Vault List

PreviousEditing a Vault ListNextPromoting Your Vault

Last updated 10 months ago

PoolTogether Vault Lists follow the . See using the app.

Once your list is ready, you can easily share it through many means. Any app that works with the same Uniswap standard will be able to read it! One of these, of course, is the .


The following are some recommended ways to share your list:

IPFS + ENS

This will allow you to share your vault list through your ENS domain.

  1. Pin your vault list JSON to IPFS and copy the resulting IPFS hash.

If you have the handy installed, this is as easy as saving your vault list as a JSON file and dragging and dropping it into the extension. If not, try using the . If you have your own IPFS node elsewhere, feel free to use that instead!

  1. Add the IPFS hash to a "vaultList" record on your ENS domain.

Head to your domain on the , select "Records", "Edit Records" and "Add Record". The name of the record should be "vaultList", and its value should be the IPFS hash you've gotten from the previous step. Don't forget to save!

Self-Hosting

Alternatively, host your vault list through your own website.

  1. Add a new route to your site.

  1. Return the vault list's JSON through your route.

This will also somewhat depend on your web framework of choice, but essentially just means sending a response of pure JSON, without any HTML!


If you're hosting a vault list through any of these means, feel free to share it with others! By entering your list ENS domain or URL on the Cabana App, anyone can quickly see what vaults you recommend or are interested in sharing.

This step will depend on what web framework your site is built on - check out how it's done on or .

Remember to set proper CORS headers to allow others to query your vault list. of one way to set headers on NextJS.

🛠️
NextJS
SvelteKit
Here's an example
Uniswap's Token List Standard
how to create a list
Cabana Lists
Cabana App
IPFS Companion
Desktop App
ENS App
Editing records on the ENS app
Example endpoint on a NextJS app