1

I have created a smart contract with the "standard" openzeppelin library for an ERC721 token (It has not been deployed yet). I would like to make my contract upgradeable. Can I simply install openzeppelin-contracts-upgradeable in my project (instead of the @openzeppelin/contracts one) and import its modules as they are in my smart contract (besides being careful to change any constructor to an initializer in my own smart contract)? Does the openzeppelin-contracts-upgradeable library contain all the same functions as the @openzeppelin/contracts one?

Thank you. J

Your Answer

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

Browse other questions tagged or ask your own question.