0x (ZRX) : In-Depth Project Analysis

in #zrx6 years ago (edited)

Screen Shot 2018-05-03 at 14.34.20.png

(I) Founders :

  1. Will Warren (CEO) : B.S. Mechanical Engineering from USCD

  2. Amir Bandeali (CTO) : BSc. Finance (Minor in Computer Science) UIUC -Despite working as a trader, built up his CS skill-set on the side

(II) Why a Decentralised Exchange?

1. Centralised Exchanges :

a) Risk of getting hacked because of single point of failure thereby resulting in loss of millions of dollars.

b) Risk of getting shutdown due to legal accountability.
These exchanges have to follow the law of the land, their long-term operation depends on the countries they are based
on. Example: Currently in my home country India, traders live at a risk that the exchanges would become non-
operational anyday after the RBI’s order to banks to stop supporting cryptocurrency exchanges.

Basically, these suffer from the issues that all centralised services suffer from.

2. Decentralised Exchanges :

a) Custody of your crypto/digital asset remains in control of the individual thereby eliminating risk of lose of funds.
b) Trustless : You only need to trust the smart contract code which is open source thereby ensuring that no one gets preferential treatment.

In theory, a decentralised exchange can be better than a centralised one, so what features do decentralised exchanges lack when compared to their centralised counterparts?

  1. User-friendly : Most of the current decentralised exchanges are plagued by basic features like having a bad UI, although they are getting better overtime.
  2. Liquidity : Currently, there are not a lot of buyers & sellers so there is lack of liquidity which can result in huge price fluctuations whenever there is a large buy or sell order.
    Although, liquidity problem is going to get solved as more & more people start trading on decentralised exchanges.
  3. Trading fee : Most of the decentralised exchanges are build on top of ethereum.
    Trading fee corresponds to ethereum gas fee, which is substantial.
  4. Support for only ERC20 tokens : Decentralised exchanges built on top of Ethereum support trading in only ETH & ERC20 tokens. Support for other crypto would be fixed after adoption of cross-chain atomic swap goes mainstream.

Some Prominent Decentralised Exchange Projects:

Kyber Network
Bancor Network
Airswap
Etherdelta
IDEX
Stellar Term

(III) 0x Architecture :

0x is a protocol i.e. it’s public infrastructure, anyone can create a for-profit business (relayer) on top of it. The team made a decision to avoid building a walled garden as done by most models in the space.

The team raised just enough money privately to pay for the legal fees and to survive without thinking of a business model.

In a sense, it is solving a public goods problem (providing liquidity to various dapps) and the ICO model has facilitated the team to do that by providing them money to survive, build a team & financially benefit them if their project succeeds and price of their token rises!

At it’s core, 0x protocol is a message format:

Each order is a data packet containing order parameters and an associated signature. Order parameters are concatenated and hashed to 32 bytes via the Keccak SHA3 function. The order originator signs the order hash with their private key to produce an ECDSA signature.

Screen Shot 2018-05-04 at 11.33.08.png

You specify your intent to enter into a trade by specifying parameters like these in your message:

  1. Tokens you are exchanging
  2. Exchange rate
  3. Time you are willing to enter a trade (Expiration time)
  4. makerFee, takerFee- Total units of ZRX paid to feeRecipient(Relayer) by maker & taker respectively.

Screen Shot 2018-05-03 at 14.34.20.png
0x Architecture : OffChain Order Book, OnChain Settlement

We have three parties in the trade: relayer, maker, taker:

  1. Relayer (list below) builds a UI in the form of an app or website and maintains an off-chain order-book. Let’s assume the relayer has a website similar to Radar Relay.
  2. An order maker quotes his trading price and other parameters of the message format. He signs the message thereby pushing the order on the website (order book).
  3. An order taker sees the maker’s order on the website (order book) and submits a buy order. By doing so, he is submitting a transaction to the Blockchain via the trade settlement contract.
    He needs to pay a gas fee (in ETH) and taker fees which goes to relayer(in ZRX token).
  4. The trade settlement contract processes the data sent to it by the taker and accordingly settles the trade on the Blockchain.
  5. The governance contract is used to upgrade the trade settlement contract as new token standards emerge.

Note: The 0x team only maintains the trade settlement and governance smart contracts. The goal of 0x is to make upgrading of the contract through token voting. The team is thoroughly researching about governance (rumours about collaborating with Aragon team) including things like liquid democracy in which token holders can delegate their voting power to someone they deem capable to vote on their behalf.

(IV) Role & Business Model Of Relayers :

Relayers host an off-chain order book (drastic reduction in trading fees) and broadcast to the public in anyway they see fit, eg: mobile app, website.

B- Model : Relayers can earn money in many ways, eg: charging trade fees, advertising on their website etc.

To understand how a relayer looks like, definitely have a look at Radar Relay.

List of relayers that will be (or are) using the 0x protocol :

Amadeus
DDEX
Dextroid
ERC dEX
Ethfinex
IDT Exchange
MobiDex
OpenRelay
Paradex
RadarRelay
SharkRelay
The 0cean
Token Jar
Tokenlon

(V) Why Would 0x Work?:

In the next couple of years, there would be infinite number of tokens.
One single relayer can’t list all tokens on it’s platform.

There would be a handful of relayers that would dominate the market but they wouldn’t be able to research and list all tokens due to sheer volume of tokens.
As a result there would be hundreds of relayers catering to a particular niche of tokens, eg: relayers for listing real estate tokens would be very different to say prediction market tokens.

0x would allow for all these relayers to build on top of it’s protocol thereby providing liquidity to thousands or even millions of tokens.

(VI) Evolution of 0x Token:

0x is a governance token, it allows to upgrade the 0x smart contract overtime without bringing all of the markets on top of it to a halt.

It is also used for paying transaction fees to relayers, this feature ensures that all the stakeholders in the ecosystem have some amount of 0x tokens and are driven to participate in the governance process.

0x Token Coinmarketcap

Resources

0x Website

0x Contracts

0x Whitepaper

0x FAQ

Social :

0x Chat

0x Twitter

0x Reddit

Show me some love by giving the upvotes! Also, I run a Blockchain youtube channel in which I make educational content and interview founders in the space.

Channel Link : https://www.youtube.com/arnavvohra7

Sort:  

Congratulations @arnavvohra! You have received a personal award!

1 Year on Steemit
Click on the badge to view your Board of Honor.

Do not miss the last post from @steemitboard:

SteemFest³ - SteemitBoard support the Travel Reimbursement Fund.

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @arnavvohra! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.32
TRX 0.11
JST 0.034
BTC 66654.57
ETH 3250.95
USDT 1.00
SBD 4.33