- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control. - Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities. - Created .gitmodules to include OpenZeppelin contracts as a submodule. - Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment. - Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks. - Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring. - Created scripts for resource import and usage validation across non-US regions. - Added tests for CCIP error handling and integration to ensure robust functionality. - Included various new files and directories for the orchestration portal and deployment scripts.
52 lines
958 B
Markdown
52 lines
958 B
Markdown
# CCIP Integration Quick Start
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
# Install main dependencies
|
|
npm install
|
|
|
|
# Install watcher dependencies
|
|
cd watcher && npm install && cd ..
|
|
```
|
|
|
|
## Configuration
|
|
|
|
Add to `.env`:
|
|
|
|
```env
|
|
# Ethereum Mainnet
|
|
ETHEREUM_MAINNET_RPC=https://mainnet.infura.io/v3/YOUR_KEY
|
|
ETHERSCAN_API_KEY=your_key
|
|
CCIP_ETH_ROUTER=0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D
|
|
ETH_MAINNET_SELECTOR=0x500147
|
|
|
|
# Chain-138
|
|
CHAIN138_RPC_URL=https://rpc.d-bis.org
|
|
CCIP_CHAIN138_ROUTER=<router-address>
|
|
CHAIN138_SELECTOR=0x000000000000008a
|
|
|
|
# Deployment
|
|
PRIVATE_KEY=0x...
|
|
```
|
|
|
|
## Deploy
|
|
|
|
```bash
|
|
# 1. Deploy CCIPLogger to Ethereum Mainnet
|
|
npm run deploy:logger:mainnet
|
|
|
|
# 2. Deploy CCIPTxReporter to Chain-138
|
|
npm run deploy:reporter:chain138
|
|
|
|
# 3. Start watcher
|
|
cd watcher && npm start
|
|
```
|
|
|
|
## Verify
|
|
|
|
```bash
|
|
# Check events on Ethereum
|
|
cast logs --from-block latest "RemoteTxLogged(uint64,bytes32,address,address,uint256,bytes)" --rpc-url $ETHEREUM_MAINNET_RPC
|
|
```
|