Not sure how to submit a pull request with the changes outlined below? Use our Customisation Request form for a hands off approach.
In order to add your own custom details for your Set, please follow these steps:
- Get started by forking this repository
- Add a new file into the
set-details
folder that is named:[insert-your-set-address].setdetails.json
(i.e. 0x1494CA1F11D487c2bBe4543E90080AeBa4BA3C2b.setdetails.json). A template can be found atset-details/template.setdetails.json
. THIS MUST BE THE CHECKSUMMED ADDRESS. - Be sure to include any required media such as token or manager icons in the
/assets
directory under their respective folders - Verify that the details match the required schema here by pasting the entire entry into this schema validator and see if your input JSON matches properly. See below if you need multi line descriptions
- Create a pull request against the master branch and follow the pull request template to submit the proper signature (signed current version number [i.e. 1] via TokenSets UI)
- Join our Discord and ping a team member to review your submission
To add your Set details to our Uniswap Tokenlist, add an entry to the details in the set.tokenlist.json
file, follow other submissions
Each pull request must be accompanied by a valid signature signing the next monotomically increasing version number. To generate a signature:
- Head over to your Set page on Tokensets
tokensets.com/v2/set/your_set_address
- Once logged in, the name of your Set should appear in blue with an edit icon
- Tap on your Set's name and follow the steps in the popup
If you need to have multi-line JSON, you can use a HJSON converter to help with writing it.
- Head over to this tool
- On the left pannel, paste your multi line description under the
multiline string
comment, replacing the JSON Haiku - Copy the output from the right pannel under
haiku
, omitting the trailing comma and paste into yoursetdetails.json
file.