> For the complete documentation index, see [llms.txt](https://cll-devrel.gitbook.io/bootcamp-2024/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cll-devrel.gitbook.io/bootcamp-2024/7.-chainlink-ccip-and-cross-chain-nft-dapps.md).

# 7. Chainlink CCIP & Cross-Chain NFT dApps

<mark style="color:blue;">`CrossChainPriceNFT`</mark> is an NFT Smart contract. It uses the [BTC/USD Data Feed ](https://docs.chain.link/data-feeds/price-feeds/addresses?)to get the Bitcoin Price

{% embed url="<https://www.youtube.com/live/IyiiRlz5Y60?si=AnUD1t-1MmkINDVS>" %}
Chainlink CCIP in Cross-Chain dApps
{% endembed %}

## **CrossChainPriceNFT.sol**

CrossChainPriceNFT.sol an NFT Smart contract, it uses the BTC/USD Data Feed to get the Bitcoin Price

* The Images are emojis which depend on the price of Bitcoin when it was minted. If the Price is higher, then the Emoji is happy, if it is lower, the Emoji is sad, or if it didnt change, the Emoji remains neutral.
* The Background Color depends on which blockchain the mint command came from.
* The image is an SVG Generated on Chain, inside the smart contract
* The MetaData is generated on chain, using Base64

{% embed url="<https://github.com/solangegueiros/chainlink-bootcamp-2024/blob/main/CrossChainPriceNFT.sol>" %}
CrossChainPriceNFT.sol source code
{% endembed %}

***

## CrossDestinationMinter.sol&#x20;

* is prepared to receive a CCIP Message and mint an NFT

{% embed url="<https://github.com/solangegueiros/chainlink-bootcamp-2024/blob/main/CrossDestinationMinter.sol>" %}
CrossDestinationMinter.sol Source Code
{% endembed %}

***

## CrossSourceMinter.Sol

This smart contract creates a CCIP Message and sends it to the destination Chain using [Chainlink CCIP](https://docs.chain.link/ccip). This sending-side Smart contract will be deployed on Avalanche Fuji.

{% embed url="<https://github.com/solangegueiros/chainlink-bootcamp-2024/blob/main/CrossSourceMinter.sol>" %}
CrossSourceMinter.sol Source Code
{% endembed %}

***

## CrossSourceMinterMumbai.sol

This smart contract is the same as the CrossSourceMinter, but it is deployed on Polygon Mumbai. \[IMPORTANT NOTE - MUMBAI is currently Deprecated] I will provide a workaround in this workshop but I wanted to include all the source material from the recorded bootcamp content so you, the learner can backtrack and see how it was originally shared.

{% embed url="<https://github.com/solangegueiros/chainlink-bootcamp-2024/blob/main/CrossSourceMinterMumbai.sol>" %}
CrossSourceMinterMumbai.sol Source Code
{% endembed %}
