@@ -29,11 +29,11 @@ To test the scenario where `Corda_Network` requests the value of the state (key)
2929- Run the following:
3030 * If Relays and Drivers are deployed in the host machine:
3131 ``` bash
32- ./clients/build/install/clients/bin/clients request-state localhost:9081 localhost:9082/Corda_Network2/localhost:30006#com.cordaSimpleApplication.flow.GetStateByKey:H
32+ NETWORK_NAME=Corda_Network CORDA_PORT=10006 ./clients/build/install/clients/bin/clients request-state localhost:9081 localhost:9082/Corda_Network2/localhost:30006#com.cordaSimpleApplication.flow.GetStateByKey:H
3333 ```
3434 * If Relays and Drivers are deployed in the Docker containers:
3535 ` ` ` bash
36- ./clients/build/install/clients/bin/clients request-state localhost:9081 relay-corda2:9082/Corda_Network2/corda_network2_partya_1:10003#com.cordaSimpleApplication.flow.GetStateByKey:H
36+ NETWORK_NAME=Corda_Network CORDA_PORT=10006 ./clients/build/install/clients/bin/clients request-state localhost:9081 relay-corda2:9082/Corda_Network2/corda_network2_partya_1:10003#com.cordaSimpleApplication.flow.GetStateByKey:H
3737 ` ` `
3838- Query the value of the requested state, using key ` H` in ` Corda_Network` by running the following command:
3939 ` ` ` bash
@@ -46,11 +46,11 @@ To test the scenario where `Corda_Network2` requests the value of the state (key
4646- Run the following:
4747 * If Relays and Drivers are deployed in the host machine:
4848 ` ` ` bash
49- ./clients/build/install/clients/bin/clients request-state localhost:9082 localhost:9081/Corda_Network/localhost:10006#com.cordaSimpleApplication.flow.GetStateByKey:C
49+ NETWORK_NAME=Corda_Network2 CORDA_PORT=30006 ./clients/build/install/clients/bin/clients request-state localhost:9082 localhost:9081/Corda_Network/localhost:10006#com.cordaSimpleApplication.flow.GetStateByKey:C
5050 ` ` `
5151 * If Relays and Drivers are deployed in the Docker containers:
5252 ` ` ` bash
53- ./clients/build/install/clients/bin/clients request-state localhost:9082 relay-corda:9081/Corda_Network/corda_partya_1:10003#com.cordaSimpleApplication.flow.GetStateByKey:C
53+ NETWORK_NAME=Corda_Network2 CORDA_PORT=30006 ./clients/build/install/clients/bin/clients request-state localhost:9082 relay-corda:9081/Corda_Network/corda_partya_1:10003#com.cordaSimpleApplication.flow.GetStateByKey:C
5454 ` ` `
5555- Query the value of the requested state, using the key ` C` in ` Corda_Network` by running the following command:
5656 ` ` ` bash
@@ -65,11 +65,11 @@ To test the scenario where `Corda_Network` requests the value of the state (key)
6565- Run the following:
6666 * If Relays and Drivers are deployed in the host machine:
6767 ` ` ` bash
68- ./clients/build/install/clients/bin/clients request-state localhost:9081 localhost:9080/network1/mychannel:simplestate:Read:a
68+ NETWORK_NAME=Corda_Network CORDA_PORT=10006 ./clients/build/install/clients/bin/clients request-state localhost:9081 localhost:9080/network1/mychannel:simplestate:Read:a
6969 ` ` `
7070 * If Relays and Drivers are deployed in the Docker containers:
7171 ` ` ` bash
72- ./clients/build/install/clients/bin/clients request-state localhost:9081 relay-network1:9080/network1/mychannel:simplestate:Read:a
72+ NETWORK_NAME=Corda_Network CORDA_PORT=10006 ./clients/build/install/clients/bin/clients request-state localhost:9081 relay-network1:9080/network1/mychannel:simplestate:Read:a
7373 ` ` `
7474- Query the value of the requested state (key) ` a` in ` Corda_Network` using the following:
7575 ` ` ` bash
@@ -82,18 +82,18 @@ To test the scenario where `Corda_Network` requests the value of the state (key)
8282- Run the following:
8383 * If Relays and Drivers are deployed in the host machine:
8484 ` ` ` bash
85- ./clients/build/install/clients/bin/clients request-state localhost:9081 localhost:9083/network2/mychannel:simplestate:Read:Arcturus
85+ NETWORK_NAME=Corda_Network CORDA_PORT=10006 ./clients/build/install/clients/bin/clients request-state localhost:9081 localhost:9083/network2/mychannel:simplestate:Read:Arcturus
8686 ` ` `
8787 * If Relays and Drivers are deployed in the Docker containers:
8888 ` ` ` bash
89- ./clients/build/install/clients/bin/clients request-state localhost:9081 relay-network2:9083/network2/mychannel:simplestate:Read:Arcturus
89+ NETWORK_NAME=Corda_Network CORDA_PORT=10006 ./clients/build/install/clients/bin/clients request-state localhost:9081 relay-network2:9083/network2/mychannel:simplestate:Read:Arcturus
9090 ` ` `
9191- Query the value of the requested state (key) ` Arcturus` in ` Corda_Network` using the following:
9292 ` ` ` bash
9393 ./clients/build/install/clients/bin/clients get-state Arcturus
9494 ` ` `
9595
96- ** Note:** You can perform the same data transfer between ` Corda_Network2` and either Fabric networks, by setting the env ` CORDA_PORT=30006` (the ` Corda_Network2` node' s RPC port), and using `localhost:9082` (the local relay address) as the first argument.
96+ ** Note:** You can perform the same data transfer between ` Corda_Network2` and either Fabric networks, by setting the env ` CORDA_PORT=30006` (the ` Corda_Network2` node' s RPC port), `NETWORK_NAME=Corda_Network2`, and using `localhost:9082` (the local relay address) as the first argument.
9797
9898## Fabric to Corda
9999
0 commit comments