This is a Next.js project bootstrapped with create-onchain.
First, install dependencies:
npm install
# or
yarn install
# or
pnpm install
# or
bun installNext, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This app supports MetaMask and Coinbase Wallet for sending transactions on Base Sepolia testnet.
-
Install MetaMask: If you don't have it, install the MetaMask browser extension
-
Add Base Sepolia Network:
- Open MetaMask
- Click the network dropdown (top left)
- Click "Add Network" → "Add a network manually"
- Enter these details:
- Network Name: Base Sepolia
- RPC URL:
https://sepolia.base.org - Chain ID:
84532 - Currency Symbol: ETH
- Block Explorer:
https://sepolia.basescan.org
- Click "Save"
-
Get Test ETH:
- Visit Base Sepolia Faucet
- Connect your wallet and claim free testnet ETH
-
Connect Your Wallet:
- Click "Send $" on any user marker on the map
- Click "Connect Wallet"
- Select "MetaMask" from the options
- Approve the connection in MetaMask
- 🗺️ Interactive map showing based users
- 💸 Send ETH payments (0.01, 0.05, 0.1 ETH or custom amount)
- 📊 View transaction history in your profile
- 🔒 Secure wallet connection with Base Sepolia testnet
- 🏷️ Basename support: Displays your Basename if you have one on Base Mainnet
- Basenames are human-readable names on Base (like
yourname.base.eth) - They only exist on Base Mainnet, not on testnets
- While you test transactions on Base Sepolia, the app will check Base Mainnet for your Basename
- If you don't have a Basename, your wallet address will be displayed
- To get a Basename, visit base.org/names
To learn more about OnchainKit, see our documentation.
To learn more about Next.js, see the Next.js documentation.