I'm looking to build a smart contract with a function which is able to generate a unique and limited amount of ERC721 tokens based on an input string. I also want to be able to look up all the tokens based on the input string.
How should I go about approaching this complying with best practices?
Example:
I input the string "Cow", to a function in the smart contract.
Next, I should be able to create a parent token which represent the string, and each child token should have a numerical ID within the range 1-50.