Module provider

Module provider 

Source
Expand description

Application context and RPC provider infrastructure. Chain-agnostic application context for dependency injection

This module provides the ApplicationContext pattern for managing shared resources and dependencies across the application without circular dependencies.

§Architecture

The ApplicationContext enables riglr-core to remain chain-agnostic by using type erasure and dependency injection. Concrete blockchain implementations are injected at runtime by the application layer.

§Dependency Flow

Application Layer (creates clients)
        ↓
ApplicationContext (stores as Arc<dyn Any>)
        ↓
Tools/Workers (retrieve by type)

Structs§

ApplicationContext
Chain-agnostic context for dependency injection and resource management.