Skip to content

How to Upgrade from ERC-721 to ERC721A in a Web3 Project, I have only JSON ABI Files? #4419

Discussion options

You must be logged in to vote

Upgrading your ERC-721 contract to ERC721A with only the ABI files presents some challenges due to the limitations of ABI files, as they only define the interface and not the actual implementation. Here's how you can proceed:

1. Understand the Limitations

ABI Files:

Allow you to interact with deployed contracts but do not grant the ability to modify the underlying smart contract code or its behavior.

Upgradeability:

Direct upgrades to a deployed contract are not possible unless the contract was designed to be upgradeable (e.g., using a proxy pattern like OpenZeppelin's TransparentUpgradeableProxy).

2. Options for Moving Forward

Option A: Deploy a New Contract

Recreate the Contract:

Since …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@abdulrahmanRadan
Comment options

Answer selected by abdulrahmanRadan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants