cavanmflynn / ethers-multicall

Make multiple Ethereum network requests in a single HTTP query. ethcall for ethers v5.
MIT License
224 stars 99 forks source link

Do not import ethers #15

Closed AlicanC closed 2 years ago

AlicanC commented 3 years ago

Hi. I've been working on a dapp and noticed that importing ethers directly causes a lot of bloat to be added in my JS bundles. I've changed all the imports so we import directly from @ethersproject/* packages instead. I've did this for my app and noticed my bundle sizes drop.

JFrankfurt commented 2 years ago

@cavanmflynn this would fix some issues I'm running into. Came here to write this PR.

cavanmflynn commented 2 years ago

Closed in #35. Thanks!