Next.js Template
This starter template helps you build a frontend for confidential Solana applications using Next.js, the Inco Solana SDK, and Solana wallet adapters.What You’ll Build
A simple dApp that demonstrates:- Wallet connection (Phantom, Solflare, etc.)
- Encrypting values client-side
- Minting confidential tokens
- Reading and decrypting balances
Setup
Install dependencies and configure your project
Project Structure
Understand the template architecture
Wallet Integration
Set up Solana wallet adapters
Components
Build encryption and balance components
Quick Start
Features
| Feature | Description |
|---|---|
| Next.js 16 | Latest Next.js with App Router |
| Wallet Adapters | Support for Phantom, Solflare, Ledger, and more |
| Inco SDK | Client-side encryption and decryption |
| Tailwind CSS | Utility-first styling |
| TypeScript | Full type safety |
Prerequisites
Before you begin, make sure you have:- Node.js 18+ installed
- A Solana wallet (Phantom, Solflare, etc.)
- Some devnet SOL for testing