# Coinmetrics tools

Repository for software created by coinmetrics.io team.

## Coincrawler

Coincrawler is a set of programs used for data extraction from blockchains and block explorers. Transaction volume, transaction count, fees and several other metrics are computed for each block and stored in the database. Additionaly, the suite contains utilities for grabbing price and exchange volume data, and dumping the obtained information to CSV file.

### Prerequisites 

Python 2.7, Postgres database.
Python modules: psycopg2, bs4, python-dateutil, lmdb, requests.

### Supported cryptocurrencies

Coincrawler supports Bitcoin, Bitcoin Cash, Litecoin, Dash, PIVX, Monero, Dogecoin, Decred, XEM, Ethereum, Ethereum Classic, ZCash, Vertcoin and, probably, many other currencies based on Bitcoin or Ethereum code.

Bitcoin, Bitcoin Cash, Litecoin, Dash, Dogecoin, PIVX, ZCash, Vertcoin and Ethereum Classic data is fetched from blockchains via RPC API.

Decred and XEM data is fetched from block explorers https://mainnet.decred.org and http://chain.nem.ninja respectively.

Ethereum data can be fetched either from blockchain or https://etherchain.org. 

Monero data can be fetched either from blockchain or https://moneroexplorer.com.

### How to use

Please look at files in the examples folder. Coincrawler is a client-server software: postgres database hosting machine fetches data from servers on which cryptocurrency nodes run. 

### PIVX support notes

Correct processing of spent zerocoin outputs relies on the modified version of PIVX node, which you can find here: https://github.com/whateverpal/PIVX/tree/getspentzerocoinamount.

# Coinmetrics tools

Repository for software created by coinmetrics.io team.

## Coincrawler

Coincrawler is a set of programs used for data extraction from blockchains and block explorers. Transaction volume, transaction count, fees and several other metrics are computed for each block and stored in the database. Additionaly, the suite contains utilities for grabbing price and exchange volume data, and dumping the obtained information to CSV file.

### Prerequisites 

Python 2.7, Postgres database.
Python modules: psycopg2, bs4, python-dateutil, lmdb, requests.

### Supported cryptocurrencies

Coincrawler supports Bitcoin, Bitcoin Cash, Litecoin, Dash, PIVX, Monero, Dogecoin, Decred, XEM, Ethereum, Ethereum Classic, ZCash, Vertcoin and, probably, many other currencies based on Bitcoin or Ethereum code.

Bitcoin, Bitcoin Cash, Litecoin, Dash, Dogecoin, PIVX, ZCash, Vertcoin and Ethereum Classic data is fetched from blockchains via RPC API.

Decred and XEM data is fetched from block explorers https://mainnet.decred.org and http://chain.nem.ninja respectively.

Ethereum data can be fetched either from blockchain or https://etherchain.org. 

Monero data can be fetched either from blockchain or https://moneroexplorer.com.

### How to use

Please look at files in the examples folder. Coincrawler is a client-server software: postgres database hosting machine fetches data from servers on which cryptocurrency nodes run. 

Remove no longer actual PIVX support notes
Remove no longer actual PIVX support notes