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

Rarity Options #19

Open
J-Renegade opened this issue Feb 14, 2022 · 0 comments
Open

Rarity Options #19

J-Renegade opened this issue Feb 14, 2022 · 0 comments

Comments

@J-Renegade
Copy link

J-Renegade commented Feb 14, 2022

Was any able to add rarity to their nfts and upload? For some reason when I set the rarity the whole thing breaks. The instructions to create rarity are incomplete or maybe I missed something. I've been fiddling with it on and off for a few days now and I'm pretty lost. There seems to be an issue with creating the DNA using the getRarity parameters defined (or not defined) in rarity.js. I somehow broke the integration between rarity.js and dna.js, that part is working now.

My issue is now with the rarity metadata. There's an issue with the way rarityWeights are being used. I want to set rarity per layer separate of the entire edition so I can have an edition with a rare layer1, common layer2, and/or rare layer3, each one chosen at random. I got the generator to do that but when it's uploaded to ipfs the metadata registers the edition rarity based on the rarityWeights and not layers. I may have just answered my own question. Idk any ideas? Anyone know where I can find that value?

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