Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/tokenlists/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
To create a new token list run:

```shell
npm run tokenlists:create my-new-tokenlist
npm run tokenlist:create my-new-tokenlist
```

This will generate two files nest in a folder called
This will generate two files nested in a folder called
`tokenlists/my-new-tokenlist`:

1. tokens.ts - Add token addresses here that you want to include in your
tokenlist
2. overwrites.ts - Add overwrite data here for specific token addresses.

## Add new tokens it existing list
## Add new tokens to an existing list

To add new tokens to an existing tokenlist, add the token address to the
`tokens.ts` file within the relevant network key.
Expand All @@ -27,7 +27,7 @@ To remove a token from an existing tokenlist, remove the token address from the

## Overwrite tokenlist output data

To overwrite token metadata produced in the tokenslist, add the desired metadata
To overwrite token metadata produced in the tokenlist, add the desired metadata
to the overwrites file where the key is the token address and the value is the
overwrite data you want to inject. For example, if you simply wanted to make
sure the token name for WETH was 'Wrapped Ether' then you would add:
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Default",
"include": ["src/**/*", "scripts/generate-lists.ts", "scripts/generate-lists.ts"],
"include": ["src/**/*"],
"exclude": ["node_modules", "src/lib/templates/**/*"],
"compilerOptions": {
"composite": false,
Expand All @@ -19,7 +19,7 @@
"strict": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"skipLibCheck": true,
"skipLibCheck": true,
"inlineSourceMap": true,
"allowSyntheticDefaultImports": true
}
Expand Down