docker.grassecon.net/kitabu/ethstats-client:1.0.0
Go to file
cubedro 9a266b527c more readme.md fixes 2015-02-26 23:11:18 +02:00
bin fixed env vars 2015-02-18 00:15:34 +02:00
lib changed propagation calculation to miliseconds 2015-02-23 18:51:48 +02:00
.gitignore added custom config option 2015-02-12 04:55:09 +02:00
.travis.yml added travis.yml and badges 2015-02-25 23:28:34 +02:00
LICENSE init commit 2015-02-12 00:21:10 +02:00
README.md more readme.md fixes 2015-02-26 23:11:18 +02:00
app.js added gracefulReload support for pm2 2015-02-18 06:39:33 +02:00
package.json updated debug version 2015-02-25 23:30:16 +02:00
processes.json updated processes.json 2015-02-23 11:27:36 +02:00

README.md

Ethereum Network Intelligence API

Build Status dependency status

This is the backend service which runs along with the node for tracking the ethereum network status, fetches information through the JSON-RPC and connects through WebSockets to eth-netstats and feed information constantly.

Prerequisite

  • cpp-ethereum
  • node
  • npm

Installation on Ubuntu

Fetch and run the build shell. This will install everything you need: latest cpp-ethereum - CLI (develop branch), node.js, npm, pm2.

curl https://raw.githubusercontent.com/cubedro/eth-net-intelligence-api/master/bin/build.sh | sh

Run

Run it using pm2:

cd ~/bin/www
pm2 start processes.json

Configuration

Configure the app in processes.json

"env":
	{
		"NODE_ENV"	: "production", // tell the client we're in production environment
		"RPC_HOST"	: "localhost", // eth JSON-RPC host
		"RPC_PORT"	: "8080", // eth JSON-RPC port
		"WS_SERVER"	: "", // path to eth-netstats WebSockets api server
	}