User Instance Architecture
Overviewâ
Every SELF user gets their own private instance that includes a blockchain node, private AI, and sovereign storage. This document describes the technical architecture of these user instances.
Key Principle: SELF automatically provisions and manages all infrastructure when users sign up through the Super-App. Developers build applications that interact with these user instances through APIs.
Architecture Detailsâ
User Instance Componentsâ
Each user's cloud instance includes:
User's Private Cloud Instance (Private Cloud)
âââ SELF Chain Node (Blockchain participation)
âââ Private LLM (AI assistant via OpenLLM)
âââ Local Database (SQLite/RocksDB - sovereign storage)
âââ Optional Backup System (User-controlled replication)
âââ API Gateway (Secure access point)
Security Boundariesâ
âââââââââââââââââââââââââââââââââââ
â User A's Instance (Isolated) â
â âââââââââââââââ ââââââââââââââ â
â â Private LLM â â Storage â â
â âââââââââââââââ ââââââââââââââ â
âââââââââââââââââââââââââââââââââââ
⥠No Connection âĄ
âââââââââââââââââââââââââââââââââââ
â User B's Instance (Isolated) â
â âââââââââââââââ ââââââââââââââ â
â â Private LLM â â Storage â â
â âââââââââââââââ ââââââââââââââ â
âââââââââââââââââââââââââââââââââââ
Developer Access Modelâ
Your App â SELF SDK â User Authorization â User's Instance API
â
Permission Granted
â
Scoped Access Only
Summaryâ
SELF Chain provides a unique architecture where every user has their own private instance with dedicated resources. This approach ensures complete data sovereignty while enabling developers to build powerful applications that respect user privacy.
Key Takeaways:
- Each user instance is completely isolated
- All components work together to provide a sovereign digital experience
- Security boundaries prevent any cross-user data access
- Developers interact only through permission-based APIs
For information on building applications that interact with user instances, see the SELF Studio guide.