Ok managed to make the contract, i increases gas, what will the max supply be?
Do not increase the gas at all. On the contrary, when confirming participation in the lottery, it is necessary to reduce the cost of gas to 1! Increase the cost of gas and its quantity makes sense during the lottery itself! But the time of the lottery is not yet determined! It is necessary to collect 1000 participants.