code: func (cc *EndorsementCC) Init(stub shim.ChaincodeStubInterface) pb.Response {
  	err := stub.PutState("pub", []byte("foo"))
  	if err != nil {
  		return shim.Error(err.Error())
  	}
  	return shim.Success(nil)
  }
docs: // Init callback