Skip to content

CharonK652302/Blockchain_Event_Decoder

Repository files navigation

Blockchain Event Decoder

Overview

This project is a multi-protocol blockchain event decoder that:

  • Processes Ethereum logs from a JSON file.
  • Identifies the protocol or token for each log using contract address mappings.
  • Maps event signatures to event names.
  • Decodes events such as Transfer, Approval, Deposit, and Withdraw.
  • Produces a structured JSON output grouped by protocol type with a human-readable summary.

Setup Instructions

Prerequisites

  • Python 3.8+
  • pip installed

Installation

  1. Clone or download this repository.
  2. Navigate to the project directory:
    cd blockchain_event_decoder

(Optional but recommended) Create a virtual environment:

3 python -m venv venvvenv\Scripts\activate # Windows

  1. pip install -r requirements.txt

5.python main.py

6.output/decoded_events.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages