Skip to main content

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

  1. Visit app.onzks.com
  2. Connect your wallet
  3. Create an API key
  4. 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

  1. Always Handle Errors: Implement proper error handling
  2. Use ZKS IDs: Prefer ZKS IDs over wallet addresses
  3. Cache Data: Cache frequently accessed data
  4. Monitor Rate Limits: Stay within API rate limits
  5. Test Thoroughly: Test with different user scenarios

Next Steps