Skip to content

This tool actively listens to events from a specific smart contract and securely stores the event data into a PostgreSQL database - efficient and open-source

Notifications You must be signed in to change notification settings

protocolwhisper/eth-watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eth-watch 🔍 🌐

Introduction 📖

eth-watch is a robust tool built with Rust 🦀 that provides the ability to listen and index Ethereum smart contract events. It leverages the potent decoding capabilities of the eth-rs library, offering a seamless way to query smart contract events.

Key Features 🔑

  • Event Listening 👂 : eth-watch starts to listen for all events from a specified smart contract.
  • Indexing 📁 : All smart contract events are indexed in a Postgres database, simplifying data retrieval and manipulation.
  • Querying 🔎 : With the data indexed in Postgres, querying for specific events or conditions becomes a straightforward task.
  • Rust Power 💪 : By leveraging Rust's performance and memory safety features, eth-watch provides a reliable and efficient solution for smart contract event handling.

How it works 🔧

The project utilizes the eth-rs library for interacting with the Ethereum blockchain and for decoding smart contract events. These events are then stored in a Postgres database for easier querying.

To-Do 📝

  • Get events from ABI
  • Listen to smart contract logs
  • Decode logs for event signatures

Stay Tuned 📡

This is a learning project and currently under active development 👷 . More features will be added as the project progresses. Contributions and suggestions are welcome! ❤️

About

This tool actively listens to events from a specific smart contract and securely stores the event data into a PostgreSQL database - efficient and open-source

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages