etherdelta / etherdelta.github.io

https://etherdelta.com
554 stars 688 forks source link

How to show orders and trades with a custom contract/socket? #284

Open bitcoin4cashqc opened 6 years ago

bitcoin4cashqc commented 6 years ago

I installed the source on my server and deployed all the contracts needed on ropsten. Only issue I have is I can't see order between my test token and eth, as well most of the panel data. I see both balances tho!

Any hints to make the socket part custom and locally? :)

capture du 2017-11-26 07-43-16

CineTek commented 6 years ago

The socket part is just there for users for not having to mess around with web3 and the blockchain itself. If you have already established some knowledge with web3 it makes sense to track your orders and transactions using the blockchain instead of having to rely on a slow and not necessarily up to date socket backend. This backend is not open source as far as I know so I highly recommend to write your own using transaction trackers like etherscan or ethplorer

bitcoin4cashqc commented 6 years ago

yeah sure, that's what I thougt. I have no issue doing on my own, I was just expecting that I could make it work on ropsten straigh forward. Trying to understand the contract process is a mess in remix/mist, since I assume posting order rely on the socket as well (Right)?


De : CineTek notifications@github.com Envoyé : 26 novembre 2017 13:44:01 À : etherdelta/etherdelta.github.io Cc : bitcoin4cashqc; Author Objet : Re: [etherdelta/etherdelta.github.io] How to show orders and trades with a custom contract/socket? (#284)

The socket part is just there for users for not having to mess around with web3 and the blockchain itself. If you have already established some knowledge with web3 it makes sense to track your orders and transactions using the blockchain instead of having to rely on a slow and not necessarily up to date socket backend. This backend is not open source as far as I know so I highly recommend to write your own using transaction trackers like etherscan or ethplorer

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/etherdelta/etherdelta.github.io/issues/284#issuecomment-347009592, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQR-GcqxP1inbwaS4jnTNBP1_ArnTazSks5s6WshgaJpZM4Qqwub.

bitcoin4cashqc commented 6 years ago

issue is not missing knowlegde with web3, it's with socket.io :P


De : CineTek notifications@github.com Envoyé : 26 novembre 2017 13:44:01 À : etherdelta/etherdelta.github.io Cc : bitcoin4cashqc; Author Objet : Re: [etherdelta/etherdelta.github.io] How to show orders and trades with a custom contract/socket? (#284)

The socket part is just there for users for not having to mess around with web3 and the blockchain itself. If you have already established some knowledge with web3 it makes sense to track your orders and transactions using the blockchain instead of having to rely on a slow and not necessarily up to date socket backend. This backend is not open source as far as I know so I highly recommend to write your own using transaction trackers like etherscan or ethplorer

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/etherdelta/etherdelta.github.io/issues/284#issuecomment-347009592, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQR-GcqxP1inbwaS4jnTNBP1_ArnTazSks5s6WshgaJpZM4Qqwub.

bitcoin4cashqc commented 6 years ago

I guess this may be intersting for anyone looking to make etherdelta work locally with custom contract/tokens :

https://github.com/beaquant/EtherDelta.io

360disrupt commented 6 years ago

I think without the sockets you can't the Order Events are not broadcasted because the orders are currently off-chain.