noScalpFlow
, noScalpContract
, and noScalpState
has comments explaining the what and how, so do check them.
build.gradle
script in root comes with the JAR instructions to build the CorDapp:
/contracts/build/libs/
/workflows/build/libs
ND-123-456-789
:
totalStatesAvailable: -1
. This is a known Corda issue.
clients
directory of the CorDapp repository that you cloned at the start of the tutorial.
Components:
clients/build.gradle
under task runDistributor
:
localhost:50005
and connect it to node ND-123-456-789
.
runDistributor
task specified in clients/build.gradle
, start the server, and connect the server to to your node.
localhost:50005
in your browser. This will show the legal name of the node you are connected to and the Distribute tickets button.
@GetMapping
in MainController.kt.
The POST requests are defined via @PostMapping
in MainController.kt.
A GET request example to see the legal name of the node the webserver is connected to: