Skip to content

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

Open
aelmanaa wants to merge 2 commits intomainfrom
feat/04-hardhat-ccip
Open

Add example 04: Hardhat v3 + CCIP SDK with custom contracts#8
aelmanaa wants to merge 2 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 3 times, most recently from 3021da3 to 860a316 Compare March 15, 2026 02:12
@aelmanaa aelmanaa force-pushed the feat/04-hardhat-ccip branch from 860a316 to 888de05 Compare March 15, 2026 02:15
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.

2 participants