Overview
The comprehensive JavaScript/TypeScript library for building hybrid dApps that seamlessly connect TON and EVM ecosystems
The TAC SDK is a powerful JavaScript/TypeScript library that enables frontend developers to build hybrid dApps with unprecedented ease. By abstracting the complexities of cross-chain messaging, the SDK allows you to focus on creating exceptional user experiences while handling wallet connections, transaction routing, and asset bridging automatically.
The TAC SDK bridges the gap between TON’s massive user base and EVM’s rich DeFi ecosystem, enabling developers to create applications that leverage the best of both worlds.
Core Capabilities
The TAC SDK provides four essential capabilities that transform how developers approach cross-chain development:
Seamless Wallet Integration
Connect users with their existing TON wallets through the standard TON Connect protocol. No additional software installation or new seed phrases required.
Direct EVM Contract Interaction
Execute complex EVM contract calls directly from TON wallets. The SDK handles all cross-chain message formatting and routing automatically.
Automatic Asset Bridging
Bridge TON, Jettons, and NFTs to EVM seamlessly. The SDK manages locking, minting, and unlocking across chains without manual intervention.
Real-Time Operation Tracking
Monitor cross-chain transactions with comprehensive status tracking. Get detailed progress updates and handle completion or failure scenarios gracefully.
How It Works
The TAC SDK acts as a bridge between your frontend application and TAC’s cross-chain infrastructure:
Message Preparation
Your application specifies the desired EVM operation using familiar JavaScript objects. The SDK validates parameters and encodes them for cross-chain delivery.
Asset Management
The SDK automatically handles asset locking on TON and prepares them for minting on the EVM side, managing all complex token mechanics.
Cross-Chain Routing
Messages are routed through TAC’s sequencer network, which validates operations and ensures secure cross-chain delivery.
EVM Execution
Your target EVM contracts receive properly formatted calls with bridged assets, executing exactly as if called from an EVM wallet.
Status Updates
The SDK provides real-time updates throughout the process, allowing your application to show users exactly what’s happening.
Developer Experience
The SDK is designed to feel familiar to web developers while providing powerful cross-chain capabilities:
Standard async/await patterns, Promise-based error handling, and conventional configuration objects make the SDK feel like any other JavaScript library.
Standard async/await patterns, Promise-based error handling, and conventional configuration objects make the SDK feel like any other JavaScript library.
Comprehensive TypeScript definitions provide excellent IDE support with autocompletion, type checking, and inline documentation.
Built-in testing utilities help validate integrations before deployment, including transaction simulation and automated status tracking.
Key Components
TacSdk - Main Interface
TacSdk - Main Interface
The primary class that handles all cross-chain operations. Initialize once and use throughout your application for sending transactions, querying balances, and managing SDK lifecycle.
Key methods include sendCrossChainTransaction()
, getEVMTokenAddress()
, getUserJettonBalance()
, and getTransactionSimulationInfo()
.
OperationTracker - Status Monitoring
OperationTracker - Status Monitoring
Comprehensive tools for tracking cross-chain transaction status and progress. Monitor operations in real-time and provide users with accurate updates about their transactions.
Supports both simplified status checking and detailed stage-by-stage tracking for advanced use cases.
SenderFactory - Wallet Management
SenderFactory - Wallet Management
Handles transaction signing and submission through different wallet types. Supports TON Connect for web applications and raw private keys for backend services.
Provides a unified interface regardless of the underlying wallet technology.
Asset Bridging System
Asset Bridging System
Automatic token management across TON and EVM chains. Handles native TON, Jettons, NFTs, and their EVM equivalents seamlessly.
Manages locking, minting, burning, and unlocking operations with built-in safety mechanisms.
What’s Next?
Ready to start building hybrid dApps? The next sections will guide you through installation, configuration, and your first cross-chain transaction.
Installation Guide
Install and configure the TAC SDK in your application
Quick Start
Send your first cross-chain transaction in minutes
New to cross-chain development? Check out our Core Concepts section to understand the fundamentals of hybrid dApps and how TAC enables seamless cross-chain interactions.