0Pricing
Blockchain Smart Contracts with Solidity · Lektion

Datenverfügbarkeit und Validiums

Erkunden Sie die Datenverfügbarkeit, ihre Rolle für die Sicherheit von Rollups und wie Validiums sowie Data-Availability-Committees Kosten gegen Vertrauensannahmen abwägen

Datenverfügbarkeit und Validiums ist eine kostenlose Blockchain Smart Contracts with Solidity-Lektion auf CoddyKit. Dies ist Lektion 4 von 4. Du kannst die komplette Lektion unten kostenlos lesen – dann übst du sie direkt im Browser mit einem integrierten Code-Editor und einem KI-Tutor rund um die Uhr. Sie ist Teil des Blockchain Smart Contracts with Solidity-Lernpfads, und dein Fortschritt wird über Web und CoddyKit-App synchronisiert. Der Blockchain Smart Contracts with Solidity-Kurs umfasst insgesamt 4 Lektionen.

Teile dieser Lektion wurden noch nicht übersetzt und werden auf Englisch angezeigt.

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.

Häufig gestellte Fragen

Ist die Lektion „Datenverfügbarkeit und Validiums“ kostenlos?

Ja — der vollständige Text von „Datenverfügbarkeit und Validiums“ ist hier im Web kostenlos zu lesen. Um sie interaktiv zu üben (integrierter Code-Editor und 24/7 KI-Tutor) und den Rest des Blockchain Smart Contracts with Solidity-Kurses freizuschalten, upgrade auf CoddyKit PRO. Der Blockchain Smart Contracts with Solidity-Kurs umfasst insgesamt 4 Lektionen.

Was lerne ich in „Datenverfügbarkeit und Validiums“?

Erkunden Sie die Datenverfügbarkeit, ihre Rolle für die Sicherheit von Rollups und wie Validiums sowie Data-Availability-Committees Kosten gegen Vertrauensannahmen abwägen Du übst Blockchain Smart Contracts with Solidity mit praktischem Code, den du direkt im Browser ausführst, und ein 24/7 KI-Tutor beantwortet deine Fragen während du die Lektion bearbeitest.

Brauche ich Erfahrung, um Blockchain Smart Contracts with Solidity zu starten?

Keine Vorkenntnisse erforderlich. Blockchain Smart Contracts with Solidity auf CoddyKit ist für Anfänger bis fortgeschrittene Lernende strukturiert, sodass du hier starten oder von Anfang an beginnen und in deinem eigenen Tempo voranschreiten kannst. Dies ist Lektion 4 von 4.

Wie lange dauert die Lektion „Datenverfügbarkeit und Validiums“?

Die meisten CoddyKit-Lektionen dauern etwa 5–10 Minuten. Jede ist kompakt und interaktiv, sodass du stetig Fortschritte machst und genau dort weitermachst, wo du aufgehört hast – im Web und in der App.

Kann ich in dieser Blockchain Smart Contracts with Solidity-Lektion Code schreiben und ausführen?

Ja. Jede Blockchain Smart Contracts with Solidity-Lektion enthält einen integrierten Code-Editor, sodass du echten Code direkt in deinem Browser schreibst und ausführst und sofort KI-Feedback erhältst — ohne lokale Einrichtung erforderlich.

Alle Lektionen in diesem Kurs

  1. Einführung in L2-Skalierungslösungen
  2. Optimistic Rollups vs. ZK-Rollups
  3. Cross-Chain-Kommunikation und Bridges
  4. Datenverfügbarkeit und Validiums
← Zurück zu Blockchain Smart Contracts with Solidity