September 2019
Beginner to intermediate
540 pages
13h 3m
English
When we created the blockchain without mining, we left the alloc section blank. We will prefund the accounts this time. You may want to tune the difficulty to a lower value in your first attempt. It is better to choose some random value for a nonce, in case it connects to any unknown nodes. Let's have a look at the following configuration:
{"config": { "chainId": 135, "homesteadBlock": 0, "eip155Block": 0, "eip158Block": 0 }, "alloc" : { "0x0000000000000000000000000000000000000001": {"balance": "111111111"}, "0x0000000000000000000000000000000000000002": {"balance": "222222222"} }, "coinbase" : "0x0000000000000000000000000000000000000000", "difficulty" : "0x00001", "extraData" : "", "gasLimit" : "0x2fefd8", ...Read now
Unlock full access