rainplate •
A Versatile, Extensible Dapp Boilerplate built with Rainbowkit, Next.js, and Chakra-ui.
Getting Started
Click use this template
to create a new repository with this repo as the initial state.
Or, if your repo already exists, run:
forge init --template https://github.com/whitenois3/rainplate
git submodule update --init --recursive
yarn
Blueprint
artifacts
├─ pre-generated contract artifacts
pages
├─ api
│ ├─ hello.ts — `/api/hello` route
│ └─ index.ts — `/api` route
├─ _app.tsx — Global Overrides
├─ _document.tsx — Explicit HTML Overrides
├─ index.tsx — The main entry point for the app
public
├─ public resources (e.g. favicon.ico)
styles
└─ Greeter.t — Exhaustive Tests
Development
To begin developing, first run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.
Learn More
To learn more about using Rainbowkit, check out the Rainbowkit Documentation!
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
Deploy on Vercel
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
License
The Unlicense, go crazy!