- Next.js (App Router) for modern, file-based routing
- Tailwind CSS for rapid styling
- Snag Solutions SDK for plug-and-play Web3 features
What’s Included
This template showcases a simple Web3 application with:- Web3 Authentication (wallet-based login)
- Loyalty Program & Leaderboard
- User Profile Page with wallet info and loyalty point history
Getting Started
Prerequisites
Before you start, make sure you have:Installation
Clone this repository and install the dependencies:Environment Setup
Create a.env
file in the project root with the following variables:
Development
To start the development server:Setup Scripts
Add Initial Loyalty Rules
This sets up a base rule set for your website:Tip: Make sure your loyalty currency is created first.