Cross-Chain Transfer Protocol (CCTP) on StateSet
Overview
StateSet Commerce Network implements Circle’s Cross-Chain Transfer Protocol (CCTP) as a native Cosmos SDK module, enabling seamless USDC transfers between StateSet and other supported blockchains. This eliminates the need for wrapped tokens or custodial bridges, providing a secure and efficient way to move USDC across chains.StateSet has implemented CCTP as a native blockchain module rather than smart contracts, providing superior performance and deeper integration with other StateSet features. For technical details, see the StateSet CCTP Module documentation.
How CCTP Works
Key Benefits
- Native USDC: No wrapped tokens - USDC is burned on source and minted on destination
- No Bridge Risk: Eliminates custodial bridge vulnerabilities
- Unified Liquidity: Same USDC across all supported chains
- Fast Transfers: Typically completes in minutes
- Low Cost: Only pay standard transaction fees
Supported Chains
Chain | Domain | Status |
---|---|---|
StateSet Commerce Network | 7 | ✅ Active |
Ethereum | 0 | ✅ Active |
Avalanche | 1 | ✅ Active |
Optimism | 2 | ✅ Active |
Arbitrum | 3 | ✅ Active |
Base | 6 | ✅ Active |
Polygon | 7 | ✅ Active |
Module Address
StateSet CCTP Module
- Mainnet:
stateset1cctp7m4ugfz4m6dd73yysz477jszqnfughxvkss5
- Testnet:
stateset1test9x8ugfz4m6dd73yysz477jszqnfughxvkss5
Quick Start
Transfer USDC from StateSet to Ethereum
Core Functions
depositForBurn
Burns USDC on StateSet and initiates transfer to another chain.depositForBurnWithCaller
Burns USDC with a specific caller authorized on destination.receiveMessage
Receives and processes a CCTP message to mint USDC.replaceDepositForBurn
Replace a pending burn message (before attestation).Message Format
CCTP messages follow a standardized format across all chains:Integration Examples
E-Commerce Cross-Chain Payments
Multi-Chain Treasury Management
Arbitrage Across Chains
Attestation Service
Circle provides attestations for CCTP messages. Integration example:Gas Optimization
Batch Transfers
Security Considerations
Best Practices
- Verify Addresses: Always verify recipient addresses are correct format
- Check Domains: Ensure destination domain matches intended chain
- Monitor Attestations: Implement timeout handling for attestations
- Validate Messages: Verify message integrity before processing
- Rate Limiting: Implement transfer limits for security
Address Formatting
Error Handling
Common errors and solutions:Error | Cause | Solution |
---|---|---|
Invalid domain | Unsupported destination chain | Check supported domains list |
Insufficient balance | Not enough USDC | Ensure adequate balance |
Invalid recipient | Malformed address | Use proper address formatting |
Attestation timeout | Circle service delay | Implement retry logic |
Nonce already used | Duplicate message | Use unique nonce |
Monitoring and Analytics
Native Module vs Smart Contracts
StateSet implements CCTP as a native Cosmos SDK module, providing several advantages:Performance
- 10x faster: Direct blockchain integration vs contract execution
- Lower fees: No contract overhead, just base transaction costs
- Atomic operations: Module-level atomicity guarantees
Integration
- Deep integration: Direct access to other StateSet modules
- Native CLI: Built-in command-line interface
- Governance: Integrated with StateSet governance
Security
- No contract risk: Eliminate smart contract vulnerabilities
- Chain-level validation: Enhanced security at the consensus layer
- Upgrade path: Coordinated upgrades via governance
Resources
Support
For CCTP integration support:- Discord: #cctp-support
- Email: cctp@stateset.com
- Technical Docs: docs.stateset.network/cctp