# Chainlink ## DON : Decentralized Oracle Networks + maintained by chainlink nodes + Designed to enhance and extend the capabilities of smart contracts on target chain or main chain + extend the capabitities : executables and adapter function +  > 舉例來說 : Executable 會使用 Adapters 取得鏈下的資料,並且利用另外一個 Adapters 將資料傳送至目標鏈,Executable 能夠將資料記錄在 DON 上 + formed by committees of oracle nodes > 簡單來說,DON 是一個工具,現有的 Oracle 網路能夠利用 DON 快速的建立需要專用網路的服務 ## Seven Key Design Goals + **Hybrid smart contracts(Meta Contract) :** + combining on-chain and off-chain components in smart + off chain service(能夠包含鏈上邏輯,也能連接鏈下服務) + **Abstracting away complexity:** + On Chain : SC(Smart Contract) + Off Chain : running on DON (exec : logic) + 分為鏈上和鏈上的處理程序 +  + DON 是一個連接鏈上和外部的服務的通道 > 舉例 : 讓企業能夠把現有的系統依靠 DON 把系統連接上區塊鏈 + **Scaling:** + DON : 為了延遲和吞吐量 > Expecting many DONs with different configurations to run in parallel different DApps and users can navigate tradeoffs in underlying consensus choices according to their application requirements + DON - Layer - 2 tech + TEF(Transaction Execution Framework) : +  +  + A : 傳統 Oracle 架構 + Oracle 的資訊和一般的 Tx 一樣,處理資訊的過程是在鏈上 + B : DON 架構 + 會在 DON 就將資料做好處理,可以直接送上鏈使用 + **Confidentiality :** + 因為區塊鏈提供的高度透明性,其實未必是好事, Confidentiality 依靠以下 3 個方法改善 + Confidentiality-preserving adapters: **DECO、Crier** enable oracle nodes to retrieve data from off-chain systems in ways that protect user privacy and data confidentiality. + Confidential computation: DONs 可以向區塊鏈隱藏他們的計算 + Support for confidential layer-2 systems: TEF 架構,使用 zkp 提供交易機密性 +  + Sensitive data : highlighted in yellow + Sensitive source data : black circles + Derived data : hollow circles + confidentiality-preserving adapters : blue/double arrowed lines + Order-fairness for transactions: + FSS(Fair Sequencing Services) : 用來解決區塊鏈上人盡皆知的問題「礦工打包交易」 - 因為交易是由礦工決定的,所以他也能查看裡面的交易,並且圖利自己。 + 能夠避免 front/back-running 或一些相關攻擊,能夠實現時間順序的公平性,甚至能降低 GAS FEE +  + A : 即使 1 比 2 早發出,礦工也能夠將 1 2 修改順序放上鏈 + B : 當 1 比 2 早出現, FSS 會讓 1 比 2 早出現在鏈上 + FSS : 用戶不需要提高 gas 來搶先發送交易 + Trust minimization: + User 可以自己選 DON 去操作 + 五個主要內容 + Data-source authentication : 一個可以讓數據提供者數位簽章的工具,從而增強主鏈和合約之間的監管 + DON minority reports : 由子節點發布的 flag,用以觀測 DON 節點的惡意行為 + Guard rails : 主鏈上偵測異常的邏輯,也能終止合約執行。 + Trust-minimized governance : 慢慢釋放更新來促進社群活絡 + Decentralized entity authentication : 以 PKI (Public-key infrastructure) 進行識別。 + Incentive-based (cryptoeconomic) security: + 當有 nodes 損壞時,生成一個涵蓋所有 oracle 的報告以確保安全性 + Financial incentive : 有需求時存入 LINK,做得不好就沒收 + Staking in Chainlink + 確保正確的 oracle 報告 + A powerful adversarial model : 包括了容易被忽略的攻擊 - 被賄絡的節點 + Prospective bribery : + Super-linear staking impact : **從這邊開始看** + The implicit-incetive framework
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.