nftchef / art-engine

An advanced fork of the HashLips Art Engine with additional features to generate complex art from provided layers using the familiar Hashlips setup.
MIT License
427 stars 203 forks source link

Regenerate metadata.json from _dna.json. Useful when an error occured while running util scripts. #245

Closed rairulyle closed 1 year ago

rairulyle commented 2 years ago

I just experienced an issue where I broke my metadata.json. I happened to run node utils/replace.js and an error occurred but it has successfully modified the JSON, metadata, and images for some. Now I can't run utils that require metadata.json as it is already broken.

Is there a way to regenerate a metadata.json from the _dna.json so I don't have to build the whole collection again?

nftchef commented 1 year ago

Added this feature 🙇