func (c *channel) Chaincode(name string) driver.Chaincode {
	return chaincode.NewChaincode(name, c.sp, c.network, c)
}
Chaincode returns a chaincode handler for the passed chaincode name
package generic
import (
	"github.com/hyperledger-labs/fabric-smart-client/platform/fabric/core/generic/chaincode"
	"github.com/hyperledger-labs/fabric-smart-client/platform/fabric/driver"
)