Fully decentralized exchange with matching of limit and market orders? Here it is!


Hi all,

I’ve been working on a project for quite some time now. First of all I just got into crypto about a year ago (great timing), but well the goal back then was more to understand how the blockchain, wallets and cryptos in general are working (still dreaming of moon and lambos from time to time). I’m not an IT person although I learned IT few years ago, but I’ve always been interested in coding and before entering cryptos I was learning Android Programming on the evenings and week-ends. One day I decided to open my preferred code editor and write a Smart Contract.

Few months and versions later, I’m super happy with the result that you can find here: [www.0xchange.net](https://www.0xchange.net/)

It is fully operational on Ropsten, so you can already try it. Just connect to Ropsten on Metamask.

– Fully decentralized matching mechanism, like on a CEX

– Accepts market and limit orders

– Acceptable gas costs, there is room for improvement, but it works well when there are many smalls orders or for large orders. For instance I tried to match 10 counterparties while placing one order and the gas cost was ~650k (you can see the transaction here [https://ropsten.etherscan.io/tx/0xd8e5f993bb6e2fe8c07fd70b94ef99cb6488106987c0be89a1f4099a54770267](https://ropsten.etherscan.io/tx/0xd8e5f993bb6e2fe8c07fd70b94ef99cb6488106987c0be89a1f4099a54770267))

– Basic charts and easy interface

Cool story bro will you say or asking why I am posting this? Well, I do this on my free time and the question is now what? Operating an exchange would be conflictual with my employer’s policies and there are also some legal costs to set up the exchange. So, I’m there now with this cool things in my hands but I don’t know what to do with it.

It would be heartbreaking to abandon the project now, but there are already so many exchanges. What do you guys think? Is it worth it?

Edit1: page not optimized for mobile yet, Im working on it.

View Source

View Reddit by Giboon