Skip to content

Commit 521c07f

Browse files
add how-to-update-metadata
How to update the info shown on your protocol's page within the defillama.com website
1 parent b3bfb7c commit 521c07f

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

how-to-update-metadata.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
How to update metadata
2+
3+
Step 1. fork defillama-server
4+
5+
Step 2. Check data.ts or data2.ts to find your project listing
6+
7+
- find the part you would like to update(i.e. name, token address or symbol, description, twitter handle, etc..)
8+
- commit your changes on your branch and submit a PR
9+
10+
Step 3. If you need to add an audit link
11+
12+
- add "audit_links" to the listing and add your audit link as a "string" within an array
13+
- compare with others that already have an audit link added
14+
- change the audits portion of the listing to the correct number
15+
-Audits: Please follow this legend
16+
0 -> No audits
17+
1 -> Part of this protocol may be unaudited
18+
2 -> Yes
19+
3 -> This protocol is a fork of an existing audited protocol
20+
21+
Step 4. If you need to update the logo
22+
23+
- make sure that you have defillama-app repo also
24+
- check the name for the logo on the listing(it should be the same as the protocol name)
25+
- upload the new logo with the same name to defillama-server/defi/icons
26+
- commit your changes and submit the pull request
27+
- also upload a smaller logo 24x24 pixel & .jpg format to defillama-app/public/icons
28+
- commit your changes and submit the pull request
29+

0 commit comments

Comments
 (0)