Metadata-Version: 2.1
Name: defi-risk-scanner
Version: 0.1.0
Summary: DeFi token and approval risk scanner — detect honeypots, rug pulls, and excessive approvals
Home-page: https://github.com/defi-risk-alliance/defi-risk-scanner
Author: DeFi Risk Alliance
Author-email: risk@defi-risk-alliance.io
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Security
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# defi-risk-scanner

DeFi token and approval risk scanner. Detect honeypots, rug pulls,
and excessive token approvals.

## Installation

```bash
pip install defi-risk-scanner
```

## Usage

```python
from defi_risk_scanner import detect_honeypot, scan_token_approvals

risk = detect_honeypot('0xTokenAddress')
print(risk['is_honeypot'], risk['risk_score'])

approvals = scan_token_approvals('0xTokenAddress')
for a in approvals:
    print(a['spender'], a['risk'])
```

## Features

- Honeypot detection via on-chain analysis
- Token approval scanning
- Rug-pull indicator flags
- Risk scoring (0–100)
