Analyzes which DeFi protocols Safe wallets interact with most using Dune Analytics data. Gets real transaction data and matches protocols with DeFiLlama for verified information and metadata.
- Install dependencies:
npm install- Copy environment file and add your Dune API key:
cp env.example .env
# Edit .env and add your DUNE_API_KEY- Build the project:
npm run buildRun the analyzer:
npm startYou'll be prompted to choose:
- 1 month - Fast analysis of recent activity
- 5 years - Comprehensive historical analysis
- Custom range - Specify your own timeframe (1-60 months)
The tool generates three files:
safe-protocols-analysis.json- Final filtered resultssafe-protocols-pre-filtering.json- All protocols before filteringsafe-protocols-raw-dune-results.json- Raw Dune query results
Results are also displayed in a formatted table showing protocol rankings by transaction volume.