Analytics dashboard for ERC-8021 Builder Code attribution on Base mainnet, built for indie builders who want to see which transactions their apps generate.
Also available as a Farcaster Mini App.
- Search any Builder Code (
bc_xxxxxxxx) and view its stats, no wallet required - Top Builder Codes leaderboard for Base mainnet
- Per-code metrics: all-time, 7-day and 30-day transaction counts, unique senders and total gas, aggregated server-side for exact numbers
- Daily transaction chart for the last 30 days and a recent transactions table with Basescan links
- Wallet connect to auto-detect codes you own, plus a demo mode with sample data
Transactions carrying an ERC-8021 calldata suffix are indexed into a Supabase Postgres database. The frontend queries pre-aggregated materialized views through Supabase RPCs (get_code_stats, get_code_daily_chart, get_top_builders), defined in sql/code_stats.sql. The UI shows the currently indexed block range so you know exactly which window the numbers cover.
- Vanilla HTML/CSS/JavaScript, single file, no build step
- ethers.js v6 for wallet connection (Base mainnet, chain id 8453)
- Chart.js 4 for the daily transaction chart
- Supabase (Postgres materialized views + RPC functions) as the data layer
- Farcaster Mini App SDK for Mini App support
- Deployed as a static site on Vercel
git clone https://github.com/memosr/codetrack.git
cd codetrack
# no dependencies to install, serve the frontend with any static server
npx serve frontend
# or
python3 -m http.server 8080 --directory frontendNo environment variables are required. The Supabase URL and publishable (anon) key are embedded in frontend/index.html; publishable keys are safe to expose client-side.
To point the app at your own Supabase project:
- Create a
transactionstable withtx_hash,from_address,gas_used,block_timestamp,block_numberand acodestext array column - Run
sql/code_stats.sqlonce in the Supabase SQL Editor - Replace the
supabaseclient constants at the top of the script infrontend/index.html
Never put private keys or secret keys in this repo. If you add a .env file for tooling, it is already covered by .gitignore.
- Attribution coverage is limited to the indexed block range shown in the UI
- Owned-code detection is currently based on a known wallet-to-code mapping in the frontend
MIT, copyright (c) 2026 memosr. See LICENSE.
