eos安装区块链开发环境

本文主要介绍如何构建在EOS平台运行的DApp开发环境。

EOSIO构成组件

EOSIO是由三个component组成的。

11831773-ad7d9131b95fc79f.png

image

  • nodeos:管理区块链节点的组件。
  • keosd:管理钱包的组件。
  • cleos:控制区块链和钱包CLI工具。

安装EOSIO

此文档以MacOS Darwin 10.12为基准。

在EOSIO的github库下载源码。

$ git clone https://github.com/EOSIO/eos --recursive

要安装xcode和homebrew代码。如果还没有安装的情况,先设置xcodehomebrew

源代码包含构建脚本及构建实现。

$ cd eos
$ ./eosio_build.sh

如果成功的话,就会出现下面的信息。

[100%] Linking CXX executable unit_test

[100%] Built target unit_test

_______  _______  _______ _________ _______

(  ____ \(  ___  )(  ____ \\__   __/(  ___  )

| (    \/| (   ) || (    \/   ) (   | (   ) |

| (__    | |   | || (_____    | |   | |   | |

|  __)   | |   | |(_____  )   | |   | |   | |

| (      | |   | |      ) |   | |   | |   | |

| (____/\| (___) |/\____) |___) (___| (___) |

(_______/(_______)\_______)\_______/(_______)

EOSIO has been successfully built. 00:11:21

To verify your installation run the following commands:

/usr/local/bin/mongod -f /usr/local/etc/mongod.conf &

cd /Users/scion/git/eos/build; make test

For more information:

EOSIO website: https://eos.io

EOSIO Telegram channel @ https://t.me/EOSProject

EOSIO resources: https://eos.io/resources/

EOSIO Stack Exchange: https://eosio.stackexchange.com

EOSIO wiki: https://github.com/EOSIO/eos/wiki

解决问题

  • 如果build过程中出现这样的error时:
CMake Error at /usr/local/Cellar/cmake/3.11.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值