opendexnetwork / opendex.network

Website 👋
https://opendex.network
GNU Affero General Public License v3.0
19 stars 10 forks source link

Derivatives to opendex? #16

Open xVETTEx opened 4 years ago

xVETTEx commented 4 years ago

It would be possible to add support to derivatives like on bitmex to opendex. Problem with this is that where we get oracle to tell what is price of underlying asset. One solution is that creator of derivative report report price. Then contract hodlers can decide if they agree with reported price. If they agree, they will make needed token transfers, if they disagree, they just don't transfer tokens. In case where contract holder A that should transfer tokens to B disagree with reported price, and price were reported correctly, B won't get tokens in this time, but can decide to not trade anymore with A. I think also prediction markets like augur will become possible to create and trade in opendex by making it possible to create and trade derivatives.

Do you think it would be good to add derivatives for opendex, if we find good way to do it? I can create PR about changes that derivates would need to protocol, if we want add derivatives to opendex.