CCIP Tutorials: Canton as Source

Canton as Source (canton2any) tutorials cover sending from Canton — Canton is the source chain, a remote CCIP-supported chain (Ethereum Sepolia in the starter kit) is the destination.

Tutorials use the ccip-starter-kit-canton on @chainlink/ccip-sdk.

Getting Started

Tutorials by Use Case

TutorialScriptDescription
Arbitrary Messagingcanton2any:dataSend a data-only message from Canton
Token Transferscanton2any:tokenBridge LINK from Canton to Sepolia
Programmable Token Transferscanton2any:data-and-tokenSend LINK plus calldata to a Sepolia receiver

Common Flow (all canton2any tutorials)

  1. Fetch explicit disclosures from Global CCIP EDS (and token pool operator EDS for token messages)
  2. Create or reuse CCIPSender and PerPartyRouter on Canton
  3. Submit via PerPartyRouter_CCIPSend with CommitteeVerifier tickets (and token pool tickets when applicable)
  4. Track delivery in CCIP Explorer
  5. Destination execution on Sepolia runs automatically by default, or via canton2any:manual-exec with --no-exec

Prerequisites

  • Starter kit setup
  • Amulet (default) or LINK on Canton for CCIP fees
  • LINK on Canton for token transfer and PTT tutorials
  • Token pool registered on TAR for token messages — see CCT guides

What's next

Get the latest Chainlink content straight to your inbox.