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


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).


this repo does exactly what you are looking for


here's their official youtube channel


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


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.