docs(migration): clarify migration guide diagrams and enclave schema

This commit is contained in:
2026-01-09 16:38:01 -05:00
parent 76fb6c27cb
commit 16665cafc4

View File

@@ -6,9 +6,9 @@ This document outlines the SQL schema design for the Nebula wallet's **encrypted
```
┌─────────────────────────────────────────────────────────────────────┐
│ NEBULA WALLET
│ NEBULA WALLET │
├─────────────────────────────────────────────────────────────────────┤
│ │
│ ┌──────────────────────┐ ┌──────────────────────────────────┐ │
│ │ SQLite Enclave │ │ API Clients (Live Data) │ │
│ │ (Encrypted WASM) │ │ │ │
@@ -21,10 +21,10 @@ This document outlines the SQL schema design for the Nebula wallet's **encrypted
│ │ • DID State │ │ • Network Status │ │
│ │ • Capability Delgs │ │ │ │
│ └──────────────────────┘ └──────────────────────────────────┘ │
│ │ │
│ │ Encrypted with │ REST/gRPC
│ │ WebAuthn-derived key │
│ ▼ ▼
│ │ │ │
│ │ Encrypted with │ REST/gRPC │
│ │ WebAuthn-derived key │ │
│ ▼ ▼ │
│ ┌──────────────────────┐ ┌──────────────────────────────────┐ │
│ │ IndexedDB/OPFS │ │ Sonr Protocol / Indexers │ │
│ │ (Browser Storage) │ │ (PostgreSQL for live queries) │ │
@@ -32,8 +32,10 @@ This document outlines the SQL schema design for the Nebula wallet's **encrypted
└─────────────────────────────────────────────────────────────────────┘
```
### What Goes in the Enclave (SQLite)
| Data Type | Rationale |
|-----------|-----------|
| WebAuthn Credentials | Device authentication, never leaves device |
@@ -46,6 +48,7 @@ This document outlines the SQL schema design for the Nebula wallet's **encrypted
### What Comes from APIs (NOT in SQLite)
| Data Type | Source |
|-----------|--------|
| Token Balances | Chain RPC / Indexer API |