This question already has an answer here:

How were the first tokens issued?

Modifying the database? is there any special case on the code to accept anything coming from the genesis block?

marked as duplicate by Orbit Lens, Community Jun 8 '18 at 11:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.