Bootstrapped with Next.js + Tailwind CSS + Ethers + wagmi + RainbowKit.
Other tools/components included: Headless UI, Heroicons, Autoprefixer, Sass, PostCSS, ESLint, Prettier.
Demo
# Install Dependencies
yarn
# Run the development server
yarn dev
# Copy ENV File
cp .env.example .env.local
src/appConfig.ts
: app name, title, SEO etc.src/pages/_app.tsx
: chains, providers, wallet connectors
Next.js
# Build
yarn build
# Start server with build files
yarn start
Prettier
# Use Prettier to do Format Check for files under ./src
yarn format:check
# Use Prettier to do Format Fix for files under ./src
yarn format:fix
Contract Types
# Generate contract types from src/contracts/*.json
yarn compile-contract-types
The easiest way to deploy your Next.js app is to use Vercel, by the creators of Next.js.
Check out the Next.js deployment documentation for more details.
Learn about components of this kit is using:
- Next.js - React Framework by Vercel
- Tailwind CSS - Utility-first CSS Framework
- Ethers.js - Compact library for interacting with Ethereum.
- wagmi - React Hooks for Ethereum
- RainbowKit - React library for wallet connections with dApp.
- Headless UI - Unstyled, fully accessible UI components
This app is open-source and licensed under the MIT license. For more details, check the License file.