Discussion Details

Core
Type
ACTIVE

Atlas PAB: Hydra and L2 Integration (Midgard, Midnight, ZkFold)

3 comments
Submitted: 24 Apr 2025, 16:58 UTC (Epoch 553)
Updated: 30 Apr 2025, 08:13 UTC (Epoch 555)
# ID:589
ge

geniusyield

Budget$90,000 (132,353 ADA)
ADA Rate$0.68
Preferred CurrencyUnited States Dollar (USD)
Contract TypeMilestone Based Fixed Price

Description

This proposal implements a modular L2 support layer within Atlas PAB. The deliverables include:

Hydra Support: Join, create, or monitor Hydra heads from within Atlas workflows.

Submit transactions into Hydra heads from dApp endpoints.

Synchronize state transitions and exit strategies back to Cardano L1.

Provide test cases for L1↔Hydra hybrid contract flows.

Midnight & Midgard Integration: Define Atlas interfaces for submitting confidential payloads to Midnight or Midgard.

Enable fetching proof results or outcomes from private L2s for verification in L1.

Build example “hybrid private” dApp endpoints (e.g., voting, encrypted asset flow).

ZkFold Integration: Interface Atlas with ZkFold’s proving and aggregation layer.

Enable off-chain transaction batching or logic execution with zk-proof submission to L1.

Provide zk circuit calling templates in Atlas emulator tests.

Each module will be developed as a plug-in under Atlas.L2 namespace, maintaining modularity and future extensibility. The proposal also includes example apps, documentation, and public education (via GitHub and docs site).

Problem Statement

Cardano is expanding its scalability layer through Hydra, Midnight, ZkFold, and Midgard – each offering unique benefits around privacy, speed, or parallelization. However, no unified backend framework exists that enables developers to easily integrate these Layer 2 (L2) solutions into their smart contracts or off-chain logic.

Currently, teams building dApps that want to support Hydra heads, confidential computation (Midnight), or ZK-powered offloading (ZkFold) must build custom integrations from scratch. Atlas PAB – as the leading Haskell-native backend for Cardano – is ideally positioned to serve as a bridge between Cardano L1 and emerging L2s.

Without such support, dApp developers face high integration complexity, reduced composability, and slower adoption of L2s.

Proposal Benefit

This proposal delivers:

Seamless Hydra integration in Atlas, enabling dApps to spin up, join, and transact within Hydra heads from off-chain logic.

Foundational integration with Midgard, Midnight, and ZkFold L2s for submitting payloads, querying outcomes, and synchronizing state with Cardano L1.

Shared L2 interface modules in Atlas that support plug-in logic per L2 solution.

Public documentation, emulator test cases, and example dApps demonstrating hybrid L1+L2 architecture.

The result is a next-generation backend for the Cardano ecosystem, enabling builders to leverage fast, private, or ZK-compressed execution environments — without leaving the Atlas framework.

Key Proposal Deliverables

  • TX submission
  • Emulator tests Run dApp logic in Hydra head via Atlas; submit result to L1
  • Result polling
  • Proof decode API Submit confidential message; verify response in Atlas backend
  • ZK circuit call samples
  • Aggregated submission Atlas testnet demo submitting a ZK-compressed batch TX to L1
  • 3 hybrid dApp samples Published in Atlas docs; referenced in GitHub README

Cost Breakdown

Hydra L2 Integration: 140 hrs = $30,000 Midnight / Midgard Integration: 120 hrs = $25,000 ZkFold Support: 90 hrs = $20,000 Developer Docs, Testing, dApp Examples: 40 hrs = $7,000 Audit / Project Management (8%) — $8,000 Total — $90,000

Resourcing & Duration

duration 7/8 months Hydra L2 Integration: 140 hrs Midnight / Midgard Integration: 120 hrs ZkFold Support: 90 hrs Developer Docs, Testing, dApp Examples: 40 hrs

Experience

The Genius Yield team are the original creators and maintainers of Atlas PAB, and are recognized contributors to open-source infrastructure in the Cardano ecosystem. Our work has helped shape core backend tooling used by developers across DeFi, identity, and emerging governance applications. We established a strong working relationships with IOG, ZkFold, and Midnight engineering teams, ensuring alignment with upcoming Layer 2 protocols, privacy infrastructure, and roadmap-driven innovation.

Maintenance & Support

This L2 support will become part of the official Atlas repository https://github.com/geniusyield/atlas and will be maintained by the Genius Yield engineering team as part of our long-term commitment to the Cardano developer ecosystem. All modules will follow Atlas’s versioning and release schedule and evolve alongside Cardano L2 tooling.

Supplementary Endorsement

Hydra is actively promoted by IOG as a key L2 scaling solution. Community testnets are live and growing, but tooling for smart contract developers is still early-stage.

Midnight is an anticipated privacy-preserving L2 that developers want to integrate into voting, finance, and identity dApps.

ZkFold, an ecosystem-led zero-knowledge compute and compression solution, has begun publishing tools and dev docs for programmable L2 design.

Atlas PAB is already used in major Cardano dApps (Genius Yield, World Mobile, Clarity...) and has strong community backing as a developer-friendly backend. This proposal expands its capabilities to meet the ecosystem’s L2 trajectory.

Roadmap Alignment

Does your proposal align with any of the Intersect Committees?

Open Source Committee

Does this proposal align to the Product Roadmap and Roadmap Goals?

Developer / User Experience

Administration and Auditing

Would you like Intersect to be your named Administrator, including acting as the auditor, as per the Cardano Constitution?

Yes

Ownership Information

Submitted On Behalf Of

Company

Social Handles

https://x.com/GeniusyieldO

Key Dependencies

Active L2 documentation for: Hydra (IOG), ZkFold (community), Midnight/Midgard (Input Output)

L2 endpoints and SDKs as they stabilize

Continued Cardano node and Plutus version compatibility

Created:4/24/2025
Updated:4/30/2025
ID:698
Poll Results
Votes: 21
Should this proposal be funded in the next Cardano Budget round?
YES
14 (67%)
NO
7 (33%)

Comments (3)

Apr 30, 2025, 08:13 AM UTC

Comments from 2025 Cardano Budget Proposals Review Workshop: Kenya Hub

The proposal aligns with the intersects 2025 roadmap to enhance Cardano's L2 solutions like Hydra, Midnight, Midgard, and ZkFold The idea of an unified backend, this will definitely enhance developer experience and probably create a standard that can be adopted by the builders in the ecosystem.

So it hits several things on the roadmap i.e. developer-friendly infrastructure and enhances L2 adoption and development, am totally behind this.

Apr 30, 2025, 08:13 AM UTC

While this project might be important, Catalyst might be a better fit because of the size of the budget.

tyty
Apr 30, 2025, 08:13 AM UTC

The proposal aligns with the intersects 2025 roadmap to enhance cardano's L2 solutions like Hydra, Midnight, Midgard, and ZkFold The idea of an unified backend, this will definately enhance developer experience and probably create a standard that can be addopted by the builders in the ecosystem. So it hits several things on the roadmap ie developer-friendly infrastructure and enhances L2 adoption and development, am totaly behind this.

kimzzy
Apr 30, 2025, 08:13 AM UTC

This is interesting because it will reduce complexities in Dapp intergrations and drive innovation by allowing developers to build faster, robust and upto standards applications.

Governance Space on Cardano Blockchain

Are You Ready to Participate?

Building Together to Drive Cardano Forward.