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_e2e
for local environment.paseo_sepolia
for Paseo <=> Sepolia bridge.westend_sepolia
for Westend <=> Sepolia bridge.polkadot_mainnet
for Polkadot <=> Ethereum bridge.
NEXT_PUBLIC_SNOWBRIDGE_ENV=paseo_sepolia
If 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 dev
Open http://localhost:3000 with your browser to see the result.