Example genesis.json for an Ethereum blockchain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"config": { | |
"chainId": 33, | |
"homesteadBlock": 0, | |
"eip155Block": 0, | |
"eip158Block": 0 | |
}, | |
"nonce": "0x0000000000000033", | |
"timestamp": "0x0", | |
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | |
"gasLimit": "0x8000000", | |
"difficulty": "0x100", | |
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", | |
"coinbase": "0x3333333333333333333333333333333333333333", | |
"alloc": {} | |
} |
Thanks for sharing
Sorry to bother but I got a message when using this json file:
Fatal: Failed to write genesis block: unsupported fork ordering: eip150Block not enabled, but eip155Block enabled at 0
Could you please update this gist?
Sorry to bother but I got a message when using this json file:
Fatal: Failed to write genesis block: unsupported fork ordering: eip150Block not enabled, but eip155Block enabled at 0
Could you please update this gist?
Simply remove these 3 lines
Line 4,5,6
"homesteadBlock": 0,
"eip155Block": 0,
"eip158Block": 0
Does anyone know where I can find the docs for the definitions of each property. Is there a genesis.json API doc?
just search them on internet and you are good to go.
Thanks for sharing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for sharing!