以太坊geth客户端源码搭建

2021/5/22 20:29:51

本文主要是介绍以太坊geth客户端源码搭建,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

源码安装ethereum

//克隆github仓库
$ sudo git clone https://codechina.csdn.net/mirrors/ethereum/go-ethereum.git

//从源码构建Geth
$ cd go-ethereum
$ make geth

make geth时出错
make geth出错
解决:换一个国内能访问的代理地址,在重新执行
go env -w GOPROXY=https://goproxy.cn

apt-get命令安装

apt-get命令安装
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository -y ppa:ethereum/ethereum
$ sudo apt-get update
$ sudo apt-get install ethereum



这篇关于以太坊geth客户端源码搭建的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程