What is
The fundamental unit of state in Ergo - containers that hold ERG, tokens, data, and smart contract logic.
In Ergo, 'boxes' are the eUTXO equivalent of Bitcoin's UTXOs but far more powerful. Each box contains: monetary value (ERG), optional tokens, a protecting script (ErgoScript), and up to 10 registers (R0-R9) for arbitrary data. Transactions consume existing boxes and create new ones.
Storing ERG and native tokens
Encoding smart contract state
NFT metadata storage
Oracle data publication
DEX order representation
Boxes are identified by a unique ID derived from the creating transaction. The minimum box value is ~0.001 ERG to prevent spam. Boxes can hold up to 255 different token types. Register data is typed (Int, Long, Coll[Byte], GroupElement, etc.) and validated by the protecting script.
Common questions about this topic
This is not financial advice. Ergo has strong fundamentals: fair launch (no VC dump risk), innovative technology (eUTXO, Sigma Protocols, NiPoPoWs), active development, and a cypherpunk ethos. It's a smaller market cap project with higher risk/reward than established chains. Research thoroughly, understand the technology, and never invest more than you can afford to lose.
MEV (Maximal Extractable Value) is profit extracted by reordering, inserting, or censoring transactions - think front-running and sandwich attacks. Ergo's eUTXO model provides structural MEV resistance: transactions reference specific boxes (UTXOs), making reordering attacks much harder. There's no shared global state to exploit like in account-based chains.
Storage rent is Ergo's solution to state bloat. Boxes (UTXOs) that remain unspent for 4+ years can have a small fee deducted by miners. This incentivizes cleaning up unused state, provides long-term miner revenue after emission ends, and keeps the blockchain sustainable. Lost coins eventually return to circulation instead of being locked forever.
Building DeFi on Ergo starts with understanding the eUTXO model and ErgoScript. Unlike account-based chains, Ergo's box model provides deterministic execution, no MEV by design, and predictable gas costs. Use Oracle Pools for price feeds, and leverage existing patterns from Spectrum Finance and SigmaUSD.
Apply what you've learned about boxes and start building real DeFi on Ergo.