You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modify the "update_json_to_generic_meta.js" script to look at this URL list and then randomly choose one of the URLs and assign it to the generic JSON metadata.
Motivation
This will allow users to have different generic metadata images instead of a single generic metadata image before their reveal.
The text was updated successfully, but these errors were encountered:
Updated the constants/nft_details.js genericURL field from a single key:value field to a key:array field. The updated field name is now called genericURLs.
"genericURLs: ["GENERIC_URL_#1_HERE", "GENERIC_URL_#2_HERE", "GENERIC_URL_XXX_HERE"]"
Users can now simply add a list of IPFS URLs of the images that they have manually uploaded, to the genericURLs array and when the "update_json_to_generic_meta.js" script is used, it will randomly pick one of the URLs in this array and assign it to the edition. If the user only wants a single generic image, then they can simply put the single url in there.
Completed and tested work for the below feature.
Users can now make use of a list of generic images that will randomly be assigned to their generic metadata when creating Reveal collections.
#18
Summary
Add the ability to provide a list of ipfs urls that can be used in the generation of generic metadata.
Basic example
Provide an array of IPFS URLs in the nft_details.js configuration file.
['https://ipfs.io/ipfs/bafkreigye3xz72jp2eskhrgq4blhh5ec3wwbj4isqejv4a6mdhqzcuvquy', 'https://ipfs.io/ipfs/bafkreigye3xz72jp2eskhrgq4blhh5ec3wwbj4isqejv4a6mdhqzcuvqu2', 'https://ipfs.io/ipfs/bafkreigye3xz72jp2eskhrgq4blhh5ec3wwbj4isqejv4a6mdhqzcuvqu3'] ;
Modify the "update_json_to_generic_meta.js" script to look at this URL list and then randomly choose one of the URLs and assign it to the generic JSON metadata.
Motivation
This will allow users to have different generic metadata images instead of a single generic metadata image before their reveal.
The text was updated successfully, but these errors were encountered: