You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ In order for any submitted request to be considered, Thruster requires the follo
10
10
## Getting Started
11
11
To submit a request to whitelist a token on the Thruster frontend, you must do the following in a pull request:
12
12
- In the corresponding chain directory in `/chains` (e.g. Blast is 81457), create a directory in `/assets` using the token contract address **in lowercase**.
13
-
-**Note:** Do not modify the `token-list.json` file at the root of the chain directories, this file is auto-generated.
13
+
-**Note:** Do not modify the `token-list.json` file at the root of the chain directories, this file is auto-generated from `update_list.sh` script.
14
14
- For your token directory, you must create 2 files:
15
15
-`token-info.json`
16
16
- You must add the following:
@@ -22,11 +22,20 @@ To submit a request to whitelist a token on the Thruster frontend, you must do t
22
22
-`token-logo.svg`
23
23
- A svg file image of your token logo as a circle, which **MUST** be under 150 KB. Rectangles and other shapes of images will not be accepted.
24
24
- Additionally, in the submitted PR, please add a brief description of the type of token if the token contract is non-standard (e.g. non-ERC20, BT404, tax).
25
+
- You must run (from root) the `update_list.sh` file which will automatically update the associated `token-list.json` file.
25
26
26
27
When you create a PR, a checklist of the above requirements should automatically be populated to help you make sure to submit the necessary information. **Your PR will not be accepted unless all information is complete.**
27
28
28
29
If you have any additional information or requests (e.g. changing default token name, otherwise will be pulled from contract), please add any info under the *Additional Information* section in the pull request.
29
30
31
+
### Updating `token-list.json`
32
+
To update `token-list.json`, you will need to run from root:
33
+
```
34
+
./update_list.sh
35
+
```
36
+
37
+
This will add the token information from the directory added to the `token-list.json` file at the root of the `chain` directory.
38
+
30
39
## Disclaimer
31
40
Thruster allows anyone to submit new assets to this repository. However, this does not mean that Thruster endorses any of these projects. It is important that individuals performs their own due diligence and risk assessment.
0 commit comments