MCPcopy
hub / github.com/the-open-agent/openagent / ChainChainmakerClient

Struct ChainChainmakerClient

chain/chainmaker.go:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33type ChainChainmakerClient struct {
34 ChainConfig *ChainConfig `json:"chain_config"`
35 ContractName string `json:"contract_name"`
36 ContractMethod string `json:"contract_method"`
37 Data string `json:"data"`
38 TxId string `json:"txId"`
39}
40
41func newChainChainmakerClient(nodeAddr, authType, orgId, chainId, chainmakerEndpoint, UserKey, UserCert, SignKey, SignCert, ContractName, ContractMethod string) (*ChainChainmakerClient, error) {
42 chainConfig := &ChainConfig{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected