Repository
- Code: github.com/berachain/guides/tree/main/apps/walletconnect-nextjs
- README (raw): raw README
Requirements
- Node
v20.11.0, npm - WalletConnect Project ID — set in
.envasNEXT_PUBLIC_PROJECT_ID - MetaMask Mobile (or other WalletConnect-compatible wallet) for QR flow
Stack
Next.js 14, TypeScript, WalletConnect, WAGMI, Viem.Quick start
- Clone and install
Add
NEXT_PUBLIC_PROJECT_IDfrom WalletConnect Cloud. - Run
- In the app: Connect Wallet → WalletConnect → scan QR with MetaMask Mobile. Enter a greeting and click Deploy to deploy the contract; confirm in MetaMask.
Key files
| Purpose | Path |
|---|---|
| App / config | Next.js app in repo root (see README) |