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

  1. Transfer Tokens from EOA to EOA

  2. Transfer Tokens from EOA to Smart Contract

  3. Transfer Token(s) from Smart Contract to any destination

  4. Send & Receive Tokens and Data

  5. Send & Receive Cross-Chain Messages and Pay with Native Coins

  6. Send & Receive Cross-Chain Messages and Pay with LINK Tokens

  7. 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:

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";

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