{"eip":2982,"title":"Serenity Phase 0","description":"Phase 0 of the release schedule of Serenity, a series of updates to Ethereum a scalable, proof-of-stake consensus","authors":["Danny Ryan (@djrtwo)","Vitalik Buterin (@vbuterin)"],"status":"Final","type":"Informational","created":"2020-09-15","discussionsTo":"https://ethereum-magicians.org/t/serenity-phase-0-eip/4621","repo":"EIPs","label":"EIP-2982","officialUrl":"https://eips.ethereum.org/EIPS/eip-2982","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-2982.md","url":"https://eips.huatuo.xyz/eip-2982/","tldr":{"en":"The informational EIP that documents Phase 0 of eth2: launching the proof-of-stake beacon chain alongside proof-of-work Ethereum, with validators onboarded through a deposit contract on mainnet.","ja":"eth2 の Phase 0、つまりプルーフ・オブ・ワークの Ethereum と並行してプルーフ・オブ・ステークのビーコンチェーンを立ち上げ、メインネット上のデポジットコントラクトを通じてバリデーターを受け入れることを文書化した情報提供の EIP。","ko":"eth2의 Phase 0, 즉 작업증명 이더리움과 나란히 지분증명 비콘 체인을 출시하고 메인넷의 예치 컨트랙트로 검증자를 받아들이는 계획을 문서화한 정보성 EIP.","zh":"记录 eth2 第 0 阶段的信息类 EIP：在工作量证明的以太坊之外并行启动权益证明的信标链，验证者通过主网上的存款合约加入。"},"tags":["proof-of-stake","beacon-chain","consensus","staking","informational"],"explainers":{"en":{"lang":"en","tldr":"The informational EIP that documents Phase 0 of eth2: launching the proof-of-stake beacon chain alongside proof-of-work Ethereum, with validators onboarded through a deposit contract on mainnet.","tags":["proof-of-stake","beacon-chain","consensus","staking","informational"],"related":[3675,2334,4895,7251],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-2982/","markdown":"## What problem does it solve?\n\nBy 2020 Ethereum blocks were consistently full, and its proof-of-work consensus was energy-intensive and offered no economic finality. The long-term plan (\"Serenity\", or eth2) was to move to proof of stake and add sharding, but switching consensus on a live network in one step would be dangerous.\n\nPhase 0 was the first, non-breaking step: build a new proof-of-stake chain, the **beacon chain**, in parallel, let it run and stabilize, and only later make it secure Ethereum itself. EIP-2982 records that plan and its key parameters on the EIPs side; the detailed rules live in the separate consensus-specs repository at release `v1.0.0`.\n\n## How it works\n\n- **Deposit contract.** Users join by sending ETH to a deposit contract on mainnet at `0x00000000219ab540356cBB839Cbe05303d7705Fa`. The beacon chain agrees on that contract's state and processes new deposits. In Phase 0 this one-way deposit flow was the only link between the two chains; nothing in proof-of-work Ethereum changed.\n- **Validators.** A deposit names a BLS public key, withdrawal credentials and an amount. Validators propose and attest to beacon blocks, are rewarded for doing so well and penalized when offline. The standard validator size is 32 ETH.\n- **Consensus.** Casper FFG provides finality; LMD-GHOST is the fork-choice rule. BLS signature aggregation keeps the message load manageable with many validators.\n- **Issuance.** Rewards scale with the square root of total ETH staked (`BASE_REWARD_FACTOR = 64`), so the per-validator yield falls as more ETH is staked.\n- **Penalties.** An *inactivity leak* drains offline validators during long periods without finality, and *slashing* punishes provably malicious messages, scaled up when many validators are slashed together. Phase 0 launched with these deliberately softer than their intended final values.\n- **Queues.** Activations and exits are rate-limited per epoch so the validator set cannot change too quickly.\n\nPhase 0 had no transfers, smart contracts or withdrawals; later phases were to add them.\n\n## Sample code\n\nA beacon chain deposit is an ordinary call to the deposit contract (ethers v6). The data comes from a deposit tool such as `staking-deposit-cli`:\n\n```ts\nimport { Contract, Wallet, JsonRpcProvider, parseEther } from \"ethers\";\n\nconst depositContract = new Contract(\n  \"0x00000000219ab540356cBB839Cbe05303d7705Fa\",\n  [\"function deposit(bytes pubkey, bytes withdrawal_credentials, bytes signature, bytes32 deposit_data_root) payable\"],\n  new Wallet(process.env.PRIVATE_KEY!, new JsonRpcProvider(process.env.RPC_URL)),\n);\n\n// one entry from deposit_data-*.json (hex strings without 0x)\ndeclare const d: { pubkey: string; withdrawal_credentials: string; signature: string; deposit_data_root: string };\n\nconst tx = await depositContract.deposit(\n  \"0x\" + d.pubkey,\n  \"0x\" + d.withdrawal_credentials,\n  \"0x\" + d.signature,\n  \"0x\" + d.deposit_data_root,\n  { value: parseEther(\"32\") },\n);\nawait tx.wait();\n```\n\n## Things to know\n\n- The roadmap described here changed. Execution sharding (\"Phase 1/2\") was dropped in favor of a rollup-centric design, and proof-of-work Ethereum joined the beacon chain through The Merge ([EIP-3675](/eip-3675/)) rather than as a shard.\n- Withdrawals described as future work arrived with [EIP-4895](/eip-4895/); [EIP-7251](/eip-7251/) later raised the maximum effective balance above 32 ETH.\n- Validator keys are usually derived with the paths in [ERC-2334](/eip-2334/).\n- Sending ETH to the deposit contract is irreversible. Only use data generated by a trusted deposit tool, and double-check the withdrawal credentials.\n"},"ja":{"lang":"ja","tldr":"eth2 の Phase 0、つまりプルーフ・オブ・ワークの Ethereum と並行してプルーフ・オブ・ステークのビーコンチェーンを立ち上げ、メインネット上のデポジットコントラクトを通じてバリデーターを受け入れることを文書化した情報提供の EIP。","tags":["proof-of-stake","beacon-chain","consensus","staking","informational"],"related":[3675,2334,4895,7251],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-2982/","markdown":"## 何を解決するのか\n\n2020 年までに Ethereum のブロックは常に満杯になっており、プルーフ・オブ・ワークのコンセンサスはエネルギーを大量に消費し、経済的ファイナリティも提供しませんでした。長期計画（「Serenity」、または eth2）は、プルーフ・オブ・ステークへ移行し、シャーディングを追加することでしたが、稼働中のネットワークでコンセンサスを一度に切り替えるのは危険です。\n\nPhase 0 は、互換性を壊さない最初のステップでした。新しいプルーフ・オブ・ステークのチェーンである**ビーコンチェーン**を並行して構築し、稼働させて安定させ、Ethereum 自体を保護させるのはその後にするというものです。EIP-2982 は、この計画と主要なパラメーターを EIP 側に記録したものです。詳細なルールは、リリース `v1.0.0` の別の consensus-specs リポジトリにあります。\n\n## 仕組み\n\n- **デポジットコントラクト。** ユーザーは、メインネット上の `0x00000000219ab540356cBB839Cbe05303d7705Fa` にあるデポジットコントラクトに ETH を送って参加します。ビーコンチェーンはそのコントラクトの状態について合意し、新しいデポジットを処理します。Phase 0 では、この一方向のデポジットの流れが 2 つのチェーンをつなぐ唯一の接点で、プルーフ・オブ・ワークの Ethereum には何も変更がありませんでした。\n- **バリデーター。** デポジットは、BLS 公開鍵、出金クレデンシャル、金額を指定します。バリデーターはビーコンブロックを提案し、アテステーションを行い、うまく行えば報酬を受け取り、オフラインだとペナルティを受けます。標準のバリデーターのサイズは 32 ETH です。\n- **コンセンサス。** ファイナリティは Casper FFG が、フォーク選択ルールは LMD-GHOST が担います。BLS 署名の集約により、バリデーターが多数でもメッセージ量を管理可能な範囲に保ちます。\n- **発行。** 報酬はステークされた ETH 総量の平方根に比例して増減し（`BASE_REWARD_FACTOR = 64`）、ステークされる ETH が増えるほどバリデーターあたりの利回りは下がります。\n- **ペナルティ。** *インアクティビティリーク*は、ファイナリティのない期間が長く続くとき、オフラインのバリデーターの残高を減らし、*スラッシング*は、悪意があると証明できるメッセージを罰し、多数のバリデーターが同時にスラッシングされるとさらに重くなります。Phase 0 は、これらを意図された最終値よりも意図的に緩くした状態でローンチされました。\n- **キュー。** バリデーターセットが急激に変化しないよう、アクティベーションと退出はエポックごとにレート制限されます。\n\nPhase 0 には、送金も、スマートコントラクトも、出金もありませんでした。それらは後のフェーズで追加される予定でした。\n\n## サンプルコード\n\nビーコンチェーンへのデポジットは、デポジットコントラクトへの通常の呼び出しです（ethers v6）。データは `staking-deposit-cli` などのデポジットツールから得ます。\n\n```ts\nimport { Contract, Wallet, JsonRpcProvider, parseEther } from \"ethers\";\n\nconst depositContract = new Contract(\n  \"0x00000000219ab540356cBB839Cbe05303d7705Fa\",\n  [\"function deposit(bytes pubkey, bytes withdrawal_credentials, bytes signature, bytes32 deposit_data_root) payable\"],\n  new Wallet(process.env.PRIVATE_KEY!, new JsonRpcProvider(process.env.RPC_URL)),\n);\n\n// one entry from deposit_data-*.json (hex strings without 0x)\ndeclare const d: { pubkey: string; withdrawal_credentials: string; signature: string; deposit_data_root: string };\n\nconst tx = await depositContract.deposit(\n  \"0x\" + d.pubkey,\n  \"0x\" + d.withdrawal_credentials,\n  \"0x\" + d.signature,\n  \"0x\" + d.deposit_data_root,\n  { value: parseEther(\"32\") },\n);\nawait tx.wait();\n```\n\n## 知っておくべきこと\n\n- ここで説明しているロードマップは変更されました。実行シャーディング（「Phase 1/2」）は、ロールアップ中心の設計のために取りやめられ、プルーフ・オブ・ワークの Ethereum は、シャードとしてではなく The Merge（[EIP-3675](/eip-3675/)）を通じてビーコンチェーンに合流しました。\n- 将来の課題として記された出金は [EIP-4895](/eip-4895/) で実現しました。その後 [EIP-7251](/eip-7251/) が、実効残高の上限を 32 ETH より引き上げました。\n- バリデーター鍵は通常、[ERC-2334](/eip-2334/) のパスで導出されます。\n- デポジットコントラクトへの ETH の送金は取り消せません。信頼できるデポジットツールが生成したデータだけを使い、出金クレデンシャルを再確認してください。\n"},"ko":{"lang":"ko","tldr":"eth2의 Phase 0, 즉 작업증명 이더리움과 나란히 지분증명 비콘 체인을 출시하고 메인넷의 예치 컨트랙트로 검증자를 받아들이는 계획을 문서화한 정보성 EIP.","tags":["proof-of-stake","beacon-chain","consensus","staking","informational"],"related":[3675,2334,4895,7251],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-2982/","markdown":"## 어떤 문제를 해결하나요?\n\n2020년에 이더리움 블록은 꾸준히 가득 차 있었고, 작업증명 합의는 에너지를 많이 쓰면서 경제적 최종성도 제공하지 못했습니다. 장기 계획(\"Serenity\", 즉 eth2)은 지분증명으로 옮겨 가고 샤딩을 추가하는 것이었지만, 운영 중인 네트워크의 합의를 한 번에 바꾸는 것은 위험합니다.\n\nPhase 0은 호환성을 깨지 않는 첫 단계였습니다. 새로운 지분증명 체인인 **비콘 체인**을 병렬로 구축하고, 운영하며 안정시킨 뒤, 나중에야 이더리움 자체를 보호하게 만드는 것입니다. EIP-2982는 이 계획과 핵심 파라미터를 EIP 쪽에 기록한 것이며, 자세한 규칙은 별도의 consensus-specs 저장소의 `v1.0.0` 릴리스에 있습니다.\n\n## 어떻게 동작하나요?\n\n- **예치 컨트랙트.** 사용자는 메인넷의 `0x00000000219ab540356cBB839Cbe05303d7705Fa`에 있는 예치 컨트랙트로 ETH를 보내 참여합니다. 비콘 체인은 그 컨트랙트의 상태에 합의하고 새 예치를 처리합니다. Phase 0에서는 이 단방향 예치 흐름이 두 체인 사이의 유일한 연결이었고, 작업증명 이더리움에는 아무것도 바뀌지 않았습니다.\n- **검증자.** 예치에는 BLS 공개 키, 출금 자격 증명(withdrawal credentials), 금액이 지정됩니다. 검증자는 비콘 블록을 제안하고 증명(attest)하며, 잘 수행하면 보상을 받고 오프라인이면 페널티를 받습니다. 표준 검증자 규모는 32 ETH입니다.\n- **합의.** Casper FFG가 최종성을 제공하고, LMD-GHOST가 포크 선택 규칙입니다. BLS 서명 집계로 검증자가 많아도 메시지 양을 감당할 수 있게 유지합니다.\n- **발행.** 보상은 스테이킹된 ETH 총량의 제곱근에 비례하므로(`BASE_REWARD_FACTOR = 64`), 스테이킹된 ETH가 늘어날수록 검증자당 수익률은 떨어집니다.\n- **페널티.** *비활동 누수(inactivity leak)*는 최종성이 오래 없을 때 오프라인 검증자의 잔액을 깎고, *슬래싱*은 악의적임이 증명된 메시지를 처벌하며, 많은 검증자가 함께 슬래싱되면 더 커집니다. Phase 0은 이 값들을 의도된 최종값보다 일부러 약하게 설정해 출시되었습니다.\n- **대기열.** 검증자 집합이 너무 빠르게 바뀌지 않도록 활성화와 퇴출은 에포크마다 속도가 제한됩니다.\n\nPhase 0에는 전송, 스마트 컨트랙트, 출금이 없었고, 이는 이후 단계에서 추가될 예정이었습니다.\n\n## 샘플 코드\n\n비콘 체인 예치는 예치 컨트랙트에 대한 평범한 호출입니다(ethers v6). 데이터는 `staking-deposit-cli` 같은 예치 도구에서 가져옵니다.\n\n```ts\nimport { Contract, Wallet, JsonRpcProvider, parseEther } from \"ethers\";\n\nconst depositContract = new Contract(\n  \"0x00000000219ab540356cBB839Cbe05303d7705Fa\",\n  [\"function deposit(bytes pubkey, bytes withdrawal_credentials, bytes signature, bytes32 deposit_data_root) payable\"],\n  new Wallet(process.env.PRIVATE_KEY!, new JsonRpcProvider(process.env.RPC_URL)),\n);\n\n// one entry from deposit_data-*.json (hex strings without 0x)\ndeclare const d: { pubkey: string; withdrawal_credentials: string; signature: string; deposit_data_root: string };\n\nconst tx = await depositContract.deposit(\n  \"0x\" + d.pubkey,\n  \"0x\" + d.withdrawal_credentials,\n  \"0x\" + d.signature,\n  \"0x\" + d.deposit_data_root,\n  { value: parseEther(\"32\") },\n);\nawait tx.wait();\n```\n\n## 알아둘 점\n\n- 여기에 설명된 로드맵은 바뀌었습니다. 실행 샤딩(\"Phase 1/2\")은 롤업 중심 설계를 위해 폐기되었고, 작업증명 이더리움은 샤드가 아니라 더 머지(The Merge, [EIP-3675](/eip-3675/))를 통해 비콘 체인에 합류했습니다.\n- 향후 과제로 설명된 출금은 [EIP-4895](/eip-4895/)로 도입되었고, [EIP-7251](/eip-7251/)은 이후 최대 유효 잔액을 32 ETH보다 높였습니다.\n- 검증자 키는 보통 [ERC-2334](/eip-2334/)의 경로로 파생됩니다.\n- 예치 컨트랙트로 ETH를 보내는 것은 되돌릴 수 없습니다. 신뢰할 수 있는 예치 도구가 생성한 데이터만 사용하고, 출금 자격 증명을 다시 확인하세요.\n"},"zh":{"lang":"zh","tldr":"记录 eth2 第 0 阶段的信息类 EIP：在工作量证明的以太坊之外并行启动权益证明的信标链，验证者通过主网上的存款合约加入。","tags":["proof-of-stake","beacon-chain","consensus","staking","informational"],"related":[3675,2334,4895,7251],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-2982/","markdown":"## 它解决什么问题？\n\n到 2020 年，以太坊的区块持续处于满载状态，其工作量证明共识耗能巨大，也不提供经济终局性。长期计划（“Serenity”，即 eth2）是转向权益证明并加入分片，但在运行中的网络上一步切换共识是危险的。\n\n第 0 阶段是第一步，且不破坏兼容性：并行构建一条新的权益证明链，即**信标链**，让它运行并稳定下来，之后才让它来保护以太坊本身。EIP-2982 在 EIP 一侧记录了这一计划及其关键参数；详细规则位于独立的 consensus-specs 仓库的 `v1.0.0` 版本中。\n\n## 它如何运作\n\n- **存款合约。**用户向主网上位于 `0x00000000219ab540356cBB839Cbe05303d7705Fa` 的存款合约发送 ETH 来加入。信标链就该合约的状态达成一致，并处理新的存款。在第 0 阶段，这种单向的存款流是两条链之间唯一的联系；工作量证明的以太坊没有任何改动。\n- **验证者。**存款会指明一个 BLS 公钥、提款凭证和金额。验证者提议并证明信标区块，做得好会获得奖励，离线则会受到惩罚。标准的验证者规模是 32 ETH。\n- **共识。**Casper FFG 提供终局性；LMD-GHOST 是分叉选择规则。BLS 签名聚合让验证者数量很多时的消息量保持在可控范围内。\n- **发行。**奖励与质押 ETH 总量的平方根成比例（`BASE_REWARD_FACTOR = 64`），因此质押的 ETH 越多，每个验证者的收益越低。\n- **惩罚。***不活跃泄漏*会在长时间没有终局性时消耗离线验证者的余额，*罚没（slashing）*则惩罚可证明的恶意消息，当许多验证者同时被罚没时惩罚会加重。第 0 阶段启动时，这些惩罚被有意设置得比预期的最终值更轻。\n- **队列。**激活和退出按每个 epoch 限速，使验证者集合不会变化得太快。\n\n第 0 阶段没有转账、智能合约或提款；这些计划在后续阶段加入。\n\n## 示例代码\n\n信标链存款就是对存款合约的一次普通调用（ethers v6）。数据来自 `staking-deposit-cli` 之类的存款工具：\n\n```ts\nimport { Contract, Wallet, JsonRpcProvider, parseEther } from \"ethers\";\n\nconst depositContract = new Contract(\n  \"0x00000000219ab540356cBB839Cbe05303d7705Fa\",\n  [\"function deposit(bytes pubkey, bytes withdrawal_credentials, bytes signature, bytes32 deposit_data_root) payable\"],\n  new Wallet(process.env.PRIVATE_KEY!, new JsonRpcProvider(process.env.RPC_URL)),\n);\n\n// one entry from deposit_data-*.json (hex strings without 0x)\ndeclare const d: { pubkey: string; withdrawal_credentials: string; signature: string; deposit_data_root: string };\n\nconst tx = await depositContract.deposit(\n  \"0x\" + d.pubkey,\n  \"0x\" + d.withdrawal_credentials,\n  \"0x\" + d.signature,\n  \"0x\" + d.deposit_data_root,\n  { value: parseEther(\"32\") },\n);\nawait tx.wait();\n```\n\n## 需要注意\n\n- 这里描述的路线图已经改变。执行层分片（“第 1/2 阶段”）被放弃，转向以 rollup 为中心的设计，工作量证明的以太坊是通过合并（The Merge，[EIP-3675](/eip-3675/)）加入信标链的，而不是作为一个分片。\n- 被描述为未来工作的提款随 [EIP-4895](/eip-4895/) 到来；[EIP-7251](/eip-7251/) 后来把最大有效余额提高到了 32 ETH 以上。\n- 验证者密钥通常使用 [ERC-2334](/eip-2334/) 中的路径派生。\n- 向存款合约发送 ETH 是不可逆的。只使用可信存款工具生成的数据，并再三核对提款凭证。\n"}},"requiredBy":[6953,7568]}
