Using existing popular TON client libraries like @ton/ton, TonWeb, and TonClient4?
TONX API provides seamless migration adapter with enhanced features for your Telegram Mini Apps and Web3 applications. Our platform ensures 99.99% uptime with instant scaling capabilities. Just a few code changes and you’re ready to go!
You can see the original blog post here
Special Launch Offer: Use code
NOV30
for a FREE Growth Plan trial until November 30, 2024. Includes 10x higher request limits, advanced BOC parsing tools, and premium support.
Why Choose TONX API over Ton Center?
Lightning-Fast SDK & Integration
- 10-Second Integration: Send transactions to TON Blockchain instantly
- Easy Migration Kit: Transition from TON Center, TonWeb, or other providers with minimal code changes
- Comprehensive SDK: Built-in support for all core TON features
- Developer-First Design: Optimized for rapid development and scaling
Enterprise-Grade Infrastructure
- Industry-Leading Uptime: 99.99% guaranteed availability powered by TONX Supernode
- Global Network Distribution: Ultra-low latency across multiple regions
- Real-time Monitoring: Advanced analytics and performance metrics
- Instant Scaling: Handles traffic spikes without performance degradation
Advanced Developer Tools
- BOC Parsing Tools: Validate and debug your BOC messages with precision
- Fee Estimation: Accurate transaction cost predictions before broadcast
- Performance Analytics: Real-time monitoring and optimization tools
- Asia-Based Support: Responsive technical assistance in your timezone
Step-by-step Migration Guide
Our migration toolkit supports most popular TON client libraries like @ton/ton, TonWeb, and TonClient4.
1. Register for TONX API
- Get your API key at auth.tonxapi.com/signup
- Visit TONX API to create your account and obtain your API key.
- Use code
NOV30
for free Growth Plan trial - Free trial for Growth Plan until 11/30
2. Start Integration
- Install TONX JS Adapter package
- Choose Your Migration Path & Update Your Code
- Based on your current SDK, follow the appropriate migration instructions
- From @ton/ton:
import { ToncoreAdapter } from "@tonx/adapter";
const client = new ToncoreAdapter({
network: "mainnet",
apiKey: "YOUR_API_KEY",
});
- From TonWeb:
import { TonWebAdapter } from "@tonx/adapter";
const client = new TonWebAdapter({
network: "mainnet",
apiKey: "YOUR_API_KEY",
});import { TonWebAdapter } from "@tonx/adapter"; const client = new TonWebAdapter({ network: "mainnet", apiKey: "YOUR_API_KEY", });
- From TonClient4:
import { TonClient4Adapter } from "@tonx/adapter";
const client = new TonClient4Adapter({
network: "mainnet",
apiKey: "YOUR_API_KEY",
});
Using HTTP API? We provide RESTful API migration support for enterprise users. Contact us to learn more.
Getting Started
- Create a free TONX API account
- Install required packages
- Monitor your usage via dashboard
- Access api documentation
- Try TONX Lab tools for advanced features
TONX API
TONX API is your all-in-one Web3 development platform, equipped with powerful tools to make building on TON simple and efficient.
Website | Twitter | Telegram Channel | Docs | Blog
Powered by TONX
Founded in 2021, TONX is a SuperApp platform layer empowering builders to shape the new Web3 economy. As the bedrock of the TON ecosystem, TONX offers a suite of powerful tools, including TONX API, a reliable RPC solution integrated by 20+ leading projects, and Tonkey, a secure multi-sig wallet managing over $400M in assets.
Website | Twitter | Telegram Channel | Blog