Skip to main content
The SDK packages this page imports (@stateset/cctp-sdk, stateset-cctp, @stateset/client) are not yet published to npm — the code shows the intended integration surface. Contact us for access before building against it.

Overview

This guide covers integrating with StateSet’s native CCTP module implementation. Unlike EVM chains where CCTP is implemented via smart contracts, StateSet has built CCTP directly into the blockchain as a Cosmos SDK module, providing superior performance, security, and integration capabilities.

Architecture Overview

Setting Up Your Development Environment

1. Install StateSet CLI

2. Create Test Accounts

3. Install SDKs

Basic Integration

JavaScript/TypeScript

Go Integration

Python Integration

A cross-chain transfer is not atomic. Burn on the source chain and mint on the destination are separate transactions, and the gap between them is where funds appear to have vanished. Record the burn’s attestation before you attempt the mint, and make the mint replayable from it — a process that crashes between the two must be able to finish the transfer, not start a new one.

Advanced Integration Patterns

1. Cross-Chain Order Processing

2. Multi-Signature CCTP Operations

3. Automated Cross-Chain Treasury Management

4. CCTP Rate Limiting and Compliance

Module Queries

CLI Queries

SDK Queries

Event Monitoring

Subscribe to CCTP Events

Webhook Integration

Testing

Unit Tests

Integration Tests

Error Handling

Common Errors and Solutions

Performance Optimization

1. Batch Processing

2. Caching and Memoization

Security Best Practices

1. Input Validation

2. Rate Limiting

Migration from Other CCTP Implementations

From Noble to StateSet

Resources

Support

For integration support:

Next steps

Smart agents and USDC

Agents holding and spending the transferred balance.

Set L2

Settlement for transfers that land on the L2.

x402 walkthrough

Paying for an API call with the same rails.

Sequencer

Ordering and settling agent transactions.
Last modified on August 31, 2026