Blockchain Smart Contracts with Solidity · Lección

Fundamentos de Ethereum y EVM

Explore la red Ethereum, su función en los smart contracts y el funcionamiento de la Ethereum Virtual Machine (EVM).

Lección 2 de 412 pasos

Fundamentos de Ethereum y EVM es una lección gratuita de Blockchain Smart Contracts with Solidity en CoddyKit. Esta es la lección 2 de 4. Puedes leer la lección completa abajo gratuitamente — luego la practicas en el navegador con un editor de código integrado y un tutor de IA 24/7. Forma parte de la ruta de aprendizaje de Blockchain Smart Contracts with Solidity, y tu progreso se sincroniza en la web y la app de CoddyKit. El curso de Blockchain Smart Contracts with Solidity incluye 4 lecciones en total.

Partes de esta lección aún no han sido traducidas y se muestran en inglés.

Welcome to Ethereum

Ethereum is more than a coin - it's an open, decentralized platform for running smart contracts and building decentralized apps (dApps).

Ether (ETH) and Gas

Every operation on Ethereum costs a fee paid in Ether (ETH). Gas measures the computational work a transaction needs - think of it as fuel, paid in ETH.

Ethereum Accounts

Ethereum has two account types: EOAs, controlled by a private key (a person), and contract accounts, controlled by their deployed code. Both have an address and hold ETH.

Ethereum Transactions

A transaction is a signed message between accounts. It can transfer ETH, deploy a new contract, or call a function on an existing one - and always costs gas.

What are Smart Contracts?

Smart contracts are programs on the blockchain that run automatically when conditions are met. They enforce agreements without intermediaries, and once deployed they're immutable.

Introducing the EVM

The Ethereum Virtual Machine (EVM) is the runtime that executes smart contracts - a single global, decentralized computer shared by the whole network.

EVM's Role: Executing Contracts

Your Solidity contract is compiled to bytecode, which the EVM interprets and runs. Every node runs the EVM identically, so results match across the network.

EVM: Bytecode & Opcodes

The EVM runs low-level opcodes like ADD, PUSH, and MSTORE. Your Solidity compiles down to these, and calling a contract executes the right opcode sequence.

Gas and EVM Execution Cost

Every opcode has a gas cost. This stops infinite loops and spam - and if a transaction runs out of gas it reverts, undoing changes while still charging the gas spent.

Benefits of the EVM

The EVM gives smart contracts determinism (same code, same result on every node), sandboxed isolation, and security via gas limits that block resource-exhaustion attacks.

EVM Quick Check

Pon a prueba tu comprensión de la Máquina Virtual de Ethereum.

Recap: Ethereum & EVM

Recap: Ethereum runs smart contracts via the EVM, paid for in ETH and gas. EOAs and contract accounts interact through signed transactions executed as bytecode.

Gratis para empezar

Aprende Blockchain Smart Contracts with Solidity con un tutor de IA — gratis

Escribe y ejecuta código real en tu navegador, obtén ayuda instantánea de un tutor de IA disponible 24/7 y continúa donde lo dejaste en la web o en la aplicación.

Cursos
12
Lecciones
48

Preguntas frecuentes

¿La lección «Fundamentos de Ethereum y EVM» es gratis?

Sí — el texto completo de «Fundamentos de Ethereum y EVM» es gratis para leer aquí en la web. Para practicarla de forma interactiva (editor de código integrado y tutor de IA 24/7) y desbloquear el resto del curso de Blockchain Smart Contracts with Solidity, actualiza a CoddyKit PRO. El curso de Blockchain Smart Contracts with Solidity incluye 4 lecciones en total.

¿Qué aprenderé en «Fundamentos de Ethereum y EVM»?

Explore la red Ethereum, su función en los smart contracts y el funcionamiento de la Ethereum Virtual Machine (EVM). Practicas Blockchain Smart Contracts with Solidity con código real que ejecutas directamente en el navegador, y un tutor de IA 24/7 responde tus preguntas mientras trabajas en la lección.

¿Necesito experiencia previa para empezar Blockchain Smart Contracts with Solidity?

No se requiere experiencia previa. Blockchain Smart Contracts with Solidity en CoddyKit está estructurado para principiantes hasta estudiantes avanzados, así que puedes empezar aquí o desde el inicio y avanzar a tu ritmo. Esta es la lección 2 de 4.

¿Cuánto tiempo toma la lección «Fundamentos de Ethereum y EVM»?

La mayoría de las lecciones de CoddyKit toman alrededor de 5–10 minutos. Cada una es compacta e interactiva, así que avanzas constantemente y retomas exactamente por donde dejaste en la web y la app.

¿Puedo escribir y ejecutar código en esta lección de Blockchain Smart Contracts with Solidity?

Sí. Cada lección de Blockchain Smart Contracts with Solidity incluye un editor de código integrado, así que escribes y ejecutas código real directamente en tu navegador y obtienes retroalimentación instantánea de IA — sin configuración local necesaria.

Todas las lecciones de este curso

  1. ¿Qué es la tecnología blockchain?
  2. Fundamentos de Ethereum y EVM
  3. Su primer contrato de Solidity
  4. Wallets, claves y transacciones
← Volver a Blockchain Smart Contracts with Solidity