VoidAI SDK
The VoidAI SDK enables seamless cross-chain bridging between Bittensor, EVM chains (Ethereum & Base), and Solana networks. It provides a unified interface for both frontend (browser) and backend (server) applications.
Architecture Overview
Section titled “Architecture Overview”The VoidAI Bridge ecosystem is built around three core capabilities:
| Component | Description |
|---|---|
| Bridge | Bidirectional asset transfers between Bittensor (TAO / Alpha) and EVM chains (Ethereum). |
| Swap | On-chain swapping of wrapped tokens (e.g. wTAO ↔ wALPHA) on Ethereum. |
| CCIP | Cross-chain transfers from Ethereum to supported chains — currently Base, with Solana and others planned. |
Quick Start
Section titled “Quick Start”Fill in the Tenant Request Form: Once admin approves you can get your VoidAI Bridge API key from the SDK Tenant Utility.
NPM Package: https://www.npmjs.com/package/@voidaisdk/bridge-sdk; Once the package is installed follow the below steps to initialize the SDK.
import { BridgeSDK } from '@voidaisdk/bridge-sdk';
const sdk = new BridgeSDK({ apiKey: 'YOUR_API_KEY', environment: 'mainnet',});
await sdk.ready;console.log('SDK Ready!');Documentation
Section titled “Documentation” Getting Started Installation, authentication, and configuration.
Wallet Integration Connecting Bittensor, EVM, and Solana wallets.
Bridge Operations Core cross-chain bridging for TAO and Alpha.
Router Swaps Token swaps via the VoidAI Router.
CCIP Routing Cross-chain transfers using Chainlink CCIP.
Transactions Track history, cancel, and confirm transactions.
Server-Side Usage Backend integration with BridgeSDKServer.
API Reference Full method and type definitions reference.
FAQ Frequently asked questions.
Error Handling Common errors and troubleshooting guide.
Future Roadmap
Section titled “Future Roadmap”The VoidAI SDK is continuously evolving. Planned features include:
| Feature | Status | Description |
|---|---|---|
| Automated Fee Claiming | 🔜 Planned | Programmatic claiming of accumulated tenant fees. Currently manual via Admin Portal. |
| Enhanced Swap Engine | 🔜 Planned | A more efficient version of the swap routing logic. |
| Expanded CCIP Support | 🔜 Planned | Additional destination chains including Solana, plus route optimizations. |
| Advanced Route Optimization | 🔜 Planned | Smarter routing for complex multi-hop cross-chain paths. |