hydra
v3
v3
  • Hydra
  • Hydra CLI
  • Hydra Indexer
  • Hydra Indexer Gateway
  • Hydra Processor
  • Hydra Typegen
  • Overview
    • Query Node Manifest
    • Graphql Queries
    • Pagination
    • Sorting
    • Mappings
      • Context interfaces
      • Mapping Filters
      • Mapping Types
    • Schema
      • The Goodies
      • Entities
      • Enums
      • Interfaces
      • Algebraic types
      • Full-text queries
      • Entity Relationships
      • Cross filtering
      • Variant relations
    • Architecture
  • Install Hydra
  • Migration to Hydra v2
  • What's new in Hydra v3
  • FAQ
  • Quickstart
Powered by GitBook
On this page
  • Installation
  • Local development
  • Production/Docker

Was this helpful?

Hydra Indexer Gateway

PreviousHydra IndexerNextHydra Processor

Last updated 4 years ago

Was this helpful?

Hydra Indexer Gateway is a GraphQL server exposing the indexed Substrate data (primarily, extrinsics and events), indexed by Hydra Indexer.

Installation

The project is built using library.

Local development

For local development, first inspect env.yml and generate a dev .env file using run yarn config:dev. Then the server can be run with yarn start:dev

Production/Docker

For production a pre-built Docker image in recommended. The following environment variables must be set:

Variable

Description

WARTHOG_STARTER_DB_DATABASE

Indexer database name

WARTHOG_STARTER_DB_HOST

Indexer database host

WARTHOG_STARTER_DB_PORT

Indexer database port

WARTHOG_STARTER_DB_USERNAME

User to access the indexer database

WARTHOG_STARTER_DB_PASSWORD

User password

WARTHOG_STARTER_REDIS_URI

Redis connection string (must be the same as used by the Indexer)

PORT

Port at which the GraphQL server will listen for connections

Warthog