Account-Based Privacy: The Unprecedented Combination
Architectural Breakthrough: DERO achieves something no other blockchain has accomplished: combining an account-based model with strong privacy guarantees through homomorphic encryption. This enables instant transactions, simple balance tracking, and private smart contracts - all with encrypted amounts.
What Problem Does This Solve?
The Challenge:
Blockchain needs:
β Account simplicity
β Privacy guarantees
β Smart contract support
β Instant transactions
But historically:
β Accounts = No privacy
β Privacy = Output-based only
β Can't have both... or can we?DERO's Solution:
- β Account-based model (simple, fast)
- β Homomorphic encryption (privacy)
- β Private smart contracts (unique to DERO)
- β Best of both worlds
The Account Model Advantage
How DERO's Accounts Work
Account Structure:
- Balance is a single value that can be directly updated
- Direct query - no need to sum outputs
- Simple add/subtract operations
- Natural fit for smart contracts
- Lower complexity than output-based systems
Why Account + Privacy Is Hard
The Challenge DERO Solved
The Impossible Problem:
Why This Was Thought Impossible:
The Account Privacy Challenge
For accounts with privacy:
1. Balance must be encrypted
2. Operations must work on encrypted values
3. Network must verify without decrypting
4. Updates must be instant
5. Must support smart contracts
The problem:
β How to add E(old) + E(new)?
β How to verify E(balance) >= E(amount)?
β How to update encrypted state?
β How to do this efficiently?
Most blockchains: CANNOT solve thisThree Key Advantages
1. Instant Transaction Confirmation
DERO's Flow: Submit to Sigma-block (~1 sec) to Account update to Main block (~16 sec) = ~16 seconds total
| Aspect | DERO Account Model |
|---|---|
| Confirmation | ~16 seconds |
| Validation | Simple account update |
| Block Structure | Sigma-blocks + main blocks |
| Finality | Same-block finality |
Advantage: Fast confirmation with account model + privacy β
2. Simple Balance Checking
DERO's Flow: Query encrypted balance to Decrypt with private key = Seconds
| Step | DERO Account Model |
|---|---|
| 1 | Query encrypted balance |
| 2 | Decrypt with private key |
| 3 | See balance instantly |
| Time | Seconds |
| Data Required | One RPC call |
Advantage: Instant balance checks without full sync β
3. Smart Contract Compatibility
DERO Account Model: Natural state storage, direct balance updates, encrypted state works
| Feature | DERO Account Model |
|---|---|
| State Storage | β Natural |
| Balance Updates | β Direct |
| Logic Complexity | β Full support |
| Encrypted State | β Works with DERO |
Advantage: Rich smart contracts WITH privacy β
Technical Implementation
How DERO Manages Encrypted Accounts
Account Structure:
- Address:
dero1qy... - Encrypted balances stored in Graviton DB
- Key: Address, Value:
E(amount) - Supports multiple assets: DERO, tokens, etc.
Balance Updates:
From Source Code (blockchain/transaction_execute.go):
// Balance update process
func UpdateBalance(address, amount):
old_encrypted := LoadBalance(address) // E(old)
new_encrypted := HomomorphicAdd(old_encrypted, amount) // E(old + amount)
StoreBalance(address, new_encrypted) // Save E(new)
// Network never decrypts old, amount, or new!Instant Finality: Sigma-Blocks
How DERO Achieves Fast Confirmation
Sigma-Block Architecture:
Timeline:
| Step | Time | What Happens |
|---|---|---|
| 1. Submit | 0s | User submits transaction |
| 2. Sigma-Block | ~1s | Included in micro-block |
| 3. Update | ~1s | Homomorphic balance update |
| 4. Main Block | ~16s | Aggregated and confirmed |
| 5. Final | ~16s | Transaction final |
Why This Works:
- Single account validation (simple)
- Easy parallelization
- Fast confirmation
- Privacy maintained throughout
DERO combines: Speed of accounts + Privacy of encryption β
Wallet Synchronization
Lightweight Clients Possible
DERO Account-Based: Query encrypted balance to Decrypt with private key = Seconds (optional history sync)
| Aspect | DERO Wallet |
|---|---|
| Required | Query encrypted balance |
| Time | Seconds |
| Data | Minimal (one query) |
| Optional | Transaction history sync |
Advantage: Lightweight wallets with full privacy β
Privacy Guarantees
What Account Model Doesn't Compromise
| Privacy Aspect | DERO Account Privacy |
|---|---|
| Sender | β Ring signatures (hidden among 16 members) |
| Amount | β Encrypted (homomorphic operations) |
| Unlinkability | β Different rings per transaction |
| Smart Contracts | β Encrypted state (unique!) |
Result: Complete privacy guarantees, plus smart contract privacy!
Why DERO's Approach Works
The Account Model Advantage
| Feature | DERO Has |
|---|---|
| Privacy | β Built-in (homomorphic encryption) |
| Speed | β Fast (~16s confirmation) |
| Smart Contracts | β Natural support with privacy |
| Balance Check | β Instant (no sync needed) |
| Complexity | β Low (simple account model) |
| Wallet Sync | β Seconds (lightweight clients) |
DERO proved: You CAN have account simplicity AND privacy!
What Makes DERO Unique
| Aspect | DERO |
|---|---|
| Privacy | β Built-in from architecture |
| Design | β Designed for encryption |
| Homomorphic | β Fundamental to the system |
| Status | β Proven in production |
Key Takeaways
What Account-Based Privacy Provides
| Feature | Benefit | Impact |
|---|---|---|
| β‘ Instant Transactions | ~16 second confirmation | Fast finality |
| π Instant Balance | Query encrypted balance | No sync needed |
| π Smart Contract Privacy | Encrypted state | Unique to DERO |
| π¦ Simple Wallets | Lightweight clients | Easy adoption |
| π― Account Simplicity | One balance per account | Lower complexity |
| β Complete Privacy | All guarantees maintained | Best of both |
What It Enables
- β Private Smart Contracts - Unique to DERO
- β Instant Balance Queries - No blockchain scanning
- β Lightweight Wallets - Seconds, not hours
- β Fast Confirmations - ~16 seconds
- β Account Simplicity - Lower complexity
- β Proven in Production - Working system, not theoretical
Innovation: DERO demonstrated that privacy with accounts was possible through homomorphic encryption. Accounts can be just as private - while being simpler and faster.
Related Pages
Privacy Suite:
- Ring Signatures - Transaction anonymity
- Homomorphic Encryption - Balance privacy
- Transaction Privacy - Complete privacy model
Technical:
- DERO Wallets - Stealth address generation
- Wallet RPC API - Integrated addresses
Understanding DERO:
- DERO Tokens - Account-based asset model
- Privacy Features - Full privacy suite overview