Cardano
  • Welcome
  • Cardano Indexer
    • Introduction
    • Installation
    • Getting Started
    • Usage
    • Screenshots
  • Cardano Libs
    • Introduction
    • Installation
    • Getting Started
    • Usage
  • Cardano Local Private Cluster
    • Getting Started
  • Experimentations and Notes
    • CSL and Ogmios
    • Metadata Server
  • Cardano Unity Wallet
    • Introduction
    • Installation
    • Getting Started
    • Usage
    • Screenshots
  • Cardano Vault
    • Installation
    • Usage
Powered by GitBook
On this page

Was this helpful?

  1. Cardano Indexer

Installation

Using Docker, the quickest and easiest way to launch the basic setup is using the provided docker-compose.yml.

The Backend is built using Deno.

The system requires:

  • The Indexer

    • Kafka producer

    • MongoDB (to track the cursor / tip of the indexer)

  • The Processor

    • MongoDB (to store the blocks of interested)

  • Prometheus (Optional)

    • To track the metrics

  • Ogmios + Cardano Node (Will take a while to sync from the genesis)

    • To sync the chain

git clone https://github.com/studiowebux/cardano-indexer.git
cd cardano-indexer/
sudo mkdir app/monitoring/prometheus/data/
sudo chown 999:999 -R app/monitoring/prometheus/data/
docker compose build
docker compose up -d

It took around 3 hours to reach the tip on my local machine (while scanning 5 wallet addresses and storing the whole block in mongoDB)

Compatibility

I built the whole thing on a local private cluster. Then without any changes I ran it on the mainnet without issues (be sure to have a stable Ogmios instance otherwise it might hang without any apparent reason).

PreviousIntroductionNextGetting Started

Last updated 8 months ago

Was this helpful?

The link to the local private cluster:

https://github.com/studiowebux/cardano-private-node