nftool
nftool copied to clipboard
How to add weight to layers?
The weights for traits is clearly discussed in the docs but I can't find how to add weights to layers ..
Hi @kabaluyot, I'm not sure what you mean by weights to layers, is it about having/not having a layer?
Hi @alephao , the use case looks like this:
E.g I have a 3 layers NFT, Layer1 (Background), Layer2 (Eyes), Layer3 (Nose) Now for example each layers have at least 3 traits, and it will look like this:
Layer1 5-SuperRare.png 100-Common.png 100-Common.png
Layer2 5-SuperRare.png 100-Common.png 100-Common.png
Layer3 5-SuperRare.png 100-Common.png 100-Common.png
Now using nftool, Layers 1,2,3 in terms of rarity looks equal. Requirement is to let Layer1 have significant weight compared to the rest. So if 2 NFTs are compared for example, with the first having a super rare Layer2 (and the rest are common) and second having a super rare Layer1 (and the rest are common), the second one should be the rarest.