My goal is to make a market order (sell/buy) from a smart contract without a centralized app feeding in the order data. E.g. buy token X for 1 ETH at current market.
0x Project
So far I stumbled over the 0x-project which looks like a framework to build your own decentralized exchange. https://0xproject.com/ https://blog.0xproject.com/a-beginners-guide-to-0x-81d30298a5e0
Idex
Idex sounds also promising but I don't find any information how to interact with their ABI
Fill many orders at once, allowing for true market orders
https://medium.com/aurora-dao/idex-decentralized-exchange-state-channel-afca2e5809b1
Question
Is 0x only meant to build your own exchange on top? Or can I use the protocol to e.g. make a market order on any 0x exchange from a smart contract?
Is there any other smart contract/decentralized exchange to make market sell/buy orders?