I want to run my own eth fork from mainnet (keeping history of transactions, balances & etc). How can I start my new geth instance that will start working after ###### block of mainnet chain? I found ganache-cli but it`s only for testing. Are there any solutions / manuals for forking eth mainnet in production?


To achieve this I would start off with one node (or a couple) and sync to the main net.

  • At block X, I would then server the connection with the mainnet
  • The connected nodes should continue to propagate their own blocks, which in essence is a fork
  • New nodes can join this network a continue to propagte this new fork.

A caveat is that you might have issues with the chain/network id and might have to chain this i.e. modify the genesis file and restart the nodes, otherwise the nodes might be convinced to reorg to the longest chain (i.e Mainnet) should they regain connection to the wild internet.

  • 1
    Would I need full-node for this? Or I can achieve same behavior with fast/light node? – g_arc Dec 3 '19 at 13:47

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.