How to transfer balance from pre-mined wallets to others? #555
-
When creating the genesis file, I pre-mined with the following command.
I can check that the wallet |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @jacobhjkim Solution:
|
Beta Was this translation helpful? Give feedback.
Hi @jacobhjkim
When creating the network and the genesis file you should pre-mine only accounts for which you have private keys. If you pre-mine accounts and do not have a private key to access them, your pre-mined balance will not be usable
Solution:
You can pre-mine nodes with addresses from the first step (https://edge-docs.polygon.technology/docs/get-started/set-up-ibft-locally#step-1-initialize-data-folders-for-ibft-and-generate-validator-keys). The private key from a node is places in the data-dir of the node, example:
test-chain-N -> consensus -> validator.key
You can use any address from your wallet (for example metamask). Private keys and addresses remain the same when you sw…