Official SDKs
CrowdProof provides official SDKs for 6 languages. Each SDK wraps the REST API with idiomatic patterns, typed responses, and built-in retry logic.
Available SDKs
| Language | Package | Install |
|---|---|---|
| TypeScript | @crowdproof/sdk | npm install @crowdproof/sdk |
| Python | crowdproof | pip install crowdproof |
| Go | crowdproof-go | go get github.com/crowdproof/crowdproof-go |
| C# | CrowdProof.SDK | dotnet add package CrowdProof.SDK |
| Java | crowdproof-java | Maven / Gradle |
| Swift | CrowdProofSDK | Swift Package Manager |
Common Features
All SDKs share a consistent feature set:
- Typed responses — Score, Proof, DID, Dispute objects with full type safety
- Automatic retries — Exponential backoff on
429and5xxerrors - Rate limit awareness — Reads
Retry-Afterheaders - API key injection — Pass once at init, included in every request
- Error hierarchy — Base
CrowdProofErrorwith typed subclasses per HTTP status
Quick Comparison
// TypeScript
const score = await client.getScore('0x1234...', 'DEFI_LENDING');
# Python
score = client.get_score("0x1234...", "DEFI_LENDING")
// Go
score, err := client.GetScore(ctx, "0x1234...", "DEFI_LENDING")
// C#
var score = await client.GetScoreAsync("0x1234...", "DEFI_LENDING");
// Java
Score score = client.getScore("0x1234...", "DEFI_LENDING");
// Swift
let score = try await client.getScore("0x1234...", category: .defiLending)
Source Code
All SDKs are open source under the MIT license: