Perform token transfers using Snowbridge.
On the .env-file, configure of your project by assigning the values that fit your needs.
NEXT_PUBLIC_SNOWBRIDGE_ENV accepts:
local_e2efor local environment.paseo_sepoliafor Paseo <=> Sepolia bridge.westend_sepoliafor Westend <=> Sepolia bridge.polkadot_mainnetfor Polkadot <=> Ethereum bridge.
NEXT_PUBLIC_SNOWBRIDGE_ENV=paseo_sepoliaIf you are not using local chains, create an .env.local to set the required A.P.I. keys.
NEXT_PUBLIC_ALCHEMY_KEY=...
NEXT_PUBLIC_SUBSCAN_KEY=...
CHAINALYSIS_KEY=...
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=...Run the development server:
pnpm devOpen http://localhost:3000 with your browser to see the result.