以太坊与智能合约
一台共享的计算机,运行着没有人能够悄悄更改的程序。
- 课程
- 6
- 阅读
- 37 分钟
- 测验
- 15 道题
- 及格分数
- 80%
- 1一台共享的世界计算机什么是以太坊?5 分钟
- 2账户:个人与合约以太坊的两种账户是什么?6 分钟
- 3什么是智能合约什么是智能合约?7 分钟
- 4以太坊虚拟机什么是以太坊虚拟机(EVM)?6 分钟
- 5合并(The Merge):从挖矿到质押以太坊的合并(The Merge)是什么?6 分钟
- 6阅读一个简单的合约如何阅读一个简单的 Solidity 智能合约?7 分钟
本模块使用的案例
每个模块都讲述各自虚构的 Brindlecove 故事,因此细节可能因模块而异。
关键词汇
- 智能合约
- 在以太坊上运行的程序:代码和数据存放在它自己的地址上。3
- 外部账户(EOA)
- 由持有其私钥的人控制的以太坊账户。它可以发起交易。4
- 合约账户
- 由其智能合约代码控制的以太坊账户。它没有私钥。4
- Gas(燃料费)
- 用来衡量以太坊上某个操作需要多少计算工作量的单位。5
- 字节码
- 底层机器指令。智能合约代码会被编译成字节码,以便 EVM 运行。6
- 时间锁
- 对系统中已获批准的变更强制设置的延迟,使其在生效前有一段时间,让用户在不同意时有时间离开。7
- 验证者
- 质押 ETH 以检查新区块、有时也提议新区块的参与者。8
- 合并(The Merge)
- 2022 年 9 月 15 日的升级,它将以太坊与信标链合并,并以质押取代挖矿。10
- Solidity
- 一种用于编写在 EVM 上运行的智能合约的高级语言。11
- Intro to Ethereum. ethereum.org developer docs, page updated 22 April 2026.
- Ethereum Virtual Machine (EVM). ethereum.org developer docs, page updated 26 July 2026.
- Introduction to smart contracts. ethereum.org developer docs, page updated 25 February 2026.
- Ethereum accounts. ethereum.org developer docs, page updated 6 August 2026.
- Gas and fees. ethereum.org developer docs, page updated 24 June 2026.
- Verifying smart contracts. ethereum.org developer docs, page updated 22 October 2025.
- Upgrading smart contracts. ethereum.org developer docs, page updated 21 October 2025.
- Proof-of-stake (PoS). ethereum.org developer docs, page updated 7 October 2026.
- Proof-of-work (PoW). ethereum.org developer docs, page updated 13 April 2026.
- The Merge. ethereum.org roadmap, page updated 15 May 2026.
- Solidity documentation (home page). Solidity documentation, The Solidity Authors.