I'm trying to create a private POA ETH chain and then issue my own token on it.

I have some questions about how to make the whole system work.

The one question is that after I have a private chain and before set up smart contract to issue token, how can I dig out all the coins in advance?

Another one is how to set the total coin number of private chain?

Thanks a lot!


In geth version of PoA "Clique" you set the total of coins in the genesis blocks and no other coins will be mined ever.

Validators get the transaction fee, but there's no reward for block creation.

  • what do you mean by "set the total of coins in the genesis blocks"? is it referring to allocate total amount of ether to my defined account in genesis file? and how to know and where to set total amount of ethers in Clique poa private chain? – Ntydrm May 7 at 4:35
  • Yes, you assign to an one or several accounts the balance you want in the genesis block. You can use a tool like puppeth to generate the correct genesis file. – Ismael May 7 at 14:39
  • I see. then how can I define the maximum Ether coin number as bitcoin has 210,000,000 coins. thanks. – Ntydrm May 8 at 8:58
  • Ether uses 18 decimals, and bitcoin has a supply of 21,000,000 bitcoins. So you have to assign 21000000 * 10^18 = 21000000000000000000000000. – Ismael May 8 at 15:16
  • Get confused, Why is the total amount of ether coins related to bitcoin's supply? and What's the unit of "21000000 * 10^18"? Wei or Ether? thanks. – Ntydrm May 9 at 2:18

Your Answer

