以太坊私有链入门最新教程(最新)

入门安装go-etherenum

搭建私有链

官方文档提供两种方式,本文使用源码编译

下载源码

git clone https://github.com/ethereum/go-ethereum

安装golang

yum install golang

编译

cd go-ethereum
make geth

以太坊私有链入门最新教程(最新)_第1张图片

config配置文件

{
  "coinbase"   : "0x0000000000000000000000000000000000000000",
  "difficulty" : "0x400",
  "extraData"  : "0x0",
  "gasLimit"   : "0x2fefd8",
  "nonce"      : "0xdeadbeefdeadbeef",
  "mixhash"    : "0x0000000000000000000000000000000000000000000000000000000000000000",
  "parentHash" : "0x0000000

你可能感兴趣的:(区块链入门到精通,区块链纪录片)