0Pricing
Blockchain Smart Contracts with Solidity · レッスン

データ可用性とValidium

データ可用性とロールアップのセキュリティにおける役割、さらにValidiumとデータ可用性委員会がコストと信頼性の前提をどうトレードオフするかを学びます。

「データ可用性とValidium」はCoddyKit上の無料Blockchain Smart Contracts with Solidityレッスンです。 これはレッスン4/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはBlockchain Smart Contracts with Solidity学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 Blockchain Smart Contracts with Solidityコースには全4レッスンが含まれています。

このレッスンの一部はまだ翻訳されておらず、英語で表示されています。

Why Data Availability Matters

You have studied rollups and bridges. A subtler topic decides how secure a Layer 2 really is: data availability (DA). It is the guarantee that the data needed to reconstruct L2 state is actually published and retrievable.

The Core Question

Rollups post transaction data so anyone can verify or rebuild the chain. But where is that data stored, and can users trust it is available?

If data is withheld, users cannot prove their balances or exit, even if the computation was correct.

Rollups Post Data On-Chain

A standard rollup publishes compressed transaction data to Ethereum L1 as calldata or blobs. Because L1 stores it, DA is inherited from Ethereum's strong guarantees. This is the most secure but also the most expensive option.

The Cost of On-Chain Data

Posting data to L1 is the biggest cost component of a rollup. EIP-4844 introduced blobs, a cheaper, temporary data space, to reduce this. Still, some systems want even lower costs and move DA off-chain.

Enter Validiums

A Validium uses validity (ZK) proofs for correctness like a ZK-rollup, but keeps transaction data off-chain. Only the proof and state root go to L1. This slashes cost but introduces a data availability assumption.

The Validium Trade-off

Because data is off-chain, if the off-chain provider withholds it, users may be unable to compute their state to exit, even though the proofs guarantee no invalid state transition occurred.

  • Funds cannot be stolen (proofs prevent that)
  • But funds could be frozen if data is withheld

Data Availability Committees

Many Validiums rely on a Data Availability Committee (DAC): a set of known parties that sign attestations that they hold the data. Security depends on at least one honest committee member providing data on request.

Volitions: Best of Both

A Volition lets each user choose per transaction whether data goes on-chain (rollup mode, higher security, higher cost) or off-chain (Validium mode, lower cost). Users pick their trust-cost balance.

Data Availability Sampling

Newer DA layers use sampling: light nodes download small random pieces of the data. With erasure coding, if enough samples succeed, the full data is almost certainly available, without anyone downloading all of it.

Dedicated DA Layers

Projects like Celestia and EigenDA provide DA as a standalone service. Rollups post data there instead of Ethereum L1 to cut costs while keeping stronger guarantees than a small committee. This is the basis of many modular blockchain designs.

Choosing a DA Strategy

For high-value DeFi, full on-chain DA (true rollup) is safest. For high-throughput, low-value apps like gaming, Validiums or dedicated DA layers may be acceptable. Always understand who guarantees your data is available.

Quick Check

Test your understanding of data availability.

Recap

You learned about data availability:

  • Rollups post data on-chain for strong DA at higher cost
  • Validiums move data off-chain via committees, cheaper but with a DA assumption
  • Volitions let users choose per transaction
  • Sampling and dedicated DA layers offer modular tradeoffs

DA is a key dimension of Layer 2 security.

よくある質問

「データ可用性とValidium」レッスンは無料ですか?

はい。「データ可用性とValidium」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、Blockchain Smart Contracts with Solidityコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 Blockchain Smart Contracts with Solidityコースには全4レッスンが含まれています。

「データ可用性とValidium」で何を学びますか?

データ可用性とロールアップのセキュリティにおける役割、さらにValidiumとデータ可用性委員会がコストと信頼性の前提をどうトレードオフするかを学びます。 ブラウザで直接実行するハンズオンコードでBlockchain Smart Contracts with Solidityを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。

Blockchain Smart Contracts with Solidityを始めるのに経験は必要ですか?

事前経験は必要ありません。CoddyKitのBlockchain Smart Contracts with Solidityは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン4/4です。

「データ可用性とValidium」レッスンにはどのくらい時間がかかりますか?

ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。

このBlockchain Smart Contracts with Solidityレッスンでコードを書いて実行できますか?

はい。すべてのBlockchain Smart Contracts with Solidityレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。

このコースのすべてのレッスン

  1. L2スケーリングソリューション入門
  2. Optimistic RollupsとZK Rollupsの比較
  3. クロスチェーン通信とブリッジ
  4. データ可用性とValidium
← Blockchain Smart Contracts with Solidityに戻る