La blockchain Ethereum
Explorez Ethereum en tant que blockchain programmable, ses comptes, ses transactions et le rôle de l’Ether.
La blockchain Ethereum est une leçon Web3 & DApp Development Fundamentals gratuite sur CoddyKit. Ceci est la leçon 1 sur 3. Tu peux lire la leçon complète ci-dessous gratuitement — puis la pratiquer en direct dans le navigateur avec un éditeur de code intégré et un tuteur IA 24/7. Elle fait partie du parcours d'apprentissage Web3 & DApp Development Fundamentals, et ta progression se synchronise sur le web et l'application CoddyKit. Le cours Web3 & DApp Development Fundamentals comprend 3 leçons au total.
Certaines parties de cette leçon n'ont pas encore été traduites et s'affichent en anglais.
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!
Questions Fréquemment Posées
La leçon « La blockchain Ethereum » est-elle gratuite ?
Oui — le texte complet de « La blockchain Ethereum » est gratuit à lire ici sur le web. Pour la pratiquer de manière interactive (un éditeur de code intégré et un tuteur IA 24/7) et déverrouiller le reste du cours Web3 & DApp Development Fundamentals, passe à CoddyKit PRO. Le cours Web3 & DApp Development Fundamentals comprend 3 leçons au total.
Qu'est-ce que j'apprendrai dans « La blockchain Ethereum » ?
Explorez Ethereum en tant que blockchain programmable, ses comptes, ses transactions et le rôle de l’Ether. Tu pratiques Web3 & DApp Development Fundamentals avec du code pratique que tu exécutes directement dans le navigateur, et un tuteur IA 24/7 répond à tes questions au fur et à mesure que tu avances dans la leçon.
Dois-je avoir de l'expérience pour commencer Web3 & DApp Development Fundamentals ?
Aucune expérience préalable n'est requise. Web3 & DApp Development Fundamentals sur CoddyKit est structuré pour les débutants jusqu'aux apprenants avancés, donc tu peux commencer ici ou depuis le début et avancer à ton rythme. Ceci est la leçon 1 sur 3.
Combien de temps prend la leçon « La blockchain Ethereum » ?
La plupart des leçons CoddyKit prennent environ 5–10 minutes. Chacune est courte et interactive, tu progresses régulièrement et tu repiques exactement où tu t'es arrêté sur le web et l'app.
Peux-tu écrire et exécuter du code dans cette leçon Web3 & DApp Development Fundamentals ?
Oui. Chaque leçon Web3 & DApp Development Fundamentals inclut un éditeur de code intégré, tu écris et exécutes du vrai code directement dans ton navigateur et tu reçois des retours IA instantanés — aucune configuration locale requise.
Toutes les leçons de ce cours
- La blockchain Ethereum
- Que sont les contrats intelligents ?
- Mécanismes de l’EVM et du gas