Skip to main content

What are ZKScore SDKs?

ZKScore SDKs provide easy-to-use libraries for integrating reputation scores, identity management, achievements, and trust systems into your applications. Available for JavaScript, TypeScript, and React.

JavaScript SDK

Full-featured SDK for Node.js and browser applications

React SDK

React hooks and components for building user interfaces

Key Features

🔐 Identity Management

Create and manage ZKScore identities with simple API calls:

📊 Reputation Scoring

Access comprehensive reputation scores and analytics:

🏆 Achievement System

Track and manage user achievements:

🔒 Zero-Knowledge Proofs

Generate privacy-preserving proofs:

✅ Trust Layer

Create and manage attestations:

React Integration

Using React? We have hooks for everything:

Installation

Quick Start

  1. Get your API key from the Builder Portal
  2. Install the SDK in your project
  3. Initialize with your API key
  4. Start building trust-enabled applications

SDK Architecture

Supported Platforms

Node.js

Full server-side support

Browser

Client-side applications

React

React applications

Next.js

Next.js framework

Vue.js

Vue.js applications

Angular

Angular framework

TypeScript Support

All SDKs are built with TypeScript and provide full type safety:

Error Handling

Comprehensive error handling with detailed error codes:

Performance & Caching

Built-in caching and performance optimizations:

Development Tools

TypeScript Definitions

Full TypeScript support with IntelliSense

Error Codes

Comprehensive error handling

Debug Mode

Detailed logging and debugging

Mock Data

Testing utilities and mock data

Common Use Cases

Score-Gated Access

Achievement Tracking

Privacy-Preserving Verification

Best Practices

API Key Security

Never expose API keys in client-side code

Error Handling

Always handle errors gracefully

Caching

Use appropriate cache times for your use case

Rate Limiting

Respect API rate limits

Migration Guide

From v1 to v2

Community & Support

GitHub

Source code and issues

Discord

Developer community

Documentation

Complete documentation

Examples

Code examples and tutorials

Next Steps

1

Choose Your SDK

Pick JavaScript or React SDK based on your needs Get Started →
2

Install & Configure

Install the SDK and configure with your API key Installation →
3

Build Your First App

Create your first trust-enabled application Quickstart →
4

Explore Examples

See real-world integration examples Examples →

Need help? Check out our Discord community or GitHub issues