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/