Usage Guide
Creating instance
To begin using the TAC-SDK, you need to create an instance of the TacSdk class. This class is the main entry point for all cross-chain operations.
Basic Setup
Configuration Options
The TacSdk
constructor accepts a TacSDKTonClientParams
object with the following options:
Parameters Explained
network
: Choose betweenNetwork.Testnet
orNetwork.Mainnet
- Default:
Network.Testnet
- Default:
delay
: Time delay (in seconds) for requests to the TON client- Default: 0
- Recommended: 5 when using default
tonClientParameters
tonClientParameters
: Optional custom parameters for the TON client configuration
HTTP API Endpoints
The SDK uses these default public endpoints: