Quick Start

Get OECsplorer running locally in under 5 minutes.

Prerequisites

Installation

# Clone the repository
git clone https://github.com/Oeconomia2025/oecsplorer.git
cd oeconomia-explorer

# Install dependencies
npm install

# Copy environment template
cp .env.example .env

Configure Environment

Edit .env with your credentials:

Database Setup

Start Development Server

circle-check

Backfill Historical Data

The explorer starts with an empty database. Run the backfill script to index the last 30 days of transactions across all protocol contracts:

The backfill runs in three phases:

  1. Phase 1: getAssetTransfers for each contract (inbound + outbound)

  2. Phase 1.5: contractAddresses filter for cross-contract token transfers

  3. Phase 2: eth_getLogs scan in 10-block chunks

circle-exclamation

Production Build

Last updated