Running EtherDelta Locally on a Mac

in etherdelta •  7 years ago  (edited)

So... EtherDelta :)

Its always awesome to have an exchange to take profits right after an ICO distribution, but it never seems to be a pleasant experience.

Many people don't realize that EtherDelta can be hosted on their own machine which can really improve the overall experience.

Here are a couple reasons why you may want to do this

  1. Etherdelta certainly can be painful to use at times due to blockchain congestion as well as many users accessing the site. Having your own installation can help make the exchange more responsive.

  2. In light of the recent DNS attack, many users are afraid to use EtherDelta out of fear that they will have their crypto stolen from them. By running EtherDelta locally, you can be assured that DNS attacks will not lead to you losing your crypto.

EtherDelta can be setup to run on on Windows, Linux, or Mac, but this procedure will detail the steps to install on a mac.

There are two ways to go about downloading the source code.

You can either download the zip file, or clone the git repository. The advantage to the zip file is that you don't need to install Brew or Git. The advantage to the Git option is that its very convenient to get updates of the code.

Zip Option:

  1. download the zip - https://codeload.github.com/etherdelta/etherdelta.github.io/zip/master
  2. extract to a location on your hard drive
  3. open a terminal and go to the directory of the extracted zip file (cd etherdelta.github.io)

Git Option:

Here are the packages we are going to install

  • HomeBrew - a package manager that lets us install libraries on your machine
  • Git - a version control system that will allow us to
  1. Install Homebrew
    Paste this in the terminal and run:
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  2. Install Git
    Paste this in the terminal and run:
    brew install git

  3. Clone the repo
    In the terminal navigate to where you want to clone the repo, paste this in the terminal and run:
    git clone https://github.com/etherdelta/etherdelta.github.io.git

  4. switch to the ether delta directory
    cd etherdelta.github.io

Now at this point, whichever path you've chosen, youre now ready to use your local installation.
Because EtherDelta is a web application, you need to run a web server to host the app.

Just run this command within the etherdelta.github.io directory
python -m SimpleHTTPServer

Now youre ready to use ED.

Click on this link http://localhost:8000/index_com.html#PPP-ETH

At this point, you should see EtherDelta in your browser and you can use it just as you would previously. Because the URL is different than what it was before, you will need to re-import your wallets. (They will still be accessible from the "old" URL)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @beanapps! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

The Steem community has lost an epic member! Farewell @woflhart!
SteemitBoard - Witness Update
Do not miss the coming Rocky Mountain Steem Meetup and get a new community badge!
Vote for @Steemitboard as a witness to get one more award and increased upvotes!