Open thecryptobirdie opened 3 years ago
Thanks for the response. How exactly do i access this text? I cant find it on the code. sorry im totally new to code lol
@thecryptobirdie which branch version are you on?
you can usually tell by looking at your root folder "generative-art-opensource-3"
should give you a version number or "main"
nevermind. i found out how to change it. thank you so much!!
one more question though: {"name":"LAVENDER"},{"name":"LIGHT BLUE"},{"name":"MAROON EYES"},{"name":"ORANGE BEAK"},{"name":"HEADPHONES"},{"name":"NONE"}]} Im making bird nft's and im wondering if i upload them to Opensea from here, will they all fall under a "name" category? how to I make it individual cateories like eyes: Maroon eyes or beak: Orange beak
or in general, what do most creators do? what would you recommend i do?
so you're wanting traits, correct? I suggest downloading the V3 branch as the traits are already in the config.js.
Hashlips (the creator of this project) has a few tutorials on adding traits for the metadata/opensea
it may be alright. so if it says {"name":"LAVENDER"},{"name":"LIGHT BLUE"},{"name":"MAROON EYES"},{"name":"ORANGE BEAK"},{"name":"HEADPHONES"},{"name":"NONE"}]}, in opensea the "name" wouldnt show? it would say Attributes: ORANGE BEAK and Attributes: HEADPHONES
So in theory you should have something like this. This would be the BACKGROUND attribute, and then I have several different backgrounds with different names. so in Opensea, it would show 'Background: Blue" or something. It would be the same with other attributes like eyes and beak.
name: "Background",
elements: [
{
id: 0,
name: "Blue",
path: ${dir}/Background/bg_1.png
,
weight: 60,
},
{
id: 1,
name: "Yellow",
path: ${dir}/Background/bg_2.png
,
weight: 20,
},
{
id: 2,
name: "Green",
path: ${dir}/Background/bg_3.png
,
weight: 20,
},
if I decided to stick with just one overarching thing, looking at my lines of code that i sent, the blue would say Attributes and the black would say ORANGE BEAK and everything else?
but if I were to go with what you said, where would I paste it, and what would i have to change/enter for each attribute?
There is a trait type solution in #19 i believe ponda fixed it
Perfect. thank you!!
In V3/V4, if you go to index.js, find the addMetadata constant and edit "name" to something like this (see bold):
const addMetadata = (_dna, _edition) => { let dateTime = Date.now(); let tempMetadata = { dna: _dna.join(""), name:
Crypto Thing #${_edition}
, description: description, image:${baseImageUri}/${_edition}.png
, edition: _edition, date: dateTime, attributes: attributesList, }; metadataList.push(tempMetadata); attributesList = []; };