0

How do NFT projects combine their assets with all possible combinations? e.g. Cryptokitties: you have like 10 skin colors, 10 eyes shape ...etc. to combine these assets, you get let's say 10000 combinations, each one is unique.

My question is, which software (if any) can I use to combine specific assets into all possible unique combinations? or do I have to create my own software for that?

2 Answers 2

0

Cryptokitties - and quite probably other similar NFT projects - uses an offchain genetic algorithm1 to assemble the unique combinations.

There were various articles at the time that attempted to explain how such alogorithms (probably) worked, such as the one by Hackernoon (here). (I won't speculate further here.)

1 In computer science and operations research, a genetic algorithm (GA) is a metaheuristic inspired by the process of natural selection that belongs to the larger class of evolutionary algorithms (EA).

0

this repo does exactly what you are looking for

https://github.com/HashLips/hashlips_art_engine

here's their official youtube channel

https://www.youtube.com/@HashLipsNFT

this is a handy updated tutorial that uses the hashlips repo (but in spanish)

https://www.youtube.com/watch?v=HK7CtS4hrmA&t=10s

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.