Agorex-io / Cooperative

3 stars 0 forks source link

[PROPOSAL] Switch to 0x #12

Open protinam opened 6 years ago

protinam commented 6 years ago

I encourage Agorex to consider using the 0x Protocol instead of a modified version of the Etherdelta smart contract, for a few reasons:

  1. Lower gas costs & easier contract upgrades
  2. Fewer transactions required to trade (no need for users to deposit/withdraw tokens)
  3. Interoperability with existing 0x infrastructure - already written automated trading scripts, liquidity of other relayers, well-documented interfaces
  4. Well-tested contracts, no need to write custom Solidity

If Agorex switches to 0x, the Wyvern Exchange might be able to use it to allow users to seamlessly exchange tokens - paying in one for a price set in another - which would beneficial for both parties.

If you are interested in this, I'm willing to write the backend part for Agorex, for free - "backend" = validating orders, serving orderbook to clients, scanning & removing old orders.

I've mostly done this already - see https://github.com/protinam/0x-orderbook-server - and would be glad to update that code and help you guys get it setup & running.