Skip to content

DEX Development for Chains, DeFi Protocols and Finance Teams

Protofire's DEX development gives chains, DeFi protocols and finance teams the contracts, pool design, swap front end and subgraph of a spot exchange. Your team runs the venue. Uniswap governance's list of v3 deployments names Protofire as the deployer on eight networks, recognized between May 2024 and April 2026.

Luis Medeiros

Reviewed by Luis Medeiros, Field CTO at ProtofireLast reviewed: November 2026

On this page
  1. Overview
  2. Licenses and law
  3. Our record
  4. License files
  5. What you get
  6. How it runs
  7. How work starts
  8. Not the right fit
  9. Related guides and services
  10. FAQ

Work shipped for 60+ networks and 95+ protocols, including

  • Chainlink
  • Ethereum
  • Solana
  • Safe
  • Ripple
  • Aave

Spot exchanges that Protofire builds and your team runs

Protofire's DEX development serves chains, DeFi protocols and finance teams that need a spot exchange. We deliver the contracts, the pool design, the subgraph and the swap front end. Your team runs the venue and holds the authorization it needs.

Once you have picked the code for your exchange, three questions follow. Does the code's license cover your use? Who decides that a Uniswap deployment is official? Does the venue need an authorization that you do not hold?

Who builds, approves and runs a DEX

Protofire builds the contracts, front end and indexing. Your team supplies the liquidity and runs the venue, and Uniswap governance decides whether a v3 deployment is official.

Protofire builds

Exchange contracts and pools

The factories, routers and pool logic, or the v4 hooks, price and settle swaps.

Swap front end and analytics

Traders swap in the interface, and the analytics pages show pools and trades.

Subgraph and price feeds

The subgraph indexes trades and pools, and pool logic reads the connected price feeds.
Your team

Liquidity

Your users and ecosystem teams supply the assets in the pools.

Venue operation

Your team runs the venue after launch and holds the authorization it needs.
Uniswap governance

Official status

For a Uniswap v3 deployment, Uniswap governance decides whether it is on the official list.

Contract ownership

For a Uniswap v3 deployment, the Uniswap DAO takes ownership of the contracts.
Outside audit firm

Audit report

A firm that did not write the code reviews the tagged commit.

Fix review

The firm re-checks each finding once the fix is in.

License, official status and exchange rules for a DEX

Exchange code that you copy keeps its license, and the rules on who may run an exchange are separate from the code.

Uniswap's v3 code is open to copy, so recognition as an official deployment is a separate step. The Uniswap Accountability Committee's deployment guideline requires a front end "to be recognized as official". Uniswap's v4-core license file is BUSL 1.1 until a change date no later than 15 June 2027.

In the EU, operating a trading platform for crypto-assets means managing one or more multilateral systems (MiCA Article 3(1)(18)). Such a system brings together multiple third-party purchasing and selling interests in crypto-assets, or facilitates bringing them together. It does so in the system and in accordance with its rules, in a way that results in a contract.

MiCA bars a person from providing crypto-asset services in the Union, with two exceptions (Article 59(1)). The first is a person authorized as a crypto-asset service provider under Article 63. The second is a credit institution, investment firm or another listed institution allowed to provide those services under Article 60. For the routes to authorization, see our MiCA license routes guide.

In the US, a group of persons provides "a market place or facilities for bringing together purchasers and sellers of securities" under two conditions. The conditions are set out in 17 CFR 240.3b-16(a). First, the group brings together the orders for securities of multiple buyers and sellers. Second, it uses established, non-discretionary methods under which those orders interact and the buyers and sellers agree to the terms of a trade.

Your counsel decides whether your venue falls under either rule, and who operates the venue. Protofire holds no license and gives no legal opinion. The license, the official status and the authorization each need an answer before the first pool opens, because each answer changes the build.

Our record: Uniswap v3 deployments, Swarm Markets and CoW Protocol

Uniswap governance's official list of v3 deployments names Protofire as the deployer on Redstone, Zero, Cyber, Ink, Shape, Abstract, Flow and Stable.The eight deployments were recognized between May 2024 and April 2026.

The list is a record of deployments made. Each of the 8 entries reads "Deployer: Protofire" and gives its date of recognition. The Uniswap Accountability Committee's April 2025 report counted 7 deployments by Protofire. The list marks the front ends of Redstone, Cyber and Ink as "[CURRENTLY DEPRECATED]". Our case study states the status of each deployment.

A DEX core and subgraph for Swarm Markets

In 2021 Protofire built the DEX core (a Balancer fork) and the subgraph for Swarm Markets. We also contributed to dOTC. Swarm Markets was a BaFin-licensed DEX at launch, where only KYC-verified wallets trade. Swarm held the license and ran the KYC.

Uniswap's contracts repository records the Ink deployment

Pull request 153 in Uniswap's contracts repository records the Ink deployments registry. The pull request was opened and merged on 11 June 2026. The pull request's description lists "Adopted Protofire v2/v3 (Dec 2024, v3-on-Ink governance RFC) + canonical Permit2".

Front end, SDK and subgraph work for CoW Protocol

For CoW Protocol, Protofire contributed to the explorer front end and the SDK. We also integrated the batch viewer and worked on the subgraph, as the CoW case study describes.

What each Uniswap license file says

The license files of Uniswap's v2-core, v3-core and v4-core set three different terms, as the files read on 13 November 2026.The v3 change date has passed, so the v3 core has been GPL-2.0-or-later since 1 April 2023 at the latest. Protofire reads the license file of your codebase against your planned use before the first change to the code.

v2-core

License in the file: GNU General Public License v3, 29 June 2007

Change date in the file: None stated

v3-core

License in the file: BUSL 1.1, with uses listed at v3-core-license-grants.uniswap.eth

Change date in the file: The earlier of 1 April 2023 or a date set at v3-core-license-date.uniswap.eth, then GPL v2 or later

v4-core

License in the file: BUSL 1.1, with uses listed at v4-core-license-grants.uniswap.eth granted and a commercial license needed for other use

Change date in the file: The earlier of 15 June 2027 or a date set at v4-core-license-date.uniswap.eth, then MIT

What DEX development from Protofire gives you

A written model for your exchange before the first line of code

You know what you are building, and why, before any code is written. The choice is a constant-product pool, concentrated liquidity, a custom pool or a hook pool on Uniswap v4. Protofire also writes down the pairs and fee settings. At the same time, Protofire reads the license of the codebase you prefer against your use.

Exchange contracts on your chain

Your chain gets a working exchange. Protofire deploys the released Uniswap v3 and v2 contracts and verifies them on your explorer. Alternatively, we write pool contracts for your own design.

A swap front end, analytics pages and a subgraph

Traders get a swap interface, and your team gets pages that show pools and trades. Protofire builds both on Uniswap's v3 interface, with a routing API where the stack needs one. We also build the subgraph that indexes the pools and trades.

Price feeds and a threat model for the swap path

Pool logic that reads a price needs a price feed that is connected on purpose. Protofire connects price feeds to the pool. We also write a threat model for the swap path, and the model includes token behavior. Uniswap's v3 docs say fee-on-transfer tokens will not function with Uniswap's router contracts. With rebasing tokens, pool creation and swaps succeed, but liquidity providers bear the loss from a negative rebase.

Uniswap v4 pools and hooks

A pool can behave the way your market needs. Uniswap's docs describe hooks that run logic before or after a swap, or gate who adds or removes liquidity. The docs also describe hooks that apply dynamic fees or build a custom curve. Protofire designs the pool, writes the hook and deploys it.

A venue where only approved wallets trade

Issuers of tokenized assets can offer a market that only approved wallets can use. On your own contracts, Protofire builds the permission checks into the pool. The party that holds the license and runs the KYC keeps the allowlist. See also our pages on decentralized OTC trading and RWA issuers.

How a DEX build runs from license to handover

  1. Step 1

    A written exchange model and a license check

    You send the chain or product, the pairs and the codebase you have in mind. Protofire writes down the exchange model and the pool and fee settings. We also record what the codebase's license file says about your use.
  2. Step 2

    Contracts and tests

    Protofire deploys the released Uniswap contracts, or writes your own pool contracts. We test those pool contracts against the swap-path failures in the threat model.
  3. Step 3

    Front end, indexing and price feeds

    Protofire builds the swap interface and the analytics pages. We also build the subgraph and connect the price feeds. We build all four against the same pool addresses, so the pages show what the contracts do.
  4. Step 4

    An outside audit and the fixes

    An audit firm that you pick reviews the contracts that hold funds. Protofire prepares the tagged commit and the audit scope, and fixes each finding.
  5. Step 5

    Launch scripts and handover

    The pool initialization scripts run, and the venue opens. A canonical Uniswap v3 deployment follows the Uniswap Accountability Committee's guideline. Under that guideline, the deployment deploys the v3 and v2 contracts and verifies them on a block explorer native to your chain. Then the Uniswap DAO takes ownership of the contracts. A front end is integrated, and the public list records who deployed. On your own contracts, your Safe or timelock holds the owner and admin roles. Your Safe or timelock also holds the upgrader and pauser roles. Protofire keeps no role after launch.

How work with Protofire starts

To start work with Protofire, you send the chain or product, the pairs and the codebase you prefer.For your own contracts, you also name the Safe or timelock that will hold the roles.

Proposal
In writing, one business day after the discovery call: findings, a plan in phases and the first step we recommend.
Price
Fixed per phase when you commission it, against written acceptance criteria. Overruns inside them are ours to absorb, invoices follow delivered milestones, and you can stop at any phase boundary. Anything we operate after launch is priced in the proposal as its own recurring line, with the notice to end it.
Ownership
Code we write for you, contracts, the keys and credentials this work creates and the accounts your infrastructure runs in are yours by contract, within the license of any third-party software involved. Keys that a custody platform or a staking provider holds under its own key model stay with it under your contract; every other custody key stays with you or the custodian you appoint. Where the scope places something on servers we rent, it says what moves to you and when. An NDA is available from your first message, and we sign a data processing agreement (DPA) together with it.
After launch
Delivery closes with a hypercare window and a defect warranty, with their terms written into the proposal. A service we operate continues under its written scope until that scope ends.
Access
Read-only by default. A role that can start requests only if your written scope names one; never a signer, approver, administrator, key holder or recovery role on your contracts, wallets or custody platform. Services we build call each platform on credentials your staff issue and keep in your vault. Anything that approves or moves funds runs in your environment, and a scope under which we operate a service lists every write call it makes. Where the scope has us operate nodes, validators, monitors, explorers or indexers, it names the role and any key we hold on those servers, and in your own cloud account you can remove it.
Licenses
Protofire is an engineering firm and holds no financial or crypto-asset license; licensed activity stays with you and your providers.

How we work shows a worked proposal.

When a DEX build with Protofire does not fit

A DEX build with Protofire does not fit in three cases.

  • Your venue needs an authorization that nobody on your side holds yet. That authorization comes first, and the build follows.
  • You want a promise of volume or of official status. Uniswap governance decides recognition, and the market decides volume.
  • You want a perpetual exchange, or your chain is not EVM. Perpetual exchanges have their own perp DEX page. A non-EVM chain needs its own proposal to Uniswap governance.
This grants authority solely to the Uniswap DAO to declare which v3 deployments are official, thereby preserving Uniswap's reputable brand.
Uniswap Accountability Committee, Official Uniswap v3 deployments list, 26 July 2024, Uniswap governance · Uniswap governance forum, read 13 November 2026

FAQ

What is DEX development?
DEX development is building the contracts, pool design, indexing and front end of a decentralized exchange. On a decentralized exchange, users swap tokens against onchain pools or against each other's signed orders. Protofire builds the contracts, subgraph and swap front end for chains, DeFi protocols and finance teams. The buyer's team runs the venue.
Who can deploy Uniswap v3 on a new chain, and does it become official?
Protofire deploys Uniswap v3 on new chains, and the code is open to copy. Uniswap governance's list names Protofire as the deployer on eight networks. A deployment becomes official when the Uniswap DAO recognizes it. A chain that is not EVM must propose its own plan to Uniswap governance. Governance will ask such a chain for additional requirements, such as development efforts and audits.
What does a Uniswap v4 hook do, and what are its limits?
A Uniswap v4 hook is an external contract attached to a pool. The PoolManager calls the hook around initialization, liquidity changes, swaps and donations. The hook's permissions are encoded in its address, so the address must be mined to the right flags. Protofire designs and builds hooks and the pools around them. Uniswap's hooks page says that a hook does not, by itself, get liquidity routed to it from the Uniswap frontend. Uniswap's oracle page states "Uniswap v4 does not include built-in oracle functionality."
Do I need a license to run a DEX in the EU?
Whether a DEX needs a license in the EU depends on its design. Under MiCA, operating a trading platform means managing a multilateral system under its rules. That system brings together multiple third-party purchasing and selling interests in crypto-assets. MiCA also says that services provided "in a fully decentralised manner without any intermediary" should not fall within the Regulation (Recital 22). Your counsel decides which side your design is on.
Who supplies liquidity, and who runs the venue after launch?
Your users and ecosystem teams supply the liquidity, and your team operates the venue. Protofire supplies no liquidity, makes no markets and holds no client funds or keys. The written scope names who runs the swap front end. Either your team runs an interface on your domain, or Protofire runs one under a written scope. The Protocol Roundtable episode on liquidity for tokenized assets covers who provides secondary liquidity for those assets.
Which exchange model should I build?
The right exchange model depends on your assets and on who supplies liquidity. Protofire writes the choice down before building. In a pool-based AMM, swaps trade against reserves held in contracts. In Uniswap v3 and v4, liquidity providers place liquidity in chosen price intervals. In CoW Protocol, users sign an "intent to trade" message instead of an executable transaction.
Does an audit make a DEX safe?
An audit reduces the risk in a DEX but does not guarantee the absence of bugs. A firm that took no part in the build reviews the code at one commit. Protofire prepares the contracts for that review and fixes what the firm finds. For contracts that another team built, Protofire offers a smart contract audit service.

Get a proposal

Tell us what you are building. An engineer reads it, we have a short call, and the written proposal follows within one business day.

Margaret ApanasevichReads every request · LinkedIn

A demo or repository link also works.