Binance Dexathon

Mar 16, 2018 · 5 min read

Decentralized Exchange Coding Competition


Currently, decentralized exchanges are inefficient and difficult to operate for the average user. As a result, they generally have reduced liquidity. Cryptocurrency is evolving at a rapid rate and we must ensure that blockchain technology is able to keep up.

This is an all-hands-on-deck initiative, combining the state-of-the-art technological excellence at Binance and the best of the community to once again push the envelope in blockchain technology.

In addition to having internal teams working on dex implementation, we will continue our community-driven approach and work closely with our community to build the next generation blockchain.

To help facilitate this innovation, Binance will host a coding competition with the clear intent of merging the best implementation(s) and/or team(s) into Binance Chain. On top of this, we will also offer a total prize pool equivalent of $1,000,000 USD, paid in BNB. How does winning a million dollar prize, then joining the Binance team, sound to you?

This paper outlines the high level requirements of what we are looking for, as well as our initial design philosophies for the Binance Chain.


The objective of this project is to solicit prototypes of a decentralized exchange with a focus on speed and capacity, or more precisely, a dex blockchain that is low-latency and high-throughput.

The dex prototype should have the following features:

  • Sending and receiving of the native coin
  • New token creation
  • Sending, receiving, freezing, and burning of tokens
  • Ability to trade one token with another token (all within the same chain)

Bonus feature:

  • Native on-chain ICO

For performance, we recommend the following design considerations:

  • All features mentioned above built-in natively to the blockchain
  • No support for smart contracts, virtual machines or turing complete languages
  • If a trade-off is required, always choose speed and simplicity over fancy features.

Mining & Consensus

A blockchain where all native tokens are pre-mined, there will be no mining (all BNB coins will be converted from BNB ERC20 tokens that already exist today). You are free to use any consensus algorithm you like; performance is key.


Basic features such as block generation and sending/receiving of the native coin should obviously be included. You are also free to use graphs instead of chains, assuming you can make it work reliably.

Token Creation

Native support for new token generation is required. That is, users should be able to create new tokens simply by specifying token parameters, such as symbol, total supply, decimals, etc, without having to write smart contracts. New token generation will cost a fee, payable in the native coin of the blockchain.

Tokens can follow a simple structure; fixed supply, all pre-mined, etc. Again, if there is a need for a trade-off between advanced features vs speed and simplicity, the latter wins.

Orders & Trades

Users should be able to place orders and trade one token for another directly on the blockchain. These orders should be natively supported by the blockchain and not via smart contracts. Limit GTC orders must be supported, and bonus points may be awarded for limit FOK and IOC, market, and other advanced order types, but keep in mind that speed is of higher priority.

An order should contain:

  • Symbol (trading pair)
  • Side
  • Price
  • Amount
  • Expiry time (in blocks)
  • Owner

Trading is done via sending orders to the network. As network resources are required to process each order, a fee will apply. The order fee will be dynamically adjust based on how busy the network is, similar to other network fees. Order fees are charged when the orders are submitted to the network.

Orders can be cancelled before they are traded. Each cancellation is also a new message to the network, thus incurring another network fee.

If an order matches against another order, a trade event happens. A trade is simply one atomic event involving two token transfers on the network. Again, network transfer fees will apply.

A trade should also trigger an execution report. We recommend an execution report structure similar to standard FIX 4.4 or higher protocol.

Matching Engine

You are free to use on-chain or off-chain matching engines in your design. The main consideration factor should be performance.


Nodes on the blockchain will handle:

  • Sending of the native coin
  • Issuing of tokens
  • Sending/receiving of tokens
  • Placing orders and handling trades

Nodes on the network will be compensated by transfer, order, trading, and other fees. Other fees include token creation, and potentially ICOs at a later date.

For this competition, nodes running in one OS will suffice, ideally Linux.


The wallet is the user’s interface to the blockchain. For the purpose of this dexathon, GUI wallets are not required and a command line interface (CLI) will suffice.


While not required, a natively supported ICO implementation will definitely earn bonus points.


We generally like to see new implementations built from scratch, but you may choose to fork existing blockchain implementations and improve upon them. You must ensure you do not violate any copyright or license restrictions.

Considering each trade may involve many orders, you will probably want to avoid (or change) blockchains that only allow you to have one input and one output address. Bitcoin’s many-to-many model may be a better fit here.


As previously mentioned, we will offer a prize pool equivalent to $1,000,000 USD, paid in BNB. In addition, winning team(s) may also be considered for employment.


All entries must be submitted by June 30th, 2018 23:59 UTC. Any entries submitted after this deadline will be ineligible.

You may submit your application now and continually update it until the deadline. After the submission deadline, Binance will take a reasonable amount time to review the submissions.

To Apply

You must register to participate in this competition. Please send the information below to

  • Name(s)
  • CV(s) or LinkedIn link(s)
  • Team size
  • Github repo location (can be private during the competition)

University Teams

We encourage university teams to participate in our competition, and offer a special grant of $10,000 per qualified team — even if you don’t win.

To apply for this, please have your favorite professor from your university contact us directly at


If you have any questions, please feel free to contact us at You must have already submitted your application before asking detailed questions about the competition.

Lastly, Binance reserves all rights to adjust the rules of this competition, with or without further notice.

Binance Exchange

Binance Exchange provides cryptocurrency trading for…


Written by


Binance Exchange provides cryptocurrency trading for fintech and blockchain enthusiasts globally, with multilingual support over a variety of services.

Binance Exchange

Binance Exchange provides cryptocurrency trading for fintech and blockchain enthusiasts globally, with multilingual support over a variety of services


Written by


Binance Exchange provides cryptocurrency trading for fintech and blockchain enthusiasts globally, with multilingual support over a variety of services.

Binance Exchange

Binance Exchange provides cryptocurrency trading for fintech and blockchain enthusiasts globally, with multilingual support over a variety of services

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store