| UniswapV2Router02 · 26.305 · │

Warning: 1 contracts exceed the size limit for mainnet deployment.

I'm trying to deploy on the EVM network, but this is a fork from UNISWAP, what can I do to deploy this contract without exceeding the size limit?

  • try running optimizer on your compiler
    – Adam Boudj
    Mar 18, 2022 at 16:04

1 Answer 1


I suggest you to take a look at this tutorial V1 and then go to V2 . This way you will understand how it works and then you can try to test it on rinkeby network first . Hope this help , cheers !

Not the answer you're looking for? Browse other questions tagged or ask your own question.