Privacy Suite
Account Privacy

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 direct account updates, 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
  βœ“ Direct account updates
  
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 direct
  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 this

Three Key Advantages

1. Transaction Confirmation (Target Block Time)

DERO's Flow: Submit to mini-block system β†’ account update β†’ main block target time (BLOCK_TIME = 18s)

AspectDERO Account Model
ConfirmationTarget block time: 18 seconds
ValidationSimple account update
Block StructureMini-blocks + main blocks
FinalitySame-block finality

Advantage: Fast confirmation with account model + privacy βœ…

⏱️

Source: Target block time is defined by config/config.go (BLOCK_TIME = 18).


2. Simple Balance Checking

DERO's Flow: Query encrypted balance β†’ decrypt with private key (no chain scanning)

StepDERO Account Model
1Query encrypted balance
2Decrypt with private key
3See balance locally
TimeNo chain scanning required
Data RequiredOne RPC call

Advantage: Balance checks without full sync βœ…


3. Smart Contract Compatibility

DERO Account Model: Natural state storage, direct balance updates, encrypted state works

FeatureDERO 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:

Simplified pseudocode (blockchain/transaction_execute.go):

// Conceptual flow β€” see source for actual implementation
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!

Mini-Blocks and Finality

How DERO Achieves Fast Confirmation

Mini-Block Architecture:

Timeline:

StepOrderWhat Happens
1. Submit1User submits transaction
2. Mini-Block2Included in mini-block
3. Update3Homomorphic balance update
4. Main Block4Aggregated and confirmed
5. Final5Transaction 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)

AspectDERO Wallet
RequiredQuery encrypted balance
TimeSeconds
DataMinimal (one query)
OptionalTransaction history sync

Advantage: Lightweight wallets with full privacy βœ…


Privacy Guarantees

What Account Model Doesn't Compromise

Privacy AspectDERO Account Privacy
Senderβœ… Ring signatures (hidden among 8 potential senders at ring size 16)
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

FeatureDERO Has
Privacyβœ… Built-in (homomorphic encryption)
Speedβœ… Target block time: 18 seconds
Smart Contractsβœ… Natural support with privacy
Balance Checkβœ… No chain scanning required
Complexityβœ… Low (simple account model)
Wallet Syncβœ… Lightweight clients supported

DERO proved: You CAN have account simplicity AND privacy!

What Makes DERO Unique

AspectDERO
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

FeatureBenefitImpact
⚑ Target Block Time18 secondsConsensus target
πŸ” Encrypted BalanceQuery encrypted balanceNo sync needed
πŸ” Smart Contract PrivacyEncrypted stateUnique to DERO
πŸ“¦ Simple WalletsLightweight clientsEasy adoption
🎯 Account SimplicityOne balance per accountLower complexity
βœ… Complete PrivacyAll guarantees maintainedBest of both

What It Enables

  • βœ… Private Smart Contracts - Unique to DERO
  • βœ… Encrypted Balance Queries - No blockchain scanning
  • βœ… Lightweight Wallets - No chain scanning required
  • βœ… Target Block Time - 18 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:

Technical:

Understanding DERO: