SDKs & Libraries

Official SDKs and community libraries for easy integration

Official SDKs

MintMove provides official SDKs for popular programming languages to simplify API integration. These SDKs handle authentication, request signing, error handling, and provide type-safe interfaces.

JavaScript / Node.js

Official TypeScript/JavaScript SDK for Node.js and browser environments

Official

Installation

npm install mintmove-api

Usage Example

const { MintMoveAPI } = require('mintmove-api');

const client = new MintMoveAPI({
  apiKey: 'your_api_key',
  apiSecret: 'your_api_secret'
});

// Get exchange rate
const rate = await client.getRate({
  from: 'BTC',
  to: 'USDT',
  amount: 0.1
});

// Create order
const order = await client.createOrder({
  from: 'BNB',
  from_network: 'BEP20',
  to: 'USDT',
  to_network: 'ERC20',
  amount: 1.202887,
  rate_type: 'fixed',
  destination: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb'
});

console.log('Order ID:', order.order_id);

Python

Official Python SDK with full type hints and async support

Official

Installation

pip install mintmove-api

Usage Example

from mintmove import MintMoveAPI

client = MintMoveAPI(
    api_key='your_api_key',
    api_secret='your_api_secret'
)

# Get exchange rate
rate = client.get_rate(
    from_currency='BTC',
    to_currency='USDT',
    amount=0.1
)

# Create order
order = client.create_order(
    from_currency='BNB',
    from_network='BEP20',
    to_currency='USDT',
    to_network='ERC20',
    amount=1.202887,
    rate_type='fixed',
    destination='0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb'
)

print(f'Order ID: {order.order_id}')

PHP

Official PHP SDK with PSR standards compliance

Official

Installation

composer require mintmove/mintmove-php

Usage Example

<?php
require 'vendor/autoload.php';

use MintMove\MintMoveAPI;

$client = new MintMoveAPI([
    'api_key' => 'your_api_key',
    'api_secret' => 'your_api_secret'
]);

// Get exchange rate
$rate = $client->getRate([
    'from' => 'BTC',
    'to' => 'USDT',
    'amount' => 0.1
]);

// Create order
$order = $client->createOrder([
    'from' => 'BNB',
    'from_network' => 'BEP20',
    'to' => 'USDT',
    'to_network' => 'ERC20',
    'amount' => 1.202887,
    'rate_type' => 'fixed',
    'destination' => '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb'
]);

echo 'Order ID: ' . $order['order_id'];
?>

SDK Features

  • Automatic Authentication - Handles signature generation and header management automatically
  • Type Safety - Full type definitions and IDE autocomplete support
  • Error Handling - Consistent error handling with detailed error messages
  • Rate Limit Management - Built-in rate limit tracking and automatic retry with backoff
  • Request Validation - Validates request parameters before sending
  • Webhook Support - Built-in webhook signature verification

Community Contributions

All official SDKs are open-source and hosted on GitHub. We welcome community contributions, bug reports, and feature requests.

  • Open Source - All SDKs are MIT licensed and available on GitHub
  • Issue Tracking - Report bugs and request features through GitHub Issues
  • Pull Requests - Contributions are welcome! Please read our contributing guidelines
  • Documentation - Each SDK includes comprehensive documentation and examples

Unofficial Libraries

Community-maintained libraries for other languages. These are not officially supported by MintMove, but may be useful for your needs:

  • Go / Golang - Community maintained Go client library
  • Ruby - Ruby gem for MintMove API
  • Rust - Rust crate for API integration
  • Java - Java client library

Note: Unofficial libraries may not be up-to-date with the latest API changes. Use at your own discretion.