Skip to main content
ERGO
  • Документация
  • Блог
Получить Кошелек
ПЛАТФОРМА
ТехнологииПрименениеЭкосистемаКошельки
РАЗРАБОТЧИКИ
ДокументацияИзучитьGitHubГранты
СООБЩЕСТВО
БлогDiscordTelegramTwitter

© 2025 ERGO ПЛАТФОРМА. ALL RIGHTS RESERVED.

ERGO — ЭТО ПРОЕКТ С ОТКРЫТЫМ ИСХОДНЫМ КОДОМ. ВНЕСТИ ВКЛАД НА GITHUB

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, enabling parallel execution and eliminating entire classes of vulnerabilities.

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

ErgoScript Tutorial

Learn to program smart contracts with ErgoScript on the eUTXO model

Native Tokens

How eUTXO enables first-class token support without smart contracts

Privacy Features

Privacy capabilities built on the eUTXO foundation

What's Next?

Continue your journey with eUTXO development

Learn ErgoScript

Start Building

Master smart contract development on the eUTXO model with our comprehensive guides

Explore Code

GitHub Repository

Dive into the source code and examples to understand eUTXO implementation