Skip to content

Commit 17b3ffa

Browse files
authored
update readme and fix script filename (ThrusterX#11)
* update readme and fix script filename * fix spelling
1 parent b0df9ba commit 17b3ffa

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Diff for: README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ In order for any submitted request to be considered, Thruster requires the follo
1010
## Getting Started
1111
To submit a request to whitelist a token on the Thruster frontend, you must do the following in a pull request:
1212
- 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.
1414
- For your token directory, you must create 2 files:
1515
- `token-info.json`
1616
- 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
2222
- `token-logo.svg`
2323
- 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.
2424
- 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.
2526

2627
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.**
2728

2829
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.
2930

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+
3039
## Disclaimer
3140
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.
3241

Diff for: update_lish.sh renamed to update_list.sh

File renamed without changes.

0 commit comments

Comments
 (0)