How to I transfer many of my ERC721 tokens to many addresses?
MyERC721:
function mintUniqueTokenTo (
address _to,
uint256 _tokenId,
string _tokenURI // Store, receipient's name, grade and program details
) public
{
super.mint(_to, _tokenId);
super._setTokenURI(_tokenId, _tokenURI);
}
Mint to one token is easy:
nftInstance.mintUniqueTokenTo(address, tokenId, tokenURI)
With many receipients, I thought of creating a distribution contract but solidity cannot accepts array of strings. So I cannot pass it the tokenIds and tokenURIs
addresses[]; //List of receipients of my NFT tokens
tokenIds[];
tokenURIs[];
So this is where I'm stuck. Is my approach wrong?