Imports github.com/pkg/errors github.com/hyperledger/fabric/common/chaincode github.com/hyperledger/fabric-protos-go/peer github.com/hyperledger/fabric/common/flogging github.com/hyperledger/fabric/common/util Standard library imports bytes encoding/hex encoding/json fmt io io/ioutil os path/filepath regexp compress/gzip archive/tar