I wonder how I can get my teammates to minting without paying Ether. (Pay for gas with Ether in the contract wallet.) Can you give me some ideas on how to distribute the team volume?
constructor(address[] _teammates)
for(uint256 i = 0; i < _teammates.length; i++){
_mint(_teammates[i], i); // mint i'th token to i'th teammate
}
}
constructor(address[] _teammates)
teammates = _teammates;
}
function distributeTokensToTeam() public onlyOwner{
for(uint256 i = 0; i < teammates.length; i++){
transfer(teammates[i], i); // send i'th token to i'th teammate
}
}