Skip to Content
Avail Nexus is now live! Check out our docs to get started.
TutorialsBridge tokens using the Nexus SDK

Bridge tokens using the Nexus SDK

This tutorial will cover the bridging functionality of the Nexus SDK, covered under the bridge() function.

We will use the Nexus Next JS template repo  to make the setup process easier.

Start the template locally

  1. Clone the template repo:
Terminal
git clone https://github.com/availproject/nexus-nextjs-template.git
  1. Install the dependencies:
Terminal
cd nexus-nextjs-template pnpm install
  1. Set up the NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID environment variable by creating a .env.local file:
.env
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=YOUR_PROJECT_ID

Note:
Log in to your WalletConnect  account and create a project to get your project ID.

  1. Run the dev server:
Terminal
pnpm dev
Last updated on