Can I upgrade my contract without Gnosis Safe?

I don’t need Gnosis Safe ,How can I upgrade my smart contract ,

1 Like

Sorry, what do you mean? If you do not want to use Gnosis Safe, just do not import it.

1 Like

But the last step How can do without Gnosis Safe?

1 Like

Could you please show an example code, is there any imported form Gnosis Safe in the OpenZeppelin package? I do not find it.

1 Like

When you use Gnosis Safe ,you can click the upgrade button at the last step ,I don’t use Gnosis Safe,where is my “upgrade button”?

1 Like

So what part in the document did you follow?

the last step Upgrade the contract

1 Like

Ohhh, I see, you do not want to use Gnosis Safe to control upgrades of your contract, I think just do ignore 3_transfer_ownership.js which will call transferProxyAdminOwnership, then execute the following steps.

1 Like

Hi @pageone,

Welcome to the community :wave:

There isn’t a requirement to use Gnosis Safe (or any multisig) to control upgrades.

You can just call upgradeProxy:

I would recommend considering how control of your upgrade is done (depending on the usecase of your smart contract), as you want to keep this control secure.

1 Like

Hi @pageone,

Did you need any more information?

What additional security does Gnosis Safe or OpenZeppelin Defender provide compared to upgradeProxy?

Hi @pofulu, Gnosis Safe provides multi-sig capability so that, for example, proxy upgrades can be restricted to approvals by multiple parties. OpenZeppelin Defender is a platform for secure smart contract operations, and approvers (whether due to multi-sig or different users/roles such as an admin) can use Defender to view and approve upgrades.

1 Like