The open-source, decentralized alternative to commercial chain indexers. Index blocks into a zero-config local SQLite database and run read-only SQL over transactions, logs, and blocks - with EVM-native functions for U256 math, ERC20 amounts, ENS, and live USD pricing. You own the data, on any of 2k+ EVM chains.
SELECT format_usd(convert_usd(
u256_sum(u256_mul(gas_used, effective_gas_price)),
{NATIVE_TOKEN_PRICE()})) AS gas_spent
FROM transactions
WHERE from_address = {RESOLVE_ENS("jaredfromsubway.eth")}
Plain SQLite cannot sum U256 values. mevlog adds the missing pieces: 256-bit math, ERC20 decoding, and display helpers that turn raw wei into readable ETH, gwei, and live USD prices. Aggregate, sort, and surface outliers - the biggest gas spenders, the top USDC transfers, or what jaredfromsubway.eth paid in gas today.
No hosted API, no rate limits, no per-request billing. Index blocks into a local SQLite database that never leaves your machine. The web demo runs Ethereum mainnet; the mevlog-rs CLI works against any ChainList chain or your own node.
Powered by the MIT-licensed Rust crate mevlog-rs. The same query engine runs in the web demo and the CLI.
mevlog.rs is an open-source, decentralized alternative to commercial EVM chain indexers. Instead of paying for a hosted API, you index blocks into a local SQLite database and query them with SQL - no account, no rate limits, no per-request billing. You own the data, it never leaves your machine, and it works against any EVM chain or your own node. It's powered by the mevlog-rs CLI. You can read about the origin of the project on my blog.
The web demo indexes Ethereum mainnet over public RPCs sourced from ChainList, and the Rust CLI is instrumented by the hotpath.rs profiler. The project received an ENS PG Builder Grant which helped me implement the web interface and ChainList integration.