Example Cross-chain dApps and Tools
Example Cross-chain dApps and Tools to try after the CCIP Masterclass
Here is the list of useful content and example Cross-chain dApps and Tools which you can analyze and try after the CCIP Masterclass.
CCIP Starter Kit
CCIP Starter Kit consists of seven basic use-case examples
Transfer Tokens from EOA to EOA
Transfer Tokens from EOA to Smart Contract
Transfer Token(s) from Smart Contract to any destination
Send & Receive Tokens and Data
Send & Receive Cross-Chain Messages and Pay with Native Coins
Send & Receive Cross-Chain Messages and Pay with LINK Tokens
Execute Received Message as a Function Call
CCIP Starter Kit is currently available for Hardhat and Foundry.
Cross-Chain Applications
To learn and get inspired on how to use the CCIP in "real-world" applications, you should read the 5 Ways To Build Cross-Chain Applications With CCIP blog post. Projects mentioned in the blog post are:
Cross Chain Liquidation Saver and Interest Rate optimizer (combines CCIP with Automation and Functions)
Applications from the @chainlink/contracts-ccip package
The NPM package with CCIP-related smart contracts also has a couple of demo applications built in. Here's the syntax to import them:
import "@chainlink/contracts-ccip/src/v0.8/ccip/applications/CCIPClientExample.sol";
import "@chainlink/contracts-ccip/src/v0.8/ccip/applications/CCIPReceiver.sol";
import "@chainlink/contracts-ccip/src/v0.8/ccip/applications/DefensiveExample.sol";
import "@chainlink/contracts-ccip/src/v0.8/ccip/applications/PingPongDemo.sol";
Examples from the Chainlink Documentation
The official documentation should always be the first stop for anyone who wants to try CCIP. It has couple of step-by-step examples:
Last updated