Claw Wallet Ethereum SDK + Next.js + wagmi + RainbowKit Example
A minimal example combining Claw Wallet Ethereum SDK, wagmi, and RainbowKit with Next.js — mirroring a common Ethereum dApp structure. It connects to the Ethereum Sepolia testnet by default and demonstrates social sign-in, account info, and a simple transfer transaction.
Requirements
- Node.js 22+
- Yarn (workspaces)
Environment Variables
Create a .env.local file in this directory and set the following keys:
cp .env.example .env.local
# .env.local
NEXT_PUBLIC_OKO_API_KEY=YOUR_ISSUED_API_KEY
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=YOUR_WALLETCONNECT_PROJECT_ID
- Claw Wallet API key: get it from the Claw Wallet Dashboard
- WalletConnect projectId: create one in the WalletConnect Cloud
How to Run
yarn install
yarn dev
Open http://localhost:3000 in your browser.