Vote the ICO

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
close overlay logo
Author: Kasey Flynn
Read time: 
5 min

How Long It Takes to Launch a DEX, Stage by Stage

Launching a decentralized exchange does not have a fixed timeframe. There are four elements determining how long it will take. These include fork versus custom code, the amount of code requiring audit, availability of an external auditor, and securing the necessary liquidity. Nomium, a decentralized exchange development company working on AMM, order book and cross-chain exchanges, estimates the timeline during the discovery process, well before any coding begins. Each of these four elements can shift the launch date more than coding itself.

Below is the typical timeline of a DEX project, including what happens at each stage and what tends to delay the process.

Stages at a Glance

– Discovery and scope
– Architecture and design
– Smart contract development
– Testing on a testnet
– External audit and fixes
– Interface, wallets and data (in parallel with the contracts)
– Liquidity and launch
Some of the stages can overlap. Interface development is done in parallel with smart contracts, and some liquidity negotiations often run alongside the audit. Stages that cannot be done in parallel are testing, audit and fixes. These three stages depend one on another.

Stage 1: Discovery and Scope

This stage determines the essence of the exchange project: on what blockchain it will operate, what kind of trading model (AMM, order book or both) it uses, how the fee mechanism works, and the role of the token created by the project. At this stage, the team also decides whether the codebase will be forked or developed from scratch.

Discovery is relatively short compared with the development of the project. However, this stage sets the duration of all other stages. Scope changes later are a frequent reason for a delay in the launch date.

Stage 2: Architecture and Design

At this stage, the project’s scope is turned into architecture: how many smart contracts are required, how they interact with one another, how the upgrades are performed and how interface, wallets and data services fit in the picture. The design of the user interface is usually done at this stage.

If it is a fork project, this stage is mainly about choosing what to leave and what to change. If it is a project built from scratch, this stage requires designing the trading logic, which takes more time.

Stage 3: Smart Contract Development

Contract development is often not as time-consuming as many people believe. Writing tests for all possible ways the contract can be used or abused is the bottleneck of the stage. A good team considers tests as part of the smart contract itself.

A fork project with minor changes completes this stage quickly. If there are new mechanics, cross-chain functionality or staking inside, the development and testing are prolonged.

Stage 4: Testing on a Testnet

The contracts are first deployed to the public test network before any funds are involved. On Ethereum, the recommended testnet for application developers is Sepolia. The team performs swaps, liquidity deposits and withdrawals, fee payout and checks for corner cases using test tokens that have no value.

Skipping or shortening this stage is very risky. On Ethereum and other EVM blockchains, deployed contracts are immutable by nature, so issues found after launch are much harder to fix compared with issues found on the testnet.

Stage 5: External Audit and Fixes

An independent audit is one of the stages where the timeline may slip frequently. The auditors perform their work according to their schedule. So, the starting date of this stage depends on their availability, not only on your code readiness. Projects that hire an auditor only after finishing development often have to wait.

The audit stage is not one-time either. The findings are delivered, the team fixes them and the auditor reviews the fixes. More new code, more cycles.

Stage 6: Interface, Wallets and Data

Swap screens, wallet integrations, price charts and transaction history are being built in parallel with the contracts. All of these components are dependent on the final contract architecture, so the changes in the latter make the former slower.

Also at this stage, there is work that traders are not aware of: indexing on-chain data, monitoring and alerts.

Stage 7: Liquidity and Launch

A DEX without liquidity is not usable, and so the launch plan must include sources of the first liquidity: project treasury, market makers or incentive programs for liquidity providers. Agreements with the liquidity partners also take some time and run in parallel with the audit stage.

There are also preparations to do before the launch day: deployment scripts, monitoring, plan for the first trading hours and defense against bots that will try to grab the first available tokens.

Post-launch

A DEX is not finished on launch day. Monitoring of the contracts, interface updates, tuning of the incentive programs and incident management plan – all of this work should be budgeted and planned from the beginning.

How Fork or Custom Code Affects the Timeline

If it is a fork project with small changes, the design, development and audit phases are shortened because most of the code is already audited and successfully deployed to production environments. An auditor will be checking the changes and interactions with the codebase.

If it is a project from scratch, additional time is required at almost all stages of the development process: trading logic design and testing, more code to be audited and more time for testing. Cross-chain projects require additional layers to check the security and to perform testing.

Why a DEX Launch May Be Delayed

– Changes in the scope after the beginning of the development.
– Booking of the audit stage is done too late.
– Unexpectedly more new code than planned. This will increase testing and audit phases.
– Liquidity partners are not ready on the launch day.
– Choice of the chain the team does not have enough experience in operating.

What Investors May Learn from a DEX Roadmap

For investors, the roadmap of a project’s own DEX reveals much about the team itself. A reliable plan will have a testnet phase and an external audit before the launch. There will also be time between them for fixes. The roadmap that promises to launch on the mainnet shortly after the start of development and without mentioning the audit is a red flag.

Another point to pay attention to is whether the timeline includes provision of the liquidity or not. The absence of the clear source of liquidity on the launch day often means the prices on the exchange will fluctuate heavily after each trade.

Disclaimer

“This content is for informational purposes only and does not constitute financial advice. Please do your own research before investing.”

Share This Article

Subscribe To Our Newsletter

Clarius One - Marketing for crypto - Click here to book a call