Skip to main content
This is CCTP V1 (Legacy) version. For the latest version, see CCTP.
To get started with CCTP V1 on Sui testnet, follow the example scripts provided on GitHub. The README contains instructions for running the scripts. The examples use the Sui SDK, to transfer USDC to and from an address on Sui testnet and an address on an external blockchain.
Do not reuse keys As a security measure, these scripts should only be used on a testnet for testing purposes. It is not recommended to reuse private keys across mainnet and testnet.
Summary of calling deposit_for_burn() (full runnable script can be found in the sui-cctp repository):
JavaScript
Summary of calling receive_message() (full runnable script can be found in the sui-cctp repository):
JavaScript