The 0x token is part of the 0x protocol and whose function is to create an exchange currency that guarantees interoperability between decentralized applications (DApps) that incorporate exchange functionalities (DEX).
What is the 0x token?
EThis is a token ERC20 created in order to allow easy use of the protocol 0x. That is, 0x as a project is made up of two parts, the 0x protocol and its 0x token (ZRX). It is through both structures that a powerful way of creating decentralized exchanges is achieved.
Simply put, 0x is a token used within the 0x protocol platform. With this way of working, 0x prevents its protocol from being maliciously exploited. It also serves to grant economic incentives to those who are part of it.
0x was created with the purpose of promoting interoperability between decentralized applications (DApps) that incorporate exchange functionalities (DEX). To achieve this, 0x allows operations to be executed by a system of smart contracts de Ethereum. These smarts contracts are public access, free to use and can be used by any DApp.
The result of this is that DApps can access public liquidity funds or create their own liquidity pool and charge transaction fees on the resulting volume. This improves the economic capacity of said DApps, in addition to increasing their security.
Project Beginnings 0x
The 0x project started when Will warren y Amir bandeali They joined forces and co-founded 0x in October 2016. At the time, both Warren and Bandeali envisioned a world where each asset can be represented as a token on the Ethereum blockchain. From fiat currencies, stocks, gold, and digital gaming items, their nature didn't matter.
This strong tokenization required a reliable and secure exchange system. Seeing the opportunity before them, they decided to start creating 0x. With this new protocol, exchanges Decentralized (DEX) took a leap forward in its functionality. This is because 0x allowed them to exchange any Ethereum token over any decentralized exchange that will use this protocol.
This operating structure is thanks to the relayers. These relayers are built on top of 0x and house order books of blockchain and may charge fees for their services.
Since then, 0x has undergone changes to accommodate the growing needs of decentralized exchanges. On August 17, 2017, 0x ended its ICO with the sale of 24 billion tokens and a raise of $ 0 million. With these initial funds, the program grew internally and proved itself, the team realized that opening the application process to the public was the next big step. From then on, the evolution of XNUMXx has allowed it to position itself as one of the best options for handling DEX.
How does 0x work?
The operation of 0x is mostly done off-chain, that is, transactions are made outside of the Ethereum blockchain. The advantage behind this is that there is better control of the exchange process, fewer errors and it is much faster and without costs. The following image shows roughly how this process works.
Knowing this, we can deduce that:
- The contract of the decentralized exchange (DEX) to access your A token balance.
- The creator creates an order to exchange token A for token B. It specifies the desired exchange rate, the expiration time, and signs the order with his private key. At this point a token allowance in the smart contract to block the balance to be exchanged.
- The order is disseminated to the network so that it can be processed by the relayers.
- The counterparty accepts the order.
- DEX contract is approved to access your counterparty B token balance.
- The counterparty signs the order showing its interest in carrying out the operation.
- The order is sent back to the network to be processed by the DEX.
- The DEX contract authenticates the manufacturers signature, verifies that the order has not expired, verifies that the order has not yet been completed, and then transfers tokens between the two parties at the specified exchange rate.
0x, a cryptocurrency with unique characteristics
The operation of 0x depends on a large communication structure and intertwined smart contracts. Thanks to this, developers can use and adapt their DApps to the technical needs to access 0x and its benefits. These technical characteristics include:
relayers
Better known as ExchangesThese are the ones who process the requests made by network clients. Their job is to be an intermediary between the creators of an exchange order and those who are interested in making the exchange. At the same time, relayers are the ones who keep the network's command book. With this the relayers have the task of maintaining all the operation of the network.
Relayers have two ways of operating within the network. The first one is through communication peer-to-peer (P2P). In this operating model, the owners of the tokens do not need the interaction of a third party to transmit the transactions to the blockchain. Instead they use the 0x smart contract, where each user can create their own order and advertise it the way they want.
In this way, when some other token owner wants to accept an order, they simply take the order and execute it using the 0x smart contract to finalize the exchange. All this without the need for any intermediary.
The second way of operating is through the order of transmission. This way is basically taking exchange orders, displaying them, and waiting for others to accept them. At this point, the relayers function as an intermediary showing the rest of the users what exchange orders exist in each of them.
Extensions
However, foreseeing the growth and needs of a world as changing as that of DEX, 0x can extend its functionalities thanks to extensions. To achieve this, 0x makes use of so-called extension contracts. These are smarts contracts that extend the way 0x orders can be completed.
For example, an extension contract at 0x can do certain jobs on behalf of users. They can also be used to validate that users belong to a specific group. Extension contracts can even be drafted to join multiple Decentralized Finance projects.
Who uses 0x?
Given the flexibility and reliability of 0x, this project has been widely adopted by different DEXs. Among these projects we can highlight:
- Augur
- Dharma
- Maker
- EasyTrade
In each of these projects, 0x helps expand the capabilities of their platforms, allowing them to execute off-chain interactions to make exchanges that might not otherwise be possible. A demonstration of the strength and flexibility of 0x, to respond to the special needs of decentralized exchanges.
What advantages does 0x offer?
- 0x is a completely decentralized and open. This means that anyone can use it. This creates a reliable standardization in the Ethereum system, public, and enhanced through community consensus rather than relying on a centralized authority.
- The ownership of tokens is always under the control of whoever owns it.
- Is able to perform off-chain transactions y on-chain agreements. Orders are cryptographically signed by the owner of the token to ensure security. However these are not transmitted to the blockchain until all changes have been finalized. This allows to avoid saturating the blockchain because it only transmits the final result of the transaction to the blockchain.
- It allows simplifying and reducing the number of transactions necessary to effectively carry out any conversion or exchange. Thanks to this, the user experience is improved by providing better conversion times for tokens and cryptocurrencies. In addition to offering much cheaper conversion rates. It allows to create a global liquidity network. In this way you can interact through a shared underlying protocol. All this without the need to use a third party or lose control of your assets.
- The lack of restrictions. 0x allows through decentralization to renounce registration or KYC processes that threaten privacy.