Bitcoin Forum
May 05, 2024, 10:09:14 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: what is oracle ?  (Read 242 times)
cafter (OP)
Full Member
***
Offline Offline

Activity: 448
Merit: 222



View Profile WWW
April 05, 2023, 12:37:32 PM
Merited by digaran (1)
 #1

what is an oracle in blockchain technology and how does it help to connect offchain data to onchain smart contracts ?

and, how does an oracle in blockchain ensure, that the external data it provides to smart contracts is trustworthy and reliable, without compromising the security of the blockchain network?
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714946954
Hero Member
*
Offline Offline

Posts: 1714946954

View Profile Personal Message (Offline)

Ignore
1714946954
Reply with quote  #2

1714946954
Report to moderator
bitmover
Legendary
*
Online Online

Activity: 2296
Merit: 5920


bitcoindata.science


View Profile WWW
April 05, 2023, 12:49:10 PM
Merited by pooya87 (2), ABCbits (1)
 #2

what is an oracle in blockchain technology and how does it help to connect offchain data to onchain smart contracts ?

and, how does an oracle in blockchain ensure, that the external data it provides to smart contracts is trustworthy and reliable, without compromising the security of the blockchain network?

 smartcontracts running on blockchain cannot acces data outside of its blockchain.

An Oracle is a middleware which allows data from outside be used in the blockchain.
Usually,  those oracles have validators  (similart to bitcoin nodes) which validate external data.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
witcher_sense
Legendary
*
Offline Offline

Activity: 2338
Merit: 4316

🔐BitcoinMessage.Tools🔑


View Profile WWW
April 05, 2023, 02:21:55 PM
 #3

and, how does an oracle in blockchain ensure, that the external data it provides to smart contracts is trustworthy and reliable, without compromising the security of the blockchain network?
Oracle doesn't check the trustworthiness of the information it provides, and even worse, it can lie on purpose or be manipulated into believing it reports correct information. In most cases, it just extracts data from the real world without conducting any fact-checking and then sends this directly into the blockchain. If data turns out to be incorrect or malicious, well, it is a terrible situation for people who rely on smart contracts to benefit from particular outcomes. How do you mitigate the risk of fake information? You employ several oracles from different vendors, written in different programming languages and using different algorithms for extracting information. If 9 out of 10 oracles tell you that something should be true, then it must be true, and you just ignore the 10th one.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7464


Crypto Swap Exchange


View Profile
April 06, 2023, 12:27:57 PM
Merited by pooya87 (2)
 #4

and, how does an oracle in blockchain ensure, that the external data it provides to smart contracts is trustworthy and reliable, without compromising the security of the blockchain network?

The security depends on honestly of the oracle and soruce of the data itself. Some smart contract attempt to mitigate that by choosing some oracle which meet some condition (e.g. only masternode or anyone who stake at least X coin) and optionally punish oracle who give different data compared with all other oracles.

And since this question asked on Bitcoin board, FYI Bitcoin doesn't have smart contract capability.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
tromp
Legendary
*
Offline Offline

Activity: 978
Merit: 1087


View Profile
April 06, 2023, 02:33:22 PM
Merited by ABCbits (2), PowerGlove (1)
 #5

And since this question asked on Bitcoin board, FYI Bitcoin doesn't have smart contract capability.

Bitcoin supports Discreet Log Contracts (DLC), a simple form of oracle, just fine [1] [2].
DLC is a form of scriptless script, that only needs Schnorr signatures to implement.

[1] https://dci.mit.edu/smart-contracts

[2] https://medium.com/interdax/discreet-log-contracts-smart-contracts-for-bitcoin-d75f22d25dac
Sidra101
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
April 11, 2023, 01:53:50 PM
 #6

An oracle is like a messenger between the real world and a blockchain. It provides information from the real world to the blockchain, such as the final score of a sports game. This information can then be used by a smart contract to trigger a specific action, such as automatically paying out winnings to people who bet on the winning team.



KaizenJujustsu
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
April 11, 2023, 04:16:44 PM
 #7

what is an oracle in blockchain technology and how does it help to connect offchain data to onchain smart contracts ?

In blockchain technology, an oracle is a well trusted third-party service or an agent that provides a off-chain data to on- chain smart contracts. and also Oracles enable smart contracts to interact with real-world data, such as stock prices, weather conditions, or even sport scores, which are not available on blockchain.

and, how does an oracle in blockchain ensure, that the external data it provides to smart contracts is trustworthy and reliable, without compromising the security of the blockchain network?
I think oracles can also pose security risks to your blockchain network if they are compromised or maliciously manipulated. Therefore, it is crucial to ensure that oracles are trustworthy and reliable and your data is verifiable and auditable.

If you are still curious or willing to learn, some of the links are not working anymore so im just gonna drop that is working.
https://blockgeeks.com/guides/blockchain-oracles/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!