Mac OS 安装以太坊钱包——Geth入门教程

原文https://blog.csdn.net/mimica247706624/article/details/79090896

一、安装Homebrew

在终端中输入命令行:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

等待安装完成即可使用brew,功能类似于Ubuntu的apt-get工具。

二、安装ethereum

1.安装以太坊(Ethereum)运行环境

      在终端中输入以下命令:

 
  1. brew tap ethereum/ethereum

  2. brew install ethereum

安装以太坊运行环境,此博客发表时ethereum版本为1.7.3-stable,请依据实际情况确认版本信息,版本信息将在安装完成后展示,请留意。

PS:如果想安装开发者版本,输入以下命令安装:

brew install ethereum --devel

2.安装golang语言开发客户端

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

     git安装过程略

其他说明:如果需要查看英文原版安装说明请转向:Installation Instructions for Mac(Mac系统下的安装介绍)

三、升级Geth

升级Geth则在命令行输入以下命令:

 
  1. brew update

  2. brew upgrade ethereum

等待升级到最新版本。

四、同步区块信息

如果不能不同区块或者速度太慢,解决方案:

1.依据http://ethfans.org/topics/150文章添加超级节点;

2.依据http://ethfans.org/topics/156从百度云上下载区块文件和nodes节点文件。

猜你喜欢

转载自blog.csdn.net/dwjpeng2/article/details/81463416
今日推荐