0

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!

1 Answer 1

0

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.

8
  • 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?
    – user53451
    Commented May 7, 2019 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
    Commented May 7, 2019 at 14:39
  • I see. then how can I define the maximum Ether coin number as bitcoin has 210,000,000 coins. thanks.
    – user53451
    Commented May 8, 2019 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
    Commented May 8, 2019 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.
    – user53451
    Commented May 9, 2019 at 2:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.