An open API service indexing awesome lists of open source software.

https://github.com/byteory/nextjs-wagmi-rainbowkit-template

A sleek starter template built with Next.js 15.3, RainbowKit, Wagmi, Tailwind CSS, and Shadcn UI โ€” ideal for modern Web3 dApps.
https://github.com/byteory/nextjs-wagmi-rainbowkit-template

Last synced: about 1 year ago
JSON representation

A sleek starter template built with Next.js 15.3, RainbowKit, Wagmi, Tailwind CSS, and Shadcn UI โ€” ideal for modern Web3 dApps.

Awesome Lists containing this project

README

          

# ๐Ÿงช Next.js 15.3 Web3 Starter Template

A sleek starter template built with **Next.js 15.3**, **RainbowKit**, **Wagmi**, **Tailwind CSS**, and **Shadcn UI** โ€” ideal for modern Web3 dApps.

> ๐Ÿ”ฅ Perfect for wallet connection, EVM chain support, and rapid UI customization.

๐Ÿ–ผ๏ธ Preview

![Preview](public/preview.png)

---

## ๐Ÿš€ Tech Stack

- **Next.js 15.3 (App Router)**
- **RainbowKit** โ€“ Wallet connect modal
- **Wagmi + Viem** โ€“ Web3 hooks
- **Tailwind CSS** โ€“ Utility-first styling
- **Shadcn UI** โ€“ Accessible components
- **TypeScript** โ€“ For type safety

---

## ๐Ÿ“‚ File Structure

src/
โ”œโ”€ app/ โ†’ App Router structure
โ”‚ โ””โ”€ page.tsx โ†’ Main UI page
โ”œโ”€ lib/
โ”‚ โ””โ”€ config.ts โ†’ Configure supported chains here
โ”œโ”€ components/ โ†’ Add your UI components here

---

## ๐Ÿ”ง Configuration

### Environment Variables

Create a `.env` file in the root directory with the following:

```env
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=cca20e670407e86f62b14688e74a1be3
```

### WalletConnect Verification

The template includes WalletConnect verification. The verification file is located at:

```
public/.well-known/walletconnect.txt
```

This file contains the verification code from cloud.reown.com and is required for WalletConnect to work properly.

### Supported Chains

To modify supported chains:

```ts
// src/lib/config.ts

export const supportedChains = [
mainnet,
polygon,
arbitrum,
base,
];
```

To start customizing, edit:

/src/app/page.tsx

---

๐Ÿ’ก **Features**
- Wallet connection (MetaMask, WalletConnect, etc.)
- Clean, dark theme-ready layout
- Easily extendable for any Web3 use case

---

๐Ÿ“ฆ **Getting Started**

```bash
npm install
# or
yarn install

npm run dev
# or
yarn dev
```

---

โญ **Credits**
Free template by [Byteory](https://byteory.com)

Don't forget to ๐ŸŒŸ the repo if you found it useful!

---

๐Ÿ“œ **License**
MIT โ€” free to use and modify.