The project is explained as follows: Asset Price today is 60 DAI. Single asset is represented by 12 STAR tokens.
Borrower streams 10 DAI pm to start credit application with input: Wallet Credit Score (12) and Interest Rate 4%(400). There is no callback for this initial stream.
SuperApp/Bank outputs Credit Terms of Asset Price 75 DAI to be streamed over Time Period (10hrs)
Bank will in turn stream 12 STAR over Time Period(10hrs)
Borrower accepts terms start Streaming Exchange: send DAI receive STAR with Bank
Should Borrowers stop streaming after 50% STAR has been receive, this can be sold to another Borrower to continue the stream(assuming same credit score) with the Bank
For someone new to any dev work, this was quite a challenge learning solidity, js etc since a year ago. Over the two weeks, using Scaffold-eth repo from SuperFluid, the challenges were helped by the developer experience team.
All the scripts works and I had completed the front end(App.jsx). However over the last three days faced this error: Access to fetch at 'https://rpc-mumbai.maticvigil.com/' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check. All remedies suggested by google search did not work at all. So I am disappointed I could not finalise the front end for a product DApp presentation.