LefterisJP / eth-exchange

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eth-exchange poc implementation

Build Status Coverage Status

Prerequisites

  • node
  • npm
  • mongodb
  • cpp-ethereum

Installation

Addendum for ArchLinux

Make sure you have node.js and mongodb. You can get them via pacman with sudo pacman -S nodejs mongodb

If you are getting problems at npm install due to gyp then use: npm config set python /usr/bin/python2.7 -g

This way npm (and gyp) will know which version of python to use and not use python 3 which is the ArchLinux default.

General Installation Command

git clone https://github.com/debris/eth-exchange
cd eth-exchange
npm install

Run

# start ethereum with json-rpc server
# by default port 8080
eth -j

# start mongodb
mongod

# start eth-exchange
# by default port 2000, configurable in config.js
npm start

Configuration

Exchange configuration can be found in config/config.js.

About


Languages

Language:JavaScript 79.7%Language:HTML 19.9%Language:CSS 0.5%