Configure private chain
geth.exe
Create a folder in the same directory, the name is random, my name issloweth
In sloweth
Create a folder named genesis.json
profile
The content of the configuration file is
{
"config":{
"chainId": 666
},
"difficulty": "0x20000",
"gasLimit": "0x2fefd8",
"alloc":{}
}
Here the simple private chain is configured.
initialization
geth.exe
Open the command line window in the same directory and
enter the following statement
geth --datadir sloweth init sloweth/genesis.json
Enter to initialize the private chain
After initialization is complete sloweth
folder will be generated geth
and keystore
two folders
They hold private chain data.