ethfinex / efx-api-node

Client library to interact with the DeversiFi API and smart-contracts for non-custodial trading
https://app.deversifi.com
22 stars 18 forks source link

0xV2 order testing preparation methods #32

Closed plutoegg closed 5 years ago

plutoegg commented 5 years ago

This adds methods to prepare orders in the format required for Ethfinex using the official 0x version 2 contracts.

Order protocol will likely be differentiated when submitting orders to: api.ethfinex.com/trustless/v1/w/on using protocol = '0x2' as opposed to protocol = '0x' as is set currently.