Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.13 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.13 KB

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/