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?

  • Why do you want / need to premine? – jtgrassie Jul 5 '18 at 1:45

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.