This project is built using Next.js, initiated with create-next-app.
Ensure you have installed all necessary tools and configurations before diving in:
- Node.js, specifically version 18.17.0 or above
- Your preferred package manager such as
npm,yarn,pnpm, orbun - A
.env.localfile set up with the following entry:NEXT_PUBLIC_PROJECT_ID=your_project_id_here
Kickstart the development server with one of the following commands:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devNavigate to http://localhost:3000 in your browser to view the application.
Follow these guidelines to integrate WalletConnect Cloud and set your environment variables accordingly:
- Visit
WalletConnect Cloudto either sign up or log in. - Opt to "Create" a new project from your dashboard.
- Fill in your project details, aligning the name with your Next.js Web3 application.
- Post-creation, locate your
Project IDwithin the project's dashboard. - Rename the
.env.local.examplefile to.env.local. - Embed your
Project IDinto the newly renamed.env.localfile as shown:NEXT_PUBLIC_PROJECT_ID=your_project_id_here
- Ensure
your_project_id_hereis replaced with the actualProject ID.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!