-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GR] Baselined Foreign Exchange/Price feed in SAP CAP - Simple Reference Application #99
Comments
Would be included into Baseline Core Dev Onboarding Kit as well |
Thanks @fleischr for your proposal. Could you please elaborate more on "why Baselining is necessary?" (business problem) and how Baseline solves this problem? |
Hi Mehran @mehranshakeri Companies collect foreign exchange rate data across a variety of different sources and time intervals, which means they can fall easily of sync to each other. Baseline introduces a mechanism by which companies can verify with each other that they're using the forex rates without having to create a direct integration channel between eachother. By being better in sync on these rates, businesses can eliminate possible disputes with eachother and run finance and supply chain processes more easily. I should differentiate this as a simple reference application - SRI/BRI-3 is separate work. However - this does thematically align with SRI on the common goal of making Baseline more easily accessible to business IT community. I would be producing the final version of the app with BRI-1/PRVD services and components. The However I do believe the initial repo and high level instructions could be forkable to be implemented instead with BRI-3 services and components whenever they may be completed later on. That would be a good thing as it demonstrates the different BRIs having followed the same standard while being implemented in different ways. Dependencies to 3rd party libaries - such as the ones for the SAP Cloud Application Programming model (CAPM) - would be reflected in a dedicated directory location where this grant work will reside and shall not intrude with other package.json dependencies of other ongoing projects like SRI. Thanks for following up - hope it answers your questions. Feel free to ask anything else you'd like. |
Thanks @fleischr for the details.
Just for my understanding, where does the dispute happen? Between rate providers and customers who receive rates or only between two parties who are 1. customer/trader who set a sell/buy order and 2. broker who receives and processes the order?
With BRI-1 you mean the code that already exists in Baseline repo? PRVD is a brand for another OASIS project and we should not confuse them. If this is going to be base on Baseline repo implementation, that's fine, otherwise I think it will be consider a project that PRDV (the other project) should fund not Baseline. I think we had a similar situation in the past as well. Maybe others can give a better guidance on this matter.
Thanks. Makes sense.
Cheers, |
The disputes would most likely occur in the event that businesses may invoice in one currency, but accept several others for payment. If we're out of sync on exchange rate, the party sending a payment may be thinking they've sent a full payment - but the party receiving the payment may not recognize it as such. For example: an invoice of $500 USD is paid by a customer in $680 Canadian dollars with an exchange rate of around 1 USD = 1.36 CAD. However if the invoicing parties exchange data is 1 USD = 1.40 CAD, the payment may be considered short of full payment
PRVD and BRI-1 are to be the same implementation of Baseline. Unrelated to this grant, I am part of other efforts the latest updates of BRI-1/PRVD from PRVD repos back to the Baseline repo accordingly. While this project uses PRVD/BRI-1, it will benefit other BRIs just the same with business and developer education provided with the completed grant app work itself. At another practical level - there are some features and aspects that are feature-complete in BRI-1/PRVD needed for an app like this that may not yet be available in SRI based on its current development progress. Part of the goal here is to have a common reference application by which those capabilities of different BRIs could be benchmarked to eachother. |
Hi @fleischr, reading and commenting on this grant request is on the TSC agenda for 1/4. |
Grant Application
Grant Title
[GR] Baselined Foreign Exchange/Digital Asset price sync in SAP CAP - Simple Reference Application
Details on Grant Work
Based upon this Baseline BLIP ethereum-oasis-op/baseline-blips#34
Motivation and Overview
-The app shall retain and display data of currency price pairs. It would emphasize price pairs of fiat currencies (e.g USD to Canadian dollar, Japanese Yen, Euro etc). Digital asset prices such as ETH or BTC could be referenced as well. Enterprise systems like SAP tend to build financial systems with this data retained into a database table rather than a constant stream of API/smart contract calls each time price is used.
-Application could be extended or forked later on to represent other related business processes and use cases (treasury, invoices/settlements, material pricing, supply chain etc)
Value to the Baseline Protocol
Downsides / Execution Risks / Limitations
I may have an extra busy schedule that could delay delivery at times. Milestone time frames are pre-adjusted to reflect this.
Would be glad to invite an additional collaborator to help with development tasks and share in grant funds accordingly as needed to complete.
Deliverables / Schedule / Milestones
Milestone 1 : 3 weeks. Initial application development.
Create a SAP CAP application to retrieve, store and display foreign exchange/digital asset data. CAP app would use the Fiori UI standard. At the end of this milestone, the app skeleton should be ready to show with out Baseline components added
Milestone 2: 3 weeks. Add Baseline integration to repo.
provide-js, PRVD CLI and Shuttle will be used to add Baseline to the inital app skeleton. At the end of this milestone, there should be an additional branch to the app skeleton creates/verifies baseline ZKPs upon user request or when data is changed in the application or by other triggers. We'd also test interoperability to the proUBC Chainlink Price Feed integration, particularly with the Baseline proof.
Milestone 3: 3 weeks. Create developer / business user documentation and educational materials.
At the end of this milestone, documentation should be available that guides developers in cloning the initial app and following step-by-step dev development tasks and walkthrough general Baseline configuration tasks (ex: selecting a schema, defining a workgroup, etc) to reproduce as if they did Milestone 2 by themselves. This would include a video recording. Would also like to include a blog to share a report of this POC and its use case to a broader business audience and the wider Baseline community.
Budget and Justification
$3000 - for initial development of the application of data model, SAP CAP application, and UI
$3000 - for adding BRI-1 / PRVD Baseline components with provide-js, test interoperability with the proUBC Chainlink Pricefeed example
$3000 - Create step-by-step Baseline Implementation developer guide, publish blog
Applicant Background
Ryan Fleischmann, SAP Architect / Developer Evangelist @ Provide.
I have over 10 years experience as a SAP architect, integrator, and developer and I am an active participant in the Baseline Core Devs meetings.
Community Grant Agreement
I understand and agree to the 'Process for Approved Grants' outlined here
The text was updated successfully, but these errors were encountered: