vertcoin-project / blockchain-indexer

A C++ based indexer for blockfiles that works on Bitcoin and its derivatives https://blkidx.org/
MIT License
10 stars 8 forks source link

C++ Blockchain Indexer

https://blkidx.org/

Pre-release warning

IMPORTANT: This software is still under active development. Do not depend on this for production situations.

What is this?

This project aims to be a independant blockchain indexer for Bitcoin-based blockchains. It can read the blockfiles directly and indexes these blocks to allow a number of queries via its built-in HTTP service:

Supported elements

The indexer currently supports:

Compatible coins

The indexer should work for any Bitcoin derivative. The indexer is working for Vertcoin and Litecoin, whereas Bitcoin support is currently under development.

Docker

The indexer is built around Docker. It is possible to compile and run it on bare Linux, but to get running quickly it's easier to use Docker. There's docker-compose files available for all the supported coins.

Get started

CONTAINER ID        IMAGE                   COMMAND                  CREATED             STATUS              PORTS                                   NAMES
034492bce34b        vtc-wallet-middleware   "/root/sources/vtc..."   5 seconds ago       Up 1 second         8888/tcp                                blockchainindexer_vtc-middleware-cpp-main_1
48c3446ed3df        lukechilds/vertcoind    "init -rpcuser=mid..."   5 seconds ago       Up 3 seconds        0.0.0.0:5889->5889/tcp, 8332-8333/tcp   blockchainindexer_vertcoind-main_1
docker inspect 034492bce34b
{
    {...}
        "Networks": {
                "blockchain-indexer": {
                    {...}
                    "IPAddress": "172.19.0.3",
                    {...}
                }
            }
}
http://172.19.0.3:8888/blocks