This repository generates the default token list used by Synthra products.
Generated list:
To change the Synthra token list, edit files in src/tokenlists/synthra.
metadata.tschanges high-level token list metadata.tokens/<network>.tsadds or removes tokens for a network.overwrites.tsoverrides token metadata that is missing or incorrect on-chain.
Regenerate the list with:
npm run generateThis updates /generated/synthra.tokenlist.json.
The generated token list version is derived from package.json.
The generated list is prepared to be published as:
import SYNTHRA_TOKEN_LIST from '@synthra-swap/default-token-list'Publishing requires NPM_TOKEN in GitHub Actions.
Some networks use configured public RPC endpoints. If a network does not have a public RPC configured, generation can require these environment variables:
INFURA_KEY=xxx
POKT_KEY=xxx
ALCHEMY_KEY=xxx