Skip to content

smartcontractkit/docs-ccip

Repository files navigation

Chainlink CCIP Tutorials

NOTE: This repository represents an educational example to use a Chainlink system, product, or service and is provided to demonstrate how to interact with Chainlink’s systems, products, and services to integrate them into your own. This template is provided “AS IS” and “AS AVAILABLE” without warranties of any kind, it has not been audited, and it may be missing key checks or error handling to make the usage of the system, product or service more clear. Do not use the code in this example in a production environment without completing your own audits and application of best practices. Neither Chainlink Labs, the Chainlink Foundation, nor Chainlink node operators are responsible for unintended outputs that are generated due to errors in code.

Example contracts and scripts for cross-chain development with Chainlink CCIP, using Foundry and Hardhat.

Tutorials

Tutorial Description
Token Transfers Transfer tokens to any address on a destination chain
Send Arbitrary Data Send text messages cross-chain
Programmable Token Transfers Combine token transfers with arbitrary data
Programmable Defensive Token Transfers Adds error handling and token recovery
Transfer USDC with Data Transfer USDC cross-chain and trigger on-chain staking
Send Data & Receive Confirmation (A→B→A) Two-way messaging with source-side status tracking

Equivalent Hardhat tutorials are available under hardhat/scripts/tutorials/.

See each tutorial's README for full setup and deployment instructions.

About

Example contracts and Foundry/Hardhat scripts for cross-chain token transfers and messaging using Chainlink CCIP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors