0x Protocol v2

Our team has been steadily making progress on the next version of 0x protocol. Some of the major changes we tackled in February include:

Signature generalization. This allows us to support various signature schemes within the protocol. Supported types will include standard ECDSA, EIP712, and signatures generated via Trezor. In addition, smart contracts will be able to generate orders on-chain or off-chain.

This allows us to support various signature schemes within the protocol. Supported types will include standard ECDSA, EIP712, and signatures generated via Trezor. In addition, smart contracts will be able to generate orders on-chain or off-chain. Use ABIEncoderV2 in contracts. Most of the public function in the 0x smart contracts have been refactored to use structs rather than arrays as arguments. This results in cleaner, less redundant code with a smaller memory footprint. In addition, we will run into far fewer instances of the pesky “stack too deep” error.

Most of the public function in the 0x smart contracts have been refactored to use structs rather than arrays as arguments. This results in cleaner, less redundant code with a smaller memory footprint. In addition, we will run into far fewer instances of the pesky “stack too deep” error. Support for ERC-721 and future standards. We’ve restructured our smart contracts to allow us to add support for ERC-721 Non-Fungible Tokens, as well as make it easier for us to support new standards in the future. We’re excited about the creativity and momentum around NFTs and look forward to seeing new NFT-focused relayers be built.

ERC-721

0x has been helping the community arrive at an acceptable standard for Non-Fungible Tokens (NFTs). At ETHDenver, we had a chance to meet with many other teams working on NFTs and held a working group to discuss the future of the space. We took the output from this meeting and the EIP-721 GitHub issue and built erc721.org, a resource to aggregate information about the standard and help people start building. Some newly-added features to the standard are delegated transfers to allow others to act on your behalf and transfer security to help prevent the accidental loss of assets. Thanks to all those who have contributed to this discussion and helped move the standard forward!

ABI-gen ABIv2 Support

Our abi-gen tool now generates correct types for contracts that accept/return tuples. Although web3.js does not support ABIv2 yet (relevant issue here), you can use the abi-gen tool with ethers.js and support contracts that accept nested data or/and structures as parameters now! This feature is still experimental in solidity — please use cautiously. For an example of usage, check our templates.

ETHDenver

This month the entire 0x team was at ETHDenver helping hackers get started with our tools and meeting members of the community. Materials from Amir’s workshop presentation on “Building a Trading Bot on 0x Protocol” can be found here. Congrats to the “Not Shapeshift” and “hethcon” teams for winning the 0x-specific prizes! Remco, Leo and Fabio also got excited and started working on their own hackathon project, a profiling tool for smart contracts. If you give their Gas Profiler a contract address, it will show you the Solidity source code and how much transaction fees have been spent on each line of code. The project became a winning entry and we are currently making it production ready.

0x team at ETHDenver

0x Wiki and Documentation Redesign

The 0x wiki and and documentation got a full new redesign. In the following weeks, be sure to check out our upcoming tutorials.

Multiple languages supported on the 0x homepage

The 0x homepage now supports Russian, Korean, Chinese, and Spanish. Scroll to the bottom of the page to change languages.

In the News

0x has been featured in Epicenter (Epicenter) where Will and Amir discuss the Decentralized Exchange frontier. Want to hear more podcasts about 0x? Checkout the latest episode of Unchained with Laura Shin about the problems with Centralized Exchanges and why Decentralized Exchanges are the future.

Misc

OrderWatcher documentation and wiki info including information on how to setup your own mempool.

Introduction of the 0x.js sandbox. Since being introduced, the sandbox has generated over 2000 views and 20+ forks!

Tutorial on how to build an atomic arbitrage smart contract between EtherDelta and 0x.

2nd monthly dev meeting.

0x Ecosystem Additions

SharkRelay is now in beta on Kovan.

EasyTrade, a ShapeShift-style interface for trading using 0x, is now in beta.

RadarRelay made an awesome guide to different units of ether! Check out gwei.io.

OceanX API launched their public beta.

Aqueduct, tools for liquidity sharing and automated trading by ERC dEX.

DDEX closes $2.1M seed round led by Initialized Capital. Alexis Ohainian discusses in Wall Street Journal.

Community Shout-outs

Thanks to Cryptokitties, OpenZeppelin, fulldecent, Rarebits, OpenSea, Toshi, Trust Wallet, and others for participating the NFT working group at ETHDenver.

Thanks to our RocketChat moderators bchain and juanc for always being responsive and helpful.

Thanks for reddit user r/polezo for providing thoughtful responses on our subreddit.

You can visit our website or follow us on GitHub for more information. Be sure to check out our forum for discussions.