capture an event issued by a smart contract and make a web request

0 votes
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
Dec 29, 2020 in Blockchain by anonymous
• 120 points
767 views

1 answer to this question.

0 votes

Hi, @There,

Regarding your query, I suggest you go through this:

https://docs.oracle.com/cd/E15523_01/integration.1111/e10231/intgn.htm#TKADP232

answered Dec 29, 2020 by Gitika
• 65,770 points

Related Questions In Blockchain

0 votes
1 answer

How is a request sent from an app to a smart contract?

Yes, the contract is distributed by every node ...READ MORE

answered Jun 4, 2018 in Blockchain by Perry
• 17,100 points
713 views
0 votes
1 answer

How to swap an Ethereum ERC-20 and Neo NEP5 token with a smart contract?

Each blockchain is its own separated administration. ...READ MORE

answered Apr 12, 2022 in Blockchain by Soham
• 9,710 points
775 views
0 votes
1 answer
0 votes
1 answer

Can I swap an ERC-20 token with a Neo NEP5 token using a smart contract?

Every Blockchain has a separate administration. So, it ...READ MORE

answered Jun 4, 2018 in Blockchain by Perry
• 17,100 points
984 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,923 views
+1 vote
1 answer
0 votes
1 answer

How to set web3 solidity variable value?

The setLog transaction has not yet been mined by ...READ MORE

answered Jul 6, 2018 in Blockchain by Christine
• 15,790 points
2,120 views
0 votes
1 answer
0 votes
1 answer

How to create an instance of contract in Truffle console?

Hi, @There, I would suggest you go through ...READ MORE

answered Jun 17, 2020 in Blockchain by Gitika
• 65,770 points
2,020 views
0 votes
2 answers

how save data from different account using web3.py to smart contract

Hey, @Amal, It will automatically take the address ...READ MORE

answered Jul 28, 2020 in Blockchain by Rajiv
• 8,870 points
1,523 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP