Setup
This guide walks you through setting up the Next.js template for building confidential Solana dApps.Clone the Template
Install Dependencies
Dependencies Overview
The template uses these key packages:Environment Variables
Create a.env.local file in your project root:
Run the Development Server
What You Should See
- Header with Inco logo and “Connect Wallet” button
- Amount Input field (disabled until wallet connected)
- Balance Display showing ”****” (hidden until revealed)
Connect Your Wallet
- Click “Connect Wallet”
- Select your wallet (Phantom, Solflare, etc.)
- Approve the connection
- Enter an amount and encrypt it
- Mint confidential tokens
- Reveal your encrypted balance