ortelius

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2020 License: BSD-3-Clause

README

Ortelius

Build Status Go Report Card License

A data processing pipeline for the Avalanche network.

Features

  • Maintains a persistent log of all consensus events and decisions made on the Avalanche network.
  • Indexes all Exchange (X) and Platform (P) chain transactions.
  • Provides an API allowing easy exploration of the index.
  • Engineered from the ground up with reliability at high scale in mind. Ortelius works with best-in-class backing services and is built to scale horizontally as the network grows.

Quick Start with Standalone Mode

The easiest way to get started to is try out the Docker Compose-based standalone mode. Using the standalone backing services, such as Kafka and MySQL, is not suitable for large production setups that need to scale out individual clusters, but it allows you to quickly get the pipeline up and working.

Ensure you have Docker and Docker Compose installed and then run:

git clone https://github.com/ava-labs/ortelius.git $GOPATH/github.com/ava-labs/ortelius
cd $GOPATH/github.com/ava-labs/ortelius
make dev_env_start
make standalone_run

The API should now be available at http://localhost:8080 which can be verified with with cURL:

curl http://localhost:8080/X/transactions

On the first run it will take a few minutes for Gecko to connect to sync to the network and ingest all the historical data.

Production Deployment

For a production deployment see the deployment page which enumerates the individual components and provides information on how to set them up for a production environment.

Directories

Path Synopsis
cmds
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL