Visit our website for more details
This video show how to setup your own blockchain on windows.
Go over below video to install Geth on windows.
Below are the high level steps.
Install Geth
Go to for instructions.
Create Genesis block: Below is the code for that.
{
“config”: {
“chainId”: 987,
“homesteadBlock”: 0,
“eip155Block”: 0,
“eip158Block”: 0
},
“difficulty”: “0x400”,
“gasLimit”: “0x8000000”,
“alloc”: {}
}
Create data directory on system
Run init command
geth –datadir E:\privateBlockchain init E:\CustomGenesis.json
Run command to create Blockchain
geth –identity “localB” –rpc –rpcport “8280” –rpccorsdomain “*” –rpcapi “db,eth,net,web3” –datadir “E:privateBlockchain” –port “30303” –nodiscover –networkid 1999 console
Few Command to run
personal.newAccount()
eth.getBalance(“address“)
personal.unlockAccount(“address”)
miner.start()
miner.stop()