Snag Solutions Template App
A production-ready Next.js + Tailwind Web3 starter template with loyalty program and user profiles designed for Web3 projects
Whether you’re building a community rewards program, a gated Web3 experience, or a gamified platform, this template will get you up and running fast — fully integrated with the Snag Solutions SDK.
The starter kit is built with:
- 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:
You can find or generate your API key and UUIDs via the Admin Dashboard.
Development
To start the development server:
Visit http://localhost:3000 to see the app in action.
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.
Remove All Loyalty Rules
To clear all existing rules:
Fork This Template
Want to create your own version of this template?
➡️ Fork it here: Next.js Template App
Then follow the Getting Started section above.