We build DeFi protocols that hold real money and keep working when the market turns

  • Protocols People Actually Trade On

    Our DEXs, perpetuals venues, and lending markets are live and carrying volume — $22B through Privex across 8M trades, $783M cumulative through Nest on HyperEVM, one of the top DEXs on Blast in Fenix Finance. Shipping a protocol is not the hard part. Shipping one that still works at volume, under adversarial conditions, months later, is.

  • Protocol Forks Done Properly

    We have delivered production systems on Algebra, Aerodrome, Symmio, Gondi, Uniswap V4, and Seaport. Forking a proven protocol is usually the right call — but a fork is a starting point, not a shortcut. We know which invariants each one assumes, and which of them your changes are about to break.

  • Audit-Ready, Then Audited

    Our contracts have gone through Sherlock, PeckShield, and Obsidian audits. We write for the audit from the first commit — full test suites, documented invariants, static analysis in CI — because contracts written casually and audited late come back with findings that force architectural rework at the worst possible moment.

How we build DeFi protocols

Mechanism Before Code

Incentives, fee flows, and failure modes get modelled before anyone writes a contract. Most protocol failures are economic rather than technical — the code did exactly what it was told, and what it was told was wrong.

Testnet Every Sprint

Working deployments from the first sprint, not a demo at the end. You interact with the protocol while it is still cheap to change, and integration problems surface in week three instead of week twenty.

Invariants As Tests

The properties that must never break — solvency, accounting identities, access control — get written as tests, including fuzz and fork tests against real chain state. Auditors get a spec, not just a codebase.

Built To Be Operated

Monitoring, alerting, runbooks, and an incident path are delivered with the protocol. A DeFi system without operational tooling is a liability the moment something moves faster than your team can read block explorers.

What does it actually take to ship a DeFi protocol?

Contracts are the visible part and rarely the largest. On the protocols we deliver, Solidity is typically a third of the effort. The rest is the system that makes it usable and operable: a frontend that handles wallet state and failed transactions honestly, indexing infrastructure so the UI can show positions without hammering an RPC, keeper or automation services for liquidations and settlement, price feeds and their failure behaviour, and monitoring that tells you something is wrong before your users do.

The parts teams consistently underestimate are indexing and keepers. A lending market needs liquidations executed reliably, at speed, under exactly the network conditions where everything else is also degraded. A perpetuals venue needs funding applied on schedule regardless of RPC health. These are backend systems with uptime requirements, not scripts.

For a first protocol we would expect roughly this shape of team: two smart contract engineers, one or two backend engineers on indexing and automation, one or two frontend engineers, a designer, and QA — running 3–5 months to a mainnet launch that has been audited.

How much does DeFi protocol development cost?

A focused MVP — an AMM, a single-asset lending market, a staking or vault product — typically runs $75K–$150K over 2–4 months. This assumes a proven pattern, one chain, and a scope you are willing to hold still.

A full DEX or perpetuals venue with custom mechanics, incentive systems, an indexer, and a production frontend generally runs $150K–$300K over 4–7 months. Protocols with novel mechanism design — derivatives, insurance, structured products, anything where the economics have not been proven live by someone else — run $250K–$450K, and the extra is mostly modelling and testing rather than additional features.

Third-party audits are a separate line item and are not ours to mark up. Budget $30K–$100K depending on scope and firm, and book the slot early — good auditors are booked out months ahead, and a launch date set without an audit slot confirmed is a launch date that will move.

We quote fixed-price per milestone after a paid scoping phase, with payments aligned to delivery rather than hours logged.

Should you fork an existing protocol or build from scratch?

Fork when a proven protocol already does substantially what you want. You inherit battle-tested code, audit history, and mechanics the market already understands — which shortens both the build and the trust-building. Most of our recent DEX work started from Algebra, Aerodrome, Symmio, or Gondi for exactly this reason.

The trap is treating a fork as a shortcut. Every protocol encodes assumptions — about oracle behaviour, fee accrual, tick or tranche mechanics, liquidation ordering — and the changes that make it yours are usually the changes that violate one of them. The failure pattern is a small, reasonable-looking modification that quietly breaks an invariant the original design depended on, and nobody notices until it is exploited.

Build from scratch when your mechanism genuinely has no precedent, or when the closest fork would need such extensive surgery that you inherit the maintenance burden without the safety. That is a real decision with a real cost, and it should be made explicitly rather than by default in either direction.

How do you keep a protocol from getting drained?

Security is a process across the whole build, not an audit at the end. Ours has four layers.

First, design. Reentrancy-safe patterns, checks-effects-interactions, minimal upgradeability, explicit access control, and oracle designs that assume the oracle will at some point be wrong or stale rather than assuming it will not.

Second, testing. Full unit coverage, fuzz testing against stated invariants, and fork tests running against real mainnet state and real integrations — because the interesting bugs live in the interaction between your protocol and the ones it depends on, not inside a clean unit test.

Third, independent audit. Our contracts have been audited by Sherlock, PeckShield, and Obsidian. We prepare for audit properly: documented invariants, a threat model, and a codebase frozen before the engagement starts. Auditors find more when they are not reading a moving target.

Fourth, operations. Monitoring on protocol health and anomalous flows, alerting that reaches a human, timelocks on privileged functions, multi-signature control of admin actions, and a documented pause-and-respond path. Most protocol losses become catastrophic during the response, not the exploit — the difference between a bad day and a fatal one is usually how fast someone competent can act.

Which chain should you launch on?

