Skip to content

Add example 04: Hardhat v3 + CCIP SDK with custom contracts#8

Merged
aelmanaa merged 6 commits intomainfrom
feat/04-hardhat-ccip
Mar 24, 2026
Merged

Add example 04: Hardhat v3 + CCIP SDK with custom contracts#8
aelmanaa merged 6 commits intomainfrom
feat/04-hardhat-ccip

Conversation

@aelmanaa
Copy link
Collaborator

@aelmanaa aelmanaa commented Mar 15, 2026

Summary

  • Custom CCIP sender/receiver contracts with 12 Hardhat tasks covering deployment, sending (via contract + direct router), allowlist management, status tracking, manual execution, and contract admin operations.

  • 28 tests via @chainlink/local CCIPLocalSimulator covering unit tests for both contracts and end-to-end integration (data-only, token-only, PTT, defensive try/catch, batch allowlist).

  • test TT, arb messaging, PTT, manual exec, estimate receiver gas limit using SDK

…ceiver contracts

- CCIPSender: peer registration, extraArgs passthrough, fee token deduplication,
  native fee refund, Ownable2Step, Pausable, ReentrancyGuard
- CCIPReceiverExample: defensive try/catch, double-mapping allowlist,
  failed message tracking, token recovery with configurable amounts
- Hardhat tasks: deploy-sender, deploy-receiver, send-via-sender,
  send-via-router, check-status with SDK gas estimation
- Solhint with Chainlink's exact config and chainlink-solidity plugin
- Upgrade ccip-sdk to 1.2.0 across all workspace packages
@aelmanaa aelmanaa requested review from a team as code owners March 15, 2026 01:36
@github-actions
Copy link

👋 aelmanaa, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@aelmanaa aelmanaa force-pushed the feat/04-hardhat-ccip branch 4 times, most recently from 860a316 to 888de05 Compare March 15, 2026 02:15
SyedAsadKazmi
SyedAsadKazmi previously approved these changes Mar 15, 2026
@aelmanaa aelmanaa requested a review from SyedAsadKazmi March 24, 2026 22:54
@aelmanaa aelmanaa merged commit 562fde6 into main Mar 24, 2026
9 checks passed
@aelmanaa aelmanaa deleted the feat/04-hardhat-ccip branch March 24, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants