Overview
ZKScore is a decentralized reputation system that calculates on-chain reputation scores across multiple categories. This guide will help you get started with ZKScore.What is ZKScore?
ZKScore aggregates on-chain activity across 8 categories to create a comprehensive reputation score (0-1000):- DeFi (20%): Lending, borrowing, liquidity provision
- NFT (15%): Trading, collecting, creation
- Social (10%): Community engagement
- Trading (20%): Trading performance
- Governance (10%): DAO participation
- Gaming (10%): Gaming achievements
- Identity (10%): Verification level
- Trust (5%): Attestations received
Quick Start
1. Get an API Key
- Visit app.onzks.com
- Connect your wallet
- Create an API key
- Copy your API key for use in applications
2. Install SDK
3. Basic Usage
Identity System
ZKS IDs
ZKScore uses human-readable identifiers called ZKS IDs (e.g.,alice.zks) that automatically resolve to wallet addresses.
Minting Identity
Activating Identity
Score System
Getting Scores
Score Categories
Achievement System
Getting Achievements
Claiming Achievements
Trading Data
Trading Statistics
Trading Leaderboard
Trust Layer
Attestations
Error Handling
Common Errors
Best Practices
- Always Handle Errors: Implement proper error handling
- Use ZKS IDs: Prefer ZKS IDs over wallet addresses
- Cache Data: Cache frequently accessed data
- Monitor Rate Limits: Stay within API rate limits
- Test Thoroughly: Test with different user scenarios