https://github.com/bitman310/dune-analytics
Dune Analytics: A collection of SQL queries and interactive dashboards created on Dune for analyzing blockchain data, including DeFi protocols, NFTs, token transfers, and DAO activities.
https://github.com/bitman310/dune-analytics
blockchain defi-protocols dune dune-analytics nfts sql-queries
Last synced: 11 months ago
JSON representation
Dune Analytics: A collection of SQL queries and interactive dashboards created on Dune for analyzing blockchain data, including DeFi protocols, NFTs, token transfers, and DAO activities.
- Host: GitHub
- URL: https://github.com/bitman310/dune-analytics
- Owner: bitman310
- Created: 2024-11-30T21:34:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-30T21:35:56.000Z (over 1 year ago)
- Last Synced: 2025-03-31T23:37:57.822Z (12 months ago)
- Topics: blockchain, defi-protocols, dune, dune-analytics, nfts, sql-queries
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dune-Analytics
A collection of SQL queries and interactive dashboards created on Dune for analyzing blockchain data, including DeFi protocols, NFTs, token transfers, and DAO activities.
## Features
- Prebuilt queries for DeFi, NFT, and DAO analytics.
- Dashboards to visualize key metrics and trends.
- Supports Ethereum and other EVM-compatible chains.
- Easy-to-modify SQL queries for custom insights.
## Dashboards
Explore the dashboards on Dune:
- [DeFi Analytics](https://dune.com/yourusername/defi-dashboard)
- [NFT Market Trends](https://dune.com/yourusername/nft-dashboard)
- [DAO Governance Insights](https://dune.com/yourusername/dao-dashboard)
## How to Use
1. Visit the respective dashboard link above.
2. Fork or modify the queries to suit your use case.
3. Visualize data and export results as needed.
## Query Examples
### Total Volume on Uniswap
```sql
SELECT
date_trunc('day', block_time) AS day,
SUM(volume_usd) AS total_volume
FROM
swaps
WHERE
platform = 'Uniswap'
GROUP BY
day
ORDER BY
day;
```
### Active Wallets in the Last 7 Days
```sql
SELECT
COUNT(DISTINCT wallet_address) AS active_wallets
FROM
transactions
WHERE
block_time >= current_date - interval '7 days';
```