Skip to content

Files

This branch is 12 commits behind Anish-Agnihotri/friendmex:main.

indexer

Indexer

Indexes the FriendtechSharesV1 contract on Base for all buyShares or sellShares function calls.

Tracks:

  • All users
  • All trades
  • Statistics including:
    • Top users by token supply
    • Newest users by first seen date
    • Recent trades
    • Leaderboard by realized profit

Run locally

# Add env vars
cp .env.sample .env && vim .env

# Install dependencies
pnpm install

# Run locally
pnpm run build && pnpm run start