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

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 →
W3

Web3 SDK

Blockchain

Multi-chain Web3 integration for blockchain licensing.

npm install @licensechain/web3-sdk
GitHub →
ETH

Ethereum SDK

Blockchain

Ethereum blockchain integration for license management.

npm install @licensechain/ethereum-sdk
GitHub →
POL

Polygon SDK

Layer 2

Polygon Layer 2 integration with ultra-low fees.

npm install @licensechain/polygon-sdk
GitHub →
SOL

Solana SDK

Blockchain

High-performance Solana blockchain integration.

npm install @licensechain/solana-sdk
GitHub →
NFT

NFT SDK

Blockchain

NFT-powered licensing across multiple blockchains.

npm install @licensechain/nft-sdk
GitHub →
DEF

DeFi SDK

Blockchain

DeFi protocol integration for license trading and staking.

npm install @licensechain/defi-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

AN

Android SDK

Kotlin

Android/Kotlin SDK for mobile applications.

Gradle: com.licensechain:licensechain-android-sdk
GitHub →
iOS

iOS SDK

Swift

iOS/Swift SDK for iPhone and iPad apps.

CocoaPods: pod 'LicenseChain'
GitHub →
OSX

macOS SDK

Swift

macOS/Swift SDK for desktop applications.

CocoaPods: pod 'LicenseChain'
GitHub →
UN

Unity SDK

Game Dev

Unity SDK for game development.

Unity Package Manager
GitHub →
LU

Luau SDK

Roblox

Luau SDK for Roblox game development.

Wally: licensechain/licensechain-luau-sdk
GitHub →

Integration Tools

DC

Discord Bot

Bot

Discord bot for license management and support.

GitHub →
TG

Telegram Bot

Bot

Telegram bot for license management and support.

GitHub →
SA

Seller API

API

Advanced seller management and analytics API.

GitHub →
CP

Customer Panel

Web UI

Web-based customer license management interface.

GitHub →

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
GET /v1/health Health check
POST /v1/auth/login User login
POST /v1/auth/register User registration
GET /v1/apps List applications
POST /v1/apps Create application
GET /v1/licenses List licenses
POST /v1/licenses/verify Verify license
GET /v1/webhooks List webhooks
POST /v1/webhooks Create webhook
GET /v1/analytics Get analytics

✅ 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)