Simply divide the desired total time by the number of coins, and you get the time per coin.
Edge cases you might want to be aware of:
- When you do a transfer of 0 coins for any reason, it gives you a division by zero. You might want to handle that case separately.
- With a very large number of coins, you might get a shorter time between coins than the timing system of your platform can handle. You might want to test how your platform behaves in that case. A possible workaround might be to transfer coins in larger packets when the transfer amount exceeds a certain threshold.