Skip to content

Replace ccipread.CCIPReadProvider with latest ethers #27

@tfalencar

Description

@tfalencar

Please correct me if I'm wrong, but since ccip-read support has already landed on ethers-js, it should be possible to drop the "@chainlink/ethers-ccip-read-provider" package from 'examples/trusted-gateway-token/client/src/index.ts', and use purely ethers-js.

Furthermore since CCIP-read is a protocol, I'd expect the examples here to work interchangeably with ethers. Even the @chainlink/ethers-ccip-read-provider project description itself says it is deprecated in favour of ethers and users should use ethers instead.

I've tried replacing @chainlink/ethers-ccip-read-provider with ethers in the example client, but didn't have success thus far.

Are there incompatibilities between this demo and the way CCIP-read is implemented in ethers-js?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions