Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 286 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 286 Bytes

getprice.js

Getting price for offer in OasisDEX. Working with infura API (some times crashed)

Example

$ ./getprice.js --pair=MKR/W-ETH --amount=1000 # Price for buy 1000 W-ETH for MKR
$ ./getprice.js --pair=W-ETH/MKR --amount=1000 # Price for buy 1000 MKR for W-ETH