我运行了以下命令:
> geth --rpc --nat none --dev --ipcpath "geth.ipc" init genesis.json我的genesis.json文件如下(取自https://github.com/ethereum/go-ethereum/wiki/Private-network的文档):
{
"config": {
"chainId": 15,
"homesteadBlock": 0,
"eip155Block": 0,
"eip158Block": 0
},
"difficulty": "200000000",
"gasLimit": "2100000",
"alloc": {
"7df9a875a174b3bc565e6424a0050ebc1b2d1d82": { "balance": "300000" },
"f41c74c9ae680c1aa78f42e5647a62f353b7bdde": { "balance": "400000" }
}
}如何让这个区块链在http://localhost:8545上运行?
发布于 2017-06-30 09:56:37
geth --rpc --rpcaddr "127.0.0.1" --rpcport "8545"https://ethereum.stackexchange.com/questions/19130
复制相似问题