Can someone explain in laymens terms how to start a private testnet with a custom genesis file using init and not --genesis?
I've been reading from three different sites on the process of going about it, but have failed numerous times.
I've been doing something like this:
geth --datadir="/path/to/dir/" init /path/to/genesis.json --othercommands console >>2 /path/to/dir.log
I'm not sure if --datadir or init should be listed first. Everytime I try to use the init command I get, Incorrect Usage.
The init command initialises a new genesis block and definition for the network.
This is a destructive action and changes the network in which you will be
And messing with the verbosity and the >>2 /path/.log options are changing whether I have control of the geth console after I start geth. I'm really not sure what the ">>2 ...." after "console" even does or means. If someone could clear that up for me it would be awesome.
And as far as the customGenesis file goes, do I just create the file or put something into it?