This repository contains token icons and platform logos used on Curve and any other websites that which to use them:
- Token icons are under
/images
- Platform logos are under
/platforms
Everyone can create a pool on Curve. In this repo, everyone can add token icons for tokens contained in Curve pools. Once a token icon is added to this repository, that token icon will be visible on all Curve websites.
To add a token icon:
- Choose the right folder: under
/images
, if the token is on Ethereum, then please choose theassets
folder. If the token is on any other chain, then please choose the appropriate folder. - In that folder, upload the token icon. It must be a PNG image, and its dimensions must be 200x200. The filename must be the token's address, in lowercase.
Example:
- This is a correct filename for the CRV token on Ethereum:
/images/assets/0xd533a949740bb3306d119cc777fa900ba034cd52.png
- This is NOT a correct filename for the CRV token on Ethereum:
/images/assets/0xD533a949740bb3306d119CC777fa900bA034cd52.png
(filename is not lowercase) - This is NOT a correct filename for the CRV token on Ethereum:
/images/assets-polygon/0xd533a949740bb3306d119cc777fa900ba034cd52.png
(incorrect folder) - This is NOT a correct filename for the CRV token on Ethereum:
/images/assets/0xd533a949740bb3306d119cc777fa900ba034cd52.jpg
(incorrect file extension)
Once you've opened a PR, we'll review and merge it. Once the PR is merged, the token icon should show up on all sites within minutes.
We use jsDelivr, a free CDN for open-source files, which allows to serve any file found in this repo in a fast and reliable way, for free.
It's simple:
- This is the base url:
https://cdn.jsdelivr.net/gh/curvefi/curve-assets/
- Append to it the relative path of any icon in this repository: for example, for the CRV icon on Ethereum:
images/assets/0xd533a949740bb3306d119cc777fa900ba034cd52.png
- That's it, you can serve icon anywhere you want with the complete url: for example, for the CRV icon:
https://cdn.jsdelivr.net/gh/curvefi/curve-assets/images/assets/0xd533a949740bb3306d119cc777fa900ba034cd52.png
The jsDelivr CDN regularly updates its cache to reflect any changes made to your icon, so no action is needed. If you desire to update it right away after changing it, you may use jsDelivr's cache purging: https://www.jsdelivr.com/tools/purge
Enter the url of the icon you want to update (as explained above) and click "Purge".