Off-chain Logic and eUTXO

Translation temporarily unavailable. Showing original English.
Curia Regis Crypto

4 de octubre de 2021

Advantages of eUTXO


There is a significant difference between the account and eUTXO models. In the account model, all the logic is on-chain but this has been found to cause scalability issues. In the eUTXO model, only the smart contract validation itself is performed on-chain while other parts of the smart contract are off-chain. 

In order to clarify this, consider the off-chain part as a black box which reads the blockchain status (UTXOs), runs all the computations, and finally generates one or more txs (transactions). These txs (results of the off-chain part) are then sent to the blockchain to be verified.

The blockchain verifies the txs and if the txs requirements are satisfied they will be mined, thereby changing the status of the blockchain (UTXO set). 

As a result, only smart contract validation is performed on-chain and all other logic is off-chain. This means tx validation can be incredibly efficient and scalable - a major advantage of the eUTXO model.

The issue of scalability is one of the main reasons Ethereum is attempting to push transactions to Layer 2/Sidechain scaling solutions that are governed by off-chain code. In essence, the solutions Ethereum is exploring in order to address its scalability concerns mimic the eUTXO model in practice.

 

For the most part, there is industry consensus that on-chain logic is decentralized by nature, and therefore superior. What about the off-chain logic? Can off-chain logic be distributed? 

 

In eUTxO, off-chain logic can be written within a range of completely centralized to completely decentralized. For example, in ErgoMixer the off-chain part is decentralized. You run it on your computer but users also have the ability to run their own off-chain logic. Off-Chain logic can be distributed or localized and run by each user, thus ranging from centralized to widely distributed. 

ErgoDEX Distributed Bot Solution

ErgoDex has been testing, and will implement, a bot solution that allows the distribution of offchain logic to be run concurrently. While contrary to Ergomixer’s use of off-chain logic (where each user is running their own individual off-chain logic), the off-chain bots can be distributed and bot-runners can earn an execution fee. This execution fee is similar to a transaction fee and it will be preset before funds are sent.

This incentivizes actors to run these distributed bots, as well as gives users clarity with regard to pricing. This way, every actor has an equal chance to gain a portion of the network with economical incentives. The off-chain code will become more and more decentralized as the usage of the platform increases.

The additional revenue created by users running bots seems to integrate particularly well into smaller mining pools, as well as single pool operators in Cardano. It is our goal to work with these parties from the beginning to encourage decentralization.  

 

Decentralization is achieved depending on the number of actors that chose to run off-chain bots. There is also additional economic incentive for miners to participate in this solution while honoring the trust and transparency that proof of work provides. 

eUTxO Assumptions


As eUTxO continues to roll out, we will witness some dApps where the off-chain logic is not necessarily decentralized. The question will be whether or not this is an issue? It will depend on the function of each unique dApp and if the users are aware of the assumptions they need to make. These dApps can also choose a model that decentralizes or distributes off-chain logic. But is this necessary? My guess is probably not, depending on the function of the dApp.

Transaction verification will still be on-chain, however the incentives may not be in place to encourage users to run this logic in a decentralized fashion. I do not see this being an issue when taking into consideration that some dApps may be for a special purpose or provide a very simple service.

However, the eUTxO model does create some additional assumptions that users need to be aware of and this is why Ergo is in the process of putting together the KYA (Know Your Assumptions) initiative.

The KYA would function similarly as a “Terms and Conditions Agreement” and is 

designed to inform users about trust and cryptographic assumptions of a blockchain, contract, update possibilities, level of control by protocol masters, etc.

 

The goal of a KYA would be to prevent rug pulls, scams and protect investors. 

With regard to off-chain logic, understanding KYA is very important. Currently, users trust security audits of blockchains/dApps, but an audit just certifies that logic is intended by the contract. An audit is not a proof of security in all aspects, just the proof of a contract's intention.

There needs to be KYA regarding the potential for updates of both on-chain and offchain logic because the distribution of off-chain logic indicates the level of trust each actor is placing on the dApp. Custodial power between parties may potentially be an important assumption to understand as well. 

The reality is all of these assumptions are important to on-chain logic. The only difference is off-chain logic does add an additional layer of complexity that will need to be addressed by both eUTXO and account model blockchains. Off-chain logic includes L1 (Layer 1) dApps, like ErgoDEX, as well as L2 (Layer 2) models like side-chains.

Share post

Ergo Infrastructure DAO: Descentralizando la columna vertebral del ecosistema Ergo

Ergo Infrastructure DAO: Descentralizando la columna vertebral del ecosistema Ergo

La misión de Ergo siempre ha estado arraigada en la descentralización, no solo en la capa de consenso, sino en toda la pila.

Ergo Platform

13 de agosto de 2025

Mew Finance: Un Kit de Herramientas DeFi Divertido para el Ecosistema Ergo

Mew Finance: Un Kit de Herramientas DeFi Divertido para el Ecosistema Ergo

Mew Finance es un conjunto de aplicaciones descentralizadas en la Blockchain de Ergo.

Ergo Platform

12 de agosto de 2025

Lithos: Descentralizando la Minería con Pools On-Chain

Lithos: Descentralizando la Minería con Pools On-Chain

Lithos es un nuevo protocolo diseñado para reformar cómo funcionan los pools de minería al trasladarlos a la cadena, dando a los m.

Ergo Platform

24 de julio de 2025

Sigma 6.0: Un Ergo Más Inteligente y Flexible

Sigma 6.0: Un Ergo Más Inteligente y Flexible

Sigma 6.0 es una importante actualización propuesta para la blockchain de Ergo.

Ergo Platform

