Our React app will have the following users and features. It will allow end users to interact with our smart contracts through a frontend layer, as follows:
- Bank: The bank user who logs in to the app. The user can create and view LCs.
- Buyer: The buying merchant who requests an LC from the bank. The Buyer can view all the LCs issued in their name by the bank.
- Seller: The selling merchant who will approach the bank for settlement, on the successful delivery of their goods to the buying merchant. The Seller can view the LCs that include them as a beneficiary and submit a settlement request.
Broadly, the app will have the following React components:
- Address Bar: Displays the account used to access the app in real time.
- Description: A component that provides a description of the app.
- Nav: A component that implements a navigation bar, with the bank...