Two-Layer DeFi Infrastructure on Cardano: Prime Liquidity + Order Book DEX
Bynet Protocol is a foundation layer for Cardano DeFi builders. Prime Liquidity (Layer 1) solves the cold-start problem, Matching Engine (Layer 2) runs off-chain on Hydra via SPO Matchmakers, BynetDEX gives traders the full CEX suite of order types.
The Challenge
Cardano DeFi in 2022-2023 had two structural problems. First, cold-start: every new DEX or DApp had to bootstrap its own liquidity from zero, burning capital before providing any real utility. Second, execution: existing Cardano DEXes were AMM-only, missing the CEX-style order types (limit, stop-loss, stop-limit, stop-market, trailing stop) that serious traders expect. Bynet Protocol was designed to solve both, natively on Cardano's eUTxO model, with Hydra L2 for scalable matching.
The design tension: eUTxO does not support Ethereum-style account state, so an order book cannot live in a single shared contract. Bynet models each Liquidity Order as its own UTxO with parameters (A, B, Fee, R, M) and lets Matchmakers combine them off-chain on Hydra L2, then settle atomically back to L1.
Our Approach
We architected Bynet Protocol as four integrated layers: Prime Liquidity foundation, Matching Engine on Hydra, BynetDEX order-book UX, and the mobile wallet and DeFi hub around them.
Prime Liquidity (Layer 1)
- Liquidity Pool modeled as discrete Liquidity Orders (each UTxO)
- Order structure: (A, B, Fee, R, M) - amounts, fee %, rate, min swap size
- Adjustable concentration function: f(x) = n / (|x/m|³ + 1)
- Partial Orders let Matchmakers split UTxOs to fit illiquid markets
- Public API for third-party DApp builders to bootstrap liquidity
Matching Engine (Layer 2 on Hydra)
- Off-chain matching runs on Hydra sidechains (Basho era scaling)
- SPOs stake BYNET tokens to become Matchmakers
- Compensation model: spread between bid and ask
- Self-balancing open market via game-of-incentives design
- JSON API endpoints for querying On-chain Order Book
BynetDEX & Order Book Pattern
- Order Book Pattern + 2-phase commit (commit + execution phases)
- Two modes: swap-mode (Uniswap-style) and orderbook-mode (advanced calls)
- Full CEX order types: limit, stop-limit, stop-loss, stop market, trailing stop
- CEX-similar orders + LP-similar orders as first-class citizens
- Native Cardano asset swaps, multi-chain roadmap
Bynet Wallet + Cardanomarket.io
- HD non-custodial mobile wallet (iOS + Android)
- react-native-keychain for OS-level biometric security
- Entropy encrypted asymmetrically, decrypted only on transaction sign
- Cardanomarket.io - Cardano DeFi hub aggregating SundaeSwap, MuesliSwap, MinSwap
- Multi-level security: biometrics + PIN
The Outcome
Bynet Protocol became a full DeFi stack for Cardano: Prime Liquidity as shared foundation, Matching Engine on Hydra, Order Book DEX with the CEX order suite, and a mobile non-custodial wallet. BYNET token distributes 60% to community with DAO voting rights. Third-party DApp builders can now hook into Prime Liquidity without solving cold-start from scratch.
Shared liquidity foundation layer
SPO-run Matchmaker layer
Full advanced trading suite
Building on Cardano?
Bynet Protocol shows how a two-layer Prime Liquidity + Matching Engine architecture unlocks CEX-grade DeFi UX on eUTxO. If you are designing a DEX, wallet, launchpad or full DeFi ecosystem - Binar has the Plutus, Hydra and mobile experience to help you ship faster.
Let's Talk