NEW

Join us at SmartCon 2023—where Web3 gets real. Get your ticket.

Chainlink CCIP Documentation

The web3 ecosystem has become multi-chain, with the rise of layer-1 blockchains and layer-2 scaling solutions, where each network has its own approach to scalability, security, and trust. However, blockchains are isolated networks that operate independently and cannot communicate natively with traditional systems to make external API calls or interact with other blockchains. This limitation is known as the oracle problem. This limitation creates the need for blockchain interoperability protocols, which enable connectivity between different blockchain networks.

Blockchain interoperability protocols provide the following capabilities:

  • You can transfer assets and information across multiple blockchains.
  • Application developers can leverage the strengths and benefits of different chains.
  • Collaboration between developers from diverse blockchain ecosystems enables the building of cross-chain applications to serve more users and provide additional features or products for them.

Blockchain interoperability protocols are important for the Web3 ecosystem and traditional systems that need to interact with different blockchains. These protocols are the foundation for building blockchain abstraction layers, allowing traditional backends and dApps to interact with any blockchain network through a single middleware solution. Without a blockchain interoperability protocol, Web2 systems and dApps would need to build separate in-house implementations for each cross-chain interaction that they want to use, which is a time-consuming, resource-intensive, and complex process.

The Chainlink Cross-Chain Interoperability Protocol (CCIP) provides a single simple interface through which dApps and web3 entrepreneurs can securely meet all their cross-chain needs, including token transfers and arbitrary messaging.

Given the inherent risks of cross-chain interoperability, a security-first mindset is being applied to CCIP. Some security features include a Risk Management Network that monitors for malicious activity, decentralized oracle computation from a wide range of high-quality node operators with verifiable on-chain performance histories, and the off-chain reporting (OCR) protocol, which already secures significant value on several mainnet blockchains.

Chainlink CCIP Architecture

To understand how Chainlink CCIP works, refer to the concepts, architecture, and best practices. If you are new to using Chainlink CCIP, we highly recommend reading these guides before deploying any contracts.

Chainlink CCIP supports three main capabilities:

  • Arbitrary Messaging is the ability to send arbitrary data (encoded as bytes) to a receiving smart contract on a different blockchain. The developer is free to encode any data they wish to send. Typically, developers use arbitrary messaging to trigger an informed action on the receiving smart contract, such as rebalancing an index, minting a specific NFT, or calling an arbitrary function with the sent data as custom parameters. Developers can encode multiple instructions in a single message, enabling them to orchestrate complex, multi-step, multi-chain tasks. Note: This capability is specifically for smart contract receivers because EOAs on EVM blockchains cannot receive messages.
  • Token Transfer: You can transfer tokens to a smart contract or directly to an EOA (Externally Owned Account) on a different blockchain.
  • Programmable Token Transfer is the ability to simultaneously transfer tokens and arbitrary data (encoded as bytes) within a single transaction. This mechanism allows users to transfer tokens and send instructions on what to do with those tokens. For example, a user could transfer tokens to a lending protocol with instructions to leverage those tokens as collateral for a loan, borrowing another asset to be sent back to the user. Note: Use this capability only for smart contracts. If you send data and transfer tokens to an EOA, only tokens will be transferred.

Common Use Cases

Chainlink CCIP enables a variety of use cases:

  • Cross-chain lending: Chainlink CCIP enables users to lend and borrow a wide range of crypto assets across multiple DeFi platforms running on independent chains.
  • Low-cost transaction computation: Chainlink CCIP can help offload the computation of transaction data on cost-optimized chains.
  • Optimizing cross-chain yield: Users can leverage Chainlink CCIP to move collateral to new DeFi protocols to maximize yield across chains.
  • Creating new kinds of dApps: Chainlink CCIP enables users to take advantage of network effects on certain chains while harnessing compute and storage capabilities of other chains.

Read What Are Cross-Chain Smart Contracts to learn about cross-chain smart contracts and examples of use cases they enable.

Supported Networks

See the Supported Networks page for a list of supported networks and contract addresses.

What's next

Stay updated on the latest Chainlink news