Follow liquidity and users, not benchmarks. A protocol on a technically superior chain with no users is a technically superior protocol with no users.

In practice: Ethereum mainnet when your users hold assets there and transaction sizes make gas irrelevant. L2s — Arbitrum, Base, Optimism — for most consumer-facing DeFi, where cheap frequent interaction is the product. App-chains and newer L1s when there is an active ecosystem incentive programme and a community you can actually reach; we have shipped on HyperEVM, Blast, Berachain, Sonic, and Base, and in several of those cases network-level support was a meaningful part of the launch.

Multi-chain deployment is worth doing when each deployment has its own liquidity and users, and worth avoiding when it just splits the liquidity you already have across three places. Cross-chain messaging adds a trust assumption and a failure mode, so it should be answering a real need rather than a roadmap slide.

What happens after launch?

A DeFi protocol is an operated system, not a delivered artifact. Positions accrue, oracles drift, integrations change under you, and incentive programmes need adjusting against live data rather than a spreadsheet built before launch.

What we hand over: monitoring and alerting on protocol health, TVL, and anomalous flows; runbooks for the operations your team will actually perform; documented upgrade and emergency procedures; and an incident path with named responsibilities. Where a client wants us to stay on we do — several protocols we built are still maintained by us — but the system is built so your team can run it without us.

The handover is deliberate. An agency that leaves you unable to operate your own protocol has produced a dependency, not a delivery.

DeFi protocols we have shipped and operated

Every project below is a published case study, and most are live right now — you can trade on them. The numbers are the ones our clients agreed to publish.

  • Privex

    Perpetuals DEX with an AI-agent trading launchpad on Base and Coti, built on Symmio, with custodial wallet infrastructure for agent-executed trades.

    • $22B platform volume
    • 8M executed trades
    • $219M daily volume
  • Nest

    ve(3,3) DEX on HyperEVM with automated voting and off-chain emissions, forked from Algebra. Still maintained by our team.

    • $783M cumulative volume
    • $527K cumulative revenue
    • Delivered in 4 months
  • Fenix Finance

    ve(3,3) DEX on Blast with concentrated liquidity and multiple pool types, promoted and supported by the Blast network.

    • One of the top DEXs on Blast
    • $222.9M token market cap
    • Concentrated liquidity AMM
  • Lode

    Perpetuals DEX on Berachain with on-chain funding-rate farming and decentralized copy trading. Audited by Sherlock and PeckShield.

    • $100K volume on day one
    • Supported by Berachain
    • Sherlock + PeckShield audited
  • Highway

    Cross-chain liquidity migration and swap routing into Aerodrome on Base, aggregating across Uniswap, PancakeSwap, Jupiter, Meteora, and Raydium.

    • Migration time: 20min to seconds
    • 313 destination pools
    • Sherlock audited
  • BAE

    Bi-directional peer-to-peer NFT lending on Hyperliquid, forked from Gondi, with an X-integrated whitelist and dynamic ranking.

    • $50K+ first-week loans TVL
    • Top 3 by volume on Drip.Trade
    • Obsidian audited

What we build

Trading & Exchange

Spot and derivatives venues, from AMM mechanics through to the matching, margin, and settlement logic behind a perpetuals exchange.

  • AMMs: constant product, concentrated liquidity, custom curves
  • ve(3,3) emissions, gauge voting, and bribe markets
  • Perpetuals: margin, funding, liquidation engines
  • Order routing and cross-DEX aggregation
  • Cross-chain swap and liquidity migration

Lending & Yield

Credit markets and yield products, including the automation that has to keep running when the market moves against everyone at once.

  • Pooled and peer-to-peer lending markets
  • NFT and non-standard collateral lending
  • Liquidation engines and keeper infrastructure
  • Vaults and automated strategies with ERC-4626 accounting
  • Staking, restaking, and reward distribution

Infrastructure

The backend most protocols discover they need in month three: indexing, automation, and the operational surface around the contracts.

  • Subgraphs and custom indexers, hosted or self-run
  • Keeper and automation services with failover
  • Oracle integration and price-feed failure handling
  • Trading bots and Telegram-native interfaces
  • Monitoring, alerting, and analytics dashboards

Why teams building DeFi work with Aegas

  1. 1
    WE HAVE SHIPPED THIS BEFORE

    Not adjacent experience — the same thing. DEXs, perpetuals venues, lending markets, and liquidity infrastructure, live, carrying volume, several of them still maintained by us. When we say a mechanism will cause a problem, it is usually because we have watched it cause one.

  2. 2
    SENIOR-ONLY DELIVERY

    16 core engineers, most of them with us for years, and no junior subsidy hidden inside a blended rate. You get the people who built the protocols in our portfolio, working as your product team rather than as rented seats waiting for tickets.

  3. 3
    AUDIT-READY BY DEFAULT

    Documented invariants, full test suites, fuzz and fork testing, static analysis in CI, and a codebase frozen before the audit starts. Our contracts have gone through Sherlock, PeckShield, and Obsidian — preparation is why those engagements return design notes rather than rework.

  4. 4
    SPEED WHERE IT IS REAL

    Nest went from start to a live DEX in 4 months. SabreSwap went from kick-off to live in 9 days. We move fast where the pattern is proven and slow down where the economics are novel — and we tell you which one you are in before you commit to a date.

FAQ

Building a DeFi protocol?

Tell us the mechanism, the chain, and the launch window. You will get an architecture view, a straight read on scope and risk, and an honest answer on whether forking beats building for what you are describing.