Local Brise Chain Network
Setting up your BRISE Node(s)
1. Prereq : Install Geth
2. Prereq : create /projects
$ mkdir <my projects folder>
$ sudo ln -s <my projects folder> /projects3. Create local_ethereum_blockchain folder
$ mkdir /projects/local_ethereum_blockchain4. Create the genesis block config
{
"config": {
"chainId": 1000,
"homesteadBlock": 0,
"eip155Block": 0,
"eip158Block": 0
},
"nonce": "0x0000000000000061",
"timestamp": "0x0",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"gasLimit": "0x8000000",
"difficulty": "0x100",
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x3333333333333333333333333333333333333333",
"alloc": {}
}5. Initialise an Ethereum node
6. Start that Ethereum node
7. Initialise another Ethereum node
8. Start the 2nd Ethereum node
9. Connect one node to the other
Useful geth commands
Node info
Peers
Create an account
Unlock account
Start mining
Stop mining
Current block number
Details of current block
Which node minded the last block
Account balance, in ether
Transfer ether between accounts
Exit
Connect to other nodes on your network
Last updated