Skip to content
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

ethers-multicall-provider has a similar, simpler API #49

Open
Rubilmax opened this issue Mar 8, 2023 · 1 comment
Open

ethers-multicall-provider has a similar, simpler API #49

Rubilmax opened this issue Mar 8, 2023 · 1 comment

Comments

@Rubilmax
Copy link

Rubilmax commented Mar 8, 2023

This repository seems to not be maintained anymore: last commit dates back to beginning of January 2022.

I encourage anyone willing to get support to start using ethers-multicall-provider, which is well tested and has a similar API. The move should not be cumbersome, as it boilds down to the following changes:

- import { Contract, Provider } from 'ethers-multicall';
+ import { MulticallProvider } from 'ethers-multicall-provider';

- const multicallProvider = new Provider(provider);
+ const multicallProvider = MulticallProvider.wrap(provider);
@saranonearth
Copy link

Not all heroes wear cape ✨

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

No branches or pull requests

2 participants