# Data Availability

**Data Availability (DA)** is a critical part of any rollup system. It ensures that all the transaction data behind a rollup’s state changes is publicly accessible - allowing anyone to verify the rollup’s correctness and reconstruct the current state.

Without secure DA, a rollup could claim a new state root without revealing how it got there - making it impossible to independently verify or challenge.

***

#### How Solaxy Handles DA

Solaxy uses a **modular data availability layer**, giving it the flexibility to balance security, performance, and cost depending on the environment.

**Primary DA Layer: Solana L1**

For production and high-trust environments, Solaxy publishes transaction data and proofs directly to **Solana Layer 1**. This inherits the strong security guarantees of Solana’s consensus and validator set.

Benefits:

* Secure, censorship-resistant data storage
* Transparent and verifiable by anyone
* Long-term archival persistence

***

**Optional DA Layer: Celestia**

For performance testing, alternative configurations, or cost-sensitive applications, Solaxy can optionally publish data to **Celestia**, a dedicated modular DA network.

Benefits:

* Lightweight DA layer optimized for throughput
* Lower publishing costs for large data batches
* Separation of execution and data roles

***

#### DA Modes in Solaxy

Solaxy supports multiple DA strategies:

* **Inline Posting (to Solana L1):** Data is posted alongside proofs during settlement.
* **External Posting (e.g. Celestia - Not implemented yet):** Data is committed to a secondary layer with references anchored on Solana L1.

In both cases, Solaxy ensures:

* All necessary transaction data is retrievable
* Validators, light clients, and users can independently verify rollup behavior

***

#### Future DA Enhancements

Solaxy’s modular architecture will allow support for additional DA layers and innovations, such as:

* **Shared DA markets**
* **Erasure-coded storage**
* **Reed-Solomon fallback proofs**
* **Fraud-proof-based DA guarantees**

This flexibility allows Solaxy to evolve alongside the broader modular blockchain ecosystem.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.solaxy.io/core-concepts/data-availability.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
