Skip to content

feat: add ethers.js support and fix TypeScript errors #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

theceo1
Copy link

@theceo1 theceo1 commented Jun 27, 2025

Description

This PR adds support for ethers.js alongside the existing viem client in the CCIP JavaScript SDK.

Changes

  • Added EthersAdapter for ethers.js compatibility
  • Updated Client interface to support both ethers.js and viem
  • Fixed TypeScript errors and duplicate function implementations
  • Added comprehensive tests for ethers.js integration
  • Updated documentation with ethers.js usage examples

Testing

  • All existing tests pass
  • Added new unit tests for ethers.js adapter
  • Added integration tests for ethers.js client

Documentation

  • Updated README with ethers.js usage examples
  • Added migration guide from viem to ethers.js

Closes #24

- Add EthersAdapter for ethers.js compatibility
- Update Client interface to support both ethers.js and viem
- Fix TypeScript errors and duplicate function implementations
- Add comprehensive tests for ethers.js integration
- Update documentation with ethers.js usage examples
@theceo1 theceo1 requested a review from a team as a code owner June 27, 2025 21:57
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.

Add support for etherjs in addition to viem
1 participant