I am approaching blockchain and smart contracts for the first time and I have trouble understanding some concepts. I have to design a decision making architecture based on smart contracts. I have to manage hotel reservations based on the weather. The logic of confirming or canceling reservations is encapsulated in the smart contract and the weather information is provided by the oracle.
oracle-> orracle smart contract+oracle service implemented with web3js
oracle smart contract emits an event. An oracle service captures the event. the oracle service makes a web request.
. I want to understand the interaction between
-smart contract oracle-oracle service
- oracle service - external source
I want to understand which library to use