Skip to content

This repository contains code examples for building blinks on the monad blockchain.

Notifications You must be signed in to change notification settings

dialectlabs/blink-starter-monad

Repository files navigation

Blink Starter for Monad

A Next.js-based starter template demonstrating how to integrate Blinks with the Monad blockchain. This project showcases a simple donation application that allows users to send MON (Monad's native currency) to a specified wallet address.

Guide 🔥🔥🔥

Learn how to build this Blink from scratch with our extensive guide: https://docs.dialect.to/documentation/actions/guides/monad-starter-guides

Prerequisites

  • Node.js 18+
  • npm, yarn, pnpm, or bun
  • A wallet with some MON tokens (for testing donations)

Environment Setup

  1. Copy the example environment file:
cp .env.example .env
  1. Configure the following environment variables:
  • NEXT_PUBLIC_RPC_URL: Monad RPC URL
  • DONATION_WALLET: The wallet address to receive donations

Getting Started

  1. Install dependencies:
npm install
  1. Run the development server:
npm run dev
  1. Open http://localhost:3000 with your browser to see the application.

License

MIT

About

This repository contains code examples for building blinks on the monad blockchain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published