riglr-events-core

Crates.ioriglr-events-core
lib.rsriglr-events-core
version0.3.0
created_at2025-09-10 19:48:02.155812+00
updated_at2025-09-10 19:48:02.155812+00
descriptionCore event processing abstractions and traits for riglr blockchain agents
homepagehttps://github.com/riglr/riglr
repositoryhttps://github.com/riglr/riglr
max_upload_size
id1832950
size333,244
J.Warp (jwarp-riglr)

documentation

https://docs.rs/riglr-events-core

README

riglr-events-core

Crates.io Documentation License: MIT

Core event processing abstractions and traits for the riglr ecosystem, providing a unified framework for blockchain event handling across multiple chains.

Overview

riglr-events-core defines the foundational event processing infrastructure used throughout riglr. It provides chain-agnostic abstractions for parsing, processing, and reacting to blockchain events with high performance and reliability.

Key Features

  • Chain-Agnostic Design: Core abstractions work across Solana, EVM, and future chains
  • Event Parser Traits: Standardized interface for implementing event parsers
  • Event Processing Pipeline: Stream-based processing with backpressure
  • Pattern Matching: Flexible event filtering and routing system
  • Performance Optimized: Zero-copy parsing where possible
  • Type Safety: Strongly typed event definitions with compile-time guarantees
  • Extensible Architecture: Easy to add new event types and chains

Quick Start

Add riglr-events-core to your Cargo.toml:

[dependencies]
riglr-events-core = "0.3.0"
riglr-core = "0.1.0"

# Optional: Enable chain-specific features
riglr-events-core = { version = "0.3.0", features = ["solana", "evm"] }

Documentation

For comprehensive documentation, architecture details, and implementation guides, see: docs/src/concepts/event-parsing.md

The documentation covers:

  • Event parser trait system
  • Processing pipeline architecture
  • Performance optimization techniques
  • Chain-specific implementations
  • Event pattern matching
  • Integration with riglr tools
  • Testing and benchmarking

License

Licensed under MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

Commit count: 209

cargo fmt