I would like to create a Fork of Monero with a certain number of coins premined.
I have tried to follow How would someone premine a direct fork of monero ( can it be done ) but it is incomplete.
Based on this, I have found on line 92 of src/cryptonote_basic/cryptonote_basic_impl.h
bool get_block_reward(size_t median_size, size_t current_block_size, uint64_t already_generated_coins, uint64_t &reward, uint8_t version);
Lets assume I have a maximum supply of 5000000 coins of which 90% are premined. Where do I modify the Monero code to show this? Also, where do I specify the wallet address for the pre-mined coins to be sent to?