ERGO

Box Lifecycle

Understanding the journey of a box from creation to destruction in the Ergo blockchain

This page describes the journey of a box from creation to spending and destruction in the Ergo blockchain.

Stages of a Box

1. Creation

A box is generated as an output of a transaction

2. Existence

The box remains in the UTXO set, available to be spent

3. Spending

The box is used as an input in a new transaction

4. Destruction

The box is removed from the UTXO set after being spent

Key Characteristics

Immutability

Once created, a box cannot be modified. It can only be spent and destroyed.

Unique Identification

Each box has a unique identifier based on its content and creation transaction.

Programmable Conditions

Boxes contain smart contract logic that determines when and how they can be spent.