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

Introduction

PreviousWelcomeNextInstallation

Last updated 8 months ago

Was this helpful?

Github repository:

  • Retrieves all blockchain blocks and saves them in a database for later use or processing.

  • Use cases: Tracking wallet addresses or policy IDs for automated actions, or creating off-chain systems requiring on-chain data.

Components:

  1. Indexer: Connects to Ogmios via Typescript client over websocket.

    • Accepts filters (currently wallet address or policy ID are implemented, but easily extensible).

    • Sends blocks of interest to Kafka queue based on filter matches.

  2. Processor:

    • Processes block data sequentially from Kafka queue.

    • Applies appropriate recipe based on received filter ID.

In simpler terms, the indexer collects relevant blockchain data and sends it for processing when specific conditions are met. The processor then uses these inputs to run operations defined by the user's filters.

The scope and reason of this project is to learn all the subtility of how Cardano operates and the effort required to build a project on Cardano.

https://github.com/studiowebux/cardano-indexer/