zsluedem / UoIndexer

UserOperation Indexer for EIP4337

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ChainName chain id
Ethereum 1
Goerli 5

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/

About

UserOperation Indexer for EIP4337


Languages

Language:Rust 100.0%