Download and Install Golang SDK

Q

How to download and install Golang SDK for Hyperledger Fabric?

✍: FYIcenter.com

A

You can follow this tutorial to download and install Golang SDK for Hyperledger Fabric.

1. Download Golang SDK:

$ export GOPATH=~/go

$ echo $GOPATH
/home/fyicenter/go

$ go get github.com/hyperledger/fabric-sdk-go

2. Verify Golang SDK package:

$ ls -l go/src/github.com/hyperledger/fabric-sdk-go/

-rw-rw-r--  1 fyicenter 152949 Apr 18 15:51 CHANGELOG.md
-rw-rw-r--  1 fyicenter  12920 Apr 18 15:51 Gopkg.lock
-rw-rw-r--  1 fyicenter   1110 Apr 18 15:51 Gopkg.toml
-rw-rw-r--  1 fyicenter  11358 Apr 18 15:51 LICENSE
-rw-rw-r--  1 fyicenter    961 Apr 18 15:51 MAINTAINERS.md
-rw-rw-r--  1 fyicenter  33015 Apr 18 15:51 Makefile
-rw-rw-r--  1 fyicenter   7777 Apr 18 15:51 README.md
-rw-rw-r--  1 fyicenter    154 Apr 18 15:51 ci.properties
-rw-rw-r--  1 fyicenter   1958 Apr 18 15:51 doc.go
-rw-rw-r--  1 fyicenter   2293 Apr 18 15:51 go.mod
-rw-rw-r--  1 fyicenter  12504 Apr 18 15:51 go.sum
-rwxrwxr-x  1 fyicenter   1688 Apr 18 15:51 golangci.yml
drwxrwxr-x  3 fyicenter   4096 Apr 18 15:51 internal
drwxrwxr-x 10 fyicenter   4096 Apr 18 15:51 pkg
drwxrwxr-x  4 fyicenter   4096 Apr 18 15:51 scripts
drwxrwxr-x  7 fyicenter   4096 Apr 18 15:51 test
drwxrwxr-x  3 fyicenter   4096 Apr 18 15:51 third_party

 

Download and Install Java SDK

Main Interfaces to Communicate with Ledger Peer

Interfaces to Communicate with Ledger Peer

⇑⇑ Hyperledger Tutorials

2020-01-21, 337👍, 0💬