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
- Clone the template repo:
Terminal
git clone https://github.com/availproject/nexus-nextjs-template.git
- Install the dependencies:
Terminal
cd nexus-nextjs-template
pnpm install
- 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.
- Run the dev server:
Terminal
pnpm dev
Last updated on