You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We will demonstrate asset exchange of a bond infabric`network1` with tokens on `Corda_Network`.
79
-
For fabric commands, run from `samples/fabric/fabric-cli` folder, and forCorda commands, run from `samples/corda/corda-simple-application` folder. Here `Alice` and `Bob`infabric`network1` correspond to `PartyA` (`CORDA_PORT=10006`) and `PartyB` (`CORDA_PORT=10009`) in`Corda_Network` respectively. Following are the step-by-step asset exchange process:
78
+
We will demonstrate asset exchange of a bond inFabric`network1` with tokens on `Corda_Network`.
79
+
For Fabric commands, run from `samples/fabric/fabric-cli` folder, and forCorda commands, run from `samples/corda/corda-simple-application` folder. Here `Alice` and `Bob`inFabric`network1` correspond to `PartyA` (`CORDA_PORT=10006`) and `PartyB` (`CORDA_PORT=10009`) in`Corda_Network` respectively. Following are the step-by-step asset exchange process:
80
80
81
81
(_Note: the hash pair used in following steps can be replaced by any valid `sha256`hash pair_)
82
82
83
-
- Run the following to verify the status of the bond assets owned by `alice` and `bob`in the fabric network `network1` from `samples/fabric/fabric-cli` folder:
83
+
- Run the following to verify the status of the bond assets owned by `alice` and `bob`in the Fabric network `network1` from `samples/fabric/fabric-cli` folder:
84
84
```bash
85
85
./scripts/getAssetStatus.sh
86
86
```
@@ -109,12 +109,12 @@ For fabric commands, run from `samples/fabric/fabric-cli` folder, and for Corda
- Run the following to verify the status of the bond assets owned by `alice` and `bob` in the fabric network `network1` from `samples/fabric/fabric-cli` folder:
117
+
- Run the following to verify the status of the bond assets owned by `alice` and `bob` in the Fabric network `network1` from `samples/fabric/fabric-cli` folder:
118
118
```bash
119
119
./scripts/getAssetStatus.sh
120
120
```
@@ -123,14 +123,13 @@ For fabric commands, run from `samples/fabric/fabric-cli` folder, and for Corda
123
123
./scripts/getAssetStatus.sh
124
124
```
125
125
126
-
127
-
Above steps complete a successful asset exchange between Fabric and Corda networks.
128
-
In addition to above commands, following are the extra options:
129
-
- _In case_, `alice` wants to unlock the bond asset, run the following to trigger `alice`'s re-claim for`bond01:a03` lockedin`network1`:
126
+
The above steps complete a successful asset exchange between Fabric and Corda networks.
127
+
In addition to the above commands, following are the extra options:
128
+
- If `alice` wants to unlock the bond asset, run the following to trigger `alice`'s re-claim for`bond01:a03` lockedin`network1`:
Copy file name to clipboardExpand all lines: docs/docs/external/getting-started/interop/data-sharing.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ title: Data Sharing
11
11
12
12
This document lists sample ways in which you can exercise the data-sharing interoperation protocol on the test network [launched earlier](../test-network/overview).
13
13
14
-
Once the networks, relays, and drivers have been launched, and the ledgers bootstrapped, you can trigger three different interoperation flows corresponding to distinct data-sharing combinations as follows:
14
+
Once the networks, relays, and drivers have been launched, and the ledgers bootstrapped, you can trigger four different interoperation flows corresponding to distinct data-sharing combinations as follows:
15
15
1.**Corda to Corda**: Either Corda network requests state and proof from another Corda network
16
16
2.**Corda to Fabric**: The Corda network requests state and proof from either Fabric network
17
17
3.**Fabric to Corda**: Either Fabric network requests state and proof from the Corda network
@@ -31,11 +31,11 @@ To test the scenario where `Corda_Network` requests the value of the state (key)
**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.
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 argument following request-state.
Copy file name to clipboardExpand all lines: docs/docs/external/getting-started/test-network/setup-local-docker.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -255,11 +255,11 @@ Build the `corda-simple-application` Cordapp as follows:
255
255
256
256
### Corda Network
257
257
258
-
The Corda network code lies in the `tests/network-setups/corda` folder. You can launch two corda networks (`Corda_Network` and `Corda_Network2`). The networks use `samples/corda/corda-simple-application` by default, which maintains a state of type `SimpleState`, which is a set of key-value pairs (of strings).
258
+
The Corda network code lies in the `tests/network-setups/corda` folder. You can launch two Corda networks (`Corda_Network` and `Corda_Network2`). The networks use `samples/corda/corda-simple-application` by default, which maintains a state of type `SimpleState`, which is a set of key-value pairs (of strings).
259
259
260
260
Follow the instructions below to build and launch the network:
261
261
- Navigate to the `tests/network-setups/corda` folder.
262
-
- To spin up the Corda networks with the interoperation Cordapp:
262
+
- To spin up the Corda networks with the Interoperation Cordapps:
263
263
- Each consisting of 1 node and a notary (for data-transfer), run:
264
264
```bash
265
265
make start-local
@@ -320,11 +320,11 @@ Run a Corda driver as follows:
320
320
```
321
321
DOCKER_IMAGE_NAME=weaver-corda-driver
322
322
```
323
-
- To deploy corda driver for `Corda_Network`, run:
323
+
- To deploy Corda driver for `Corda_Network`, run:
324
324
```bash
325
325
make deploy COMPOSE_ARG='--env-file docker-testnet-envs/.env.corda'
326
326
```
327
-
- To deploy corda driver for `Corda_Network2`, run:
327
+
- To deploy Corda driver for `Corda_Network2`, run:
328
328
```bash
329
329
make deploy COMPOSE_ARG='--env-file docker-testnet-envs/.env.corda2'
Copy file name to clipboardExpand all lines: docs/docs/external/getting-started/test-network/setup-local.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -277,11 +277,11 @@ Build the `corda-simple-application` Cordapp as follows:
277
277
278
278
### Corda Network
279
279
280
-
The Corda network code lies in the `tests/network-setups/corda` folder. You can launch two corda networks (`Corda_Network` and `Corda_Network2`). This networks use `samples/corda/corda-simple-application` by default, which maintains a state of type `SimpleState`, which is a set of key-value pairs (of strings).
280
+
The Corda network code lies in the `tests/network-setups/corda` folder. You can launch two Corda networks (`Corda_Network` and `Corda_Network2`). These networks use `samples/corda/corda-simple-application` by default, which maintains a state of type `SimpleState`, which is a set of key-value pairs (of strings).
281
281
282
282
Follow the instructions below to build and launch the network:
283
283
- Navigate to the `tests/network-setups/corda` folder.
284
-
- To spin up the Corda networks with the interoperation Cordapp:
284
+
- To spin up the Corda networks with the Interoperation Cordapps:
285
285
- Each consisting of 1 node and a notary (for data-transfer), run:
286
286
```bash
287
287
make start-local
@@ -313,7 +313,7 @@ The relay was built earlier, so you just need to use a different configuration f
313
313
Run a relay in host as follows:
314
314
- Navigate to the `core/relay` folder.
315
315
- (Make sure you've already built the relay by running `make`.)
316
-
- Run the following, to start relay for `Corda_Network`:
316
+
- Run the following to start relay for `Corda_Network`:
317
317
```bash
318
318
RELAY_CONFIG=config/Corda_Relay.toml cargo run --bin server
319
319
```
@@ -324,7 +324,7 @@ Run a relay in host as follows:
324
324
Relay Name: "Corda_Relay"
325
325
RelayServer listening on [::1]:9081
326
326
```
327
-
- Run the following, to start relay for `Corda_Network2`:
327
+
- Run the following to start relay for `Corda_Network2`:
328
328
```bash
329
329
RELAY_CONFIG=config/Corda_Relay2.toml cargo run --bin server
330
330
```
@@ -353,15 +353,15 @@ Build the Corda driver module as follows:
353
353
354
354
Run a Corda driver as follows:
355
355
- Navigate to the `core/drivers/corda-driver` folder.
356
-
- Run the following, to start corda driver for `Corda_Network`:
356
+
- Run the following to start Corda driver for `Corda_Network`:
357
357
```bash
358
358
./build/install/corda-driver/bin/corda-driver
359
359
```
360
360
If the driver starts successfully, it should log the following message on your terminal:
361
361
```
362
362
Corda driver gRPC server started. Listening on port 9099
363
363
```
364
-
- Run the following, to start corda driver for `Corda_Network2`:
364
+
- Run the following to start Corda driver for `Corda_Network2`:
Copy file name to clipboardExpand all lines: docs/docs/external/getting-started/test-network/setup-packages-docker.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,7 @@ Using the sequence of instructions below, you can start a Corda network and run
145
145
146
146
### Corda Network
147
147
148
-
The Corda network code lies in the `tests/network-setups/corda` folder. You can launch two corda networks (`Corda_Network` and `Corda_Network2`). This networks use `samples/corda/corda-simple-application` by default, which maintains a state of type `SimpleState`, which is a set of key-value pairs (of strings).
148
+
The Corda network code lies in the `tests/network-setups/corda` folder. You can launch two Corda networks (`Corda_Network` and `Corda_Network2`). These networks use `samples/corda/corda-simple-application` by default, which maintains a state of type `SimpleState`, which is a set of key-value pairs (of strings).
149
149
Following steps will build above cordapp and a corda-client as well in `samples/corda/client`.
150
150
151
151
#### Running with Interoperation Cordapp from Github Packages
@@ -154,7 +154,7 @@ Follow the instructions below to build and launch the network:
154
154
- Navigate to the `tests/network-setups/corda` folder.
155
155
- Create copy of `github.properties.template` as `github.properties`.
156
156
- Replace `<GITHUB email>` with your github email, and `<GITHUB Personal Access Token>` with the access token created [above](#package-access-token).
157
-
- To spin up the Corda networks with the interoperation Cordapp:
157
+
- To spin up the Corda networks with the Interoperation Cordapps:
158
158
- Each consisting of 1 node and a notary (for data-transfer), run:
159
159
```bash
160
160
make start
@@ -198,11 +198,11 @@ Navigate to the `core/relay` folder and run a relay for `Corda_Network` in docke
198
198
Run a Corda driver as follows:
199
199
- Navigate to the `core/drivers/corda-driver` folder.
200
200
- There's a `.env.corda` file in `docker-testnet-envs` directory, that will be used to start a corda driver in docker.
201
-
- To deploy corda driver for `Corda_Network`, run:
201
+
- To deploy Corda driver for `Corda_Network`, run:
202
202
```bash
203
203
make deploy COMPOSE_ARG='--env-file docker-testnet-envs/.env.corda'
204
204
```
205
-
- To deploy corda driver for `Corda_Network2`, run:
205
+
- To deploy Corda driver for `Corda_Network2`, run:
206
206
```bash
207
207
make deploy COMPOSE_ARG='--env-file docker-testnet-envs/.env.corda2'
Copy file name to clipboardExpand all lines: docs/docs/external/getting-started/test-network/setup-packages.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,7 @@ Using the sequence of instructions below, you can start a Corda network and run
193
193
194
194
### Corda Network
195
195
196
-
The Corda network code lies in the `tests/network-setups/corda` folder. You can launch two corda networks (`Corda_Network` and `Corda_Network2`). This networks use `samples/corda/corda-simple-application` by default, which maintains a state of type `SimpleState`, which is a set of key-value pairs (of strings).
196
+
The Corda network code lies in the `tests/network-setups/corda` folder. You can launch two Corda networks (`Corda_Network` and `Corda_Network2`). These networks use `samples/corda/corda-simple-application` by default, which maintains a state of type `SimpleState`, which is a set of key-value pairs (of strings).
197
197
Following steps will build above cordapp and a corda-client as well in `samples/corda/client`.
198
198
199
199
#### Running with Interoperation Cordapp from Github Packages
@@ -202,7 +202,7 @@ Follow the instructions below to build and launch the network:
202
202
- Navigate to the `tests/network-setups/corda` folder.
203
203
- Create a copy of `github.properties.template` as `github.properties`.
204
204
- Replace `<GITHUB email>` with your github email, and `<GITHUB Personal Access Token>` with the access token created [above](#package-access-token).
205
-
- To spin up the Corda networks with the interoperation Cordapp:
205
+
- To spin up the Corda networks with the Interoperation Cordapps:
206
206
- Each consisting of 1 node and a notary (for data-transfer), run:
207
207
```bash
208
208
make start
@@ -233,7 +233,7 @@ The relay was built earlier, so you just need to use a different configuration f
233
233
234
234
Run a relay in host as follows:
235
235
- Navigate to the `core/relay` folder.
236
-
- Run the following, to start relay for `Corda_Network`:
236
+
- Run the following to start relay for `Corda_Network`:
237
237
```bash
238
238
RELAY_CONFIG=config/Corda_Relay.toml cargo run --bin server
239
239
```
@@ -244,7 +244,7 @@ Run a relay in host as follows:
244
244
Relay Name: "Corda_Relay"
245
245
RelayServer listening on [::1]:9081
246
246
```
247
-
- Run the following, to start relay for `Corda_Network2`:
247
+
- Run the following to start relay for `Corda_Network2`:
248
248
```bash
249
249
RELAY_CONFIG=config/Corda_Relay2.toml cargo run --bin server
250
250
```
@@ -275,15 +275,15 @@ Build the Corda driver module as follows:
275
275
276
276
Run a Corda driver as follows:
277
277
- Navigate to the `core/drivers/corda-driver` folder.
278
-
- Run the following, to start corda driver for `Corda_Network`:
278
+
- Run the following to start Corda driver for `Corda_Network`:
279
279
```bash
280
280
./build/install/corda-driver/bin/corda-driver
281
281
```
282
282
If the driver starts successfully, it should log the following message on your terminal:
283
283
```
284
284
Corda driver gRPC server started. Listening on port 9099
285
285
```
286
-
- Run the following, to start corda driver for `Corda_Network2`:
286
+
- Run the following to start Corda driver for `Corda_Network2`:
0 commit comments