Giter Club home page Giter Club logo

finance-assignment-final-phase's Introduction

LOAN-FINANCE 3-PARTY FLOW APPLICATION POC (JAVA)

This simple cordapp provides the facility for untrusting parties to interact and contract with one another to reach a final state of consensus where all parties can trust in the outcome without trusting one another and without the need for expensive out of band reconciliation. This simple cordapp written purely in JAVA, shows how Finance Agencies(A third party which provides loan to individuals), Banks and credit rating agencies can use corda DLT for loan lending and processing of loan. This cordapp has 3 parties

  1. Finance Agency ( A third party which provides personal loans to individual)
  2. Banks
  3. Credit rating agency ( A third party which checks the loan eligibility of loan application/loan applicant.

Cordapp structure

  • There are total of 3 Parties + 1 Notary.
  • There are 2 Linear states 1) FinanceAndBankState 2) BankAndCreditState
  • Party A is a Finance Agency which sends the loan application to the bank
  • Party B is a Bank which Lends/Approves the loan (port 10012 in my case)
  • Party C is a Credit Rating Agency which checks the credit eligibility of the applicant/institution in the loan application.

Cordapp flow

  • Finance Agency sends the loan application to the bank which contains individual name/company name and amount (Loan Amount).
  • Bank will receive the application and forward it to Credit rating agency to check the eligibility of loan applicant/ loan application (Example CIBIL score of applicant).
  • Credit rating agency will respond back to bank with the eligibility of the loan application.
  • Bank will receive it and decide whether to lend the loan or not by acknowledging its response to the Finance agency.
  • Use API endspoints to initiate flow using POSTMAN.

NOTE: Communication between Bank and credit rating agency or any data exchanged between Bank and credit rating agency remains private to Finance Agency. Finance agency does not hear what Bank and Credit rating agency does.

  • 10009 : PARTY A Port (Finance Agency)
  • 10012 : PARTY B Port (Bank)
  • 10015 : PARTY C Port (Credit Rating Agency)

Instructions for setting up

  1. clone the repository
  2. open it using IntelliJ IDEA 2018.1
  3. do gradle build and run the application
  4. initiate transactions using POSTMAN through api endpoints

This Application is accessible only through APIs (REST API) and not UI.

finance-assignment-final-phase's People

Contributors

adagys avatar amoothart avatar andr3ej avatar anthonykeenan avatar anttiai avatar blsemo avatar chrisr3 avatar clintonio avatar cxyzhang0 avatar davidleeuk avatar exfalso avatar jxilt avatar kasiastreich avatar m4ksio avatar mikehearn avatar r3ltsupport avatar rick-r3 avatar shamsasari avatar shivanzo avatar sollecitom avatar szymonsztuka avatar verymahler avatar vkolomeyko avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.