SDK Integration

Integrate LicenseChain into your application with our official SDKs. Available for 27+ programming languages and platforms with comprehensive documentation, type safety, and enterprise-grade features.

๐Ÿ”— API Connection

All SDKs are configured to connect to the same LicenseChain API:

  • Base URL: https://api.licensechain.app
  • Version Prefix: /v1 (automatically added by SDKs)
  • Authentication: API key or JWT token

Which SDK should I use?

Choose by platform and use case. All SDKs call the same API (including optional hwuid for verify and webhook signature verification).

  • Web / backend (Node, browser): NodeJS SDK or JavaScript SDK
  • Backend (Python, Go, Ruby, PHP, Java, C#, Rust, etc.): Use the SDK for your language in the sections below
  • Mobile: Android SDK or iOS SDK
  • Desktop: macOS SDK, or Node/Electron with NodeJS SDK
  • Games: Unity SDK (Unity), Luau SDK (Roblox)

For a full overview of tools (Dashboard, API, bots, Mirror SDK, WooCommerce Checkout), see Tools & Integrations.

JavaScript/TypeScript SDKs

JS

NodeJS SDK

Server-side

Official Node.js SDK for server-side applications.

npm install licensechain-node-sdk
GitHub โ†’
JS

JavaScript SDK

Universal

Universal JavaScript SDK for browsers and Node.js.

npm install licensechain-js-sdk
GitHub โ†’

Backend Language SDKs

PY

Python SDK

3.8+ Support

Python SDK with async support, comprehensive error handling, and seamless integration with popular frameworks.

pip install licensechain-python-sdk
GO

Go SDK

High Performance

High-performance Go SDK for license validation.

go get github.com/licensechain/LicenseChain-Go-SDK
GitHub โ†’
RS

Rust SDK

Memory Safe

Memory-safe Rust SDK for license management.

cargo add licensechain
GitHub โ†’
RB

Ruby SDK

Rails & Ruby

Ruby SDK for Rails and Ruby applications.

gem install licensechain_ruby_sdk
GitHub โ†’
PHP

PHP SDK

7.4+ Support

PHP SDK with Composer support, Laravel integration, and PSR-4 autoloading.

composer require licensechain/php-sdk
JA

Java SDK

Spring Boot

Java SDK for Spring Boot and Java applications.

Maven: com.licensechain:licensechain-java-sdk
GitHub โ†’
C#

C# SDK

.NET

C# SDK for .NET applications.

NuGet: LicenseChain.CSharp.SDK
GitHub โ†’
VB

VB.NET SDK

.NET

VB.NET SDK for .NET applications.

NuGet: LicenseChain.SDK
GitHub โ†’
PL

Perl SDK

CPAN

Perl SDK for CPAN and Perl applications.

cpan LicenseChain::SDK
GitHub โ†’
C++

C++ SDK

CMake

C++ SDK with CMake integration.

CMake integration
GitHub โ†’

Mobile & Desktop SDKs

Pay & commerce integrations

MR

Mirror SDK

Pay strict mode

Build Mirror payloads, verify redirect signatures, and validate purchases against Pay. Server-side only โ€” never expose callbackSecret in the browser.

npm install ./LicenseChain-Mirror-SDK  # or .tgz from LicenseChain
WC

WooCommerce Checkout

WordPress plugin

WooCommerce payment gateway for LicenseChain Pay. Mirror redirect, validate API, and subscription renewals via Pay.

Integration Tools

DC

Discord Bot

Bot

Discord bot for license management and support.

Docs
TG

Telegram Bot

Bot

Telegram bot for license management and support.

Docs

Customer Panel

Web UI

Web-based customer license management interface.

SDK Features

Type Safety

Full TypeScript support with comprehensive type definitions for all API endpoints and data structures.

Error Handling

Robust error handling with detailed error messages and proper HTTP status code mapping.

Async Support

Modern async/await patterns with Promise-based APIs for better performance and readability.

Retry Logic

Built-in retry mechanisms with exponential backoff for handling temporary network issues.

Offline Support

Offline license verification capabilities with local caching and validation.

Webhook Support

Built-in webhook signature verification and event handling utilities.

API Endpoints

All SDKs connect to the same API endpoints. The SDKs automatically prepend /v1 to all endpoints.

Method Endpoint Description

โœ… All SDKs Include

  • Automatic /v1 prefix handling
  • Connection to https://api.licensechain.app
  • Comprehensive error handling
  • Retry logic with exponential backoff
  • Type-safe interfaces (where applicable)