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
NodeJS SDK
Server-side
Official Node.js SDK for server-side applications.
npm install licensechain-node-sdk
JavaScript SDK
Universal
Universal JavaScript SDK for browsers and Node.js.
npm install licensechain-js-sdk
Web3 SDK
Blockchain
Multi-chain Web3 integration for blockchain licensing.
npm install @licensechain/web3-sdk
Ethereum SDK
Blockchain
Ethereum blockchain integration for license management.
npm install @licensechain/ethereum-sdk
Polygon SDK
Layer 2
Polygon Layer 2 integration with ultra-low fees.
npm install @licensechain/polygon-sdk
Solana SDK
Blockchain
High-performance Solana blockchain integration.
npm install @licensechain/solana-sdk
NFT SDK
Blockchain
NFT-powered licensing across multiple blockchains.
npm install @licensechain/nft-sdk
DeFi SDK
Blockchain
DeFi protocol integration for license trading and staking.
npm install @licensechain/defi-sdk
Backend Language SDKs
Python SDK
3.8+ Support
Python SDK with async support, comprehensive error handling, and seamless integration with popular frameworks.
Go SDK
High Performance
High-performance Go SDK for license validation.
go get github.com/licensechain/LicenseChain-Go-SDK
Rust SDK
Memory Safe
Memory-safe Rust SDK for license management.
cargo add licensechain
Ruby SDK
Rails & Ruby
Ruby SDK for Rails and Ruby applications.
gem install licensechain_ruby_sdk
PHP SDK
7.4+ Support
PHP SDK with Composer support, Laravel integration, and PSR-4 autoloading.
Java SDK
Spring Boot
Java SDK for Spring Boot and Java applications.
Maven: com.licensechain:licensechain-java-sdk
Mobile & Desktop SDKs
Android SDK
Kotlin
Android/Kotlin SDK for mobile applications.
Gradle: com.licensechain:licensechain-android-sdk
macOS SDK
Swift
macOS/Swift SDK for desktop applications.
CocoaPods: pod 'LicenseChain'
Luau SDK
Roblox
Luau SDK for Roblox game development.
Wally: licensechain/licensechain-luau-sdk
Integration Tools
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
/v1prefix handling - Connection to
https://api.licensechain.app - Comprehensive error handling
- Retry logic with exponential backoff
- Type-safe interfaces (where applicable)