以太坊windows版环境搭建()

以太坊windows版环境搭建步骤: 1.安装geth客户端geth-windows.exe
2.配置环境变量
3.在d盘新建文件夹eth 目录为:D:\eth\,写入创世区块文件代码,另存为genesis.exe

{ "config": { "chainId": 10, "homesteadBlock": 0, "eip155Block": 0, "eip158Block": 0 }, "alloc": {}, "coinbase": "0x0000000000000000000000000000000000000000", "difficulty" : "0x40", "extraData": "", "gasLimit": "0x2fefd8", "nonce": "0x0000000000000042", "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", "timestamp": "0x00" }

【以太坊windows版环境搭建()】4.在cmd中运行以下命令,节点初始化
geth –identity “df” –rpc –rpccorsdomain “*” –datadir “D:\eth\chain” –rpcapi “db,eth,net,web3,admin,miner,personal,rpc” –networkid 100 init “./genesis.json”
5.在cmd中运行以下命令,打开控制台
geth –identity “df” –rpc –rpccorsdomain “*” –datadir “D:\eth\chain” –rpcapi “db,eth,net,web3,admin,miner,personal,rpc” –networkid 100 console
6.如果想应用图形化界面,需要下载以太坊钱包客户端ethereum wallet

    推荐阅读