Skip to content

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

Notifications You must be signed in to change notification settings

nuliknol/augur-extractor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.4%
  • HTML 3.0%
  • PLpgSQL 0.9%
  • CSS 0.4%
  • JavaScript 0.2%
  • Shell 0.1%