Skip to content

About

This project demonstrates a couple of basic Chainlink CCIP use cases

Resources

Stars

106 stars

Watchers

9 watching

Forks

Repository files navigation

Chainlink CCIP Starter Kit V2 (Foundry)

Note

This repository represents an example of using a Chainlink product or service. It is provided to help you understand how to interact with Chainlink’s systems so that you can integrate them into your own. This template is provided "AS IS" without warranties of any kind, has not been audited, and may be missing key checks or error handling to make the usage of the product more clear. Take everything in this repository as an example and not something to be copy pasted into a production ready service.

Reference starter kit for learning and testing CCIP v2 with Foundry scripts, Solidity contracts, and small SDK examples.

Examples 01–08 use Ethereum Sepolia → Polygon Amoy as their primary CCIP 2.0 lane. Example 01, Example 03, and Example 04 use faucet-issued CCIP-BnM. Examples 06–08 teach custom token and pool deployment. The legacy chapters retain their older-lane demonstrations.

Start Here

The primary documentation for this repo lives in the book:

You can also run the book locally:

mdbook serve book --open

Repo Scope

  • script/examples: Foundry CCIP v2 examples (core learning path)
  • src: sender/receiver contracts used by examples
  • book/src: step-by-step tutorial chapters
  • sdk-examples: minimal CCIP SDK demos

Minimal Setup

cp .env.example .env

Set at least:

  • ETHEREUM_SEPOLIA_RPC_URL
  • POLYGON_AMOY_RPC_URL

Then follow the book chapters for exact run commands.

Disclaimer: Please note, this repo contains community examples only — these are not Chainlink products or services and are not supported or maintained by Chainlink. This code represents an example of using a Chainlink product or service, and is intended for demonstration and educational purposes only. It is provided “AS IS” and “AS AVAILABLE” without warranties of any kind, may not have been audited, and may omit checks or error handling. Each party intending to use this example code does so entirely at their own risk and must perform its own audits, security and code review, key management, and testing before any production deployment and ensure the operation and performance of such code matches expectations. Neither Chainlink Labs nor the Chainlink Foundation deploys, operates, monitors, maintains or endorses any deployment of this code. Note that this is not a Chainlink product, feature or service, and there are no commitments made with respect to the code, including compatibility with future Chainlink releases. You should not rely on this code without first conducting your own technical, engineering, and security review. This code is also outside the scope of any Chainlink bug bounty programs. Neither Chainlink Labs, the Chainlink Foundation, nor Chainlink node operators are responsible for outcomes due to errors in this example or how it is deployed or operated, or liable for any resulting claims or damages. Use of the Chainlink Network is subject to the Chainlink Foundation Terms of Service, which provides important information and disclosures. By using this code, you acknowledge and agree to these terms.

About

This project demonstrates a couple of basic Chainlink CCIP use cases

Resources

Stars

106 stars

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages