knowm / XChange

XChange is a Java library providing a streamlined API for interacting with 60+ Bitcoin and Altcoin exchanges providing a consistent interface for trading and accessing market data.
http://knowm.org/open-source/xchange/
MIT License
3.85k stars 1.94k forks source link

Implementation of DEX exchanges ? #2543

Open trixprod opened 6 years ago

trixprod commented 6 years ago

2018 will be the year of development of DEX exchanges.

The decentralized nature of DEX make more difficult to call API.

XChange and other will adapt their code to call smart contract ( ETH / NEO / EOS and others ).

How will XChange handle this major change in a near future ?

That's just an open discussion.

jnorthrup commented 6 years ago

there's not much example code in the java space for ethereum contracts but if it helps, this is an Idex implementation https://github.com/jnorthrup/XChange/tree/swagger-gen/xchange-idex/src/main/java/org/knowm/xchange/idex

jnorthrup commented 6 years ago

2544 is available for review

douggie commented 4 years ago

Hi, anyone had any more thoughts on the DEX integration, @jnorthrup example looks like it is leveraging a rest api, so akin to exchange today. Some smart contracts wrap solidity with javascript, anyone had much experience using the javax.script package to wrap the javascript api's?