How to update a project
If you'd like to update the code used to calculate the TVL of a DeFi project already listed on DefiLlama:
Fork the Adapters repo (button towards the top right of the repo page).
Make your changes to the fork (generally easiest by cloning your new fork into a desktop IDE).
Make a Pull Request from your fork, to the main DefiLlama Adapters repo, with a brief explanation of what you changed.
Wait for someone to either comment on or merge your Pull Request. There is no need to ask for someone to check your PR as there a monitored regularly.
If you'd like to add a Hallmark to a DeFi project listed on DefiLlama:
Same as steps 1 & 2 above, fork the Adapters repo (button towards the top right of the repo page) so that you can make your changes.
Add a "hallmarks" export to module.exports and add your hallmark as an array inside of an array(i.e. hallmarks: [[unix timestamp, "your note as a string"]]. You can add more by separating the inner arrays with a comma(","). View an example of hallmark entries here. An easy way to convert a regular date into a unix timestamp is using the website here. Timestamp needs to be in seconds.
Once you have added the Hallmarks make a Pull Request from your fork, to the main DefiLlama Adapters repo, with a brief explanation of what you changed.
Hallmarks is not for adding any product development but instead its meant to explain changes in TVL. Only add events that had an impact on the TVL of a project.
Wait for someone to either comment on or merge your Pull Request. There is no need to ask for someone to check your PR
If you'd like to update the metadata (name, logo, description, adding an audit info etc) of a project already listed on DefiLlama:
Fork the defillama-server repo(button towards the top right of the repo page).
Find your protocol and make your changes to the fork (generally easiest by cloning your new fork into a desktop IDE). Icons should be saved as a 240px x 240px .jpg or .png file. Please save the file under the same name as the protocol.
Make a Pull Request from your fork, to the main defiLlama-server repo, with a brief explanation of what you changed.
Wait for someone to either comment on or merge your Pull Request.
Updating the logo requires one additional step:
Icons need to be saved in both the defillama-server repo and in the defillama-app repo.
Fork the icons repo (button towards the top right of the repo page).
Add your icon to the public icons file as a 240px x 240px .jpg **Please save the file under the very same name as the protocol.
Make a Pull Request from your fork
Wait for someone to either comment on or merge your Pull Request.
Last updated