## 接口的使用
org.hyperledger.fabric.gateway.Contract

- 使用Contract的程序包
  程序包 | 说明
  --- | ---
  org.hyperledger.fabric.gateway | This package provides the set of interfaces that enable a Java application to interact with a Fabric blockchain network.

- - ### org.hyperledger.fabric.gateway中Contract的使用

    返回Contract的org.hyperledger.fabric.gateway中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Contract` | Network.`getContract(String chaincodeId)` Get an instance of a contract on the current network.
    `Contract` | Network.`getContract(String chaincodeId, String name)` Get an instance of a contract on the current network.

Copyright © 2023. All rights reserved.