We refreshed our doc site!
Bookmarked links may have changed
Read release notesCross-Chain Transfer Protocol (CCTP) uses generalized message passing to facilitate the native burning and minting of USDC across supported blockchains, also known as domains. Message passing is a three-step process:
On-chain components on all domains have the same purpose, but implementation differs between EVM-compatible and non-EVM domains.
The relationship between CCTP's on-chain components and Circle's off-chain attestation service is illustrated below for a burn-and-mint of USDC between EVM-compatible domains:
On EVM domains, the on-chain component for cross-chain burning and minting is called TokenMessenger, which is built on top of Message Transmitter, an on-chain component for generalized message passing.
In the diagram above, a token depositor calls the TokenMessenger#depositForBurn function to deposit a native token (such as USDC), which delegates to the TokenMinter contract to burn the token. The TokenMessenger contract then sends a message via the MessageTransmitter#sendMessage function. After sufficient block confirmations, Circle's off-chain attestation service, Iris, signs the message. An API consumer queries this attestation and submits it on-chain to the destination domain's MessageTransmitter#receiveMessage function. For more details, see Quickstart: Cross-chain USDC transfer.
To send an arbitrary message, directly call MessageTransmitter#sendMessage. Note that the message recipient
must implement IMessageHandler#handleReceiveMessage. It is not currently possible to perform a burn-and-mint of USDC and add arbitrary data to the same message; arbitrary data must be included in a separate message.
Noble is a Cosmos application-specific blockchain (or "appchain") that provides native asset issuance for the Cosmos ecosystem. USDC is natively issued on Noble and can be transferred via the Inter-Blockchain Communication (IBC) protocol to other supported appchains in Cosmos, or via CCTP to any supported domain (e.g. Ethereum).
Note that there are key differences between Cosmos appchains like Noble and EVM-compatible blockchains. Unlike on EVM domains where CCTP is a set of smart contracts, CCTP on Noble is a Cosmos SDK module, which is deployed by Noble governance and built into the Noble blockchain. Cosmos appchains can use IBC to build composable flows with CCTP on Noble.
Solana is a layer-1 blockchain where USDC is natively issued as an SPL-token. CCTP is deployed to Solana as two Anchor programs: MessageTransmitter and TokenMessengerMinter. Developers can compose programs on top of CCTP programs through CPI's (Cross-Program Invocations). Arbitrary messages can be sent by directly calling MessageTransmitter#send_message
just like as described in the EVM section above.