Skip to main content

Table of Contents

Module spoon_ai.bridge.eth_neofs_indexer

Ethereum to NeoFS/IPFS Event Indexer Listens to ERC-8004 registry events and ensures off-chain storage is synchronized

EthereumNeoFSIndexer Objects​

class EthereumNeoFSIndexer()

Event indexer that syncs Ethereum registry events to NeoFS/IPFS Ensures content hash verification and storage consistency

register_event_handler​

def register_event_handler(event_name: str, handler: Callable)

Register custom event handler

start_indexing​

def start_indexing(block_limit: Optional[int] = None)

Start indexing events

Arguments:

  • block_limit - Optional block limit for testing (stops after N blocks)

stop_indexing​

def stop_indexing()

Stop the indexer

get_indexer_status​

def get_indexer_status() -> Dict

Get current indexer status