0

I am trying to created ethereum private network.

platform - Windows , geth 1.8.27-stable

I created C:\myeth\genesis.json.

genesis.json

{
  "config": {
        "chainId": 0,
        "homesteadBlock": 0,
        "eip155Block": 0,
        "eip158Block": 0
    },
  "alloc"      : {},
  "coinbase"   : "0x0000000000000000000000000000000000000000",
  "difficulty" : "0x20000",
  "extraData"  : "",
  "gasLimit"   : "0x2fefd8",
  "nonce"      : "0x0000000000000042",
  "mixhash"    : "0x0000000000000000000000000000000000000000000000000000000000000000",
  "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
  "timestamp"  : "0x00"
}

Then i created chaindata folder C:\myeth\chaindata and run this command geth --datadir C:\myeth\chaindatad init C:\myeth\genesis.json but it showing such error, which i am unable to debug. Please guide me where am i doing wrong. thanks in advance.

  • Just as a data point, this genesis file seems to work fine for me on Linux, using 1.8.27-stable. – Richard Horrocks May 26 at 22:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.