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:210 Comments

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