I am currently writing my Master’s Thesis and my goal is to process a transaction between two SAP S/4 Systems under the use of Blockchain (or in my Case: Ethereum). So I decided to “buy” some product in one system and “sell” this product in the other system by using a smart contract.
Currently I am not sure, whether I will create a private Network or will work on one of the test networks.
As far as I understand, I need to write a smart contract and deploy it into the chosen network.
In order to communicate between the contract, I will need some API.
My question is now: How do I find the “selling” smart contract in a network?
Is there some kind of Find-function in an API?
Or do I have to write a Smart Contract for “buying” and can then search for matching contracts?
In this case my process would be: S/4 (1) -> JS App (1) -> Smart Contract (1) -> SC (2) -> JS App (2) -> S/4 (2) , which seems a bit of an overkill but may still be sensible.
I could not find any clear answers to that and really hope, someone can explain this step to me. I have never developed on a Blockchain but chose this Master’s Thesis intentional to understand more about Blockchain, since it is one of the most importatn technical inventions for the future for me.
Thanks for any help!