Skip to content

Instantly share code, notes, and snippets.

@avtehnik
Last active December 13, 2018 08:11
Show Gist options
  • Save avtehnik/d8c8397856b93b89afb16e9b24a51a02 to your computer and use it in GitHub Desktop.
Save avtehnik/d8c8397856b93b89afb16e9b24a51a02 to your computer and use it in GitHub Desktop.
private etherium network
{
"config": {
"chainId": 33,
"homesteadBlock": 0,
"eip155Block": 0,
"eip158Block": 0
},
"nonce": "0x0000000000000033",
"timestamp": "0x0",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"gasLimit": "0x8000000",
"difficulty": "0x00000001",
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x3333333333333333333333333333333333333333",
"alloc": {
"B06876E942Bbd1262b2a5CCfDB7B2734141CCc32": {"balance": "0xffffffffffffffffffffffff"}
}
}
@avtehnik
Copy link
Author

avtehnik commented Dec 12, 2018

geth --datadir="testnet" --verbosity 3 --port 30302 --rpcport 8545 --rpc --rpcapi="eth,web3,personal,net" --mine --minerthreads=1 --etherbase=0xB06876E942Bbd1262b2a5CCfDB7B2734141CCc32
--rpcaddr "0.0.0.0" --networkid 33 console

@avtehnik
Copy link
Author

admin.nodeInfo.enode

@avtehnik
Copy link
Author

admin.addPeer("enode://423b58e0179e4f43fc0a63053ba405db088625a0aa6a75ec1ecd36e4859dc63d1e67c422a7de4c803d4aa5914aaab3d75bfc3df2ec492d4d85792f473fb21c9a@192.168.1.108:30302")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment