Blockchain Smart Contracts with Solidity · Урок

Основы Ethereum и EVM

Изучите сеть Ethereum, её роль в работе смарт-контрактов и возможности виртуальной машины Ethereum (EVM).

Урок 2 из 412 шагов

«Основы Ethereum и EVM» — бесплатный урок Blockchain Smart Contracts with Solidity на CoddyKit. Это урок 2 из 4. Ты можешь прочитать весь урок бесплатно ниже — а потом практиковать его прямо в браузере с встроенным редактором кода и ИИ-репетитором 24/7. Это часть пути обучения Blockchain Smart Contracts with Solidity, и твой прогресс синхронизируется между веб-версией и приложением CoddyKit. Курс Blockchain Smart Contracts with Solidity содержит 4 уроков всего.

Части этого урока еще не переведены и отображаются на английском.

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

Test your understanding of the Ethereum Virtual Machine.

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.

Можно начать бесплатно

Изучай Blockchain Smart Contracts with Solidity с ИИ-репетитором — бесплатно

Пиши и запускай код прямо в браузере, получай мгновенную помощь от ИИ-репетитора 24/7 и продолжи учиться на сайте или в приложении.

Курсы
12
Уроки
48

Часто задаваемые вопросы

Урок «Основы Ethereum и EVM» бесплатный?

Да — полный текст урока «Основы Ethereum и EVM» бесплатно доступен здесь в веб-версии. Чтобы практиковать его интерактивно (встроенный редактор кода и ИИ-репетитор 24/7) и разблокировать остальной курс Blockchain Smart Contracts with Solidity, подпишись на CoddyKit PRO. Курс Blockchain Smart Contracts with Solidity содержит 4 уроков всего.

Чему я научусь в уроке «Основы Ethereum и EVM»?

Изучите сеть Ethereum, её роль в работе смарт-контрактов и возможности виртуальной машины Ethereum (EVM). Ты практикуешь Blockchain Smart Contracts with Solidity с помощью реального кода, который запускаешь прямо в браузере, и ИИ-репетитор 24/7 отвечает на твои вопросы во время урока.

Нужен ли мне опыт, чтобы начать Blockchain Smart Contracts with Solidity?

Предыдущий опыт не требуется. Blockchain Smart Contracts with Solidity на CoddyKit структурирован для всех уровней — от новичков до продвинутых, поэтому ты можешь начать отсюда или с самого начала и учиться в своем темпе. Это урок 2 из 4.

Сколько времени занимает урок «Основы Ethereum и EVM»?

Большинство уроков CoddyKit занимают около 5–10 минут. Каждый из них компактный и интерактивный, поэтому ты постоянно делаешь прогресс и продолжаешь с того же места в веб-версии и приложении.

Можно ли писать и запускать код в этом уроке Blockchain Smart Contracts with Solidity?

Да. Каждый урок Blockchain Smart Contracts with Solidity включает встроенный редактор кода, поэтому ты пишешь и запускаешь реальный код прямо в браузере и получаешь моментальную обратную связь от AI — локальная установка не требуется.

Все уроки этого курса

  1. Что такое технология блокчейна
  2. Основы Ethereum и EVM
  3. Ваш первый контракт Solidity
  4. Кошельки, ключи и транзакции
← Назад к Blockchain Smart Contracts with Solidity