23 de julio de 2025

Dando forma al futuro de Rosen: Una llamada comunitaria sobre cinco propuestas clave del Tesoro

Dando forma al futuro de Rosen: Una llamada comunitaria sobre cinco propuestas clave del Tesoro

El cofundador de Rosen, Armeanio, ha presentado cinco nuevas propuestas al Tesoro de Rosen.

Ergo Platform

9 de julio de 2025

El UTXO Ampliado de Ergo y el Auge de la Inteligencia Económica Artificial

El UTXO Ampliado de Ergo y el Auge de la Inteligencia Económica Artificial

Una Visión Práctica para Agentes Económicos Autónomos Los agentes económicos autónomos en la blockchain de Ergo realizan trabajos.

Ergo Platform

12 de mayo de 2025

ErgoHACK X: Inteligencia Artificial en la Blockchain de Ergo

ErgoHACK X: Inteligencia Artificial en la Blockchain de Ergo

Celebrando una Década de Innovación Descentralizada ¡Únete al décimo aniversario de ErgoHACK y sé parte de la revolución de la IA .

Ergo Platform

10 de abril de 2025

Introduccion a Privacidad y Seguridad en la Blockchain

Introduccion a Privacidad y Seguridad en la Blockchain

Luego del primer whitepaper que apareció en Internet en el 2008, la tecnología blockchain evoluciono enormemente.

Ergo Platform

17 de febrero de 2022

Método híbrido de calcular costes de Ergo

Método híbrido de calcular costes de Ergo

Introducción Verificar la validez de los contratos inteligentes en una blockchain de Prueba de trabajo (PoW) tiene costos, tanto.

Ergo Platform (Translated by Darkkknight, original version will always prevail)

9 de febrero de 2022

Ergo: una respuesta a los fallos de la teoría monetaria moderna

Ergo: una respuesta a los fallos de la teoría monetaria moderna

En 2008, un grupo o persona desconocida lanzó un depósito de valor peer-to-peer y lo llamó Bitcoin.

Ergo Platform (Translated by Comet Community, original version will always prevail)

8 de febrero de 2022

Summit de Ergo : Evento para la privacidad

Summit de Ergo : Evento para la privacidad

Únase a nosotros del 17 al 23 de febrero de 2022 para este evento.

Ergo Foundation (translated by Daniu, original version will always prevail)

5 de febrero de 2022

Finanza descentralizada y privacidad opcional en Ergo

Finanza descentralizada y privacidad opcional en Ergo

Privacidad financial y blockchains públicas Bitcoin es una red de contabilidad distribuida pública a la que pueden acceder todos.

Ergo Platform (translated by Daniu, original version will always prevail)

1 de febrero de 2022

Alquiler por almacenamiento y el futuro de la minería

Alquiler por almacenamiento y el futuro de la minería

Terminología Storage Rent: Alquiler por almacenamiento (se entenderá más adelante) Introducción Los mineros son la capa de con.

Ergo Platform (translated by Daniu, original version will always prevail)

27 de enero de 2022

ErgoHack III: Construyendo la privacidad y seguridad del mañana

ErgoHack III: Construyendo la privacidad y seguridad del mañana

Ergo es una plataforma PoW de contratos inteligentes de código abierto basada en principios económicos de base.

Ergo Foundation (translated by Daniu, original version will always prevail)

20 de enero de 2022

Ergo & Blockchain: Escalabilidad y adopción

Ergo & Blockchain: Escalabilidad y adopción

En este episodio de la serie Ergo & Blockchain, veremos varios aspectos de escalabilidad y por qué son cruciales para la adopció.

Ergo Platform (translated by Daniu, original version will always prevail)

18 de enero de 2022

ErgoHack III Información para registrarse

ErgoHack III Información para registrarse

ErgoHack III tendrá lugar en Febrero 11-13, 2022 Registros abiertos hasta el 31 de Enero, 2022 Con el registro ya abierto, exi.

Ergo Foundation (translated by Daniu, original version will always prevail)

6 de enero de 2022

Ergo Rewards de minería: primera reducción de la emisión

Ergo Rewards de minería: primera reducción de la emisión

Las recompensas de la minería Ergo experimentaron su primera caída en el calendario de emisiones el 2 de enero de 2022 con el bl.

Ergo Platform (translated by Daniu, original version will always prevail)

4 de enero de 2022

¡Hola! soy nuevo, ¿por qué es Ergo un buen proyecto?

¡Hola! soy nuevo, ¿por qué es Ergo un buen proyecto?

¿Qué encontrarás en este artículo? Son numerosas las veces que un nuevo ergonauta en potencia entra a uno de los grupos en españo.

Daniu

1 de enero de 2022

Ergo Platform 2021: Resumen de este año

Ergo Platform 2021: Resumen de este año

A medida que el mundo intenta recuperarse de los efectos de Covid y las diferentes etapas de las restricciones de bloqueo, las c.

Ergo Platform (translated by Daniu, original version will always prevail)

30 de diciembre de 2021

Ergo y Blockchain: Tecnología e Innovación

Ergo y Blockchain: Tecnología e Innovación

La idea inicial detrás de Bitcoin se basó en la promesa de un comercio protegido de puntos centralizados de falla.

Ergo Platform (translated by Daniu, original version will always prevail)

28 de diciembre de 2021

Minería en Ergo: Herramientas de descentralización

Minería en Ergo: Herramientas de descentralización

Ergo es una cadena de bloques PoW (Prueba de trabajo) en el modelo de consenso llamado Autolykos.

Ergo Platform (translated by Daniu, original version will always prevail)

23 de diciembre de 2021