Welcome
Introduction
Welcome to BRDZ SDK - the seamless way to integrate blockchain, AI, and financial services into your product. Our comprehensive SDK provides developers with powerful tools to build next-generation applications with ease.
This guide is designed to help you navigate our APIs and get started with BRDZ SDK quickly. Whether you're building a DeFi application, integrating AI-powered commerce, or creating traditional financial services, our SDK has everything you need.
What you can build with BRDZ
Send & receive payments - Move funds globally using fiat rails, stablecoins, or supported digital assets across multiple blockchains.
Virtual accounts - Instantly issue USD, EUR, and MXN deposit accounts for your users with local bank details and routing numbers.
Custody funds - Provision custodial wallets to hold stablecoin balances securely with enterprise-grade security.
Issue stablecoins - Launch your own branded stablecoins backed by real-world assets and start earning yield.
Issue cards - Provision virtual and physical cards backed by stablecoins and spend anywhere in the world with global acceptance.
Quick Start
Get started with BRDZ SDK in under 5 minutes:
Installation
npm install anantla_sdk@latest
Basic Setup
import brdzSDK from 'anantla_sdk';
// Configure SDK
const config = await brdzSDK.config;
config.setBaseUrl('https://api.brdz.link/api');
config.setApiKey('your-api-key-here');
// Authentication example
const auth = await brdzSDK.auth;
const result = await auth.loginUser('user@example.com', 'password123');
console.log('Login successful:', result.token);
API Key Setup
Generate your API key: Visit BRDZ SDK Dashboard to generate your API key.
config.setApiKey('your-generated-api-key-from-dashboard');
SDK Architecture
26 Modules, 200+ Methods
The BRDZ SDK is organized into focused modules:
Core Modules
- auth (8 methods) - User authentication and registration
- twofa (6 methods) - Two-Factor Authentication
- config (6 methods) - SDK configuration management
- utils (6 methods) - HTTP utilities and debugging
Blockchain & Crypto
- cryptoWallet (14 methods + AI) - ABSK with AI agent
- crosschain (9 methods) - Cross-chain operations
- onchain (20 methods) - Transaction execution
- cardano (9 methods) - Cardano blockchain
- xrpl (7 methods) - XRPL integration
Financial Services
- mcp (10 methods) - AI-powered commerce
- wallet (8 methods) - Wallet management
- transactions (11 methods) - Transaction history
- fx (3 methods) - Currency conversion
- visa (6 methods) - Virtual card services
Key Features
AI-Powered Operations
// Natural language wallet management
const absk = await brdzSDK.cryptoWallet;
const result = await absk.ai.chat(
"Create a new wallet for DeFi trading",
userId
);
// AI commerce with natural language
const mcp = await brdzSDK.mcp;
const order = await mcp.step1_detectIntent({
prompt: "I want to buy headphones from tokopedia.com/product-url"
});
Multi-Chain Support
// Check balance across multiple chains
const balance = await absk.balance.getTotal(walletId);
// Cross-chain transfers
const crosschain = await brdzSDK.crosschain;
const transfer = await crosschain.initiateTransfer({
from_chain: 'sepolia',
to_chain: 'amoy',
amount: '100.0',
token: 'USDC'
});
Enterprise Authentication
// Traditional login
const loginResult = await auth.loginUser('user@example.com', 'password');
// Two-Factor Authentication
if (loginResult.requires_2fa) {
const twofa = await brdzSDK.twofa;
await auth.completeLoginWith2FA(userId, '123456');
}
// Privy integration
const privy = await brdzSDK.privy;
await privy.loginWithPrivy({ privy_token: 'token' });
Development Workflow
1. Setup & Authentication
- Install SDK via NPM
- Generate API key
- Configure base URL and credentials
- Test authentication flow
2. Choose Your Integration
- Frontend: React, Next.js, Vue.js components
- Backend: Node.js, Express, serverless functions
- Mobile: React Native, Ionic integration
- Enterprise: Full-stack applications
3. Implement Features
- User authentication and session management
- Blockchain wallet operations
- Payment and transaction processing
- AI-powered business logic
4. Deploy & Scale
- Production configuration
- Error handling and monitoring
- Rate limiting and optimization
- Security best practices
Next Steps
Guides
- 📚 Installation Guide - Setup your environment guides
- 🔑 API Key Setup - Generate and configure keys guides
- 🔐 Authentication - Implement user login guides
- ⚡ Quickstart Tutorial - Build your first app guides
Popular Use Cases
- 🎯 React Integration - Frontend components examples
- 🤖 AI Wallet Management - ABSK examples
- 💰 Payment Processing - Commerce flows examples
- ⛓️ Cross-Chain Operations - Multi-blockchain examples
API Reference
Explore all 26 modules and 200+ methods in our comprehensive SDK Reference.
Support & Community
- Website: https://www.anantla.org/
- Contact: https://www.anantla.org/contact
- NPM: anantla_sdk
Copyright © 2024 Anantla Technologies. All rights reserved.