Skip to content

Commit

Permalink
feat: add data availability page (#382)
Browse files Browse the repository at this point in the history
* Add files via upload

* fix: change markdown page style

* Update What is data availability.md

* Add files via upload

* Update What is data availability.md

* Update What is data availability.md

* Delete src/pages/markdown-pages/learn/The modular stack-the modular stack for beginners.md

* Add files via upload

* Delete src/pages/markdown-pages/What is data availability.md

* Add files via upload

* fix: change image max size in markdown pages

* Update header.js

* Update footer.js

---------

Co-authored-by: Alex Beckett <[email protected]>
Co-authored-by: sera <[email protected]>
  • Loading branch information
3 people authored Mar 13, 2024
1 parent aa326af commit 2463494
Show file tree
Hide file tree
Showing 9 changed files with 117 additions and 11 deletions.
2 changes: 1 addition & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ module.exports = {
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 700,
maxWidth: 1200,
withWebp: true,
showCaptions: true,
quality: 100,
Expand Down
5 changes: 5 additions & 0 deletions src/components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ const navigation = {
url: "https://github.com/celestiaorg",
type: "external",
},
{
text: "FAQ",
url: "/faq",
type: "internal",
},
],
},
column2: {
Expand Down
16 changes: 8 additions & 8 deletions src/components/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ const navigation = [
type: "internal",
class: "plausible-event-name=What_Is_Celestia_Button--Header",
},
{
text: "Intro to data availability",
subtext: "Learn",
url: "/what-is-da/",
icon: "menu/documentation.svg",
type: "internal",
class: "",
},
{
text: "Dive into modular",
subtext: "Dive deep",
Expand All @@ -26,14 +34,6 @@ const navigation = [
type: "internal",
class: "plausible-event-name=Dive_into_Modular_Button--Header",
},
{
text: "FAQ",
subtext: "Learn",
url: "/faq/",
icon: "menu/faq.svg",
type: "internal",
class: "",
},
{
text: "Read the whitepaper",
subtext: "Research paper",
Expand Down
Binary file added src/images/what-is-da/DA-vs-DS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 77 additions & 0 deletions src/pages/markdown-pages/what-is-da/What is data availability.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
path: ""
slug: "/what-is-da"
edit: ""
title: "What is data availability?"
---

<head>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@CelestiaOrg">
<meta name="twitter:creator" content="Celestia Labs">
<meta name="twitter:title" content="What is data availability?">
<meta name="twitter:description" content="_____________________________________________">
<meta name="twitter:image" content="https://raw.githubusercontent.com/celestiaorg/celestia.org/main/src/pages/markdown-pages/learn/images/sovereign-rollups-twitter-card.png">
</head>

What’s stopping crypto applications from becoming accessible to everyday people?

Well, it’s all because of the data availability constraint that crypto applications face. Data availability (DA) is a pretty misunderstood and unknown topic that is fundamental to blockchains. This guide is here to help you understand data availability, what a data availability layer is, and the why’s of Celestia’s DA layer.

Now first…

#### Why does data availability even matter?

Web apps have massive data requirements, so cloud companies build vast server warehouses to process enough data. Data availability presents a similar scaling bottleneck for crypto applications on all blockchains.

Especially for rollups and layer 2 blockchains, data availability is a significant constraint. Low DA throughput causes excessive fees, restricting the types of apps that developers can build. Overall, data availability is roughly 95% of the costs that rollups pay. And once DA isn’t a constraint, developers can unlock new monetization opportunities and new capabilities for building fully-onchain applications.

For the rest of this guide, we’ll call any chain that uses Celestia a rollup for simplicity.

But data availability isn’t just a resource that rollups consume. DA allows anyone to directly verify that a blockchain is running correctly. Until now, rollups have had to trust small committees to relieve the DA constraint. That means anyone who wants to interact with the rollup must rely on trusted third parties to access and verify the network. So, fixing the DA constraint with proofs instead of committees allows rollups to regain verifiability.

#### What is data availability?

Data availability is about proving data was published to the network. So, when a chain produces new blocks, nodes verify DA by downloading all the data. Although there is a more efficient way to verify DA (more on this later).

Really, data availability is like streaming a sports game. DA lets anyone download transactions to see what happened, just like streaming lets anyone watch a game if they aren’t at the stadium.

The one thing that data availability doesn’t cover is the long-term storage of transaction data. DA is just about publishing data and temporary storage.

![GATSBY_EMPTY_ALT](./images/DA-vs-DS.png)

The difference might not seem important, but DA and long-term data storage actually have <a href="https://docs.celestia.org/learn/how-celestia-works/data-availability-faq" target="_blank" rel="noopener noreferrer" style="color:#7B2BF9;">varying security properties</a>.

#### Data availability layers

Now there are specialized providers known as data availability layers (DA layers) that supply DA to other chains. Let’s look at two distinct types of DA layers:

- Data availability committees: a small, permissioned committee that is trusted to provide DA.
- DA layers with <a href="https://celestia.org/what-is-celestia/#what-is-data-availability-sampling" target="_blank" rel="noopener noreferrer" style="color:#7B2BF9;">data availability sampling (DAS)</a>: a decentralized network that provides DA and allows anyone to efficiently verify via DAS.

And a DA layer with DAS is what Celestia is…

#### Celestia’s DA layer

So, what does Celestia’s DA layer actually do? Well, Celestia provides abundant DA to address the scaling bottleneck. And it does this with data availability sampling (DAS).

DAS is a new technology that enables Celestia to securely increase its blockspace with more users (light nodes). And the way rollups use Celestia is simple. All they really need to do is use Celestia’s DA layer to publish and temporarily access their transaction data.

Now, with ~95% percent lower DA costs, developers can focus on improving their app without the burden of high fees or unnecessary gas cost optimizations. Ultimately, low-cost DA unlocks new capabilities for developers to build fully onchain apps, like onchain games or generative art. See the <a href="https://www.datalenses.zone/chain/celestia/calculator" target="_blank" rel="noopener noreferrer" style="color:#7B2BF9;">cost savings for your chain</a> with Celestia underneath.

The other important aspect of DAS is that it enables users to secure and directly verify Celestia. Without DAS, DA layers have to give up verifiability and security for higher throughput. So users have to trust validators or committees to ensure the chain is running correctly. With DAS, users can secure and directly verify Celestia’s DA layer with proofs instead of a trusted committee.

#### How developers can build on Celestia’s DA layer

You can launch your chain as easily as a smart contract with Celestia underneath. Here’s how you can start:

- Deploy fast with an <a href="https://celestia.org/build/#build" target="_blank" rel="noopener noreferrer" style="color:#7B2BF9;">Ethereum L2 using leading rollup frameworks</a>.
- Transform nearly any VM into its <a href="https://celestia.org/build/#build" target="_blank" rel="noopener noreferrer" style="color:#7B2BF9;">own sovereign chains</a>.
- One-click deployment on managed infrastructure using a <a href="https://celestia.org/deploy/" target="_blank" rel="noopener noreferrer" style="color:#7B2BF9;">Rollups-as-a-Service provider</a>.

#### To sum it all up

- Data availability is a core scaling bottleneck for crypto applications and is the vast majority of costs that rollups and Layer 2s pay.
- Data availability is about proving that data was published by allowing anyone to download it for a short period of time.
- A DA layer is a blockchain that rollups and L2s publish their transaction data to.
- Celestia’s DA layer eliminates data availability as a core scaling bottleneck, dropping costs for developers by ~95% and enabling them to build fully-onchain apps.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/pages/{MarkdownRemark.frontmatter__slug}.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function Template({
<div className='resources-page'>
<main>
<div className={"container"}>
<div className='blog-post' id={"blog-post"}>
<div className='blog-post new-blog' id={"blog-post"}>
<div className={"inner small"}>
<h1 className={"h2"}>{frontmatter.title}</h1>

Expand Down
2 changes: 1 addition & 1 deletion src/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ h2,
.h2 {
font-family: $ruberoid;
font-weight: 700;
font-size: 52px;
font-size: 70px;
line-height: 1em;
color: #000000;
letter-spacing: 0.2px;
Expand Down
24 changes: 24 additions & 0 deletions src/scss/pages/page-resouces.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,30 @@
margin: auto;
max-width: 1140px;

&.new-blog{
padding:0 100px 200px 100px;
font-size:1.25rem;

@include media-breakpoint-down(lg) {
padding: 0 20px 100px 20px;
font-size:1em;
}

@include media-breakpoint-down(sm) {
padding: 0 0 100px 0;
}

.h4, h4{
margin-top:50px;
}

ul{
li{
margin-bottom:10px;
}
}
}

.main-image {
margin-bottom: 60px;
}
Expand Down

0 comments on commit 2463494

Please sign in to comment.