Skip to content

Snowfork/snowbridge-app

Repository files navigation

Snowbridge App

Perform token transfers using Snowbridge.

Getting Started

Configure

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.
  • rococo_sepolia for Rococo <=> Sepolia bridge.
  • paseo_sepolia for Paseo <=> Sepolia bridge.
  • westend_sepolia for Westend <=> Sepolia bridge.
  • polkadot_mainnet for Polkadot <=> Ethereum bridge.
NEXT_PUBLIC_SNOWBRIDGE_ENV=rococo_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

Run the development server:

pnpm dev

Open http://localhost:3000 with your browser to see the result.