I'm working with Ethereum fork, called Wemix. According to the list of commands, it supports dumpgenesis
command, which is supposed to generate genesis file (similarly to geth, though we don't need to run that command for ETH because ETH genesis.jon is available in Github). However, it generates Ethereum genesis instead of the Wemix one. Is there a way for Ethereum fork to produce its genesis, not Ethereum's?
Maybe it is somewhere in the chaindata DB, which I can open programmatically and read its data?
geth init
to initialize block 0 , after that it will only run for your network, not mainnet. if you startgeth
withoutinit
command executed previously, geth will make default initialization using mainnet genesiscmd
directory in ethereum sources. github.com/ethereum/go-ethereum/blob/…