{"repo":"chaindexing/chaindexing-rs","free":true,"listed":false,"github":"https://github.com/chaindexing/chaindexing-rs","clone":"git clone https://github.com/chaindexing/chaindexing-rs.git","description":"Index any EVM chain and query in SQL","language":"Rust","stars":58,"topics":["dapps","solidity","indexer","ethereum","multichain","smart-contracts","web3","postgres","data-collection","blockchain"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"Chaindexing Embed an EVM event indexer in Rust and materialize reorg-aware contract state into Postgres. Chaindexing is for teams that want indexed blockchain data in a database they own, with ordinary SQL read paths, deterministic Rust handlers, bounded reorg repair, and production-facing controls for RPC pressure, finality, and external side effects. Quickstart Why Chaindexing Guarantees Reorg Handling Finality Policies Indexed Data Examples Production Limits Roadmap Contributing Quickstart Add Chaindexing to a Tokio Rust service: Chaindexing currently requires Rust 1.91 or newer. Ethereum types Chaindexing uses Alloy for Ethereum primitives, ABI parsing, and JSON-RPC provider types. Most applications can stay on Chaindexing's public API and use the reexported Address , I256 , and U256 types from chaindexing or chaindexing::prelude . Applications that implement a custom IngesterProvider should use Alloy RPC types in the trait methods, including alloy::rpc::types::{Block, Filter, Log} . ProviderError::CustomError(String) remains available for custom provider failures. A minimal NFT ownership indexer has three pieces: a Postgres state table, a deterministic event handler, and an indexer runtime. Define the state you want to query from Postgres: Handle the contract event that changes that state: Run the indexer against your Postgres database and JSON-RPC provider: run() owns the indexer lifecycle and blocks until Ctrl-C before shutting workers down. Services or tests that need","default_branch":null,"files":null,"tree":[],"storefront":"/r/chaindexing","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chaindexing/chaindexing-rs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}