A comprehensive blockchain address analysis tool that provides detailed insights about wallet activity, DeFi interactions, and calculates a Blockchain Credit Score (300-850 range) based on on-chain behavior.
- Node.js 18+
- npm or yarn
- MetaMask browser extension (for wallet connection)
-
Clone the repository
git clone https://github.com/yluoc/DeSSN.git cd DeSSN -
Install dependencies
npm install
-
Set up environment variables
cp .env.example .env.local
Add your API keys to
.env.local:ETHERSCAN_API_KEY=your_etherscan_api_key DEBANK_API_KEY=your_debank_api_key
-
Run the development server
npm run dev
-
Open your browser Navigate to http://localhost:3000
- Visit Etherscan API
- Create a free account
- Generate an API key
- Add to
.env.localasETHERSCAN_API_KEY
- Visit DeBank API
- Sign up for Pro plan
- Get your API key
- Add to
.env.localasDEBANK_API_KEY
Note: The app works with Etherscan only (free), but DeBank provides more comprehensive data.
| Score Range | Level | Description |
|---|---|---|
| 750-850 | Excellent | Exceptional blockchain creditworthiness |
| 700-749 | Very Good | Strong DeFi participation |
| 650-699 | Good | Growing DeFi presence |
| 600-649 | Fair | Basic DeFi activity |
| 300-599 | Poor | Minimal blockchain activity |
app/
├── api/ # Next.js API routes
│ ├── credit-score/ # Credit score calculation
│ ├── debank/ # DeBank API integration
│ └── etherscan/ # Etherscan API integration
├── components/ # React components
│ ├── CreditScoreDisplay.tsx
│ ├── UserProfile.tsx
│ └── WalletConnection.tsx
├── lib/ # Utilities and providers
│ ├── providers/ # API providers
│ └── utils/ # Helper functions
└── page.tsx # Main application page
The app supports all Etherscan-compatible chains:
- Ethereum, Polygon, BSC, Arbitrum, Optimism
- Avalanche, Fantom, Gnosis, Moonbeam
- And 30+ other supported chains
- Etherscan: 5 calls/second (free tier)
- DeBank: Varies by plan
- Caching: 30-second cache to optimize performance