The problem is that the Azure marketplace is hosting an old version of Geth that does not support EIP 155 replay protection, which the latest version of MetaMask does.
The solutions are:
- Use a different client for testing (like TestRPC).
- Get Azure to update their hosted Geth version.
- MetaMask could add the ability to support the old transaction signing format, which requires a solution to this issue.
As a member of the MetaMask team, I'd love if we didn't have to support old, more dangerous Ethereum clients like this, and would greatly prefer if Azure just updated their Geth version.
Lastly, you can run an older version of MetaMask. Version 3.5.2 was the last version that did not implement EIP155 replay protection:
https://github.com/MetaMask/metamask-plugin/releases/tag/v3.5.2
First a create the any location this genesisblock file saved : /genesisblock.json
{
"nonce" : "0x0000000000000055",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"difficulty": "0x20000",
"gasLimit" : "0x800000",
"timestamp" : "0x0",
"extraData" : "",
"coinbase" : "0x0000000000000000000000000000000000000000",
"alloc" : {},
"config" : {
"chainId": 100,
"homesteadBlock": 0,
"eip155Block": 0,
"eip158Block": 0
}
}
Then Initiate the genesis file this commend run:
geth --datadir "D:\bolckchain\chaindata" init "c\genesisblock.json"
Then Private network create : this code run :
geth --networkid 13 --port 30303 --datadir "D:\bolckchain\chaindata" console
Private network create then mist or walled open
Then anther node add the private network this private network is 13
Then anther node add this network then addPeer : Example :
admin.addPeer("enode://a902f3231e561546896f4619bb7129e67f3b46ee4bc6a86e35ca1f575444e9f25dcb65bf0e09b02fd2714ce59bbb496a7783486d39eca4a17327ae1bacb3c699@10.42.0.40:30303")
IP configuration (enode creation with ip address)
IP-192.168.1.114
10.42.0.40 this miens anther computer ip: example 192.168.0.101
Then peer check this commend run :
$ admin
New Account crate commend :
->personal.newAccount()
Then password provided and re-password then new account create .
and all account list this commend :
->personal.listAccounts
and miner ether add this commend run :
-> miner.start(1)
sometime wait and account ether add:
and miner stop commend :
-> miner.stop()
and block number information this commend :
-> eth.getBlock(10)
10 miens 10 number block .
Remove Peer command :
-> admin.removePeer()
Best Answer
By another computer, I'm assuming you mean a separate machine within your the same LAN? Did you assign it a unique IP or is just on a subnet?
Either way, try
admin.addPeer("enode://address@ip:port")
in console.Another option is to set up a
static-peers.json
file. I answered a similar question a couple days ago you can refer to for more details.I didn't read the guide you posted, but you definitely don't need to download the Ethereum main net in order to launch your own private network. You just need to init a customgenesis.json that specifies the networkid and then get to work. Be sure to indicate
--networkid
when launching your geth instance.