Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

How to transfer balance from pre-mined wallets to others? #555

Answered by 0xAleksaOpacic
jacobhjkim asked this question in Q&A
Discussion options

You must be logged in to vote

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:

  1. 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

  2. You can use any address from your wallet (for example metamask). Private keys and addresses remain the same when you sw…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jacobhjkim
Comment options

Answer selected by lazartravica
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants