More specifically, an oracle is an agent that communicates with outside data sources and also verifies that the data it provides is accurate. Oracles supply information to smart contracts, which then use it to carry out their programmed tasks. For example, a smart contract that settles a bet on a sports match needs the final score from outside the blockchain, and an oracle is what delivers it.
Smart contracts can only read data stored within their own network. An oracle solves this by translating real-world events, which are unpredictable and off-chain, into on-chain values that a smart contract can recognize and act on.
Many oracles rely on a third-party data source that needs outside permission to function, so they are often run by centralized entities. Because smart contracts act on whatever an oracle reports, that oracle holds significant power over the outcome. This tension between trustless contracts and a trusted data feed is known as the Oracle Problem.
Decentralized oracle networks, which gather data from many independent providers, are often proposed as a way to reduce single-point-of-failure risk. These can help, but building a secure, functional, and trustless oracle network remains a difficult engineering challenge.
Buku besar digital terdesentralisasi yang mencatat informasi transaksi tentang sebuah mata uang kripto dala...
Urutan instruksi jelas yang digunakan untuk tujuan menyelesaikan sebuah masalah.
DApp adalah aplikasi yang berjalan pada sebuah jaringan komputer P2P, bukan database sentral. Pengguna beba...
Editorial Binance Academy