Close

Making EthX An Accessible Crypto Exchange

A project log for EthExchange

Open source, decentralized exchange on the Ethereum blockchain

dylan-brophyDylan Brophy 06/19/2019 at 23:211 Comment

This exchange is useless if it cannot be accessed.

Since this exchange aims to be entirely decentralized, there should not be a central server hosting EthExchange.  Then how are users going to be able to get the client side files for it?  Almost every webpage is hosted on a server.  Almost.

I discovered this interesting protocol called IPFS (InterPlanetary File System) which allows files (and webpages to be hosted in a decentralized way, on a peer-to-peer network.  More info about IPFS on their site: https://ipfs.io/.  Anyway, I am hosting EthExchange there.  I will post more when it is properly hosted - it takes some time for a file to propagate across the network.

When propagated, EthExchange will be available here.

So that's super cool - I just made a decentralized Ethereum exchange!  It works too (although there isn't much there yet... YET)

A programming "whoops": using parseInt instead of parseDouble

I was trying to trade fractions of tokens on EthExchange, but my transactions indicated that I had requested to buy exactly zero tokens.  Long story short, I used the wrong parse function.  Whoops!  Fixed now, latest code is on the repo.

[A quick note about EthX market cap indications:  they are wrong.  Another thing for me to fix.]

Discussions

gabroyalist wrote 06/18/2020 at 15:49 point

It seems to be interesting stuff but I do not understand it completely. I even read technical analysis at https://primexbt.com/blog/what-is-technical-analysis/ but still can't understand how could you make decentralized Ethereum exchange. It would be interesting to read more about that. 

  Are you sure? yes | no