This monorepo contains:
indexer/
— Envio HyperIndex project indexing USDT (Tether) and USDC (FiatTokenProxy) blacklist events, with Effect API + viem to fetch latest balances.ui/
— Next.js app that displays totals and top blacklisted addresses with a terminal-like UI.
- Node.js v20
- pnpm
- Docker Desktop (for running HyperIndex locally)
- Install deps
cd indexer
pnpm install
- Generate types (after any schema/config change)
pnpm codegen
- Type check (after any TS change)
pnpm tsc --noEmit
- Run the indexer (local Hasura UI at http://localhost:8080)
TUI_OFF=true pnpm dev
Environment variables:
ENVIO_RPC_URL
— HTTPS mainnet RPC for viem (used by Effect API)
Documentation: see HyperIndex Complete Documentation: https://docs.envio.dev/docs/HyperIndex-LLM/hyperindex-complete
cd ui
pnpm install
pnpm dev
Environment variables:
HASURA_GRAPHQL_ENDPOINT
(optional; defaults tohttp://localhost:8080/v1/graphql
)
- Balances are fetched at latest chain state. Blacklisted addresses cannot receive new tokens post-blacklisting; balances may decrease due to administrative actions (e.g., USDT DestroyedBlackFunds).