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).

The link to the local private cluster: https://github.com/studiowebux/cardano-private-node

Last updated

Was this helpful?