@catalabs/catalyst-token-lists
v0.0.53
Published
Catalyst AMM token list utilities and definitions
Downloads
238
Readme
Catalyst Token Lists
Catalyst token lists are an implementation of Uniswap token lists utilizing the bridge extension. Token lists are currently exntesions of existing, adopted token lists - only including chain specific tokens that may not be on a broader list.
To generate the token lists:
npx ts-node src/generate-catalyst-token-lists.ts
TODO:
- handle version management
- handle change detection
Examples
➜ catalyst-token-lists git:(main) ✗ npx ts-node examples/get-token-list.ts --project=tsconfig.demo.json { name: [Getter], version: [Getter], logoURI: [Getter], keywords: [Getter], tags: [Getter], timestamp: [Getter], tokens: [Getter], default: { name: 'Polygon Testnet', version: { major: 1, minor: 1, patch: 0 }, logoURI: 'https://wallet-asset.matic.network/img/tokens/matic.svg', keywords: [ 'polygon', 'default', 'tokens' ], tags: { stablecoin: [Object], swapable: [Object], erc20: [Object], pos: [Object], fx: [Object], plasma: [Object], metaTx: [Object], noDeposit: [Object], noWithdraw: [Object], customWithdrawEventSig: [Object] }, timestamp: '2023-03-31T11:14:09.210Z', tokens: [ [Object], [Object], [Object], [Object], [Object], [Object] ] } }