⛓️
Chainlink CCIP
Chainlink CCIPを試してみた際のメモ。
Getting Started
Getting Startedを実施。
Deploy the sender contract
- Deploy
https://sepolia.etherscan.io/tx/0xde8147ba0d18653d6c21dc00690bc6122a105869b2706bf26c7d2e57605705db - Contract Address
0x19e7265fb22250a664AFbb67A8FB6696c0fBa68C - Send LINK Token
https://sepolia.etherscan.io/tx/0x3f62bc181ca3d248dc9259a79126280ffbf8d115fb8de62ae7eeea42426cb620
Deploy the receiver contract
-
Optimism Sepoliaを使用
https://optimism-sepolia.blockscout.com/tx/0x2813479e3239752599b87a0059b629549fc5e530bfa0c9c361306cbf972eb7f2 - Contract Address
0x146E58e906169AE5A2B0Dd9CC948d83da24cb87A
Send data
Send a Hello World!
string from the contract on Ethereum Sepolia to the contract deployed on Optimism Sepolia.
-
destinationChainSelector
:5224473277236331295
-
sendMessage
https://sepolia.etherscan.io/tx/0x17f6cead7e2850800a33f09a922955811ce6010dabaac6504c55dab711db9f29 - CCIP explorerで確認。Finalizeされるまでに30minくらいかかっている印象。
https://ccip.chain.link/msg/0xd2802856d4feeeeb88a163d60b69f218d87963b4486cac4044d4f5b9720e18bc
Read data
Hello World!
が送られている。
Reference
- Getting Started
- Get Sepolia Testnet LINK Tokens
- Example Cross-chain dApps and Tools
- The Five Levels of Cross-Chain Security
Appendix
CCIPを使ったtransporter.というサービスをChainlinkがリリースしている。
Discussion