What is the best way to get a contract size in Brownie?

Looking at the json in build/contract, I can see deployedBytecode. Is this what must be constrained in the 24k main net limit?

1 Answer 1


Just enter "brownie compile --size" in your terminal

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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