What is the benefit of using contract factories and clones?

Trying to figure out what is the added benefit of this approach?

1 Like

Hi @pkr,

Hello :wave:, it has been a while. I hope you are surviving 2020.

A factory contract deploying minimal proxies is great when you are deploying the same contract multiple times. The benefits are gas saving, and being able to have data about the contracts being created in one place (whether by emitting events or storing the addresses). What you don’t get is the ability to upgrade those contracts.

For background on Minimal proxies I recommend reading: https://blog.openzeppelin.com/deep-dive-into-the-minimal-proxy-contract/

For deployment we can use ProxyFactory

1 Like

Hi @abcoathup

Thanks mate, 2020 has been interesting to state the least.

Sorry, was away for a bit, had to deal with quite a bit of unplanned events this year.

Thanks for your quick and prompt response — always very insightful.

I will read the resource you shared later.

I like oz framework and want to keep building with it.

I see a lot a new things have been release …what’s the best way to catchup, on all-things-oz ?

1 Like

Hi @pkr,

As Melbourne approaches a fortnight of the second lockdown it is definitely interesting times.

The best way to catch up is to have a look at Essential Topics, especially the last couple of months.

Feel free to ask specific questions.