Developer Hub

Everything you need to build with ChainNox. Comprehensive APIs, SDKs in 9+ languages, and free integration support.

Quick Start Guide

1

Get API Keys

Sign up for a ChainNox account and generate your API keys from the dashboard.

Create Account →
2

Install SDK

Choose your preferred language and install the ChainNox SDK using your package manager.

View SDKs →
3

Make Your First Call

Follow our tutorials to make your first API call and start integrating.

API Reference →

Official SDKs & Integrations

12 integration options for every platform. Secure iframe widgets for frontend, server-side SDKs for backend, and mobile SDKs for iOS/Android.

🌐
Frontend

iframe Widgets

Secure widget integration via iframe

Get SDK
🟢
Backend

Node.js

Server-side SDK for backend operations

Get SDK
🐍
Backend

Python

Python SDK for server-side integration

Get SDK
🐘
Backend

PHP

PHP SDK for server-side integration

Get SDK
💎
Backend

Ruby

Ruby SDK for server-side integration

Get SDK
Backend

Java

Java SDK for enterprise applications

Get SDK
🔷
Backend

Go

Go SDK for high-performance backends

Get SDK
💠
Backend

C#

.NET SDK for Windows/Azure apps

Get SDK
🍎
Mobile

Swift

iOS SDK for Apple platforms

Get SDK
🤖
Mobile

Kotlin

Android SDK for mobile apps

Get SDK
🦋
Mobile

Flutter

Cross-platform SDK for Flutter

Get SDK
⚛️
Mobile

React Native

React Native SDK for mobile apps

Get SDK

All SDKs Include

Production Ready

Battle-tested, reliable, and scalable

Well Documented

Complete docs with code examples

Open Source

MIT licensed, available on GitHub

Integration Examples

🟢 Node.js Backend SDK

server.js
// Install: npm install @chainnox/sdk-node

import ChainNox from '@chainnox/sdk-node';

const chainnox = new ChainNox({
  apiKey: process.env.CHAINNOX_API_KEY,
  environment: 'production'
});

// 1. Create a wallet for user
const wallet = await chainnox.wallets.create({
  userId: 'user_123',
  blockchain: 'ethereum',
  label: 'User Main Wallet'
});

console.log(wallet.address); // 0x742d35Cc6634C0532925a3b...

// 2. Request crypto withdrawal
const withdrawal = await chainnox.withdrawals.create({
  userId: 'user_123',
  amount: '0.5',
  currency: 'ETH',
  toAddress: '0x742d35Cc6634C0532925a3b...',
  network: 'ethereum'
});

// 3. Handle deposit notification (webhook)
app.post('/webhook/deposit', async (req, res) => {
  const event = chainnox.webhooks.verify(req.body, req.headers);
  
  if (event.type === 'deposit.completed') {
    const { userId, amount, currency, txHash } = event.data;
    await creditUserBalance(userId, amount, currency);
    console.log(`Deposit received: ${amount} ${currency}`);
  }
  
  res.sendStatus(200);
});

🌐 Widget Integration (iframe)

Secure iframe integration - No API keys required in frontend. All requests are authenticated via JWT and CORS validation on our servers.

index.html
<!-- Multi-Chain Wallet Widget -->
<iframe
  src="https://widgets.chainnox.com/wallet?userId=user_123"
  width="100%"
  height="600"
  frameborder="0"
  allow="clipboard-write"
  sandbox="allow-scripts allow-same-origin allow-forms"
></iframe>

<!-- Deposit Widget with QR Code -->
<iframe
  src="https://widgets.chainnox.com/deposit?userId=user_123&currencies=BTC,ETH,USDT"
  width="400"
  height="500"
  frameborder="0"
></iframe>

<!-- Withdrawal Widget -->
<iframe
  src="https://widgets.chainnox.com/withdraw?userId=user_123"
  width="400"
  height="600"
  frameborder="0"
></iframe>

<!-- Listen to widget events via postMessage -->
<script>
  window.addEventListener('message', (event) => {
    if (event.origin !== 'https://widgets.chainnox.com') return;
    
    // Handle widget events
    if (event.data.type === 'wallet_created') {
      console.log('Wallet address:', event.data.address);
    }
    
    if (event.data.type === 'deposit_received') {
      console.log('Deposit:', event.data.amount, event.data.currency);
    }
  });
</script>

API Reference

Create Wallet

POST
/api/v1/wallets

Request Withdrawal

POST
/api/v1/withdrawals

Get Deposit Address

GET
/api/v1/deposits

Webhook Events

POST
/api/v1/webhooks

Need Help?

Our developer support team is here to help you succeed. Get free integration assistance, code reviews, and technical guidance.