useful-stuff

A place to keep all those useful code snippets, links etc

View project on GitHub

Corda Example App

Some notes on running and using the example app

Accessing nodes

Create an order

REST

To create an IOU between PartyA and PartyB, run the following command from the command line:

curl -X PUT 'http://localhost:10009/api/example/create-iou?iouValue=1&partyName=O=PartyB,L=New%20York,C=US'

port 10012 for PartyB port 10015 for PartyC

Console

flow start ExampleFlow$Initiator iouValue: 50, otherParty: "O=PartyB,L=New York,C=US"

Useful command

running notary from command line

java -jar corda.jar --no-local-shell --log-to-console