This package contains the Synapse Protocol token and chain constants.
This package is published to GitHub Packages. Configure your .npmrc to use the GitHub registry for @synapsecns packages:
@synapsecns:registry=https://npm.pkg.github.com
Then install with Yarn:
yarn add @synapsecns/synapse-constants
The following command will build the package locally
yarn build
Importing supported tokens and chains:
import { BRIDGABLE_TOKENS, CHAINS } from '@synapsecns/synapse-constants'
Importing a specific token:
import { USDC } from '@synapsecns/synapse-constants'