OpenZeppelin SDK to develop NOT upgradable contracts

Hi all :slight_smile:
I was looking for if I could use oz sdk to develop not upgradable contracts, for example contracts that use construct() instead of initialize(), because the compiler warns me with - Contract MyErc20 has an explicit constructor. Change it to an initializer function. See https://docs.openzeppelin.com/sdk/2.5/writing-contracts#initializers.
I understand that if i use the command oz create uses the upgrade pattern, is it the same with oz push? And what are the differences between them?

Thanks in advance :smiley:

1 Like

Hi @LucaAsga,

OpenZeppelin SDK currently only supports creating and interacting with, upgradeable contracts.

To deploy non-upgradeable contracts you can use alternatives such as Truffle.

Hi @LucaAsga,

I wanted to check if you needed more information?

Hey @LucaAsga! I just stumbled upon this thread searching for something else. Release 2.8 of the CLI handles non-upgradeable contracts, feel free to check it out!

2 Likes

Thanks I’ll look into it😁

1 Like