[Updated] Fixing @someguy123's steemfeed-js to work with BTC-E down

Since BTC-e is down, steemfeed-js by @someguy123 is not working... In fact, when checking the price with BTC-e, it crashes.

@someguy123 updated his steemfeed-js repo, so you don't have to do all this! Read his post here

Note: As @drakos said in his comment below, his steemfeed is working fine. While my edit is easily reversible, make sure yours is crashing before changing it, otherwise you are wasting your time!


This is a quick fix, until a new version is released, so follow these instructions:

  1. Go to the steemfeed-js folder.
  2. cd lib
  3. nano exchange.js
  4. Inside this file, locate this part:
var BTCEAdapter = require('./adapters/BTCEAdapter'),
    PoloniexAdapter = require('./adapters/PoloniexAdapter'),
    BittrexAdapter = require('./adapters/BittrexAdapter')
    ;


change it to read like this:

// var BTCEAdapter = require('./adapters/BTCEAdapter'),
var PoloniexAdapter = require('./adapters/PoloniexAdapter'),
    BittrexAdapter = require('./adapters/BittrexAdapter')
    ;


Then, locate this line:

add_adapter(BTCEAdapter);


And change it to this:

// add_adapter(BTCEAdapter);



Exit and save..


We now have to recompile the steemfeed-js by going to its folder and running this command:

docker build -t steemfeed-js .


Start the feed again:

docker run -itd --rm --name feed steemfeed-js



If you are not running the dockerised version, start it via nodejs

And now, business as usual!


Also, I am running a witness server.

Please consider voting me, dimitrisp, for a witness if you find what I post & do helpful and add value to the network

You can read my witness declaration here

H2
H3
H4
3 columns
2 columns
1 column
2 Comments