0Pricing
Blockchain Smart Contracts with Solidity · درس

أساسيات Ethereum وEVM

استكشف شبكة Ethereum ودورها في العقود الذكية ووظائف Ethereum Virtual Machine (EVM).

أساسيات 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.

الأسئلة الشائعة

هل درس «أساسيات Ethereum وEVM» مجاني؟

نعم — نص درس «أساسيات Ethereum وEVM» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Blockchain Smart Contracts with Solidity، انتقل إلى CoddyKit PRO. تتضمن دورة Blockchain Smart Contracts with Solidity 4 دروس في المجموع.

ماذا ستتعلم في «أساسيات Ethereum وEVM»؟

استكشف شبكة Ethereum ودورها في العقود الذكية ووظائف Ethereum Virtual Machine (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 يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.

جميع الدروس في هذه الدورة

  1. ما تقنية Blockchain؟
  2. أساسيات Ethereum وEVM
  3. عقد Solidity الأول
  4. المحافظ والمفاتيح والمعاملات
← العودة إلى Blockchain Smart Contracts with Solidity