Midnight Expands Zswap Infrastructure With Celestia Integration
Key Highlights
- Midnight uses Celestia to distribute Zswap offers, replacing a separate P2P messaging system.
- Celestia gives Midnight shared liquidity, allowing wallets and apps to discover the same offers.
- The setup saves time and costs, with Celestia saying it saves Midnight months of engineering work and millions in costs.
Midnight Network, a privacy-focused blockchain backed by Cardano’s Input Output Global (IOG), is using Celestia’s data availability layer to share Zswap offers across its network.
According to the case study posted on X by Celestia on Monday, the setup replaces the need for a separate peer-to-peer (P2P) system for sharing Zswap offers. It allows wallets and applications to access the same set of offers while keeping users’ identities and unrelated balance information private.
Midnight uses Celestia for Zswap offers
Celestia said that the scope centers on Zswap, which is Midnight’s system for privacy-focused atomic swaps. According to the study, Zswap allows a user to create an offer to exchange one asset for another without exposing their identity or unrelated balance information. The challenge is getting other users to find these offers without Midnight having to build and maintain its own system for spreading messages across the network.
Under the new setup, when a user creates a Zswap offer, the wallet posts the offer to a shared Celestia namespace. The namespace acts as a common data area that wallets and applications can read. Once Celestia’s validators confirm the data, other participants watching that namespace can find the same offer.
This also gives Midnight shared liquidity from the start. Every Zswap offer goes into the same space, meaning a new wallet, marketplace, or other trading venue does not have to start from zero and find its own traders. It can simply read the available offers from Celestia.
How a Zswap trade moves across the network
The process begins with a user creating a private message that says what they want to trade. The user’s identity and balances remain hidden, while the trade itself can be discovered by other participants. After the offer reaches Celestia and its validators commit the data, another wallet can search for a matching offer.
For instance, if a user wants to trade one asset, another user’s wallet can find the offer and create the matching side of the trade.
The two offers can then be joined off-chain into one balanced swap. The second user submits the completed transaction to Midnight’s Layer 1, where the swap is settled. According to the case study, the intermediate amounts are not included in the final transaction.
Celestia brings stronger data guarantees
Celestia said this approach gives Midnight stronger guarantees than normal P2P message sharing. Traditional P2P systems depend on messages moving from node to node, but there is no hard guarantee that every node will receive the data.
The company instead uses cryptographic commitments and Byzantine fault-tolerant guarantees. Once two-thirds of its validators sign off, the data is guaranteed to be retrievable.
Celestia says Midnight can reduce development costs
The setup follows Celestia’s Fibre upgrade, which the company says can support throughput of up to 1 Tb/s while maintaining low per-blob fees.
Celestia said the change also saves Midnight months of engineering work and millions of dollars in development and opportunity costs. Sebastien Guillemot, CTO of the Midnight Foundation, said, “Celestia helps Midnight move faster,” adding that the data availability layer gives Midnight a foundation for scaling.
Charles Hoskinson, co-founder of IOHK and the Cardano platform, also commented on the partnership, saying, “It’s great working with Celestia. Great team, great ecosystem, great tech.”
Celestia described Midnight as the first chain to use its network for P2P. The company said other decentralized networks could follow the same model, using Celestia to share data instead of building their own gossip systems.
Also Read: Solana Opens Landmark Governance Votes on Constitution, Token Supply and Fees
Disclaimer: The information researched and reported by The Crypto Times is for informational purposes only and is not a substitute for professional financial advice. Investing in crypto assets involves significant risk due to market volatility. Always Do Your Own Research (DYOR) and consult with a qualified Financial Advisor before making any investment decisions.


