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
From the above chat we see that Tokens are representing the ownership and status of the physical assests, such as bike frame and bike wheels. A key point to notice here is that **a bike is represented with 2 tokens (Frame and wheels)**. This is designed in the way to be flexiable to sell or total a specific part of your bike. As can see, this bike buying/selling market is capable of mimicing multiple business logics. We will be demonstrating one of the possible logic here:
21
21
@@ -34,19 +34,19 @@ Through out the sample, we will see how to create, transact, and redeem a token.
34
34
We'll create bike parts using the flows for CreateFrameToken and CreateWheelToken.
35
35
36
36
37
-
We can create the tokens with [CreateFrameToken](https://github.com/corda/samples-java/blob/master/token-cordapps/bikemarket/workflows/src/main/java/net/corda/examples/bikemarket/flows/CreateFrameToken.java) and [CreateWheelToken](https://github.com/corda/samples-java/blob/master/token-cordapps/bikemarket/workflows/src/main/java/net/corda/examples/bikemarket/flows/CreateWheelToken.java).
37
+
We can create the tokens with [CreateFrameToken](./workflows/src/main/java/net/corda/examples/bikemarket/flows/CreateFrameToken.java) and [CreateWheelToken](./workflows/src/main/java/net/corda/examples/bikemarket/flows/CreateWheelToken.java).
38
38
39
39
40
-
We'll create a bike with the [IssueNewBike](https://github.com/corda/samples-java/blob/master/token-cordapps/bikemarket/workflows/src/main/java/net/corda/examples/bikemarket/flows/IssueNewBike.java) flow.
40
+
We'll create a bike with the [IssueNewBike](./workflows/src/main/java/net/corda/examples/bikemarket/flows/IssueNewBike.java) flow.
41
41
42
42
43
-
We can transfer bike tokens using the [TransferBikeToken](https://github.com/corda/samples-java/blob/master/token-cordapps/bikemarket/workflows/src/main/java/net/corda/examples/bikemarket/flows/TransferBikeTokens.java) flow.
43
+
We can transfer bike tokens using the [TransferBikeToken](./workflows/src/main/java/net/corda/examples/bikemarket/flows/TransferBikeTokens.java) flow.
44
44
45
45
46
-
We can transfer bike tokens using the [TotalPart](https://github.com/corda/samples-java/blob/master/token-cordapps/bikemarket/workflows/src/main/java/net/corda/examples/bikemarket/flows/TotalParts.java) flow.
46
+
We can transfer bike tokens using the [TotalPart](./workflows/src/main/java/net/corda/examples/bikemarket/flows/TotalParts.java) flow.
47
47
48
48
49
-
We transfer part tokens using the [TransferPartToken](https://github.com/corda/samples-java/blob/master/token-cordapps/bikemarket/workflows/src/main/java/net/corda/examples/bikemarket/flows/TransferPartTokens.java) flow.
49
+
We transfer part tokens using the [TransferPartToken](./workflows/src/main/java/net/corda/examples/bikemarket/flows/TransferPartTokens.java) flow.
0 commit comments