Nillion Keychain
A secure browser wallet for the Nillion Network with password-protected encrypted key storage.

Overview
Nillion Keychain is a browser extension that provides a secure, user-friendly interface for managing your Nillion Network identity and encrypted data. Built with modern web technologies and industry-standard encryption, it enables seamless interaction with Nillion-powered decentralized applications.
Key Features
Password-Protected Encryption
- AES-GCM 256-bit encryption for private keys
- PBKDF2 key derivation with 100,000 iterations
- Auto-lock on browser restart
- Session-based unlocking for convenience
dApp Integration
- Simple JavaScript API for web applications
- Connection approval flow
- Granular permission management
- Cross-site identity management
Document Management
- Store encrypted data on Nillion Network
- View and manage your documents
- Access Control Lists (ACL) management
- Grant/revoke permissions to other users
User-Friendly Interface
- Clean, modern UI design
- Easy wallet creation and import
- Real-time document browsing
- Intuitive approval workflows
Architecture
┌─────────────────────────────────────────┐
│ Web Application │
│ (Uses window.nillion JavaScript API) │
└──────────────┬──────────────────────────┘
│
▼
┌─────────────────────────────────────────┐
│ Content Script (Bridge) │
│ (Isolated World - Message Passing) │
└──────────────┬──────────────────────────┘
│
▼
┌─────────────────────────────────────────┐
│ Background Service Worker │
│ (Handles requests, approvals, lock) │
└──────────────┬──────────────────────────┘
│
▼
┌─────────────────────────────────────────┐
│ Popup UI (React) │
│ (Wallet management, approvals) │
└──────────────┬──────────────────────────┘
│
▼
┌─────────────────────────────────────────┐
│ Nillion Network Nodes │
│ (Encrypted data storage) │
└─────────────────────────────────────────┘
Technology Stack
- Framework: WXT - Modern web extension framework
- UI Library: React 18 + TypeScript
- Encryption: Web Crypto API (AES-GCM, PBKDF2)
- Nillion SDK:
@nillion/nuc,@nillion/secretvaults - Storage: Chrome Storage API (local + session)
- Build Tool: Vite
Browser Support
| Browser | Status |
|---|---|
| Chrome | ✅ Full Support |
| Edge | ✅ Full Support |
| Brave | ✅ Full Support |
| Opera | ✅ Full Support |
| Firefox | ⚠️ Limited (session storage differences) |
Ready to get started? Head over to the Installation Guide to set up your wallet!