nuliknol / augur-extractor

Data extractor from Augur Prediction Market. Destination database -> PostgreSQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Data extractor from Augur Prediction Market. Destination database -> PostgreSQL


Languages

Language:Go 95.4%Language:HTML 3.0%Language:PLpgSQL 0.9%Language:CSS 0.4%Language:JavaScript 0.2%Language:Shell 0.1%Language:TSQL 0.0%