Skip to content

Commit 69c036a

Browse files
committed
README cleanups and spaceships updated to TokenSDK 1.2 signed
1 parent 7309dfd commit 69c036a

File tree

10 files changed

+20
-36
lines changed

10 files changed

+20
-36
lines changed

Advanced/auction-cordapp/README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ ownership. Left black for simplicity. Has two commands, `CreateAsset` and `Trans
2323

2424
- `AuctionContract`: It governs the evolution of the auction. The has the following commands:
2525

26-
- `CreateAuction`: Validation rules governing the creation of the auction.
26+
- `CreateAuction`: Validation rules governing the creation of the auction.
2727

28-
- `Bid`: Validation rules governing the bidding process of the auction.
28+
- `Bid`: Validation rules governing the bidding process of the auction.
2929

30-
- `EndAuction`: Validation rules governing end of the auction i.e making the auction inactive
30+
- `EndAuction`: Validation rules governing end of the auction i.e making the auction inactive
3131
once the auction bidding deadline has been reached.
3232

33-
- `Settlement`: Validation rules for settlement of the auction i.e. transfer of asset to the
33+
- `Settlement`: Validation rules for settlement of the auction i.e. transfer of asset to the
3434
highest bidder and the highest bid amount transfer to the auctioneer.
3535

36-
- `Exit`: Rules governing the exit (consumption/deletion) of the auction state.
36+
- `Exit`: Rules governing the exit (consumption/deletion) of the auction state.
3737

3838
### Flows:
3939

@@ -51,15 +51,13 @@ deadline defined in the `AuctionState`. Implemented in [BidFlow.java](./workflow
5151
- `EndAuctionFlow`: This is a scheduled flow, which run automatically on auction deadline to mark
5252
the corresponding auction as inactive, so that it stop receiving bids.The auction flow can be found [here](./workflows/src/main/java/net/corda/samples/flows/EndAuctionFlow.java#L39-L83)
5353

54-
- `AuctionSettlementFlow`:
54+
- `AuctionSettlementFlow`: It is used to settle an auction once the bidding deadline has passed. It internally triggers two flows:
5555

56-
It is used to settle an auction once the bidding deadline has passed. It internally triggers two flows:
57-
58-
- `AuctionDvPFlow`: This flow takes care of the dvp operation for settlement of the auction. It
56+
- `AuctionDvPFlow`: This flow takes care of the dvp operation for settlement of the auction. It
5957
transfers the asset on auction to the highest bidder and the highest bid amount is transferred to
6058
the auctioneer. It happens as an atomic transaction.
6159

62-
- `AuctionExitFlow`: Once the auction us settled, this flow is used to exit the auction state. This
60+
- `AuctionExitFlow`: Once the auction us settled, this flow is used to exit the auction state. This
6361
flow can also be triggered to exit an auction which did not receive any bid till its deadline.
6462

6563

Advanced/negotiation-cordapp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Then type: (to run the nodes)
4444
./build/nodes/runnodes
4545
```
4646

47-
We will interact with this CorDapp via the nodes' CRaSH shells.
47+
We will interact with this CorDapp via the nodes' [CRaSH](https://docs.corda.net/docs/corda-os/shell.html) shells.
4848

4949
First, go the the shell of PartyA, and propose a deal with yourself as buyer and a value of 10 to PartyB:
5050

Basic/flow-database-access/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Flow Database Access CorDapp [<img src="../../webIDE.png" height=25 />](https://ide.corda.net/?folder=/home/coder/samples-java/Basic/flow-database-access)
22

33
This CorDapp provides a simple example of how the node database can be accessed in flows using a [JDBC Connection](https://docs.corda.net/docs/corda-os/api-persistence.html#jdbc-session). In this case, the flows
4-
maintain a table of cryptocurrency values in the node's database. There are three flows:
4+
maintain a table of cryptocurrency values in the node's database.
55

66

77
## Concepts

Basic/flow-http-access/README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,9 @@ See https://docs.corda.net/getting-set-up.html.
5050

5151
### Running the CorDapp
5252

53-
Open a terminal and go to the project root directory and type: (to deploy the nodes using bootstrapper)
54-
```
55-
./gradlew clean deployNodes
56-
```
57-
Then type: (to run the nodes)
58-
```
59-
./build/nodes/runnodes
60-
```
53+
See https://docs.corda.net/tutorial-cordapp.html#running-the-example-cordapp.
54+
55+
Java use the `workflows-java:deployNodes` task and `./workflows-java/build/nodes/runnodes` script.
6156
### Interacting with the nodes:
6257

6358
We'll be interacting with the node via its interactive shell.

Basic/ping-pong/README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,9 @@ See https://docs.corda.net/getting-set-up.html.
6363

6464
### Running the CorDapp
6565

66-
Open a terminal and go to the project root directory and type: (to deploy the nodes using bootstrapper)
67-
```
68-
./gradlew clean deployNodes
69-
```
70-
Then type: (to run the nodes)
71-
```
72-
./build/nodes/runnodes
73-
```
66+
See https://docs.corda.net/tutorial-cordapp.html#running-the-example-cordapp.
67+
68+
Java use the `workflows-java:deployNodes` task and `./workflows-java/build/nodes/runnodes` script.
7469
## Pinging a node:
7570

7671

Basic/spring-webserver/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
<p align="center">
2-
<img src="https://www.corda.net/wp-content/uploads/2016/11/fg005_corda_b.png" alt="Corda" width="500">
3-
</p>
4-
51
# Spring webserver [<img src="../../webIDE.png" height=25 />](https://ide.corda.net/?folder=/home/coder/samples-java/Basic/spring-webserver)
62

73
This project defines a simple [Spring webserver](https://spring.io/projects/spring-boot#overview) that connects to a Corda node via [RPC](https://docs.corda.net/docs/corda-os/api-rpc.html#api-rpc-operations).

Basic/yo-cordapp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ We define a [Yo as a state](./contracts/src/main/java/net/corda/examples/yo/stat
2525

2626

2727
### Contracts
28-
We define [the "Yo Social Contract"](./contracts/src/main/java/net/corda/examples/yo/contracts/YoContract.java#L21-L32), which, in this case, verifies some basic assumptions about a Yo.
28+
We define the ["Yo Social Contract"](./contracts/src/main/java/net/corda/examples/yo/contracts/YoContract.java#L21-L32), which, in this case, verifies some basic assumptions about a Yo.
2929

3030
```java
3131
@Override

Features/attachment-sendfile/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The flow logic is the following:
3636
* `downloadAttchment`: save the attachment file from node's serviceHub to local
3737
1. signing the attachment service in the node to download the file via attachmentID
3838

39-
![alt text](https://github.com/corda/samples/blob/add-samples/sendfile-Attachments/graph.png)
39+
![alt text](./graph.png)
4040

4141

4242
## Usage

Tokens/spaceships-javaAPIs/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ buildscript {
2020
//TokenSDK
2121
// FOR USE with snapshot source (pre-release JAVA APIs)
2222
tokens_release_group = 'com.r3.corda.lib.tokens'
23-
tokens_release_version = '1.2-RC02-PRESIGN'
23+
tokens_release_version = '1.2'
2424
}
2525

2626
repositories {

Tokens/stockpaydividend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This CordApp assumes there are 4 parties:
2121

2222
Here's the flows that exist between these parties :
2323

24-
![Flow diagram](diagrams/FlowDiagram2.png)
24+
![Flow diagram](./diagrams/FlowDiagram2.png)
2525

2626

2727
This Stock Exchange CorDapp includes:

0 commit comments

Comments
 (0)