Automatically synced with your v0.app deployments
SecureKYC is a decentralized Know Your Customer (KYC) provider built on blockchain technology. It combines Zama FHE (Fully Homomorphic Encryption), Lighthouse/Filecoin storage, and Sepolia smart contracts to create a privacy-preserving KYC solution.
- 🔐 Zama FHE Encryption: Personal data encrypted with fully homomorphic encryption
- 🌐 Filecoin Storage: Encrypted documents stored on decentralized IPFS/Filecoin network
- ⛓️ Sepolia Blockchain: Smart contract verification and authorized entity management
- 🔑 Access Control: Lighthouse Kavach SDK for gated access to encrypted data
- 👤 User Portal: Secure KYC data submission with wallet integration
- ⚡ Admin Dashboard: Entity management and KYC validation interface
The application consists of three main components:
- Landing Page - Project overview and instructions
- User Portal (
/user) - KYC data submission with wallet connection - Admin Dashboard (
/admin) - Authorized entity management and KYC validation
Add these to your v0 project settings:
```bash
NEXT_PUBLIC_LIGHTHOUSE_API_KEY=your_lighthouse_api_key_here ```
For production deployment, move to server-side:
```bash
LIGHTHOUSE_API_KEY=your_lighthouse_api_key_here ```
```bash
NEXT_PUBLIC_KYC_CONTRACT_ADDRESS=0x1234567890123456789012345678901234567890 ```
NEXT_PUBLIC_LIGHTHOUSE_API_KEY for client-side access. In production, move Lighthouse operations to server-side API routes and use LIGHTHOUSE_API_KEY (without NEXT_PUBLIC_ prefix) to protect your API key.
- Frontend: Next.js 15, React 19, TypeScript, Tailwind CSS
- Blockchain: Sepolia Testnet, MetaMask Integration
- Storage: Lighthouse SDK, Filecoin/IPFS
- Encryption: Zama FHE, Lighthouse Kavach
- UI Components: Radix UI, shadcn/ui
-
Clone and Install ```bash git clone cd kyc-provider npm install ```
-
Set Environment Variables
- Add
LIGHTHOUSE_API_KEYto your Vercel project settings - Optionally set
NEXT_PUBLIC_KYC_CONTRACT_ADDRESS
- Add
-
Run Development Server ```bash npm run dev ```
-
Connect Wallet
- Install MetaMask or compatible Web3 wallet
- Switch to Sepolia testnet
- Connect wallet to submit KYC data
The application includes secure server-side API routes for production:
POST /api/lighthouse/auth- Get authentication messagePOST /api/lighthouse/upload-data- Upload encrypted dataPOST /api/lighthouse/upload-file- Upload encrypted filesPOST /api/lighthouse/apply-access-conditions- Apply access controlPOST /api/lighthouse/decrypt- Decrypt and retrieve data
Note: In v0 preview environment, Lighthouse operations run client-side due to environment variable limitations.
- Environment-Aware Security: Client-side operations in v0 preview, server-side in production
- Wallet Authentication: MetaMask signature verification
- Access Control: Lighthouse Kavach gated access conditions
- Data Encryption: Zama FHE for sensitive personal information
- Decentralized Storage: No single point of failure with Filecoin
Your project is live at:
https://vercel.com/armandos-projects-6cfdb597/v0-kyc-provider-fz
Continue building your app on:
https://v0.app/chat/projects/8vujOHYjXXP
- User Submission: Users connect wallet and submit encrypted KYC data
- Lighthouse Storage: Data encrypted and stored on Filecoin via Lighthouse
- Access Control: Kavach SDK applies access conditions to stored data
- Blockchain Verification: Smart contract records submission on Sepolia
- Admin Validation: Authorized entities can access and validate KYC data
- Create and modify your project using v0.app
- Deploy your chats from the v0 interface
- Changes are automatically pushed to this repository
- Vercel deploys the latest version from this repository