This is an npm package that maintains all synapse constants
npm install synapse-constantsThis package contains the Synapse Protocol Token and Chain Constants
#
``bash`
npm install synapse-constants
With Yarn:
`bash`
yarn add synapse-constants
To restrict the assets and chains that are imported, you can create a "custom bridge list". From the set of all tokens imported from "bridgeable.ts" you can import specific tokens and use that as the custom list you use in your application. The same can be done for chains
1. Regenerate bridgeMaps.ts
`bash`
yarn maps:generate
2. Update Bridgeable.ts with the new token addresses (check all other variables like decimals/ symbols etc. )
3. Repackage and webpack all of the data
`bash`
yarn compile
4. Republish the npm package (make sure to update the version)
`bash``
npm publish
TODO:
- add the basic structure of the token type and the chain type to show accessibility for token logos, chain logos, and any additional information.