Skip to content

BhaskarDutta2209/DLT_MarketSoln_Corda

Repository files navigation

DLT_MarketSoln_Corda

Set up

  • Clone this git repo
  • Move into the project folder
  • Compile the code to create the jar files for all the nodes by ./gradlew clean deployNodes
  • The jar file for each node is individually available in it's respective folder in ./build/nodes/
  • To run all the nodes at the same time, in Linux/Mac type ./build/nodes/runnodes

Initial Steps

After each node is up and running follow this initial steps

  • In the Delivery node type flow start CreateNewAccount accountName: Delivery, shareWith: [Bank,Shop,Buyer]
  • In the Bank node type flow start CreateNewAccount accountName: Bank, shareWith: [Buyer,Shop,Delivery]

Starting the server

The framework have integrated Spring Boot Framework. To start the server type

  • ./gradlew runBuyerServer
  • ./gradlew runDeliveryServer
  • ./gradlew runBankServer
  • ./gradlew runShopServer

Demo

The demo apis are available at below url. The cordaaps are hosted in GCP

  • User Server: http://34.71.53.216:10050/swagger-ui.html
  • Delivery Server: http://34.71.53.216:10060/swagger-ui.html
  • Bank Server: http://34.71.53.216:10070/swagger-ui.html
  • Shop Server: http://34.71.53.216:10080/swagger-ui.html

If the url isn't opening then it means the VMs have been discontinued.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages