Skip to main content

Monad Scaffold

Blink scaffold Monad acts as a downloadable and reusable template that utilizes NextJS and Tailwind as the front end framework plus API routes for the backend. It comes with all necessary dependencies and configuration out of the box, so that you can immediately start building.

Screenshot from blink scaffold monad landing page

Features

  • Nextjs React framework
  • Tailwind
  • Blink SDK
  • Solana Actions
  • Dark/Light Mode
  • Connectkit
  • Wagmi
  • Viem

Installation

Clone repository

To install the scaffold, all you have to do is to clone the repository

git clone https://github.com/dialectlabs/blink-starter-monad.git

Setup

Install the dependencies

cd blink-starter-monad && npm install

Set RPC URL

Create an .env-file

cp .env.example .env

Update the RPC url

# file: .env

# Fill in the URL of your Monad RPC

NEXT_PUBLIC_RPC_URL=https://rpc.url # RPC URL

Run on localhost

Run the following command in your terminal

npm run dev

Open your browser and visit http://localhost:3000. Please be reminded that the port 3000 could also be a different port. It is recommended to check the port in your terminal.