Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 847 Bytes

README.md

File metadata and controls

51 lines (31 loc) · 847 Bytes

Augur Data Extractor

Extracts data from Augur Prediction Marketplace (http://augur.net) and stores it in an SQL database.

Dependencies

  • Latest golang crypto package containing NewLegacyKeccak256 function
  • Latest Ethereum go-ethereum package with Tuple ABI Unpack function (v1.9.13)
  • PostgreSQL libpq package

Build

./auto-build.sh

This will download all the dependencies and try to build everything

Running

There are 3 executables to run:

  • etl
  • server
  • mesh
cd etl/mesh
. config/dev-config.env
./mesh
cd etl
. config/dev-config.env
./run.sh
cd server
. config/dev-config.env
./run.sh

Once all the 3 programs run, the error logs will be in /var/tmp

Database initialization

psql [dbname] < etl/sql/tables.sql

Database Schema and documentation

cat etl/sql/tables.sql