Skip to content

feat(utils): implement ERC-3668 CCIP Read off-chain data resolver #26

@jose-compu

Description

@jose-compu

Background

ERC-3668 (CCIP Read / OffchainLookup) is used by ENS for off-chain data resolution. Nick Johnson authored it. The pattern lets contracts revert with a special error that tells the client to fetch data from an off-chain source, then call back with the result. Its elegant and increasingly important for L2 data availability.

Scope

  • CCIP.sol — base contract with the OffchainLookup error and callback verification
  • ICCIPReadResolver.sol — interface for resolvers
  • Test suite with mock off-chain data sources
  • Documentation explaining the client-side flow (since CCIP Read requires client cooperation)

Tier 3 priority but ENS alone makes this worth having.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsoliditySolidity smart contract implementationtier-3Tier 3 niche/growing ERC implementations

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions