CCIP Bootcamp
CCIP Bootcamp Aug 2024
CCIP Bootcamp Aug 2024
  • 💻Setup Instructions
  • 1️⃣Day 1
    • Welcome to CCIP Bootcamp!
    • SmartCon
    • Tokenizated RWA Bootcamp
    • Meet Our Instructors
    • Transporter, powered by CCIP
    • Introduction to Interoperability Problem and Chainlink CCIP
      • How CCIP Programmable Token Transfers Unlock Cross-Chain Innovation
      • CCIP Programmable Token Transfers in TradFi
      • CCIP Programmable Token Transfers in DeFi
    • How to Use Chainlink CCIP
    • Exercise 1: Programmable Token Transfers using the Defensive Example Pattern
      • Defensive Example Pattern
    • Day 1 Homework
    • A talk with the Interport team
  • 2️⃣Day 2
    • CCIP Architecture and Message Processing
    • Building Cross-Chain NFTs
    • Exercise 2: Build Your First Cross-Chain NFT
    • Exercise 3: Testing Cross-Chain contracts using Chainlink Local
    • Debugging Tips and Tricks
    • Day 2 Homework
    • A talk with the Celo team
  • 3️⃣Day 3
    • 5 Levels of Cross-Chain Security with Chainlink CCIP
    • Exercise 4: Sending USDC Cross-Chain
    • Day 3 Homework
  • 🛣️Next Steps
Powered by GitBook
On this page
Export as PDF
  1. Day 1
  2. Introduction to Interoperability Problem and Chainlink CCIP

How CCIP Programmable Token Transfers Unlock Cross-Chain Innovation

PreviousIntroduction to Interoperability Problem and Chainlink CCIPNextCCIP Programmable Token Transfers in TradFi

Last updated 9 months ago

The Chainlink Cross-Chain Interoperability Protocol (CCIP) is far more than a simple token bridging solution. It’s a generalized cross-chain messaging protocol for transferring tokens (value), messages (data), or both tokens and messages simultaneously within a single cross-chain transaction—referred to as Programmable Token Transfers.

In effect, CCIP Programmable Token Transfers enable smart contracts to transfer tokens cross-chain along with instructions on what the receiving smart contract should do with those tokens once they arrive on the destination chain. This revolutionary concept of wrapping value and instructions together allows tokenized value to interact automatically and dynamically once it arrives at a destination, opening up a world of new possibilities.

In decentralized finance (DeFi), CCIP Programmable Token Transfers enable the creation of cross-chain native dApps, such as a smart contract that can automatically transfer tokens cross-chain and deposit them into the highest yield lending markets. Within traditional finance (TradFi), CCIP Programmable Token Transfers enable advanced use cases, such as a cross-chain delivery-vs-payment (DvP) transaction where an institution holding stablecoins on its private blockchain can purchase a tokenized asset issued on a different private or public chain.

Importantly, CCIP Programmable Token Transfers enable institutions to interact with and on other blockchain networks without needing to integrate or directly interact with that blockchain. All they need to do is send instructions to CCIP on how to interact with that chain, greatly reducing their overhead and the risks associated with point-to-point integrations with each blockchain network.

CCIP Supports Any Cross-Chain Transfer Involving Both Data and Value

Arbitrary Messaging

With CCIP, smart contracts on a source chain can call any arbitrary function on any arbitrary smart contract on a destination chain to trigger any arbitrary action (and receive a callback on the source chain if needed). Developers can encode multiple instructions in a single message, empowering them to orchestrate complex, multi-step, multi-chain tasks.

Token Transfers

There are three primary ways developers can integrate CCIP for token transfers:

Programmable Token Transfers

Programmable Token Transfers combine Token Transfers with Arbitrary Messaging. This enables developers to transfer both tokens (value) and instructions (data) about what to do with those tokens cross-chain within a single transaction. Importantly, Programmable Token Transfers are built natively into CCIP to give users the best possible security, reliability, UX (e.g., composability), and risk management.

Just as TCP/IP is a universal standard that underpins the Internet, Chainlink CCIP serves as a universal standard that underpins the . To support all the various cross-chain use cases that exist within DeFi and TradFi, CCIP allows for a variety of ways to transfer data and/or value across blockchains.

CCIP’s support for enables developers to transfer any arbitrary data (encoded as bytes) across blockchain networks. Developers utilize CCIP’s Arbitrary Messaging to make their smart contract applications cross-chain native.

CCIP Token Transfers enable the transfer of tokens between chains via highly audited and security-reviewed token pool contracts. Transactions can be initiated directly by externally owned accounts (EOAs), such as from user wallets via a bridging app like , or directly by a smart contract. Tokens can then be sent to an EOA or to a smart contract.

In order to ensure the highest level of security and a superior user experience, token issuers can use CCIP directly within their token’s smart contract to make it a native cross-chain token. As a result, any user or developer can use CCIP to transfer the official (canonical) version of that issuer’s token cross-chain. Various layer-1 blockchain and layer-2 rollups such as Wemix and Metis built upon this concept by integrating to power their canonical token bridges. Every token transferred onto those blockchain networks via CCIP is the canonical representation of that token on that chain.

Burn and mint—Tokens are burned on a source chain, and an equivalent amount is minted on a destination chain. This enables the creation of cross-chain native tokens with a dynamic, unified supply across chains. via the burn and mint token transfer method.

Lock and mint—Tokens are locked on the chain they were natively issued on, and fully collateralized “wrapped” tokens are minted on destination chains. These wrapped tokens can be transferred across other non-native destination chains via burn and mint or be burned to unlock tokens back on the original issuing source chain. TRUF token utilizes lock and mint for its token transfers on CCIP.

Lock and unlock—Tokens are locked on a source blockchain, and an equivalent amount of tokens are released on the destination blockchain. This enables the support of tokens without a burn/mint function or tokens that would introduce challenges if wrapped, such as native blockchain gas tokens. CCIP supports via the lock and unlock token transfer method.

1️⃣
Internet of Contracts
Arbitrary Messaging
Transporter
CCIP as their official cross-chain infrastructure
CCIP supports Circle’s USDC
Truflation’s
native ETH transfers
smart contracts
tokenized assets
CCIP is purpose-built to support cross-chain token transfers across a wide range of assets and applications.
Programmable Token Transfers enable tokens and messages to be sent cross-chain as part of a single transaction, improving the developer and user experience.