fabric-sdk-go安装

fabric-sdk-go安装

官方参考教程

https://chainhero.io/2018/06/tutorial-build-blockchain-app-v1-1-0/

安装brew

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

安装dep

brew install brew

尝试make depend

可能依赖的库,翻墙速度慢就do it manually

git clone https://github.com/golang/net.git net
git clone https://github.com/golang/crypto.git crypto
git clone https://github.com/golang/tools.git tools

optional: go get -v  golang.org/x/..

  • x/tools
  • x/net
  • x/grpc
  • x/crypto

gopm的使用

go get -u github.com/gpmgo/gopm

经常不能用,实在不行就在网站上下载:
https://gopm.io/download

你可能感兴趣的:(fabric-sdk-go安装)