🎨 Visual Guide

Visual documentation with diagrams and flowcharts

← Back to Docs

đŸ—ī¸ System Architecture

Complete System Overview

System Architecture

Your Wallet

Frontend integration with SimpleSDK bundle

Client-Side Crypto

All encryption happens locally

Sead API

Quota and payment management only

đŸ“Ļ SDK Bundle Composition (1.1MB)

Bundle Contents
Crypto Libraries - Encryption Tools
Secret Sharing - Split & Recover
QR Generator - QR Creation
API Client - Backend Calls
BIP39 Validator - Seed Validation

🔄 Data Flow Diagrams

Complete Backup & Restore Sequence

Data Flow Sequence

âš ī¸ Important: Seed phrase NEVER leaves your device!

All cryptographic operations happen locally in the browser.

API Communication Pattern

✅ What IS Sent

  • â€ĸ User ID (anonymous hash)
  • â€ĸ API Key for authentication
  • â€ĸ Quota check requests
  • â€ĸ Payment proofs (if required)

❌ What is NEVER Sent

  • â€ĸ Seed phrases
  • â€ĸ Private keys
  • â€ĸ Share contents
  • â€ĸ Passwords

🔒 Security Model

Security Boundaries

Security Architecture

đŸ›Ąī¸ Threat Protection

Protected Against

Single Point Failure

Secret splitting prevents total loss

Server Compromise

Client-side crypto protects secrets

Network Interception

TLS + no secrets transmitted

Security Features

256-bit Encryption

AES-256-GCM for optional passwords

Secret Sharing

Cryptographically secure splitting

Zero Knowledge

Server never sees your secrets

👤 User Journey Maps

First-Time User Backup Journey

1

Open Wallet

User sees backup prompt

2

Choose Settings

Select shares (3) and threshold (2)

3

Optional Password

Add extra encryption layer

4

Generate Shares

Create QR codes locally

5

Save Shares

Store in different locations

✓

Backup Complete!

Wallet is now recoverable

Recovery Journey

📱

Lost Device

User needs to restore wallet

🔍

Gather Shares

Collect minimum threshold

✅

Restore Success

Wallet fully recovered

💰 Payment Flows

Quota System Overview

đŸĸ Wallet Level

  • â€ĸ 25,000 free backups per partner
  • â€ĸ 180-day free period from registration
  • â€ĸ Configurable per partner
  • â€ĸ Shared across all users

👤 User Level

  • â€ĸ 3 free backups per user
  • â€ĸ Anonymous user tracking
  • â€ĸ Per-device fingerprint
  • â€ĸ Resets never

Payment Decision Flow

Backup Request → Check Wallet Quota
Has Quota ✓

Check user quota → Proceed

No Quota

Check free period → Payment

Payment Required
â€ĸ Show payment UI
â€ĸ Process transaction
â€ĸ Submit proof

đŸŽ¯ Integration Patterns

Automatic Backup on Creation

  1. 1 Create new wallet
  2. 2 Generate seed phrase
  3. 3 Auto-trigger backup
  4. 4 Show QR codes
  5. ✓ Confirm saved

Periodic Backup Reminders

Never backed up

Show urgent alert

> 30 days old

Show reminder

< 30 days old

No action needed

Multi-Wallet Management

Wallet 1 Backed up
Wallet 2 Not backed up
Wallet 3 Outdated

Import Flow Integration

Import seed phrase
Validate BIP39
Prompt for backup
Generate shares
Display QR codes

📱 UI/UX Guidelines

Mobile-First Design

🔐 Backup Wallet

Main Screen

QR Code Display

Save Actions

Desktop Layout

Configuration

Total Shares: 3
Threshold: 2
Password: ***

QR Codes

Instructions

  1. 1. Save each QR
  2. 2. Store separately
  3. 3. Test restore

Visual Status Indicators

✅

Success

âš ī¸

Warning

❌

Error

â„šī¸

Information

📊 Performance & Success Metrics

Expected Performance

  • SDK Init: < 100ms
  • Backup: < 500ms
  • Restore: < 300ms
  • QR Gen: < 200ms

User Metrics

  • Adoption Rate: > 80%
  • Recovery Success: > 99%
  • Time to Backup: < 2 min
  • User Satisfaction: > 4.5/5

Technical Metrics

  • Error Rate: < 0.1%
  • API Latency: < 100ms
  • Uptime: 99.9%
  • Bundle Size: 1.1MB