commercial-paper-starter-kit

Development Flow

This repo is designed to provide an example of using blockchain tech, within a larger full-stack application. Centred around the provision of a Commerical Paper trading scenario.

We’re focussing on the “Real Prototyping”, and “Cloud Exploration” and starting on the road to “Real Cloud Deployment”.

End goals are

What is not included

Important: Whilst the above things are not included, there is nothing within the design here that preculdes them.

Architecture

Here is the logical structure of the technology components within this scenario.

Layout of the repo

Where is everything?

├── apps                               # Applications directory
│   ├── commercial-paper-cli           # .. a pure cli app
│   ├── commerical-financing-webui     # .. webui app for paper creation - uses the REST API
│   ├── did-manager                    # .. webui for interacting with Hyperledger Indy
│   └── paper-trading-webui            # .. webui using websockets to the Composer Client

├── contracts                          # Smart contracts
│   └── commercial-paper-network      

├── docs                               # You're reading these docs now
│   └── apps

├── ledgers                            # Setup and config for Hyperledger Fabric and Indy
│   ├── hyperledger-fabric
│   └── identity

├── _localstore                        # Not part of the codebase but this is local file system card store
│   ├── cards                          # this can be moved if you wish. 
│   ├── client-data                    # Worth clearing out 
│   └── logs

├── services
│   ├── financing-rest                 # the rest API that is in use for some apps
│   

├── .bluemix                           # Scripts primarily used in a IBM Cloud Toolchain for Fabric deployment
└── .localtoolchain                    # scripts for local use, where the ones in .bluemix can't be reused

Things to remember

Next steps

  1. Get this scenario running locally
  2. Get the Smart Contracts running in the cloud
  3. Create a toolchain to deploy in IBM Cloud
  4. How does the Smart Contract work and how it was designed?