I've just started playing with solidity and Ethereum. I have a local ganache blockchain and I've deployed a small set of contracts based on openzeppelin (three .sol files).

The estimated cost of the deployment is 0.07582022 ETH.

I supposed that with a complete project the cost will be much higher.

Does the cost depend on the number of files or instructions? Does this high price depend on the use of openzeppelin?

2 Answers 2


Deployment cost depends on the complexity of the contract constructor function and the contract size.

You can find more on here and here


The price of deployment depends on the size of the contracts (bytecode payload).

Because each byte in the blockchain is preserved forever, the storage cost is premium.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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