Chainlink CCIP Smart Contracts
Installation
$ pnpm add @chainlink/contracts-ccip
$ npm install @chainlink/contracts-ccip --save
Directory Structure
@chainlink/contracts-ccip
├── src
│ └── v0.8
└── abi
└── v0.8
Usage
The solidity smart contracts themselves can be imported via the src
directory of @chainlink/contracts-ccip
:
import '@chainlink/contracts-ccip/src/v0.8/ccip/applications/CCIPReceiver.sol';
License
The CCIP repo is licensed under the BUSL-1.1 license, however, there are a few exceptions
src/v0.8/ccip/applications/*
is licensed under the MIT licensesrc/v0.8/ccip/interfaces/*
is licensed under the MIT licensesrc/v0.8/ccip/libraries/{Client.sol, Internal.sol}
is licensed under the MIT license