The premine flag sets the address that should be included with a starting balance in the genesis file. In this case, the address 0x1010101010101010101010101010101010101010 will have a starting default balance of 0x3635C9ADC5DEA00000 wei.
The balance can be either a hex or uint256 value.
:::warning Only premine accounts for which you have a private key! If you premine accounts and do not have a private key to access them, you premined balance will not be usable :::
Step 2: Start the xBuildApp in dev mode
To start the xBuildApp in development mode, which is explained in the CLI Commands section, run the following:
polygon-edge server --chain genesis.json --dev --log-level debug
Step 3: Query the account balance
Now that the client is up and running in dev mode, using the genesis file generated in step 1, we can use a tool like curl to query the account balance:
The command should return the following output:
Step 4: Send a transfer transaction
Now that we've confirmed the account we set up as premined has the correct balance, we can transfer some ether: