Basic Details
Project name: Universal Limit Order API ZRX
Point of contact:
Discord: joaocampos_
Team background:
João Campos: Head Dev DexKIt, over 6 years experience on working on decentralized applications.
We have over 400 Dapps using our DexAppBuilder solution which uses mainly 0x protocol, we bring no coders to build on top of 0x protocol.
Delegate on 0x protocol and with focus on bringing tools to empower 0x protocol.
Project Details
Describe the problem being solved:
At the moment, 0x lacks an advanced API to post limit orders in all networks and fetch an order book in an easy way. Additionally, the 0x API doesn’t support returning callback data to fill a specific order or multiple orders and currently doesn’t allow passing transformers. Our proposed solution entails building a unified limit order API for the most used order types: ERC20, ERC721, and ERC1155.
Use Cases
Our proposed solution aims to address the following issues with the 0x protocol at the moment:
-
The project runs on a language like Python or Go and doesn’t have 0x packages in those languages. Developers can easily post a limit order request, receive a JSON object with all fields pre-filled, and simply sign using a web3-based package in their language.
-
The project does not need additional libraries to fill a specific limit order or NFT order; it can just request to fill an order with the order hash and the desired amount.
-
It can easily build an exchange order book with all orders sorted by price and with all associated token metadata or NFT metadata.
-
The project needs a unified solution to keep up-to-date with limit and NFT orders status.
-
The project aims to display a single limit order with all token or NFT metadata in an appealing manner.
The project prefers to use GraphQL.
Explain how the funding will be used:
The funding will be allocated for the development and deployment of this API across all chains. Our roadmap consists of the following steps:
- Create REST endpoints to post and fetch a limit order and NFT limit order.
- Create a REST endpoint to fetch an NFT or Token order book.
- Create a REST endpoint to fetch token and NFT metadata.
- Create a REST endpoint to return calldata to fill NFT or Token Limit orders with the ability to post pre and post Transformers.
- Create a REST endpoint as a utility to sign limit orders easily without the need to install 0x packages on the client.
- Create Consumers and Producers to keep limit and NFT orders up to date with on-chain events.
- On top of this, we will run a GraphQL service.
We plan to finish all this work in 3 to 6 months and run this infrastructure for 2 years with a 10 RPS rate limit.
Indicate whether your solution/product will integrate directly with the 0x Protocol contracts (such as the 0x Exchange Proxy) or via APIs. If APIs, please list them (if known):
This solution will create a new API.
Do you agree to tag your solution/product for visibility in 0x Explorer:
Yes
What are the actual and/or target usage metrics (such as users and volume) for your solution/product:
We are providing an open-source API for projects to create limit order exchanges and NFT marketplaces without incurring high costs. We believe that with this solution, teams can easily integrate the 0x protocol into their apps.
Funding Request
We are requesting 60k for the development of this API and 40k for deployment across all networks, to be operational for the next 2 years with a 10 RPS limit.
The funding could come from the treasury in the form of Optimism and Arbitrum tokens, as we will be adding limit orders on these networks.
Additional Notes
We seek improvements and feedback from the community over next week, after which we will move this to a snapshot vote.