Since 0x is a decentralized exchange platform, investors must perform a complicated series of steps to use complete a trade.
To solve this problem, the developers created a widget that would facilitate trading operations in an ingenious and simple way: They created what they called a “forwarding contract,” which automates the prior configuration steps traders previously had to take.
After that forwarding contract has done its job for you, the widget further automates the process of making exchanges in a secure, fast and hassle-free way.
According to an official post, operation through the widget works as follows
- The user sends ETH and a 0x order to the Forwarding contract.
- The Forwarding contract converts the user’s ETH into WETH.
- The Forwarding contract passes the order to the 0x smart contracts, covering the ZRX fee and exchanging the WETH for tokens.
- The Forwarding contract sends the newly acquired tokens back to the user.
The current version is not yet ready to be released to the public.
The widget will also work with the new ERC721 token standard.
However, they have already announced that in the future the widget will accept not only ERC20 tokens but also ERC-721, which will allow the purchase of collectibles for fans of kittens and other games based on the Ethereum blockchain.
What is 0x?
0x is an open source protocol platform that facilitates the exchange between ERC20 Ethereum tokens without any confusion.
Furthermore, instead of being built as a private application, 0x is a public infrastructure funded by a globally distributed community of stakeholders. While the protocol is free to use, it allows the building of user-oriented, for-profit exchange applications on the protocol.
0x, like other decentralized exchanges, seeks to solve the security problems typical of traditional exchanges: Mt. Gox, Coincheck, Binance, Bitfinex, are major companies that have been hacked generating considerable losses because their users had to “trust” their funds to them to easily carry out their operations.
A trade in 0x involves 3 actors:
- A ‘maker’ is the person who broadcasts his or her order.
- A “relayer” would be the one who uploads the order in an off-chain order book
- A “taker” is the person who accepts the order by pushing the transaction into a 0x smart contract, completing the transaction.
The payment to the relays would be made through the use of a token (ZRX) which, in addition to serving as a mechanism for common use on the platform, seeks to solve the governance problem.
When Forbes contacted the 0x team for an explanation as to why it was necessary to create a token, Ari Juels, lead researcher for 0x, responded:
This could cause the system to erode in that the incentives to create order books for a large segment of the community[relayers] are undermined.”
The 0x widget aims to be another purposeful step in the roadmap for one of the most robust DEX protocols.
For more information about 0x, please see our article: An Introduction to 0x: The Protocol for Trading TokensPosted In: Crypto Exchanges