Блокчейн Ethereum
Изучите Ethereum как программируемый блокчейн, его аккаунты, транзакции и роль Ether.
«Блокчейн Ethereum» — бесплатный урок Web3 & DApp Development Fundamentals на CoddyKit. Это урок 1 из 3. Ты можешь прочитать весь урок бесплатно ниже — а потом практиковать его прямо в браузере с встроенным редактором кода и ИИ-репетитором 24/7. Это часть пути обучения Web3 & DApp Development Fundamentals, и твой прогресс синхронизируется между веб-версией и приложением CoddyKit. Курс Web3 & DApp Development Fundamentals содержит 3 уроков всего.
Части этого урока еще не переведены и отображаются на английском.
Welcome to Ethereum!
You've learned about blockchain basics. Now, let's dive into Ethereum, a revolutionary blockchain platform.
Unlike simpler blockchains, Ethereum isn't just for sending money. It's a programmable blockchain, meaning you can build and run all sorts of decentralized applications (DApps) on it!
More Than Just Digital Cash
Think of Bitcoin as a digital currency primarily for transactions. Ethereum takes this further.
It's often called a 'world computer' because it allows developers to deploy arbitrary code (smart contracts) that runs exactly as programmed, without downtime, censorship, or third-party interference.
Who's Who: Ethereum Accounts
Interacting with the Ethereum blockchain means using accounts. These are entities that can hold Ether (Ethereum's native currency) and send transactions.
There are two main types of accounts on Ethereum:
- Externally Owned Accounts (EOAs)
- Contract Accounts
Your Personal Wallet: EOAs
Externally Owned Accounts (EOAs) are the accounts you, as a user, control. They are managed by a private key, which acts like a super-secret password.
With an EOA, you can:
- Send and receive Ether.
- Interact with smart contracts.
- Sign transactions.
Code-Driven: Contract Accounts
Contract Accounts are controlled by the code of a smart contract that lives on the blockchain. They don't have a private key.
Instead, their behavior is entirely defined by the smart contract's code. They can hold Ether, but can only send transactions or interact with other contracts when triggered by an EOA or another contract.
Making Moves: Ethereum Transactions
A transaction on Ethereum is an instruction, signed by an EOA, that changes the state of the blockchain. It's how you send Ether, deploy smart contracts, or interact with existing ones.
Every transaction is recorded on the blockchain and is immutable once confirmed.
Anatomy of a Transaction
Each transaction contains several key pieces of information:
to: The recipient's address (EOA or Contract Account).value: The amount of Ether to send (optional).data: Raw bytecode for contract deployment or function call data.nonce: A transaction counter for the sender, preventing replay attacks.gasLimit&gasPrice: For transaction fees.
Ether: Fueling the Network
Ether (ETH) is the native cryptocurrency of the Ethereum blockchain. It plays two crucial roles:
- Value Transfer: It's used as a digital currency for payments.
- Gas: It pays for the computational resources required to execute operations on the network.
Gas: The Network's Engine
Every operation on the Ethereum network—from sending Ether to running smart contract code—requires computational effort. This effort is measured in units called gas.
You pay for this gas using Ether. This mechanism prevents network spam and allocates resources fairly, as users must pay for the computing power they consume.
Quick Check
You've learned about the two main types of accounts on Ethereum. Let's test your understanding!
Recap: The Ethereum Foundation
Great job! You've grasped the core concepts of the Ethereum blockchain.
- Ethereum is a programmable blockchain for DApps.
- There are two types of accounts: EOAs (user-controlled) and Contract Accounts (code-controlled).
- Transactions are signed instructions that change the blockchain's state.
- Ether (ETH) is the native currency, used for value and to pay for gas.
Next, we'll explore what makes Ethereum truly unique: Smart Contracts!
Часто задаваемые вопросы
Урок «Блокчейн Ethereum» бесплатный?
Да — полный текст урока «Блокчейн Ethereum» бесплатно доступен здесь в веб-версии. Чтобы практиковать его интерактивно (встроенный редактор кода и ИИ-репетитор 24/7) и разблокировать остальной курс Web3 & DApp Development Fundamentals, подпишись на CoddyKit PRO. Курс Web3 & DApp Development Fundamentals содержит 3 уроков всего.
Чему я научусь в уроке «Блокчейн Ethereum»?
Изучите Ethereum как программируемый блокчейн, его аккаунты, транзакции и роль Ether. Ты практикуешь Web3 & DApp Development Fundamentals с помощью реального кода, который запускаешь прямо в браузере, и ИИ-репетитор 24/7 отвечает на твои вопросы во время урока.
Нужен ли мне опыт, чтобы начать Web3 & DApp Development Fundamentals?
Предыдущий опыт не требуется. Web3 & DApp Development Fundamentals на CoddyKit структурирован для всех уровней — от новичков до продвинутых, поэтому ты можешь начать отсюда или с самого начала и учиться в своем темпе. Это урок 1 из 3.
Сколько времени занимает урок «Блокчейн Ethereum»?
Большинство уроков CoddyKit занимают около 5–10 минут. Каждый из них компактный и интерактивный, поэтому ты постоянно делаешь прогресс и продолжаешь с того же места в веб-версии и приложении.
Можно ли писать и запускать код в этом уроке Web3 & DApp Development Fundamentals?
Да. Каждый урок Web3 & DApp Development Fundamentals включает встроенный редактор кода, поэтому ты пишешь и запускаешь реальный код прямо в браузере и получаешь моментальную обратную связь от AI — локальная установка не требуется.
Все уроки этого курса
- Блокчейн Ethereum
- Что такое смарт-контракты
- Механика EVM и газа