Celestia 백서

Celestia

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 20쪽 중 6쪽

y of the sender, the data to be made available, also referred to as the message, the data size, the namespace, and a signature. Every block producer batches multiple `PayForBlobs` transactions into a block. Before proposing the block though, the producer passes it to the state machine via ABCI++, where each `PayForBlobs` transaction is split into a namespaced message (denoted by `Msg` in the figure below), i.e., the data together with the namespace ID, and an executable transaction (denoted by `e-Tx` in the figure below) that does not contain the data, but only a commitment that can be used at a later time to prove that the data was indeed made available. Thus, the block data consists of data partitioned into namespaces and executable transactions. Note that only these transactions are executed by the Celestia state machine once the block is committed. ![Lifecycle of a celestia-app Transaction](/img/learn/tx-lifecycle.png) Next, the block producer adds to the block header a commitment of the block data. As [described in the "Celestia's data availability layer" page](/learn/celestia-101/data-availability), the commitment is the Merkle root of the $4k$ intermediate Merkle roots (i.e., one for each row and column of the extended matrix). To compute this commitment, the block producer performs the following operations: - It splits the executable transactions and the namespaced data into shares. Every share consists of some bytes prefixed by a namespace. To this end, the executable transactions are associated with a reserved namespace. - It arranges these shares into a square matrix (row-wise). Note that the shares are padded to the next power of two. The outcome square of size $k \times k$ is referred to as the original data. - It extends the original data to a $2k \times 2k$ square matrix using the 2-dimensional Reed-Solomon encoding scheme described above. The extended shares (i.e., containing erasure data) are associated with another reserved namespace. - It computes a commitment for every row and column of the extended matrix using the NMTs described above. Thus, the commitment of the block data is the root of a Merkle tree with the leaves the roots of a forest of Namespaced Merkle subtrees, one for every row and column of the extended matrix. ## Checking data availability ![DA network](/img/learn/consensus-da.png) To enhance connectivity, the celestia-node augments the celestia-app with a separate libp2p network, _i.e._, the so-called _DA network_, that serves DAS requests. Light nodes connect to a celestia-node in the DA network, listen to extended block headers (i.e., the block headers together with the relevant DA metadata, such as the $4k$ intermediate Merkle roots), and perform DAS on the received headers (i.e., ask for random data shares). Note that although it is recommended, performing DAS is optional -- light nodes could just trust that the data corresponding to the commitments in the block headers was indeed made available by the Celestia DA layer. In addition, light nodes can also submit transactions to the celestia-app, i.e., `PayForBlobs` transactions. While performing DAS for a block header, every light node queries Celestia Nodes for a number of random data shares from the extended matrix and the corresponding Merkle proofs. If all the queries are successful, then the light node accepts the block header as valid (from a DA perspective). If at least one of the queries fails (i.e., either the data share is not received or the Merkle proof is invalid), then the light node rejects the block header and tries again later. The retrial is necessary to deal with false negatives, i.e., block headers being rejected although the block data is available. This may happen due to network congestion for example. Alternatively, light nodes may accept a block header although the data is not available, i.e., a _false positive_. This is possible since the soundness property (i.e., if an honest light node accepts a block as available, then at least one honest bridge node will eventually have the entire block data) is probabilistically guaranteed (for more details, take a look at the [original paper](https://arxiv.org/abs/1809.09044)). By fine tuning Celestia's parameters (e.g., the number of data shares sampled by each light node) the likelihood of false positives can be sufficiently reduced such that block producers have no incentive to withhold the block data. --- Title: Celestia.org Code of Conduct URL: https://docs.celestia.org/learn/code-of-conduct.md Source: app/learn/code-of-conduct/page.mdx --- # Celestia.org Code of Conduct ## Our Pledge We as Celestia.org members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation. We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. ## Our Standards Examples of behavior that contributes to a positive environment for our community include: - Demonstrating empathy and kindness toward other people - Being respectful of differing opinions, viewpoints, and experiences - Giving and gracefully accepting constructive feedback - Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience - Focusing on what is best not just for us as individuals, but for the overall community - Contributing to conversations about Celestia’s technology and ecosystem Examples of unacceptable behavior include: - The use of sexualized language or imagery, and sexual attention or advances of any kind - Trolling, insulting or derogatory comments, and personal or political attacks - Public or private harassment - Publishing others' private information, such as a physical or email address, without their explicit permission - Focusing on the prices of digital assets or tokens, or where they can be purchased - Other conduct which could reasonably be considered inappropriate in a professional setting ## Enforcement Responsibilities Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful. Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate. ## Scope This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at Celestia.org Discord. All complaints will be reviewed and investigated promptly and fairly. All community leaders are obligated to respect the privacy and security of the reporter of any incident. ## Enforcement Guidelines Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct: ### 1. Correction **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community. **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested. ### 2. Warning **Community Impact**: A violation through a single incident or series of actions. **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban. ### 3. Temporary Ban **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior. **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. ### 4. Permanent Ban **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. **Consequence**: A permanent ban from any sort of public interaction within the community. ## Attribution This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC]. For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations]. [homepage]: https://www.contributor-covenant.org [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html [Mozilla CoC]: https://github.com/mozilla/diversity [FAQ]: https://www.contributor-covenant.org/faq [translations]: https://www.contributor-covenant.org/translations --- Title: Using Hyperlane with Celestia URL: https://docs.celestia.org/learn/features/bridging/hyperlane.md Source: app/learn/features/bridging/hyperlane/page.mdx --- # Using Hyperlane with Celestia ## Live bridge - [Hyperlane Nexus UI](https://nexus.hyperlane.xyz/?origin=celestia&token=TIA&destination=base) ## Summary [Hyperlane](https://hyperlane.xyz/) is a permissionless interoperability layer that lets blockchains send messages and trigger actions on one another. Along with [IBC](/learn/features/bridging/ibc), it is one of the standards used on Celestia for cross-chain asset transfers and messages. You can use Hyperlane to bridge TIA between Celestia and other EVM-compatible chains, as well as send arbitrary cross-chain messages. ## How bridging works ```mermaid flowchart LR %% --- Chain A --- subgraph ChainA["Chain A"] A_App["Application"] A_Mailbox["Mailbox Contract"] A_ISM["Interchain Security Module"] end %% --- Chain B --- subgraph ChainB["Chain B"] B_App["Application"] B_Mailbox["Mailbox Contract"] B_ISM["Interchain Security Module"] end %% Internal flows (Chain A) A_App --> A_Mailbox A_Mailbox --> A_ISM A_ISM -->|Verify Message| A_Mailbox %% Internal flows (Chain B) B_App --> B_Mailbox B_Mailbox --> B_ISM B_ISM -->|Verify Message| B_Mailbox %% Cross-chain relayer messages A_Mailbox <-->|Relayers<br/>Messages + Proofs| B_Mailbox ``` - **Mailbox** — the core contract on each chain that dispatches and processes messages. - **Relayer** — an off-chain program that delivers messages and metadata between blockchains. - **Interchain Security Module (ISM)** — a modular security component that verifies messages before they're processed on the destination chain. **Bridging flow** 1. **Source chain** — the application sends a message to the Mailbox contract, which emits an event and stores a commitment. 2. **Relayer** — an offchain relayer observes the source chain, reads the message event, and fetches the necessary metadata and proofs. 3. **Relayer → destination** — the relayer submits the message plus metadata to the destination Mailbox contract. 4. **Destination chain** — the ISM verifies the message using the provided metadata (proofs, signatures, etc.), and if valid, the Mailbox delivers the message to the recipient application. 5. **Recipient application** — the destination application receives and processes the message (for example, mints tokens, executes a function call, etc.). --- Title: Using IBC with Celestia URL: https://docs.celestia.org/learn/features/bridging/ibc.md Source: app/learn/features/bridging/ibc/page.mdx --- # Using IBC with Celestia ## Live IBC channels - [Mocha testnet](https://www.mintscan.io/celestia-testnet/relayers/) - [Mainnet](https://www.mintscan.io/celestia/relayers/) ## Summary [IBC (Inter-Blockchain Communication)](https://ibcprotocol.dev/) is a protocol for authenticated, permissionless message passing between blockchains. Along with [Hyperlane](/learn/features/bridging/hyperlane), it is one of the standards used on Celestia for cross-chain asset transfers and messages. You can use IBC to bridge assets between Celestia-native chains along with other chains. Celestia uses relayers to forward packets between chains. Relayers are processes that can be run by anyone which constantly scan for outbound packets on one chain and submits these packets alongside corresponding proofs on the destination chain. This doc covers using IBC to bridge assets; see also [how to run a relayer](/operate/data-availability/ibc-relayer). ## How bridging works ```mermaid flowchart LR %% --- Chain A --- subgraph ChainA["Chain A"] A_App["Application"] A_Router["Router (Core)"] A_Light["Light Client of Chain B"] end %% --- Chain B --- subgraph ChainB["Chain B"] B_App["Application"] B_Router["Router (Core)"] B_Light["Light Client of Chain A"] end %% Internal flows (Chain A) A_App --> A_Router A_Router --> A_Light A_Router -->|Verify Membership / Verify Non-Membership| A_Light %% Internal flows (Chain B) B_App --> B_Router B_Router --> B_Light B_Router -->|Verify Membership / Verify Non-Membership| B_Light %% Cross-chain relayer packets A_Router <-->|Relayers<br/>Data Packets| B_Router ``` - **Light client** — a lightweight representation of a destination chain that lives within the state machine of a source chain. - **Relayer** — an off-chain program that facilitates communication between independent blockchains. - **Router** — a component in the that connects two blockchains, handles packet routing between applications, and manages the verification of cross-chain data. **Bridging flow** 1. **Source chain** — the source router (onchain module) escrows or burns the tokens, builds a packet (payload + seq + timeout), and stores a packet commitment (hash) in state. 2. **Relayer** — an offchain relayer observes the source, reads the packet and the packet-commitment, and fetches a proof of that commitment from the source chain. 3. **Relayer → destination** — the relayer submits the packet plus the commitment proof to the destination router. 4. **Destination chain** — the destination’s light client verifies the commitment proof and, if valid, the destination router processes the packet (for example mints or credits) and writes an acknowledgement commitment. 5. **Relayer → Source** — the relayer fetches the acknowledgement and submits the acknowledgement proof back to the source chain. 6. **Source chain** — the source’s light client verifies the acknowledgement proof and the source router finalizes the transfer (releases escrow or marks the packet complete); if the timeout elapsed first, the source router executes refund logic. --- Title: Private Blockspace URL: https://docs.celestia.org/learn/features/private-blockspace.md Source: app/learn/features/private-blockspace/page.mdx --- # Private Blockspace Private Blockspace lets applications publish **encrypted state to Celestia** while still making it **publicly accountable**. Networks can keep sensitive data—like balances, positions, liquidations, and routing logic—confidential, without pushing trust back onto offchain operators. Anyone can verify that encrypted data is **available and properly committed to**, while only authorized parties can decrypt the underlying contents. Private Blockspace is built for systems where **privacy is required** and **verifiability is non-negotiable**. ## How it works Private Blockspace is implemented as a lightweight **Private Blockspace Proxy** that sits between your application and Celestia’s data availability layer: 1. **Submit**: Your app sends blobs to the proxy. The proxy encrypts the data, generates a zkVM proof (**Verifiable Encryption**), and publishes the encrypted blob to Celestia. 2. **Retrieve**: Your app fetches blobs through the proxy. The proxy retrieves encrypted data from Celestia and attempts to decrypt it using the configured key material. 3. **Verify**: Anyone can verify that the encrypted data is available on Celestia and that protocol-defined commitments about the plaintext hold—without revealing the plaintext itself. ## Use cases Private Blockspace is designed for applications that need private execution or private state while preserving public guarantees. Here are a few novel use cases it can be applied to: - **Accountable offchain exchanges**: Keep exchange state private while making availability and commitments publicly verifiable. - **Trust-minimized data marketplaces**: Sellers can publish verifiably encrypted data to Celestia so buyers can verify availability and integrity before payment—without relying on intermediaries. ## Get started - [About Private Blockspace](/build/private-blockspace/about): Architecture and technical details - [Quickstart guide](/build/private-blockspace/quickstart): Run it locally and submit encrypted blobs - [Private Blockspace Proxy](https://github.com/celestiaorg/private-blockspace-proxy/): Source code and implementation details --- Title: Overview of TIA URL: https://docs.celestia.org/learn/TIA/overview.md Source: app/learn/TIA/overview/page.mdx --- # Overview of TIA ## TIA at a glance | Property | Details | | ----------------------- | ------------------------------------------------------------------------------------------------ | | Abbreviation | TIA | | Total supply at genesis | 1,000,000,000 TIA | | Inflation schedule | 8% in the first year, decreasing 10% per year until reaching an inflation floor of 1.5% annually | | Decimals | 6 | | Conversion | 1 uTIA = 1 TIA × 10⁻⁶ | ## Role of TIA ### Paying for blobspace Celestia’s native asset, TIA, is an essential part of how developers build on the first modular blockchain network. To use Celestia for data availability, rollup developers submit PayForBlobs transactions on the network for a fee, denominated in TIA. ### Bootstrapping new rollups A core part of the Celestia vision is that deploying a blockchain should be as easy as deploying a smart contract. In the modular era, developers no longer need to issue a token to launch their own blockchain. Similarly to ETH on Ethereum-based rollups, developers may opt to bootstrap their chain quickly by using TIA as a gas token and currency, in addition to paying for data availability. In this mode, developers can focus on creating their application or execution layer, instead of issuing a token right away. ### Proof-of-stake As a permissionless network built with Cosmos SDK, Celestia uses proof-of-stake to secure its own consensus. Like in other Cosmos networks, any user can help secure the network by delegating their TIA to a Celestia validator for a portion of their validator’s staking rewards. Learn [how pro
프로젝트로 돌아가기