Skip to main content
ERGO
  • Docs
  • Blog
Get Wallet
PLATFORM
TechnologyUse CasesEcosystemCompare BlockchainsInfographicsWallets
LEARN
Start HereDocumentationGlossaryFAQPlaybooksDev Patterns
COMMUNITY
BlogDiscordTelegramTwitterGitHubGrants

© 2025 ERGO PLATFORM. ALL RIGHTS RESERVED.

ERGO IS AN OPEN-SOURCE PROJECT. CONTRIBUTE ON GITHUB

Home
Technology
eUTXO Model

eUTXO Model

The foundation of Ergo's advanced smart contract capabilities

Extended UTXO combines Bitcoin's proven security model with powerful smart contract functionality via ErgoScript, enabling parallel execution and eliminating entire classes of vulnerabilities.

View Code

Quick Start

Explore eUTXO

Interactive visualization of the model

Developer Guide

Build with eUTXO patterns

Join Community

Get help from experienced developers

Key Features

Box-Based State

Each UTXO is a 'box' containing value, data, and a guarding script that defines spending conditions.

Immutable Data

Boxes are immutable — once created, they cannot be modified, only consumed and new ones created.

No Re-entrancy

The UTXO model eliminates re-entrancy attacks by design — no mutable state to exploit.

Parallel Execution

Transactions touching different boxes can execute in parallel, improving scalability.

Local Verification

Smart contracts only need to verify their own inputs, not global blockchain state.

Composable Protocols

Complex DeFi protocols built from simple, reusable box patterns.

eUTXO vs Account Model

AspecteUTXO ModelAccount ModelAdvantage
State ManagementNo global balances — only unspent outputsGlobal state with account balances and storage
eUTXO
SecurityNo re-entrancy attacks, predictable costsVulnerable to re-entrancy, unpredictable gas
eUTXO
ParallelismIndependent boxes enable parallel processingState contention forces sequential processing
eUTXO
PrivacyNatural transaction privacy through separate boxesAll balances publicly visible
eUTXO
ComposabilityModular outputs compose into complex protocolsMonolithic contracts with complex interactions
Tie

Real-World Use Cases

DEX Order Books

Each order is a separate box, enabling parallel matching and atomic swaps

Example: Spectrum Finance

Lending Protocols

Collateral locked in boxes with clear liquidation conditions

Example: DuckPools

Stablecoins

Reserve boxes track collateral independently for each position

Example: SigmaUSD

NFT Auctions

Bid boxes compete without blocking each other

Example: Ergo Auction House

Simple Yet Powerful

The eUTXO model simplifies smart contract development by treating everything as boxes with clear spending conditions. No complex state management, no re-entrancy concerns — just straightforward logic.

  • Predictable execution costs
  • Natural transaction batching
  • Built-in multi-sig support
  • Atomic multi-asset swaps
# Box Structure
Box {
  value: 1000000000,      // nanoERGs
  tokens: [...],          // native tokens
  registers: {            // custom data
    R4: "user_data",
    R5: 42,
    R6: [1, 2, 3]
  },
  script: "..."          // guard script
}

Frequently Asked Questions

Continue Learning

Explore related Ergo technologies

ErgoScript

Core Protocol

Safe smart contracts with formal verification

Native Tokens

Core Protocol

One-click token and NFT creation

Related Dev Patterns

View all patterns

Fungible Token Minting on Ergo (EIP-4)

Learn how to mint fungible tokens on Ergo blockchain using EIP-4 standard. Complete ErgoScript tutorial with Fleet SDK examples.

beginnertoken-mechanics

NFT Minting on Ergo (Non-Fungible EIP-4)

Complete guide to minting NFTs on Ergo blockchain. Learn EIP-4 NFT standard with content hash verification and IPFS integration.

beginnertoken-mechanics

Related Articles from the Ergo Blog

Two Blockchain Models: Why Ergo Chose Differently

Nov 17, 20258 min read

ErgoScript Tutorial: Smart Contracts on Ergo Blockchain

Nov 27, 202512 min read

Stay Updated on Ergo Technology

Get the latest technical updates, protocol improvements, and ecosystem news delivered to your inbox.

Follow for daily updates