Introduction

After the Indexer has gathered and stored raw on-chain data (transactions and logs), the Parser takes over. Its job is to interpret and classify each transaction, extract important details, and enrich the data with context that raw blockchain records alone don’t provide.

Why Parsing Matters

  • Meaningful Classification: Distinguish simple transfers from swaps, liquidity provisions, bridging transactions, or other DeFi actions.

  • Domain-Specific Insights: For example, identifying which tokens are swapped, which bridges are used, or which liquidity pool a transaction interacts with.

  • Foundation for Reputation Scores: The information extracted here forms the backbone of how Openrep calculates on-chain reputation.

Open-Source Parsing Logic

The Parser is an open-source component, and its repository is publicly available here. This allows dApp developers and community members to:

  • Contribute New Parsers: If your dApp or protocol emits specific events or performs custom actions, you can add or modify parsing logic to capture those details.

  • Improve Existing Parsers: Optimize or extend current parser modules for better performance or broader coverage.

In other words, if your dApp has unique behavior or your community wants more granular metrics, you can directly integrate or modify parser logic to support your use case—making Openrep’s reputation framework even more robust and comprehensive.


That’s it for the high-level introduction. Next, we’ll dive into how the Parser works—from filtering relevant transactions to extracting detailed metadata for each recognized on-chain action.

Last updated