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

Updates 0x order signing and adds Infura Example to README and examples folder. #51

Closed hems closed 5 years ago

hems commented 5 years ago

closes #52

hems commented 5 years ago

I have now added the MetaMask subprovider before signing the order as instructed here: https://forum.0x.org/t/release-0x-js-2-0-0-things-you-need-to-know/207

Unfortunately, because of CORS on the domain, i wasn't able to post to getConf from the browser, therefore, i couldn't test it locally.

I did test selling with node.js after doing this change and it kept working, so at least it's guaranteed this update doesn't break node.js