I am trying to know how ICO works (on a high, intuition-level), somehow it is hard to find information on the following questions.
As I understand this minting is the process where you create the tokens. What exactly is happening there? You create a erc20 contract and it has a list of people who paid into your ico and then you more or less say balance of the address of the investor is now XY coins? (and maybe convert it later if you have a non-eth blockchain)
What does prevent me from minting afterwards again if I am the owner/creator of the token-contract?
Somewhere I read that you should do minting on separate offline machine and transfer ownership after that to not expose your private key? Why would the private key get exposed while doing the ICO?