Skip to content

Commit

Permalink
fix: proper token list
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexBHarley committed Apr 16, 2024
1 parent e0a08db commit 0b672db
Show file tree
Hide file tree
Showing 3 changed files with 320 additions and 287 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
generate:
name: generate
runs-on: ubuntu-latest
if: |
github.event.head_commit.committer.username != 'github-actions[bot]'
&& github.repository == 'superbridgeapp/token-lists'
steps:
- uses: actions/checkout@v4
Expand Down
17 changes: 16 additions & 1 deletion src/generate-token-list-from-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,22 @@ async function main() {

writeFileSync(
join(__dirname, "..", "superchain.tokenlist.json"),
JSON.stringify(superchainTokens, null, 2)
JSON.stringify(
{
name: "Superbridge Superchain Token List",
logoURI: "https://ethereum-optimism.github.io/optimism.svg",
keywords: ["scaling", "layer2", "infrastructure"],
timestamp: new Date(),
tokens: superchainTokens,
version: {
major: 1,
minor: 0,
patch: 0,
},
},
null,
2
)
);
}

Expand Down
Loading

0 comments on commit 0b672db

Please sign in to comment.