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
This CorDapp serves as a demo of building an auction application on Corda. It leverages
4
4
different features of Corda like [SchedulableState](https://docs.corda.net/docs/corda-os/event-scheduling.html#how-to-implement-scheduled-events), [StatePointer](https://docs.corda.net/docs/corda-os/api-states.html#state-pointers) and [OwnableState](https://docs.corda.net/docs/corda-os/api-states.html#ownablestate). It also demonstrate
@@ -37,19 +37,19 @@ ownership. Left black for simplicity. Has two commands, `CreateAsset` and `Trans
37
37
38
38
### Flows:
39
39
40
-
-`CreateAssetFlow`: This flow is used create an asset. Implemented in [CreateAssetFlow.java](./workflows/src/main/java/net/corda/samples/flows/CreateAssetFlow.java#L44-L66)
40
+
-`CreateAssetFlow`: This flow is used create an asset. Implemented in `CreateAssetFlow.java`
41
41
42
-
-`CreateAuctionFlow`: This flow is used to create an auction ([CreateAuctionFlow.java can be found here](./workflows/src/main/java/net/corda/samples/flows/CreateAuctionFlow.java#L58-L96)). Once an asset has been created using
42
+
-`CreateAuctionFlow`: This flow is used to create an auction. Once an asset has been created using
43
43
the`CreateAssetFlow`, this flow can be used to put the asset on auction. The `AuctionState`
44
44
references to the `Asset` using a `StatePointer`.
45
45
46
46
Refer here to learn more about StatePointer: https://medium.com/corda/linking-corda-states-using-statepointer-16e24e5e602
47
47
48
48
-`BidFlow`: It is used to place a bid on an auction. Bids can be placed only till a predetermined
49
-
deadline defined in the `AuctionState`. Implemented in [BidFlow.java](./workflows/src/main/java/net/corda/samples/flows/BidFlow.java#L42-L86).
49
+
deadline defined in the `AuctionState`. Implemented in `BidFlow.java`.
50
50
51
51
-`EndAuctionFlow`: This is a scheduled flow, which run automatically on auction deadline to mark
52
-
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)
52
+
the corresponding auction as inactive, so that it stop receiving bids.
53
53
54
54
-`AuctionSettlementFlow`: It is used to settle an auction once the bidding deadline has passed. It internally triggers two flows:
55
55
@@ -63,10 +63,9 @@ the corresponding auction as inactive, so that it stop receiving bids.The auctio
63
63
64
64
65
65
## Usage
66
+
## Pre-Requisites
67
+
For development environment setup, please refer to: [Setup Guide](https://docs.corda.net/getting-set-up.html).
66
68
67
-
### Pre-requisites:
68
-
69
-
See https://docs.corda.net/getting-set-up.html.
70
69
71
70
### Running the nodes:
72
71
Open a terminal and go to the project root directory and type: (to deploy the nodes using bootstrapper)
0 commit comments