Skip to content

Instantly share code, notes, and snippets.

/**
* USDT0 Contract Addresses and Configuration
* Based on official USDT0 documentation: https://docs.usdt0.to/technical-documentation/developer
*/
// LayerZero Endpoint IDs (EID)
export const LAYERZERO_EIDS = {
ETHEREUM: 30101,
ARBITRUM: 30110,
POLYGON: 30109,
/**
* Composed MultiHop Transfer Implementation following tron-exmaple.ts pattern
* Handles single-transaction multi-hop transfers: Tron → Arbitrum → Polygon
* Uses composed message pattern for seamless multi-hop transfers
* Uses TronWeb for Tron operations and ethers.js for EVM chains
*
* Based on LayerZero UI Bridge SDK pattern and USDT0 documentation
*/