const tokenAndChainCustomizationCodeBlock = ` import { Bridge, CustomRpcs, ETH, USDC, USDT } from ‘@synapsecns/widget’ const MyApp = () => { const web3Provider = new ethers.BrowserProvider(window.ethereum) return ( ) } ` export const TokenAndChainCustomization = () => { return ( <>

While the Synapse Widget supports hundreds of tokens and chains, you can instruct the Bridge to prioritize routes to your project for a streamlined experience.

Optional targetTokens and{' '} targetChainIds parameters describe the chain and tokens your consuming application supports. This is effectively a way to filter for specific tokens when onboarding or offboarding users.

Note: Token naming convention is based on the tokens provided by @synapsecns/widget. For example, USDC on Metis is METISUSDC instead of simply USDC.

See src/constants/bridgeable.ts for a detailed list of supported tokens and their chains, and src/constants/chains.ts for supported chains.

The source code can be found{' '} here

{tokenAndChainCustomizationCodeBlock}

Note: Setting one side of a transaction automatically filters the other side to show compatible tokens only.

) }