Use deployless multicall as a fallback for chains where multicall3 is not deployed #183
-
I've been using deployless multicall as a fallback for the chains that my dapps support where multicall is not yet deployed. I'm using this library on top of ethers to achieve this. As I'm trying out viem and definitely plan to make the switch, it would be cool to have this same feature built-in over here since it already supports multicall out-of-the-box! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Agree! Would love to have this built in. Will put it on the Roadmap — this would be a nice first feature for someone to work on. |
Beta Was this translation helpful? Give feedback.
-
Just wanted to report that currently the deployless method which basically executes a read-only deployment of a contract using eth_call and overwrites its return value using assembly doesn't work with Anvil (it always worked with all of the other nodes I used in the past, Infura, Alchemy, Tenderly, Hardhat, etc.). I opened a discussion here foundry-rs/foundry/discussions/4549 for now. |
Beta Was this translation helpful? Give feedback.
-
bump on this, would love to see this! |
Beta Was this translation helpful? Give feedback.
Agree! Would love to have this built in. Will put it on the Roadmap — this would be a nice first feature for someone to work on.