กำลังพลิกหน้า
กำลังเปิดบทถัดไป…
นี่… ปรับการอ่านให้เป็นแบบคุณสิ
ฟอนต์และธีมอยู่ใน รูปลักษณ์ เลือกสิ่งที่สบายตาสำหรับคุณ
กำลังเปิดบทถัดไป…
A service that brings off-chain data (prices, scores, randomness) onto a chain in a form contracts can read.
กำลังตรวจสอบว่าเบราว์เซอร์รองรับการอ่านออกเสียงหรือไม่…
บทอ่านนี้มีเป็นภาษาอังกฤษในขณะนี้ ส่วนติดต่อใช้ภาษาที่คุณเลือก
อ่านต้นฉบับภาษาอังกฤษ →A blockchain oracle is a third-party service for smart contracts. Oracles provide trusted information based on the outside-world sources to the on-blockchain smart contracts. An oracle typically encapsulates the real-world complexity outside of the blockchain. This provides different engineering advantages, chiefly that critical errors and potential points of failure are easier to mitigate off-chain than on-chain.
For example, in a contract to automatically purchase bitcoins at a predetermined price, the fulfillment condition is based on the current exchange rate for the bitcoin; an off-chain oracle can constantly monitor the price to provide the triggering condition to the contract.
If an oracle relies on a single source of truth (centralized), that can lead to issues: the data source can be hacked in a man-in-the-middle attack, or altered by its owner, in order to sway smart contracts. Decentralized oracles (consensus oracles) increase the reliability of the information provided to smart contracts by querying multiple data sources, thus distributing trust between participants. However, this does not achieve trustlessness, since oracles are not part of the main blockchain consensus, and thus not part of the security mechanisms of public blockchains.
คัดเลือกและจัดรูปแบบใหม่จาก Blockchain oracle โดยผู้ร่วมเขียน ภายใต้ CC BY-SA 4.0. ฉบับแก้ไข 1346355893. เนื้อหาบางส่วนและรูปแบบถูกย่อ ฉบับแก้ไขที่เชื่อมโยงมีบริบทครบถ้วนและประวัติผู้ร่วมเขียน ข้อความอ้างอิงนี้ยังอยู่ภายใต้ใบอนุญาตเดิม ลิงก์อ้างอิงเพิ่มเติมนำเข้าจากฉบับนั้นและยังไม่ได้ตรวจสอบอย่างอิสระที่นี่