Skip to content

@gala-chain/testAPI


API > MockedChaincodeClientBuilder

Class: MockedChaincodeClientBuilder

Contents

Implements

  • ChainClientBuilder

Constructors

new MockedChaincodeClientBuilder(params)

new MockedChaincodeClientBuilder(params): MockedChaincodeClientBuilder

Parameters

params: MockedChaincodeClientParams

Source

chain-test/src/e2e/MockedChaincodeClient.ts:56

Properties

adminId

private readonly adminId: string

Source

chain-test/src/e2e/MockedChaincodeClient.ts:54


mockedChaincodeDir

private readonly mockedChaincodeDir: string

Source

chain-test/src/e2e/MockedChaincodeClient.ts:50


mockedChaincodeIndexJs

private readonly mockedChaincodeIndexJs: string

Source

chain-test/src/e2e/MockedChaincodeClient.ts:51


mockedChaincodeLib

private readonly mockedChaincodeLib: Promise\<ChaincodeLib>

Source

chain-test/src/e2e/MockedChaincodeClient.ts:52


orgMsp

private readonly orgMsp: string

Source

chain-test/src/e2e/MockedChaincodeClient.ts:53

Methods

forContract()

forContract(config): MockedChaincodeClient

Parameters

config: ContractConfig

Implementation of

ChainClientBuilder.forContract

Source

chain-test/src/e2e/MockedChaincodeClient.ts:73