Home

Awesome

UoIndexer

OoIndexer is an EIP-4337 UserOperation indexer.Currently, UoIndexer is still in BETA. Please use it at your own risk.

UoIndexer currently supports two kinds of database storage:

  1. RocksDB
  2. MongoDB

Supported chain

ChainNamechain id
Ethereum1
Goerli5

More chains will be supported later.

Prerequisites

  1. Clang
  2. LLVM
  3. rust cargo

Install

cargo install --git https://github.com/zsluedem/UoIndexer

How to use it

Using RocksDB

uoindexer --rpc-url https://eth-mainnet.g.alchemy.com/v2/api-key --chain-id 1 rocks-db ./.local/rocksdb

Using MongoDB

Assuming you have a MongoDB instance running at localhost:27017:

uoindexer --rpc-url https://eth-mainnet.g.alchemy.com/v2/api-key --chain-id 1 mongo-db mongo-db mongodb://root:example@localhost:27017/