> For the complete documentation index, see [llms.txt](https://edp.ethkipu.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edp.ethkipu.org/modulo-1/intro-a-smart-contracts/ethereum-101/transacciones/ciclo-de-vida.md).

# Ciclo de vida

<figure><img src="/files/S4TpTOXscVoMSlODLxyv" alt=""><figcaption></figcaption></figure>

**Paso 1**

La transacción es creada y firmada utilizando normalmente una wallet.

Se obtiene el hash de la transacción y se envía a un nodo de Ethereum, donde será recibida por el cliente de ejecución.

El cliente de ejecución verifica si existe suficiente saldo para procesar la transacción y verifica si la firma es válida.

Una vez aprobada añade la transacción a su mempool local.

Luego transmite la transacción a los nodos conectados de la red.

Los otros nodos reciben la transacción y la añaden a sus mempools locales.

**Paso 2**

Utilizando el protocolo de consenso Proof of Stake, un nodo es seleccionado aleatoriamente para proponer un bloque, para ello seleccionará transacciones de la mempool.

El nodo envía el bloque creado a la red.

**Paso 3**

Se selecciona un grupo de nodos de forma aleatoria que tendrán el rol de testigos (attesters).

Estos nodos vuelven a realizar la creación del bloque localmente para asegurar de que el bloque propuesto es legítimo.

Si el bloque es válido, es añadido a la blockchain local de los nodos.

**Paso 4**

El bloque se añade a la cadena de Ethereum luego de un proceso denominado Finalidad (Finality).

Si 2/3 de los ETH en stake votan a favor de un bloque este pasa a estado “justificado”.

Cuando otro bloque justificado se añade sobre el bloque justificado anterior, el bloque pasa a ser “finalizado”.

De esta manera el bloque final es producido y la transacción queda registrada para siempre.

<figure><img src="/files/PQyheEpgGgxWFKUFHBPb" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://edp.ethkipu.org/modulo-1/intro-a-smart-contracts/ethereum-101/transacciones/ciclo-de-vida.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
