Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@PirosB3
Last active August 7, 2020 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PirosB3/323a5a0ae6f2be9658bc56e4cd74c15e to your computer and use it in GitHub Desktop.
Save PirosB3/323a5a0ae6f2be9658bc56e4cd74c15e to your computer and use it in GitHub Desktop.
0xDoc Documentation

0x Doc

Links

0x Doc was created to serve technically-savvy users such as market-makers, 0x API integrators, and RFQ providers that want to gain more insight from the on-chain magic that happens in 0x.

How does it work?

0x Doc Simply paste in a 0x V3 Signed Order, and the “doc” will provide detailed explanation of the order, select how much of the trade you want to take, simulate the trade using the blockchain, and ultimately sign and broadcast the transaction on-chain.

Who is this tool for?

This can be useful for market makers (RFQ and Open Orderbook) that want to test their hedging functionality, it can provide validation to new 0x makers that their backends are working (allowing them to test cancellations, and order signatures), and it can allow the 0x Protocol team to test DexForwarderBridge orders. Even if 0xDoc is tailored to advanced users, this feature can also be used for OTC-style trading: a taker can simulate a OTC-style trade and read the exact amount and rate they are going to receive for their trade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment