-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_orig.json
69 lines (69 loc) · 1.49 KB
/
config_orig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"chainName":"fabric-client1",
"chaincodeID":"mycc",
"channelID":"myc1",
"goPath":"../../test/fixtures",
"chaincodePath":"github.com/example_cc",
"keyValueStore":"/tmp/fabric-client-kvs",
"waitTime":"30000",
"caserver":{
"ca_url":"http://docker.slanders.com:8054"
},
"orderer":{
"orderer_url":"grpc://docker.slanders.com:8050"
},
"peers":[
{
"peer_url":"grpc://docker.slanders.com:8051"
},
{
"peer_url":"grpc://docker.slanders.com:8055"
},
{
"peer_url":"grpc://docker.slanders.com:8056"
}
],
"events":[
{
"event_url":"grpc://docker.slanders.com:8053"
},
{
"event_url":"grpc://docker.slanders.com:9053"
},
{
"event_url":"grpc://docker.slanders.com:10053"
}
],
"users":[
{
"username":"admin",
"secret":"adminpw"
}
],
"dockerfile_contents": "from hyperledger/fabric-ccenv\n COPY . $GOPATH/src/build-chaincode/\n WORKDIR $GOPATH\n\n RUN go install build-chaincode && mv $GOPATH/bin/build-chaincode $GOPATH/bin/%s",
"deployRequest":{
"functionName":"init",
"args":[
"a",
"100",
"b",
"200"
]
},
"invokeRequest":{
"functionName":"invoke",
"args":[
"move",
"a",
"b",
"100"
]
},
"queryRequest":{
"functionName":"invoke",
"args":[
"query",
"b"
]
}
}