Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a custom batchURI update function #5

Closed
SamusElderg opened this issue Dec 13, 2021 · 1 comment
Closed

Create a custom batchURI update function #5

SamusElderg opened this issue Dec 13, 2021 · 1 comment
Assignees

Comments

@SamusElderg
Copy link
Collaborator

With the change to ERC-721, the URIs being updated if ever required will be a bit of a headache, with that said we might be able to do this:

  • Create 4 functions per contract, something like batchUpdateSilverURI(), batchUpdateGoldURI() etc
  • Have them loop the intended range of NFTs to update their URI link to point to a single IPFS link for example
  • For this to work, would need the base URI to be '' null
  • Might be computationally expensive, but would mean we don't need the URIs on a centralised server etc
  • Could even interface it inside the batchMint function on deploy

Have a think about it...

@SamusElderg SamusElderg self-assigned this Dec 13, 2021
@SamusElderg
Copy link
Collaborator Author

Have made some changes to make this irrelevant when using IPFS folder storage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant