Hero Circle Shape
Hero Moon Shape
Hero Right Shape
imtoken波宝钱包下载|chainlink

imtoken波宝钱包下载|chainlink

  • 作者: imtoken波宝钱包下载
  • 2024-03-08 21:37:42

Chainlink: The Industry-Standard Web3 Services Platform

nlink: The Industry-Standard Web3 Services Platform

DevelopersDevelopers

DocsStart building your universally connected smart contracts

Developer HubnewTools, tutorials, and technical support

Developer Experts ProgramChainlink’s most active and supportive technical community membersProductsProductsCross-chainCross-Chain CommunicationnewMove data and value between existing systems and any public or private blockchain.DataData StreamsnewLeverage high-frequency market data to power the next-generation of DeFi markets.Market and Data FeedsIntegrate ultra-secure onchain data to trigger smart contracts in DeFi and beyond.Proof of ReserveVerify cross-chain and offchain reserves backing tokenized and wrapped assets.ComputeFunctionsConnect a smart contract to any API and run custom Web3 computation in minutes.AutomationAutomate smart contracts in a decentralized way with time or event-based triggers.VRFUse verifiably random numbers to ensure fair outcomes in games, NFTs, and more.Use CasesUse Cases

OverviewDecentralized services powering hybrid smart contract use cases across a wide-variety of industriesLearn more

Financial Services

DeFi

Gaming

NFT CollectiblesClimate Markets

Enterprise

InsuranceEcosystemEcosystemChainlink EcosystemProvide oracle computation directly to smart contracts and earn revenue by running critical data infrastructure

Data ProvidersLeverage the Chainlink Network to make your data accessible onchain directly through your own Chainlink nodesCommunityCommunity

Chainlink CommunityGain access to resources and events for Chainlink’s global communityLearn more

Grant ProgramFunding and supporting the creation of new smart contract applications built by the community

EventsUpcoming Chainlink virtual and in-person events, hackathons, meetups, and moreResourcesResources

BlogDiscover the latest product news, deep dives, developer tutorials, and moreLearn more

Whitepaper

Case Studies

Tech TalksFAQs

Education HubEconomicsEconomics

Staking appStake your LINK to help secure the Chainlink Network and earn rewardsView the app

Economics 2.0

StakingBUILD ProgramStart buildingMenuStart buildingSmartCon is LIVE right now. Discover 200+ leading DeFi, NFT, and blockchain projects.Sign up todayWin your share of500k+ in prizes.Sign Up NowJoin the biggest names in finance and techWatch live now

Chainlink Labs is hiring. Come join an industry-leading team.See current openings

Connecting the world to blockchainsDeveloper hub

Talk to an expertWhat's New

PressBitcoin ETF a Watershed Moment: Sergey Nazarov on Bloomberg

VideoChainlink 2024 Outlook | Sergey Nazarov on Building the Global Standard

VIDEO SERIESThe Future Is On: Interviews With 9 Digital Asset Leaders

WebinarDigital Asset Strategies for Finance | Franklin Templeton, DAR, ChainlinkPlatformChainlink is the decentralized computing platform powering the verifiable webCross-chainCCIPnew

Move data and value between existing systems and any public or private blockchain.Explore CCIPCCIP Officially Launches on Mainnet

5 Levels of Cross-Chain Security

From TCP/IP to CCIP

DataData Streamsnew

Leverage high-frequency market data to power the next-generation of DeFi markets.Market and Data Feeds

Integrate ultra-secure onchain data to trigger smart contracts in DeFi and beyond.Proof of Reserve

Verify cross-chain and offchain reserves backing tokenized and wrapped assets.computeFunctions

Connect a smart contract to any API and run custom Web3 computation in minutes.Automation

Automate smart contracts in a decentralized way with time or event-based triggers.VRF

Use verifiably random numbers to ensure fair outcomes in games, NFTs, and more.Cross-chainCCIPnew

Move data and value between existing systems and any public or private blockchain.Explore CCIPCCIP Officially Launches on Mainnet

5 Levels of Cross-Chain Security

From TCP/IP to CCIP

DataData Streamsnew

Leverage high-frequency market data to power the next-generation of DeFi markets.Market and Data Feeds

Integrate ultra-secure onchain data to trigger smart contracts in DeFi and beyond.Proof of Reserve

Verify cross-chain and off-chain reserves backing tokenized and wrapped assets.ComputeFunctions

Connect a smart contract to any API and run custom Web3 computation in minutes.Automation

Automate smart contracts in a decentralized way with time or event-based triggers.VRF

Use verifiably random numbers to ensure fair outcomes in games, NFTs, and more.Quick linksDocs

Developer hub

GitHub

Discord

recommended resources

MasterclassMastering Cross-Chain Development With Chainlink CCIP

DocsSmart Contract Overview

TutorialHow To Create a Dynamic NFT Using 3 Chainlink Services

DocsGetting Started With Chainlink Data Feeds

TutorialBuild a dApp with Spotify

ArticleWhat Is Tokenized Real Estate?Tomorrow'sMarketsliquidityContractsMoneyPaymentsMoneyBankingValuePaymentsAssetsContractsassetsrevenueTokenizationtradesrevenueContractsHere today.Chainlink in capital marketsBringing Capital Markets Onchain With DTCC and Chainlink

Swift Unlocks Potential of Tokenization | Results Report

Cross-Chain Settlement of Tokenized Assets | ANZ and CCIP Case Study

$9,717,670,460,123total transaction value enabled

Chainlink TVE is calculated by taking the sum of the USD value associated with each transaction utilizing Price Feeds since the start of 2022.UpdatedFebruary 12, 2024Why Chainlink is the global standardTime-tested securityChainlink services are powered by decentralized oracle networks with a long track record of high availability, reliability, and data accuracy.Universal interoperabilityChainlink connects existing systems to any public or private blockchain and enables secure cross-chain communication.World-class developer experienceChainlink provides developers across all major blockchains with extensive documentation, hands-on tutorials, and in-depth workshops.COMMUNITYAn international movement building tomorrow, todayMar8OnlineChainlink Women´s Day X space

Mar9Adana, TurkeyChainlink Turkiye Blockchain Literacy Day

Mar9OnlineIntroduction to Smart Contract Security

View more eventsA global team of industry experts pioneering a world powered by cryptographic guarantees“The goal of Chainlink is to empower builders. We want to provide people the tools they need to take control of their economic future.”Steve EllisGet the latest Chainlink content straight to your inbox.Email AddressYes, I agree to receive email communications from Chainlink.Thank you for signing up! Please check your inbox to confirm your subscription.Oops! Something went wrong while submitting the form. Please try againDevelopersDocsFaucetsDeveloper HubDeveloper ExpertsAPPLYChainlink HackathonBootcampUse Cross-Chain (CCIP)Use Data FeedsUse Randomness (VRF)Use AutomationUse FunctionsNode OperatorsProductsCross-ChainData StreamsMarket and Data FeedsFunctionsVRFAutomationProof of ReserveUse CasesOverviewFinancial ServicesDeFiGamingNFT CollectiblesClimate MarketsEnterpriseInsuranceCommunityCommunity OverviewGrant ProgramEventsBecome an AdvocateCode of ConductResourcesWhitepaperCase StudiesTech TalksBlogEconomics 2.0StakingFAQsEducation HubWhat Is DeFi?What Is an Oracle?What Is a Smart Contract?What Is an NFT?What Is Web3?What is Asset Tokenization?ChainlinkEcosystemData ProvidersPressTeamCirculating Supply CareersWE ARE HIRING!Brand AssetsChainlink BadgingContactTalk to an ExpertSecuritySupportCustom ChainlinksPress InquiriesSocialTwitterYouTubeDiscordTelegramWeChatRedditKakaoHomeChainlink®© Chainlink FoundationenZH

Privacy PolicyTerms of Service

新手指南:一文读懂Chainlink

新手指南:一文读懂Chainlink

Skip to content

Blog

Menu

Menu

Announcements

Developers

Education

Research

Vision

More

More

IndustryMenu Toggle

Capital Markets

DeFi

Enterprise

Gaming

Insurance

NFTs

Real Estate

Social Impact

TopicsMenu Toggle

DECO Series

Economics

Metaverse

MEV

Real-World Assets

Scalability

Staking

Startups

Tokenization

Web3

ZK Series

ApplicationsMenu Toggle

AMM

Cross-Chain

DAO

DEX

Money Markets

Stablecoins

Synthetic Assets

Yield Farming

Zero-Knowledge

StackMenu Toggle

Brownie

Hardhat

Javascript

Python

Solidity

LanguagesMenu Toggle

Chinese

Korean

LanguageMenu Toggle

Chinese

Korean

SubscribeSubscribe

SubscribeSubscribe

New report: The Need for a Chainlink DeFi Yield Index.

Download now.

Clear all

Announcements

Developers

Education

Research

Vision

Automation

CCIP

Data Feeds

Data Streams

Functions

Proof of Reserve

VRF

Industry

Capital Markets

DeFi

Enterprise

Gaming

Insurance

NFTs

Real Estate

Social Impact

Topics

DECO Series

Economics

Metaverse

MEV

Real-World Assets

Scalability

Staking

Startups

Tokenization

Web3

ZK Series

Applications

AMM

Cross-Chain

DAO

DEX

Money Markets

Stablecoins

Synthetic Assets

Yield Farming

Zero-Knowledge

Stack

Brownie

Hardhat

Javascript

Python

Solidity

Languages

Chinese

Korean

Chinese 新手指南:一文读懂Chainlink

January 25, 2021

5 min read

Author:

Chainlink

Table of Contents

新手指南:一文读懂Chainlink

区块链的价值在于消除对手方风险

智能合约最大的痛点是无法在接入链下数据和系统的同时规避对手方风险

解决方案:Chainlink去中心化预言机网络

其他资源

Subscribe to newsletter

新手指南:一文读懂Chainlink

区块链的价值在于消除对手方风险

智能合约最大的痛点是无法在接入链下数据和系统的同时规避对手方风险

解决方案:Chainlink去中心化预言机网络

其他资源

Subscribe to newsletter

Chainlink是一个去中心化预言机网络,将智能合约安全地连接至区块链网络以外的数据和服务。现代经济中的传统系统一旦接入了Chainlink预言机,就可以连通最前沿的区块链技术,让商业和社会流程变得更加安全、透明且高效。

如今,加密货币和区块链技术逐渐进入主流视野,Chainlink预言机也不断接入越来越多的区块链应用,并在其中发挥关键作用。这个趋势使得更多人开始关注区块链行业,并对Chainlink预言机产生了浓厚兴趣。那么Chainlink到底是什么呢?

为了给刚开始接触区块链、智能合约以及预言机的朋友答疑解惑,本文将简要概括Chainlink预言机网络的价值以及它如何帮助区块链应用充分实现潜力。本文会聚焦三个关键问题:

区块链和智能合约的核心价值主张是什么?

Chainlink如何为智能合约打破自身限制?

Chainlink预言机解决方案如何为智能合约充分实现潜力?

区块链的价值在于消除对手方风险

要了解Chainlink,就必须先理解区块链和智能合约的核心价值。简而言之,区块链就是一个去中心化的计算机网络,网络中的计算机在一个共享账本中进行运算并储存数据。区块链与传统的中心化计算机网络存在以下差异:

任何一个人或组织都无法控制区块链。

任何人都可以向区块链发送指令,所有人都拥有平等的权限。

区块链上的应用和数据无法被篡改或删除。

所有交易都储存在账本中,并且账本在不断扩大。

交易使用区块链原生加密货币进行支付。

区块链之所以具有以上这些属性,是因为网络中有几千台计算机在运行同样的软件、处理同样的交易、储存同样的数据并不断交叉检查,对网络状态达成共识。区块链的经济激励机制驱动着网络中所有参与方,鼓励节点诚实守信并达成共识。去中心化网络的各个节点会重复验证并储存交易,并因此获得经济回报。这使得操纵区块链共享账本的成本变得极其高,可行性几乎为零。

这个机制让区块链在多方流程中展开运算并储存数据时具有极高的安全性和可靠性。而区块链最核心的价值是可以消除对手方风险。所谓对手方风险就是指合约中另一方未能履约的风险。举个例子,如果要与陌生人交易数字资产,那么谁应该先打钱呢?怎么判断对方账户里的钱够不够?怎么防止账户里的钱被花两次(注:这个我们通常称之为“双花问题”)?通常来说,交易双方会委托第三方处理付款或进行清算,辅助交易顺利开展或在发生纠纷时进行仲裁。相比之下,区块链则为交易提供了一个更加公平可靠且防篡改的系统。用户确信一旦向区块链发送了交易,区块链就可以按照事先输入的指令完美执行。

区块链与银行的不同之处是交易双方无需托管,可以直接进行转账

比特币等加密货币之所以能够发展成如今的体量,都要归功于区块链的去中心化架构。区块链中不存在任何中心化实体有权超额发行货币(注:比特币的上限是2100万枚),比特币的底层区块链网络中有几千个遍布全球的计算机节点验证交易。另外,区块链的去中心化架构还能使用户直接交换价值,也就是所谓的“P2P”或“点对点”交易,绕过所有中间托管方,避开中介费和审查,最终用户可以保留对其资产和数据的全部所有权。

然而,区块链除了转账和在账本上做记录以外还可以实现许多其他的应用场景。一些可编程性较高的区块链可以支持更高级的命令,比如在网络中运行应用,基于预先设定的逻辑(即:如果x事件发生,则执行y行动)触发应用。比方说,如果明天777航班取消,则支付一笔77美元的保险赔偿;如果没取消,则不用付款。这种可以处理各种代码逻辑的区块链应用被称为“智能合约”。自从2015年以太坊问世以来,智能合约一直都是区块链发展的焦点。

智能合约最大的痛点是无法在接入链下数据和系统的同时规避对手方风险

智能合约存在一个内在矛盾,那就是它需要输入数据(如:航班起飞信息)来执行命令,但它所需的大部分数据都不是储存在区块链上的。智能合约本身也无法连接链下数据,因为区块链就像黑匣子一样是完全封闭的,无法与外部世界连通。也就是说,资产价格、比赛分数、物联网传感器、web数据和企业系统等各种真实世界的数据集完全无法传输到区块链上,这极大束缚了智能合约开发者的创造力。如果无法获取航班数据,怎么能开发出航班保险协议呢?

要将链下数据高效地传输到区块链上,唯一的方法就是使用一种叫“预言机”的软件。那么问题就来了:如何保障预言机与底层区块链具有同样的安全性和可靠性?因为只有这样才能维持智能合约的核心价值主张,那就是消除对手方风险,在最大程度上实现保障。如果用一个中心化的预言机将数据传输至智能合约,那么这个预言机就有权利操纵智能合约最终输出的结果。这种单点故障我们称之为“预言机问题”,它会威胁到到整个智能合约的安全。

中心化的预言机会导致数据传输到区块链时出现单点故障

解决方案:Chainlink去中心化预言机网络

Chainlink是一个去中心化的预言机网络,旨在将区块链智能合约安全可靠地连接至链下系统。Chainlink采用了与区块链相同的模式,建立了去中心化的独立预言机网络,网络中的预言机从多个数据源共同获取数据,将数据聚合,并将经过验证的聚合数据传输至智能合约,触发合约执行,在整个过程中规避了所有中心化风险。

比如,Chainlink会通过ETH/USD喂价将以太币价格传输到区块链上,Chainlink喂价采用了众多独立的预言机节点和数据源,获取并传输价格数据(见下图)。区块链应用可以通过ETH/USD价格预言机获取当前以太币价格,将以太币作为贷款抵押,或结算以太币价格预测协议。

ETH/USDChainlink喂价从多个独立的预言机运营商聚合价格数据

Chianlink预言机网络除了去中心化之外,还建立了多层安全机制,为用户在最大程度上提供保障:

通用的基础架构——Chainlink框架灵活性极高,可以在上面开发和运行预言机网络。用户可以亲自打造或连接至专属的预言机网络,无需依赖其他预言机网络。

Chainlink网络、预言机网络、Chainlink节点以及节点运营商分布图

数据签名——Chainlink预言机会使用独特的加密签名技术对发送到链上的数据进行签名,用户可以证明数据来自某一预言机节点。

优质数据——Chainlink可以将智能合约连接至包括付费数据提供商在内的所有链下系统。智能合约还可以向其他系统发送指令,比如向传统支付系统发送支付指令。

兼容所有区块链——Chainlink可以在任何区块链上运行,无需依赖其他外部区块链。这意味着Chainlink可以支持公链和企业级区块链等各种区块链环境。

Chainlink可以为任何区块链上的智能合约输入输出数据

服务水平协议——Chainlink最终将允许用户自定义链上智能合约的预言机服务条款,其中预言机节点需要支付一笔保证金,只有在节点按照服务条款完成任务后(如:按时传输数据)才能拿回保证金。

声誉系统——Chainlink预言机的历史性能参数都可以在链上公开查看,而且数据经过签名验证。用户可以根据平均响应时间、任务完成率和平均保证金等各种历史性能参数筛选预言机。节点运营商也可以选择性地提供额外数据,比如身份信息、地理位置和第三方认证。

节点可以在Chainlink市场列出自己的关键功能特色,用户可以结合这些特色以及链上性能参数进行筛选

其他功能——Chainlink目前还在开发其他安全功能,其中包括预言机和数据隐私以及高级预言机计算等。

Chainlink预言机实现了可以与底层区块链相媲美的安全性和可靠性,因此催生出了更多的高级智能合约应用。我们在博客文章《Chainlink预言机在智能合约中的77种应用方式》中提到了Chainlink预言机一些主要的应用场景,具体内容如下:

去中心化金融(DeFi)

贷款、支付、衍生品和资产权益等各类传统金融产品都开始通过智能合约出现在区块链上。智能合约使这些金融产品变得更加安全透明,并且降低了它们的准入门槛。这些DeFi应用接入了Chainlink预言机获得资产喂价和利率,并验证资产抵押率,因而实现了各种高级功能,比如以公允市场价值发放贷款、自动发放股息或交割期权合约。

保险

智能合约还可以用来在区块链上创建参数保险合约。Chainlink目前正在为Arbol的农作物保险产品提供天气数据,全世界各地的农民只要登陆互联网就可以获得这款农作物参数保险。这款产品根据降雨量和气温等参数,基于合约预先设置的逻辑(如:如果今年雨水量超过x,则支付y赔偿金。)及时且公平地进行理赔。

游戏

现在开发者还开始在区块链上发布智能合约游戏应用。对于许多区块链游戏来说,其中一个关键要素就是随机数生成,比如随机创建游戏场景或抽出中奖玩家。Chainlink推出了一个随机数解决方案,名为Chainlink可验证随机函数(VRF)。Chainlink VRF可以生成随机数,并将随机数传输至智能合约。用户可以证明随机数是公平公正的,因为无论是游戏玩家、游戏开发者还是第三方都无法篡改或操纵生成的随机数。

Chainlink VRF为区块链游戏场景输入和输出随机数

传统系统

Chainlink的另一个关键应用场景就是为数据提供商、物联网、网站和企业等传统系统提供一条路径,向所有区块链网络出售其数据和服务。由于Chainlink网络可兼容任何区块链,因此可以作为一道门户,将所有链下数据基础架构接入区块链网络。近期,世界经济论坛与Chainlink联合创始人Sergey Nazarov共同发布了一份名为《弥合治理差距:区块链和传统系统之间的互操作性》的报告,其中详细阐述了行业标准的互操作框架如何接入Chainlink这类预言机网络连通传统系统和区块链环境。

以上是Chainlink可以为智能合约带来的部分价值,帮助其更好地连通链下数据和系统,并提升安全性和可靠性。最终,区块链智能合约应用将跨越更多垂直市场,实现更丰富的应用场景。

如果说区块链是去中心化的计算机网络,智能合约是去中心化的应用,那么Chainlink就可以理解成是去中心化的互联网,让智能合约可以与链下世界交互,并同时保持区块链技术在安全、透明和信任方面的核心价值。

其他资源

如果你刚开始接触区块链,并且希望更加深入地了解这个领域,可以按顺序阅读以下几篇科普系列文章:

什么是区块链

什么是智能合约

什么是数据和API

什么是预言机问题

什么是Chainlink节点运营商

如果你想要看一些更加技术性的内容,请查看Chainlink白皮书、开发者文档以及Chainlink博客发布的文章。

欢迎关注Chainlink在各个社交平台上的官方账号,并订阅Chainlink新闻,第一时间了解Chainlink最新消息。

Chinese

Need Integration Support?

Talk to an expert

Faucets

Get testnet tokens

Read the Docs

Technical documentation

You might also be interested in

一文读懂可验证网络如何保障互联网信息的真实性

可验证网络采用了区块链技术、去中心化计算以及加密技术来执行合约,以提升系统透明性,并让用户更好地掌控自己的数据、身份信息和资产。

February 22, 2024

3 min read

新报告:对Chainlink DeFi Yield Index的需求

Chainlink DeFi Yield Index (CDY Index) 旨在利用业界标准的Chainlink价格预言机来聚合DeFi借贷收益率。通过提高链上借贷协议收益机会的易寻性,CDY指数旨在提升DeFi借贷市场的资本效率。

January 29, 2024

2 min read

一文读懂跨链桥的七大关键漏洞

要实现跨链安全性,只采取某一种安全机制是不够的。实际上,要建立稳健的跨链安全模式,需要采取深度防御机制,综合使用多种安全机制,全面地防范攻击。这也是我们构建行业标准的跨链解决方案Chainlink CCIP的初衷。

January 24, 2024

3 min read

Stay updated on the latest Chainlink news

DevelopersDocs

Faucets

Developer Hub

Developer ExpertsAPPLY

Chainlink Hackathon

Bootcamp

Use Cross-Chain (CCIP)

Use Data Feeds

Use Randomness (VRF)

Use Automation

Use Functions

Node Operators

ProductsCross-Chain

Data Streams

Market and Data Feeds

Functions

VRF

Automation

Proof of Reserve

Use CasesOverview

Financial Services

DeFi

Gaming

NFT Collectibles

Climate Markets

Enterprise

Insurance

CommunityCommunity Overview

Grant Program

Events

Become an Advocate

Code of Conduct

ResourcesWhitepaper

Case Studies

Tech Talks

Blog

Economics 2.0

Staking

FAQs

Education Hub

What Is DeFi?

What Is an Oracle?

What Is a Smart Contract?

What Is an NFT?

What Is Web3?

What is Asset Tokenization?

ChainlinkEcosystem

Data Providers

Press

Team

Circulating Supply

Brand Assets

Chainlink Badging

ContactTalk to an Expert

Security

Support

Custom Chainlinks

Press Inquiries

Social

Twitter

YouTube

Discord

Telegram

WeChat

Reddit

Kakao

Chainlink®

© 2023 Chainlink Foundation

Privacy Policy

Terms of Service

Go to search page

一文读懂Chainlink当前进展 - 知乎

一文读懂Chainlink当前进展 - 知乎切换模式写文章登录/注册一文读懂Chainlink当前进展CryptoFinders*本文仅供参考,不作为投资建议本期导读「简析」Chainlink的过去,现在和未来。从多个方面分析Chainlink,尽量做到化繁为简,从海量数据中找到你想看的。本文主要从以下四个方面进行分析○赛道与生态简析●项目简析与产品迭代(Chainlink经济学2.0&质押v0.1)○盈利分析●代币分析赛道与生态简析看了一遍「Chainlink Co-founder Sergey Nazarov」在去年9月份Smart Con上进行的演讲,感觉内容很多,对于想了解Chainlink的新手(韭菜)是个不错的科普(xi脑),链接如下:2022 SmartCon大会Sergey演讲:https://www.youtube.com/watch?v=lMHaQGB1Wdc预言机是链接链上智能合约和链外世界的桥梁,是智能合约获取链下数据的途径。 首先,预言机赛道可以分为去中心化预言机,中心化预言机。实际上很多人有很多不同的分类方法,比如再细分为NFT预言机,DEFI预言机,隐私预言机,一方/三方/多方预言机等等。由于本文主要讲Chainlink,所以简单分为以上两类。目前主流趋势是去中心化预言机。Chainlink作为去中心预言机赛道龙头,作为DEFI世界的基础设施,赛道内的其他项目基本上只能望其项背。如下图,BAND, API3, OCEAN等等总量加起来也只是Chainlink的零头大部分项目都必须依赖预言机,预言机是区块链世界的水和空气。没有预言机就像黑夜中摸黑行走。一言以概之,区块链可以没有DEFI,但不能没有预言机。预言机将外部信息(链外信息)传输到链上,完成数据互通,是各个孤岛中间的跨海大桥。举个简单的例子:你和朋友打赌,但是你们需要一个裁判告诉你们结果,然后通过结果判断输赢。预言机就相当于这个裁判的作用。而在区块链上,这个裁判就是提供实时信息(例如代币价格等)的人,也就是预言机。如果没有预言机,各个项目/智能合约之间就无法建立信任。关于Chainlink预言机,我认为官方的描述最为准确:为了保障预言机层的高确定性,Chainlink开发出了去中心化的预言机网络,网络中具有多个功能模块,可以灵活组合,打造出适用于任何情景的预言机解决方案。开源——Chainlink是开源技术,整个区块链社区可以独立验证Chainlink源代码和功能的安全性和可靠性,并不断进行完善。外部适配器——节点可以安全地储存API秘钥并管理账户登录信息,这使智能合约能够从任何链下系统和API获取数据,包括受密码保护的认证API。去中心化——在节点和数据源层面都实现去中心化,避免出现节点或数据源的单点失效,为用户保障数据传输的及时性和完整性。数据签名——节点需要对发送至智能合约的数据进行加密签名,因此用户可以查看哪个节点发送了哪些数据,并查看节点的历史服务记录以了解其服务水平。服务协议——请求数据的智能合约与预言机运营商需要在链上签署具有约束力的服务协议,约定预言机服务条款以及奖惩制度,为用户保障链下数据的质量。声誉系统——将经过签名的链上数据传输至声誉系统,让用户可以做出理性选择,基于完成任务数量、服务客户数量和平均响应时间等各种指标判断节点的优劣。认证服务——为节点提供KYC、节点地理位置以及基础架构安全评估等认证,提升节点的安全性和可靠性。高级加密技术和硬件保护——零知识证明等高级加密技术以及可信执行环境等硬件保护可以为预言机带来额外的安全保障,比如向智能合约证明数据来源(注:证明数据来自某一服务器),向预言机隐藏数据内容,以及执行链下计算等。以上是Chainlink众多功能的其中一部分,可以为预言机用户提供各种安全保障。在之后的科普文章中,我们还会深入探讨上述每个功能模块,帮助大家更全面地了解Chainlink网络。Chainlink的这些核心功能能够将任何区块链上的智能合约连接至链下数据,并同时保障区块链最核心的高确定性,为推动数据自动化发展奠定坚实基础预言机的主要使命就是传递“准确”并“及时”的信息给各个需求方。这也是Chainlink一直想要解决的问题- ‘如何及时的传递准确的信息?’为此Chainlink在「白皮书2.0」中推出了 VRF、Keepers、CCIP 等一系列概念与产品,而这些概念与产品也进一步扩展了预言机在未来各个领域的应用空间。也更加确定了Chainlink的龙头地位。换句话说,其他预言机细分赛道的项目想做的,Chainlink在未来也有可能做得到,因为Chainlink已经占据了预言机赛道超80%的市场(这一数据是根据预言机赛道项目总体活跃地址数估算的,并没有找到官方给出的总体市场份额的数据),一切取决于项目方想不想做。比如Chainlink Labs 在2022年11月17宣布与 Coinbase Cloud 合作的「NFT 地板价喂价服务」在以太坊上线,将首先支持 10 个 NFT 系列,包括 BAYC、MAYC、CryptoPunks、Azuki、Doodles 等蓝筹项目。所以未来很难有预言机项目能够撼动Chainlink的地位。目前Chainlink的生态系统已经非常庞大,根据http://chainlinkecosystem.com展示,目前约有1695个项目在生态系统内,包括652个DEFI项目,478个NFT项目,252个Gaming项目等等。基本覆盖所有主流公链。大部分知名项目均涵盖其中。Chainlink是预言机赛道的龙头,有着庞大的生态,其采取的开源开发模式,使得项目在数据提供商、节点运营商、智能合约开发者、研究者、安全审计人员等全方面获得较快扩张。以下为Chainlink近年来的生态扩张速度:项目简析与产品迭代Economics 2.0&质押v0.1这里主要讲近年来Chainlink的项目发展,从2021年中Chainlink发布「Waitepaper2.0」以来,Chainlink获得了爆发式的增长。而Chainlink2.0 的白皮书首次引入 DON(去中心化预言机网络)的概念。DON 是由一组 Chainlink 节点维护的网络,Chainlink构建了多个节点层级来确保信息的准确度和时效性。而在刚过去的2022年9月举办的SmartCon大会上公布了「Chainlink代币经济学2.0」的方案,主要关注点依旧在专注于提升数据安全性和功能,降低运行成本上,但是不同点在于提高了 Chainlink 服务提供方的用户收入,并让包括权益质押者在内的更多服务提供方参与到 Chainlink 生态中,这是源于Chainlink确立了自身的主导地位,从而开始向其他方向延伸的信号。我将这次的代币经济学2.0方案分为三个主要部分1. 扩大服务商的收入(Chainlink BUILD)2. 减少预言机网络成本(Chainlink SCALE)3. 权益质押机制(核心模块-Chainlink Staking)Chainlink代币经济学2.0具体信息:https://blog.chain.link/smartcon-2022-recap/ Chainlink Co-Founder的po在油管的Presentation:https://www.youtube.com/watch?v=KSS8Gk5UxE4扩大参与者的收入机会其中Chainlink BUILD是一项新的产生收益的措施,需要Chainlink进行服务的项目需支付其原生代币供应的很大一部分(3-5%),以换取预言机服务和技术支持。而这些项目的代币也许会在未来产生巨量的收益,此时的服务商也就取得了类似机构投资者的双重身份。减少预言机网络成本为了进一步缩小预言机运营成本,Chainlink在本次更新的代币经济学2.0中引出了Chainlink SCALE的概念,目的是再次减少预言机网络的运营成本。而参与这一计划的项目,在开始阶段将会取消gas费,从而达到加速推进自己生态中的智能合约创新的目的。而这些gas费将由参与方适用自己的代币抵消。目前以参与该计划的项目有:Avalanche、Metis、Moonbeam等。对于其生态内的项目来说,可以获得一定缓冲时间,潜心打造真正具有价值的服务,以实现可持续的费用收入模式,并最终用费用收入来覆盖区块链和预言机基础设施所有的后端成本。质押机制-也是大家最关注的一项Chainlink staking v0.1上线当天不到3小时额度就被抢光,权益质押机制是Chainlink为了更进一步解决信息安全和准确性的重要步骤。其中包含去中心化、加密学、隐性激励机制、未来费用机会(FFO)以及模块化配置等关键要素。而v1.0版本是测试版本,所以不会采取严格的处罚机制。质押分为节点运营商质押和社区成员质押。质押模块主要有以下内容:以下为质押机制的v1.0版本部分内容—1.惩罚和奖励机制(v1.0以奖励为主)节点运营商质押年化奖励5%,另外从社区质押者的收益中抽取5%作为额外奖励,所以社区质押者预计年化4.75%。按照现在质押量来看,节点运营商预计年化收益在7%左右(加上从社区质押者的收益中抽取的5%),相较于很多项目的staking pool的超高APY来说,Chainlink的这一收益率可以说很稳健,不会因为这点APY影响整个项目,Chainlink的项目收益完全可以cover掉。后续正式版本将会引入惩罚机制:1)如果节点没有及时更新价格或者提供了错误的喂价,无法履行链上服务水平协议(SLA)。将会被扣除部分质押的LINK。2)如果质押者发现错误价格,可以发出警报,会获得奖励(举报有奖机制,减少作恶机会)。2.声誉系统这个是为后续的节点选择做准备的,未来的计划将会根据声誉来确定节点位置,也许就是Waitepaper2.0中所说的第二层节点(可以裁决第一层的错误)的排序。毕竟在白皮书中强调了第二层节点将会由‘nodes with strong historical reliability scores’。也许头部几个节点已经内定了位置,但是剩下的位置还是需要抢的。以下是官方对于质押机制的描述:Chainlink权益质押机制的主要目标是提升Chainlink预言机服务的加密经济安全和用户保障。具体方式是锁定LINK通证,为预言机的服务水平提供保障。如果预言机网络无法履行链上服务水平协议(SLA),则会被扣除一部分质押的LINK通证,并且这部分通证会被重新分配。另外,我们还研究了损失预防机制,使用一部分被扣除的LINK通证来保护预言机服务的用户免受经济损失。权益质押可以为Chainlink节点建立有效的奖惩机制,激励节点不断生成准确的预言机报告,并及时传输给正确的对象。权益质押机制是Chainlink深度防御安全策略的一部分,其中包含去中心化、加密学、隐性激励机制、未来费用机会(FFO)以及模块化配置等关键要素。从本质上来说这样依旧无法防止大面积节点串联作恶,但是可能性小了点,毕竟举报有奖的机制有效性已经贯穿了世界历史,这样一个去中心化的节点网络更加确保了所提供信息的准确性和时效性。盈利分析官方声称:目前为止,已经有多个Chainlink预言机网络可以通过dApp收入实现盈利。收入由dApp支付给Chainlink节点,以换取服务。许多区块链都通过发放区块奖励来激励节点,而Chainlink预言机网络则是通过服务费来实现盈利,因此具有独特的优势。一些更主流的区块链采用区块奖励的方式来激励节点,奖励在60-70%之间。从这段文字中不难看出,其实Chainlink是并没有获得很高盈利的,如果盈利的dApp很多的话,会适当进行强调。这可以明显感觉到能够实现盈利的dApp少之又少,毕竟经历了长时间的熊市,大部分dApp甚至都只有个位甚至十位数的活跃用户。我们从多个方面试着探究了Chainlink2021~2022年的盈利情况,首先和大部分区块链项目一样,Chainlink是没有公开财务报表的,所以很难具体描述其盈利情况。但是可以根据其已公布的几个盈利板块来追踪收入,先说结果:目前已知的盈利,相较于Chainlink的体量来说可谓微薄。以下为目前已知的Chainlink部分盈利板块—Chainlink Price Feed(喂价)目前是DeFi市场最主流的价格预言机解决方案,为Aave、Synthetix和Yearn等各类主流和新兴协议保障着数十亿美元的价值。Chainlink喂价经过预编译,为DeFi应用提供最安全可靠的价格预言机服务,并在最大程度上保障数据质量。首先这项业务是免费的,收益来源主要由赞助商提供赞助,官方也没公布具体的赞助金额。Chainlink VRF(可验证随机函数)Chainlink VRF目前正在为Web3生态中的众多应用提供安全的链上随机数来源,其中包括GameFi、DeFi以及NFT等项目,应用场景包括为NFT分配随机属性,公平地分配罕见NFT,公平地选出参与者,随机选出中奖者等等。VRF的调用在不同链上的费用有所区别,目前以VRF v2为主,在以太坊主网的调用费用为0.25LINK,BSC和Avalanche链上调用费用为0.005LINk,Polygon和Fantom链上调用费用为0.0005LINK具体参数可以查看:https://docs.chain.link/vrf/v2/subscription/supported-networks通过Dune作者@gsm创建的Chainlink Dashboard(https://dune.com/gsm/Chainlink) 中的数据来看,VRF v1加v2的收益加起来,2023年1月份的总收益也只在5333枚LINK左右,按照现价6.9刀左右的价格,总收益约为36107刀。这点收益对于Chainlink来说可谓可有可无。Chainlink POR(资产证明)Chainlink资产储备证明为智能合约提供了所需数据,可以计算任何链上资产的跨链或链下储备抵押率。Chainlink储备金证明由去中心化的预言机网络运行,可以自动对DeFi应用中的抵押品进行实时审计,保障用户资金安全,杜绝准备金率不达要求或链下托管方欺诈等现象。这是伴随着FTX挪用用户资产,资不抵债后倒台所延伸出的产品。随着FTX倒台,陆续又有多个交易所收到波及被查处资不抵债以及私自挪用等问题而关闭。所以Chainlink推出了这款产品,但收费并没有公开,我们咨询了Official管理员也没有得到回复,如果有相关信息可以补充。不过我认为这个项目依旧是个基本不赚钱的项目,主要原因在于大公司比如币安等已经在第一时间披露了,后续没第一时间披露的公司里,或多或少都有点问题。即很多公司确实挪用了只是不想披露出来,即便披露了也有虚假成份。目前已有的用户如图:Chainlink Keepers(开发者工具)为开发者提供工具,让Web3 开发者可以更快地开发自己的项目,减少自动化工作中投入的时间和资源。本身作为开发者工具就基本不赚钱,查了下太少了不在这论述了。实际上Chainlink所开发的很多产品都是为了占据市场卖概念,并非单纯依靠产品的收益。Chainlink CCIP(跨链互操作协议)和Chainlink DECO则进一步扩展了Chainlink的帝国版图,向跨链(超级重灾区)和信任最小化平台迈出了重要一步,也许在未来会有潜在盈利。在Chainlink多重协议的安全保证下,更多的资产在链上和跨链上移动,从而扩大的未来的潜在利润空间,要想富先修路,在过去的几年间,Chainlink已经修好了高速公路,目前开始尝试多方面扩展盈利方向了。总体而言,Chainlink目前已经开发的产品确实占据了大部分的市场份额,在预言机领域一定程度上属于全能型选手,但是目前的产品盈利能力确实堪忧,当前以及未来的主要盈利点更多的是在‘兜售概念’,以及将已经占据的市场份额逐渐转化为盈利点,但是由于当前市场一片愁云,各个dApp半死不活,大部分dApp本身缺乏盈利,有的甚至都快交不起服务器费用了。想要转亏为盈还需要等待接下来的这轮牛市,就像上面我说的,公路已经铺好了,就等着车水马龙收过路费了。代币分析历史表现在开始之前,我们简单看一下Chainlink代币LINK的表现:从2019年1月上线币安后,维持了三个月1刀以下的价格,随后开启疯狂模式,耗时不到2个月,完成百倍涨幅。ATH(all-time-high)历史最高价达到53刀。毫无疑问是强庄币,牛市涨幅最高的就是强庄币。至于接下来是否是牛市,就要依靠大家自己的判断了。目前价格6.9刀,距ATH跌幅近87%,两年内最低价5.3刀,当前流通市值35亿美元,根据CMC数据排名21。 数据来源Coinmarket高清图片以及深度分析移步微信群代币解锁数据根据TokenUnlocks的年度报告,Chainlink仍有价值$2.9B(29亿美金)的LINK仍在锁定中,将于未来解锁,具体时间未知。按照发布时的价格换算,基本上也就等于CMC给出的未解锁数量,约为4.9亿枚。其中3.5亿枚(35%)是白皮书中划定的用于激励网络内参与者的部分,去年看的时候是锁定在一个地址里没动过的,现在已经分为多个地址了,在下面的地址分析里会提到。https://token.unlocks.app/reports/tokenunlocks-annual-report-2022数据来源:TokenUnlocksLINK持币地址分析:目前链上Top30基本上都是属于项目方和各大交易所的,去年看的时候是35%的LINK存储在同一个项目方Operating地址中,但是现在被打散到多个地址中了,筹码分布如下:具体地址以及代币分布查看:https://etherscan.io/token/0x514910771af9ca656af840dff83e8264ecf986ca#balances同时我们筛选了一些比较有参考性的数据供以参考:首先是活跃地址数,近期有一些异常数据如下图。在去年12月和今年1月发生了两次非常高的活跃量。所有和LINK代币持有/活跃地址相关的数据都受到影响,经过调查发现是币安整理钱包所引起的。 图表来源CryptoQuant其次是交易所钱包内LINK存储量与总量的占比,主要是因为Staking的原因导致用户提币,交易所内LINK总量下降,市场流通量下降。 数据来源CryptoQuant【关注微信公众号CryptoFinders】发现价值 探究价值 捕获价值【免责声明】市场有风险,投资需谨慎。本文不构成投资建议,据此投资,责任自负。发布于 2023-02-12 16:17・IP 属地中国香港Chainlink(LINK)​赞同​​添加评论​分享​喜欢​收藏​申请

我们的全球区块链社区 | Chainlink

球区块链社区 | Chainlink

开发者开发者

文档开始打造自己的通用连接型智能合约

Developer Hubnew工具、教程和技术支持

开发者专家计划Chainlink最活跃且互助的技术社区成员产品介绍产品介绍Cross-chain跨链通信newMove data and value between existing systems and any public or private blockchain.DataData StreamsnewLeverage high-frequency market data to power the next-generation of DeFi markets.市场和Data FeedsIntegrate ultra-secure onchain data to trigger smart contracts in DeFi and beyond.储备金证明Verify cross-chain and offchain reserves backing tokenized and wrapped assets.ComputeFunctionsConnect a smart contract to any API and run custom Web3 computation in minutes.AutomationAutomate smart contracts in a decentralized way with time or event-based triggers.VRFUse verifiably random numbers to ensure fair outcomes in games, NFTs, and more.用例用例

概述去中心化服务驱动各个行业的混合型智能合约用例了解更多

Financial Services

DeFi

游戏

NFT Collectibles气候数据市场

企业

保险生态生态Chainlink Ecosystem直接向智能合约提供预言机计算资源,并通过运行关键数据基础设施获得收入

数据提供商Leverage the Chainlink Network to make your data accessible onchain directly through your own Chainlink nodes社区社区

Chainlink社区Chainlink全球社区的资源和活动了解更多

Chainlink奖金计划为社区开发的创新智能合约应用提供资金支持

活动即将举行的Chainlink线上和线下活动、黑客松以及meetup等资源资源

博客发现最新的产品新闻、深入研究、开发人员教程以及更多内容了解更多

白皮书

案例分析

技术演讲常见问题解答

教育平台EconomicsEconomics

Staking appStake your LINK to help secure the Chainlink Network and earn rewardsView the app

2.0经济学

权益质押BUILD Program开始开发菜单开始开发NEWEarly Access for Chainlink Staking v0.2 is now live.Stake your LINK today.SmartCon is LIVE right now. Discover 200+ leading DeFi, NFT, and blockchain projects.立刻报名Win your share of500k+ in prizes.Sign Up NowJoin the biggest names in finance and techWatch live now

Chainlink Labs正在招贤纳士。快来加入行业顶尖的团队吧!查看当前空缺职位全球社区致力于推动智能合约发展我们将共同努力打造下一代智能合约,连接链下数据、事件和系统。与我们共同创造未来吧。加入我们加入我们的全球社区,参与公开讨论并关注智能合约行业最新研究。阅读最新消息请在我们的官方Twitter频道上了解我们的最新发布和生态公告。在Twitter上关注Chainlink参与公开讨论Connect with Chainlink enthusiasts about the latest news across the smart contract ecosystem.加入Chainlink的Telegram成为Chainlink倡导者将社区凝聚在一起,共同学习、讨论并开发新型的智能合约。申请成为Chainlink倡导者即将举办的活动EventDateLocationLanguageTypeInitiation Meet-Up x Chainlink - Navigating Blockchain: A Starter's Handbook (CCIP)DateMarch 7, 2024LocationChinaTaiNanLanguageChineseTypeAMAMEETUPCONFERENCEHACKATHONTECHNICALInitiation Meet-Up x Chainlink - Navigating Blockchain: A Starter's Handbook (CCIP)DateMarch 7, 2024LocationChinaTaiNanLanguageChineseTypeAMAMEETUPCONFERENCEHACKATHONTECHNICALChainlink Women´s Day X space DateMarch 8, 2024LocationOnlineLanguageSpanishTypeAMAMEETUPCONFERENCEHACKATHONTECHNICALChainlink Women´s Day X space DateMarch 8, 2024LocationOnlineLanguageSpanishTypeAMAMEETUPCONFERENCEHACKATHONTECHNICALChainlink Turkiye Blockchain Literacy DayDateMarch 9, 2024LocationTurkeyAdana, TurkeyLanguageTurkishTypeAMAMEETUPCONFERENCEHACKATHONTECHNICALChainlink Turkiye Blockchain Literacy DayDateMarch 9, 2024LocationTurkeyAdana, TurkeyLanguageTurkishTypeAMAMEETUPCONFERENCEHACKATHONTECHNICALIntroduction to Smart Contract SecurityDateMarch 9, 2024LocationNigeriaOnlineLanguageEnglishTypeAMAMEETUPCONFERENCEHACKATHONTECHNICALIntroduction to Smart Contract SecurityDateMarch 9, 2024LocationNigeriaOnlineLanguageEnglishTypeAMAMEETUPCONFERENCEHACKATHONTECHNICALEthLatam Side Event | Todo sobre el Protocolo de Interoperabilidad CCIPDateMarch 12, 2024LocationHondurasSan Pedro Sula, HondurasLanguageSpanishTypeAMAMEETUPCONFERENCEHACKATHONTECHNICALEthLatam Side Event | Todo sobre el Protocolo de Interoperabilidad CCIPDateMarch 12, 2024LocationHondurasSan Pedro Sula, HondurasLanguageSpanishTypeAMAMEETUPCONFERENCEHACKATHONTECHNICAL查看所有活动全球社区加入我们不断发展的全球社区,认识其他Chainlink倡导者。Officially moderated communities微信与我们沟通微博了解更多Bilibili观看视频Kakao与我们沟通Telegram与我们沟通SE Asia Telegram与我们沟通SE Asia Facebook了解更多Telegram与我们沟通Facebook了解更多Telegram与我们沟通Facebook了解更多Telegram与我们沟通Facebook了解更多Telegram与我们沟通推特了解更多Telegram与我们沟通Telegram与我们沟通推特了解更多Telegram社区这些Telegram社区不由Chainlink组织SpanishItalianFinnishFranceDutch查看Chainlink行为守则Latest Chainlink grant recipientsProtofireProtofire Receives Chainlink Developer Grant To Build Hardhat Plugin to Automatically Spin Up Local Chainlink OracleChaos LabsChaos Labs是一个智能合约应用的云测试环境,将在沙盒测试环境中集成Chainlink预言机。 This Dot LabsThis Dot Labs Receives Chainlink Grant To Create Educational Walkthrough for Building a Solana ApplicationHack.bgHack.bg has been awarded a Chainlink Grant for the creation of a set of resources to illustrate how to securely automate key smart contract functions using Chainlink Keepers.Chainlink AcademyAlbert Peci receives a Chainlink grant to enhance Chainlink Academy, an interactive coding platform and open-source library of community resources.Nomic FoundationThe Nomic Foundation has been awarded a Chainlink Community Grant to further expand the Ethereum developer tooling ecosystem.blockchain.educationThis Dot Labs获得Chainlink社区激励奖金,创建了由社区驱动的开发者资源网站。IC3The Initiative for Cryptocurrencies and Contracts (IC3), a leading academic research organization, has been awarded a second Chainlink Research Grant.Giulia FantiAcademic researcher Giulia Fanti has been awarded a second Chainlink grant to further research into order fairness and networking scalability for Chainlink.See all recipientsChainlink视频Building a Web3 World Powered by Cryptographic TruthThree Years on MainnetChainlink Economics 2.0 and the Market for Trust-Minimized Apps观看更多视频常见问题解答查看关于Chainlink的常见问题解答。博客阅读Chainlink最新发布的消息和公告。Get the latest Chainlink content straight to your inbox.电子邮件地址是的,我同意接收来自Chainlink的电子邮件。感谢注册!请查看您的收件箱以确认订阅。糟糕!在提交表格时出了点问题。请再试一次。开发者文档FaucetsDeveloper Hub开发者专家申请职位Chainlink黑客松新手训练营Use Cross-Chain (CCIP)Use Data Feeds使用随机数 (VRF)Use AutomationUse FunctionsNode Operators产品介绍Cross-ChainData StreamsMarket and Data FeedsFunctionsVRFAutomation储备金证明用例概述Financial ServicesDeFi游戏NFT Collectibles气候数据市场企业保险社区社区概况Chainlink奖金计划活动成为倡导者行为准则资源白皮书案例分析技术演讲博客2.0经济学权益质押常见问题解答教育平台什么是DeFi?什么是预言机 ?什么是智能合约?什么是NFT?什么是Web3?What is Asset Tokenization?Chainlink生态数据提供商媒体团队Circulating Supply 招聘我们正在招人!品牌资产Chainlink徽章联系我们Talk to an Expert安全帮助定制Chainlink预言机Press Inquiries社交媒体推特YouTubeDiscordTelegram微信RedditKakao首页Chainlink®© Chainlink Foundation英ZH

Privacy PolicyTerms of Service

Blockchain Oracles for Connected Smart Contracts | Chainlink Documentation

ckchain Oracles for Connected Smart Contracts | Chainlink Documentation

Developer HubDocsOverviewDeveloper HubSearch Chainlink Docs⌘K NEWChainlink Data Streams have officially launched on mainnet. Sign up for early access. Welcome to Chainlink Docs

The go-to place for developers who want to learn how to build applications using Chainlink and for node operators

wanting useful information on running a Chainlink node.

Get Started Starter Kits CCIPGlobal standard for building secure cross-chain applications.Chains supportedData FeedsDecentralized and high-quality data for DeFi, sports, weather, and more.Chains supportedData StreamsSecure and reliable high-frequency market data for ultra-fast derivatives products.Chains supportedFunctionsServerless developer platform that can fetch data from any API and run custom compute.Chains supportedAutomationReliable, high-performance, decentralized automation for smart contracts.Chains supportedVRFVerifiable, tamper-proof random number generator for blockchain gaming and NFTs.Chains supported Stay updated on the latest Chainlink newsEmail Address Developers Developer resources LINK Token Contracts Data Feeds VRF Automation Functions CCIP Solutions Overview DeFi Chainlink VRF Community Chainlink Hackathon Community overview Grant program Events Become an advocate Code of conduct Chainlink Ecosystem Press Blog Team Careers WE ARE HIRING! Brand assets FAQs Contact Security Support Press inquiries Social Twitter

YouTube

Discord Telegram WeChat Reddit Chainlink® © 2024 Chainlink Foundation

Privacy Policy Terms of Use

Decentralized Oracles for Blockchain Use Cases | Chainlink

ntralized Oracles for Blockchain Use Cases | Chainlink

DevelopersDevelopers

DocsStart building your universally connected smart contracts

Developer HubnewTools, tutorials, and technical support

Developer Experts ProgramChainlink’s most active and supportive technical community membersProductsProductsCross-chainCross-Chain CommunicationnewMove data and value between existing systems and any public or private blockchain.DataData StreamsnewLeverage high-frequency market data to power the next-generation of DeFi markets.Market and Data FeedsIntegrate ultra-secure onchain data to trigger smart contracts in DeFi and beyond.Proof of ReserveVerify cross-chain and offchain reserves backing tokenized and wrapped assets.ComputeFunctionsConnect a smart contract to any API and run custom Web3 computation in minutes.AutomationAutomate smart contracts in a decentralized way with time or event-based triggers.VRFUse verifiably random numbers to ensure fair outcomes in games, NFTs, and more.Use CasesUse Cases

OverviewDecentralized services powering hybrid smart contract use cases across a wide-variety of industriesLearn more

Financial Services

DeFi

Gaming

NFT CollectiblesClimate Markets

Enterprise

InsuranceEcosystemEcosystemChainlink EcosystemProvide oracle computation directly to smart contracts and earn revenue by running critical data infrastructure

Data ProvidersLeverage the Chainlink Network to make your data accessible onchain directly through your own Chainlink nodesCommunityCommunity

Chainlink CommunityGain access to resources and events for Chainlink’s global communityLearn more

Grant ProgramFunding and supporting the creation of new smart contract applications built by the community

EventsUpcoming Chainlink virtual and in-person events, hackathons, meetups, and moreResourcesResources

BlogDiscover the latest product news, deep dives, developer tutorials, and moreLearn more

Whitepaper

Case Studies

Tech TalksFAQs

Education HubEconomicsEconomics

Staking appStake your LINK to help secure the Chainlink Network and earn rewardsView the app

Economics 2.0

StakingBUILD ProgramStart buildingMenuStart buildingNEWEarly Access for Chainlink Staking v0.2 is now live.Stake your LINK today.SmartCon is LIVE right now. Discover 200+ leading DeFi, NFT, and blockchain projects.Sign up todayWin your share of500k+ in prizes.Sign Up NowJoin the biggest names in finance and techWatch live now

Chainlink Labs is hiring. Come join an industry-leading team.See current openingsDecentralized oracle networks for any smart contractChainlink enables smart contracts on any blockchain to leverage extensive offchain resources, such as tamper-proof price data, verifiable randomness, automation functions, external APIs, and much more.Talk to an expertConnect your smart contract to real world dataConnect your smart contract to to real world data

Smart contracts are inherently disconnectedBlockchains are highly secure and reliable networks for value exchange but lack the functionality to natively fetch external data or send data to offchain systems in a manner that retains end-to-end tamper-resistance.Chainlink connects smart contracts to the real worldThrough the use of secure oracles, Chainlink extends the functionality of blockchains by connecting smart contracts to real-world data, events, payments, and offchain computation in a highly tamper-resistant and reliable manner.Case studiesCCIPExperiments show Swift can facilitate transfer of tokenized assets across multiple blockchains with CCIPRead case studyVRFAavegotchi uses Chainlink VRF to pioneer dynamic NFTs on PolygonRead case studyMarket and Data FeedsAmpleforth uses Chainlink to decentralize its rebasing mechanismRead case studyProof of ReserveCACHE Gold uses Chainlink Proof of Reserve to monitor physical gold reserves backing its tokenized gold productRead case studyAutomationCOTI's Crypto Volatility Index (CVI) uses Chainlink Automation to rebase its volatility tokenRead case studyVRFEther Cards uses Chainlink VRF to bring new utility to NFTsRead case studyMarket and Data FeedsHedge uses Chainlink Price Feeds to help secure interest-free loans on SolanaRead case studyMarket and Data FeedsLiquity uses Chainlink Price Feeds to help secure $2.7B TVLRead case studyVRFThe NBA uses Chainlink oracle network and VRF to power The Association NFT collectionRead case studyMarket and Data FeedsOtonomi uses Chainlink Data Feeds to enable blockchain-based parametric insuranceRead case studyVRFPolychain Monsters uses Chainlink VRF to fairly distribute NFTsRead case studyVRFPoolTogether uses Chainlink VRF to fairly gamify personal savingsRead case studyProof of ReservePoundtoken uses Chainlink PoR to increase collateral transparency and help secure GBPT mintingRead case studyMarket and Data FeedsQiDao Uses Chainlink Price Feeds to Help Secure Multi-Chain Borrowing ProtocolRead case studyAutomationRoboVault uses Chainlink Automation to power advanced delta neutral earning strategiesRead case studyProof of ReserveSwingby uses Chainlink Proof of Reserve to help secure its cross-chain bridgeRead case studyMarket and Data FeedsThales uses Chainlink Data Feeds for real-world binary options marketsRead case studyMarket and Data FeedsTrader Joe uses Chainlink Price Feeds to rapidly scale on AvalancheRead case studyMarket and Data FeedsWePiggy uses Chainlink Price Feeds to rapidly expand across the multi-chain ecosystemRead case studyHow does Chainlink work?Secure oracle networks powering offchain data and services for any smart contractEnd-to-end decentralizationUse decentralized oracle networks made up of independent and Sybil-resistant nodes for high availability and manipulation resistance.Provably secure nodesProvide cryptographic proof of the oracle networks' overall integrity as every piece of data is digitally signed by nodes and stored onchain.High-quality dataAccess any password-protected or authenticated API data source, redundantly validated by multiple nodes to prevent any single points of failure.Crypto-economic securityLeverage provably secure nodes that are economically incentivized to deliver accurate results onchain.Defense in depthApply multiple layers of security such as cryptographic signatures, trusted execution environments, zero-knowledge proofs, and more.Open-source communityImprove network security and accelerate development through ongoing contributions from node operators, developers, researchers, security auditors, and more.Blockchain agnosticConnect to all leading public and private blockchain environments from a single framework, providing a universal abstraction level for cross-network connectivity.Offchain computationCombine onchain infrastructure with cost-efficient and reliable offchain computation to create feature-rich decentralized applications in the form of hybrid smart contracts.The most reliable oracle network in DeFiChainlink Price Feeds provide critical financial market data required to issue, settle, and secure a wide array of DeFi applicationsThe Chainlink Network supports a multitude of price and data feeds live in production, securing tens of billions in value for many leading DeFi applications, CeFi companies, and various other financial institutions.Learn more about DeFiView Chainlink Data FeedsA leading source of onchain randomnessChainlink VRF generates reliable randomness used to mint NFTs, distribute random rewards, and power unpredictable gameplay scenariosChainlink Verifiable Random Function (VRF) provides numerous blockchain games with a cryptographically secure and provably fair source of onchain randomness (RNG), giving users a strong guarantee of application impartiality.Learn more about Chainlink VRFStart using randomnessDecentralized and reliable smart contract automationChainlink Automation enable smart contract developers to outsource the triggering of smart contract functions to a decentralized network of nodes.The Chainlink Automation network monitors smart contracts and performs offchain computations to determine when onchain functions need to be called, providing a decentralized transaction automation service.Learn more about Chainlink AutomationConnect your smart contract to real-world data and eventsChainlink decentralized oracle networks allow developers to connect their smart contracts to any offchain data resource or computationChainlink’s ability to connect with any API and perform any offchain computation opens up a wide variety of use cases, such as Arbol using Chainlink for weather data to create weather risk products and Theta Network leveraging Chainlink for viewership data to fight ad fraud for online content.Learn moreEasy blockchain adoption for enterprisesChainlink provides enterprises and governments with numerous ways to leverage the benefits of blockchain technology without rearchitecting their current systems.

Secure your existing systemsAutomate the backend of business processes to remove counterparty risk and reduce dependencies on third parties.Increase transparency for usersIncorporate decentralized data inputs to provide your users with superior guarantees about the execution of key services.Connect to any blockchainUse a single software to connect your existing systems to any current or future blockchain environment.Monetize your current APIsSell your data and API services directly to smart contract applications to expand your addressable market.Chainlink for EnterprisesWe're here to helpTalk to an expertA comprehensive set of resources to empower developersSeamless integrationImplement Chainlink into your existing tech stack with minimal effort and time.Simple documentationUp-to-date documentation and guides, simplifying the developer experience and minimizing friction.Dedicated supportOur support channels are available around the clock to provide you with a path to answers, whenever needed.Start buildingGet the latest Chainlink content straight to your inbox.Email AddressYes, I agree to receive email communications from Chainlink.Thank you for signing up! Please check your inbox to confirm your subscription.Oops! Something went wrong while submitting the form. Please try againDevelopersDocsFaucetsDeveloper HubDeveloper ExpertsAPPLYChainlink HackathonBootcampUse Cross-Chain (CCIP)Use Data FeedsUse Randomness (VRF)Use AutomationUse FunctionsNode OperatorsProductsCross-ChainData StreamsMarket and Data FeedsFunctionsVRFAutomationProof of ReserveUse CasesOverviewFinancial ServicesDeFiGamingNFT CollectiblesClimate MarketsEnterpriseInsuranceCommunityCommunity OverviewGrant ProgramEventsBecome an AdvocateCode of ConductResourcesWhitepaperCase StudiesTech TalksBlogEconomics 2.0StakingFAQsEducation HubWhat Is DeFi?What Is an Oracle?What Is a Smart Contract?What Is an NFT?What Is Web3?What is Asset Tokenization?ChainlinkEcosystemData ProvidersPressTeamCirculating Supply CareersWE ARE HIRING!Brand AssetsChainlink BadgingContactTalk to an ExpertSecuritySupportCustom ChainlinksPress InquiriesSocialTwitterYouTubeDiscordTelegramWeChatRedditKakaoHomeChainlink®© Chainlink FoundationenZH

Privacy PolicyTerms of Service

一文读懂Chainlink如何连通链下数据源并展开链下计算

一文读懂Chainlink如何连通链下数据源并展开链下计算

Skip to content

Blog

Menu

Menu

Announcements

Developers

Education

Research

Vision

More

More

IndustryMenu Toggle

Capital Markets

DeFi

Enterprise

Gaming

Insurance

NFTs

Real Estate

Social Impact

TopicsMenu Toggle

DECO Series

Economics

Metaverse

MEV

Real-World Assets

Scalability

Staking

Startups

Tokenization

Web3

ZK Series

ApplicationsMenu Toggle

AMM

Cross-Chain

DAO

DEX

Money Markets

Stablecoins

Synthetic Assets

Yield Farming

Zero-Knowledge

StackMenu Toggle

Brownie

Hardhat

Javascript

Python

Solidity

LanguagesMenu Toggle

Chinese

Korean

LanguageMenu Toggle

Chinese

Korean

SubscribeSubscribe

SubscribeSubscribe

New report: The Need for a Chainlink DeFi Yield Index.

Download now.

Clear all

Announcements

Developers

Education

Research

Vision

Automation

CCIP

Data Feeds

Data Streams

Functions

Proof of Reserve

VRF

Industry

Capital Markets

DeFi

Enterprise

Gaming

Insurance

NFTs

Real Estate

Social Impact

Topics

DECO Series

Economics

Metaverse

MEV

Real-World Assets

Scalability

Staking

Startups

Tokenization

Web3

ZK Series

Applications

AMM

Cross-Chain

DAO

DEX

Money Markets

Stablecoins

Synthetic Assets

Yield Farming

Zero-Knowledge

Stack

Brownie

Hardhat

Javascript

Python

Solidity

Languages

Chinese

Korean

Chinese 一文读懂Chainlink如何连通链下数据源并展开链下计算

March 8, 2021

1 min read

Author:

Chainlink

Table of Contents

一文读懂Chainlink如何连通链下数据源并展开链下计算

背景介绍

Chainlink异构网络的优势

使用Chainlink框架定制预言机网络

Chainlink框架下的各类预言机网络

Subscribe to newsletter

一文读懂Chainlink如何连通链下数据源并展开链下计算

背景介绍

Chainlink异构网络的优势

使用Chainlink框架定制预言机网络

Chainlink框架下的各类预言机网络

Subscribe to newsletter

重点摘要:

Chainlink并非单体预言机网络,而是一个通用框架,可以构建出无数个去中心化预言机网络。

Chainlink各个预言机网络并行,互不依赖,将链下数据源和计算资源连接至智能合约。

Chainlink框架可以用来打造安全的预言机网络,为智能合约应用提供喂价、储备金证明、可验证的随机数以及选举结果等。

背景介绍

过去几年中,智能合约生态快速增长,总锁仓量约至400亿美元。除此之外,生态中还涌现出种类繁多的去中心化应用。智能合约之所以能实现今天的增长势头,最大功臣非去中心化预言机网络莫属。如今,去中心化预言机网络的应用规模不断扩大,为智能合约接入原生区块链以外的数据源。预言机驱动了DeFi生态向前发展,实现了全新的链上抵押模式,并极大丰富了智能合约的功能。

然而,不同的智能合约用例需要接入不同的链下数据集和运算资源。因此,单一预言机网络无法满足高级智能合约应用所需的灵活性。比如合成资产协议需要输入实时喂价,以锚定黄金等大宗商品的实时价格发行通证;预测市场需要从官方渠道获取美国总统大选的最终结果,以进行结算;区块链游戏应用需要输入安全的链下随机数来发放游戏物品。

以上每种智能合约用例对预言机的需求都完全不同。因此,智能合约生态需要一个面向基础架构的框架,让开发者可以开发或接入任何类型的预言机网络,并能够定制网络中的节点、数据源、更新频率、传输方式、安全参数和聚合方式等。

Chainlink网络为用户提供了这样一种通用框架,灵活配置预言机网络,以满足智能合约应用的需求。Chainlink网络具有极高的兼容性,所有配置的预言机网络都可以同时并行。本文将探讨Chainlink框架的优势、开发者如何定制预言机网络以及Chainlink预言机的真实用例。

Chainlink异构网络的优势

去中心化网络通常采用单体设计模式,即同一组节点共同协作,按照预设定的规则提供具体的服务。区块链就是典型的单体设计模式,区块链网络中的所有节点都执行一套标准化的运算,包括验证签名、计算区块哈希值,最终对交易验证达成全局共识。每个区块链节点都执行同样的确定性运算,最终达成共识,它们之间的主要区别就是运算规模不同。

这个模式也许对区块链有用,但对预言机网络却并非如此。预言机网络需要对来自非确定性的现实世界的数据达成共识,通常需要支付费用或获得许可才能链接至链下数据源。预言机不适合采用这种单体模式,因为并非所有节点都可以随时访问所有需要访问的链下资源。强迫网络中每个节点都花钱订阅用户所需的付费数据源,这个方法不适用大规模的网络。另外,许多数据集只对少数人开放,比如企业后端数据库。因此,采用单体设计模式的预言机网络只能限制其服务范围,确保其网络中所有节点都可以交付服务,比如只从免费的开源API获取数据,而这些API往往无法提供优质的数据,也无法保障连接质量。

为了打破这一限制,Chainlink另辟蹊径,开发出异构网络,网络中多个独立的预言机网络并行,互不依赖。任何一个预言机网络的运行都不会对其他网络产生影响。每个网络都是专门设立的,为某一智能合约连接至链下数据源和链下运算,因此开发者拥有极大的灵活性。Chainlink框架无须许可,任何人都可以在其中创建自己的预言机网络。这将驱动预言机网络创新,并使Chainlink网络不断向前发展。

Chainlink是一个异构预言机网络,可以灵活定制预言机网络。

这种异构模式的最大优势是Chainlink节点运营商可以定制节点服务。这可以提高预言机的成本效益,因为节点只需接入所在预言机网络要求的链下资源。比如,Chainlink喂价网络中的节点只需接入金融市场数据,而不用再接入体育比分、天气等其他不相关的数据。这样做可以降低运行Chainlink节点的门槛,也可以进一步使网络去中心化。当然,如果Chainlink节点希望同时接入多个数据源,他们也可以做到。

如果节点接入企业后端系统、物联网传感器和法币支付系统等需要权限的链下系统,那么它们可以将数据卖给智能合约。Chainlink网络通过这种异构网络模式支持数据提供商运行Chainlink节点,并将数据API直接卖给智能合约。

由于节点运营商拥有这样的灵活性,Chainlink可以将全世界所有数据传输至链上,极大丰富智能合约应用的类型。

使用Chainlink框架定制预言机网络

采用Chainlink框架开发的预言机网络设置了一系列参数,可以根据具体的应用场景调节。任何一个预言机网络的参数都不会影响其他网络,因此可以在最大程度上保障灵活性。以下是可定制的参数:

节点运营商:Chainlink节点可以任意组合成预言机网络,节点运营商包括专业DevOps团队运行、口碑过硬的数据提供商、传统企业以及其他实体。

数据源:Chainlink节点可以灵活设置数据源数量,数据源包括免费的开源API、付费API、设置权限的数据库以及传感器等。

链下运算:Chainlink节点不仅可以传输数据,还可以执行信任最小化链下计算,比如创建可验证随机数和计算保险额度等。

底层区块链:Chainlink可以兼容任何区块链,并支持各种链上环境,保障智能合约一直能够接入安全可靠的链下数据和运算资源。

更新频率:预言机网络的更新频率可灵活设置,可以选择基于偏差阈值更新(如:每上下浮动0.5%更新一次)、基于时间更新(如:每小时更新一次)以及按需更新等。

聚合方法:预言机网络可以根据数据类型采取不同的聚合方式,如取中位数、平均值、众数等,最终聚合成一个数据点。

安全参数:用户可以在服务协议中明确安全参数,如预言机质押金额、服务时长以及连接要求等。

除此之外,Chainlink预言机网络还可以采用多种方式将数据传输至链上智能合约。保险这类智能合约需要将链下数据推送至合约中,以得知自然灾害等真实世界中发生的事件;而货币市场这类智能合约则需要一个定期更新的链上数据源,合约采用“拉动”的方式随时获取数据,验证贷款的抵押率。以下是不同类型的预言机网络:

基本请求模式 (推动式):在一笔交易中创建并发送数据请求至Chainlink预言机,一段时间后在另一笔交易中获得响应,以此将智能合约连接至链下数据源(开源或付费API)。

去中心化数据模式 (拉动式):通过链上参考合约提供共享数据源,参考合约由多个用户共同出资,并由经过安全审核的独立Chainlink节点网络定期更新。因此智能合约可以在一笔交易内请求并获取链下数据。

当偶尔请求一个特殊数据集时,最好采用基本请求模式;而如果需要频繁请求常见的数据集,则最好采用去中心化数据模式,比如常用的Chainlink喂价。DeFi协议可以随时从这些喂价中获取安全可靠且及时的金融市场数据。有了这个预言机网络模型,开发者无需再亲自打造预言机网络,而是可以接入由众多独立项目共同支持的现成预言机网络。

ETH/USD喂价是一个预言机网络,为DeFi合约提供以太币的市场价格。

Chainlink框架下的各类预言机网络

Chainlink灵活性极高的预言机框架催生出了许多独立的预言机网络,为智能合约应用连接至一系列链下数据集和链下运算资源。Chainlink框架可以实现无限创新的应用场景,下文将抛砖引玉介绍几个已经实现的预言机应用场景:

Chainlink喂价: Chainlink喂价为Aave和Synthetix等DeFi应用接入加密货币、稳定币、外汇、大宗商品、指数和证券等各类金融市场价格。

储备金证明: 审计锚定法币的稳定币以及跨链资产的储备金,并在链上公布审计报告,帮助DeFi应用抵御抵押率不足的风险,最大程度上减少用户的损失。

可验证的随机数: PoolTogether等区块链游戏dApp利用Chainlink VRF获得可验证且防篡改的随机数,保障公平且可验证的用户体验。

天气数据: Arbol接入Chainlink预言机从美国国家海洋和大气管理局(NOAA)获取天气数据,为发展中国家的农民提供参数型农作物保险,在恶劣天气条件下快速理赔。

美国大选数据: 接入Everpedia运行的Chainlink节点,将美联社签名的2020年美国总统大选结果发布到区块链上,并为链上预测市场结算。

数据提供商做节点: 领先的数据提供商还接入Chainlink框架为多个区块链网络中的智能合约提供加密签名的数据集,并为数据来源提供权威认证。

Chainlink是开发预言机网络的通用框架,可以将智能合约生态接入任何链下数据源,极大丰富去中心化应用的种类。正如上世纪九十年代的互联网一样,去中心化预言机网络拥有巨大的发展潜力,数据驱动型智能合约将打造出一个信任最小化的经济模式。

如果你是一名开发者,并且希望将智能合约连接至链下数据和基础架构,请点击此处联系我们,或查看开发者文档。

更多关于这个主题的文章

《新手指南:一文读懂Chainlink》

《什么是节点运营商?》

《Chainlink预言机在智能合约中的77种应用方式》

Chinese

Need Integration Support?

Talk to an expert

Faucets

Get testnet tokens

Read the Docs

Technical documentation

You might also be interested in

一文读懂可验证网络如何保障互联网信息的真实性

可验证网络采用了区块链技术、去中心化计算以及加密技术来执行合约,以提升系统透明性,并让用户更好地掌控自己的数据、身份信息和资产。

February 22, 2024

3 min read

新报告:对Chainlink DeFi Yield Index的需求

Chainlink DeFi Yield Index (CDY Index) 旨在利用业界标准的Chainlink价格预言机来聚合DeFi借贷收益率。通过提高链上借贷协议收益机会的易寻性,CDY指数旨在提升DeFi借贷市场的资本效率。

January 29, 2024

2 min read

一文读懂跨链桥的七大关键漏洞

要实现跨链安全性,只采取某一种安全机制是不够的。实际上,要建立稳健的跨链安全模式,需要采取深度防御机制,综合使用多种安全机制,全面地防范攻击。这也是我们构建行业标准的跨链解决方案Chainlink CCIP的初衷。

January 24, 2024

3 min read

Stay updated on the latest Chainlink news

DevelopersDocs

Faucets

Developer Hub

Developer ExpertsAPPLY

Chainlink Hackathon

Bootcamp

Use Cross-Chain (CCIP)

Use Data Feeds

Use Randomness (VRF)

Use Automation

Use Functions

Node Operators

ProductsCross-Chain

Data Streams

Market and Data Feeds

Functions

VRF

Automation

Proof of Reserve

Use CasesOverview

Financial Services

DeFi

Gaming

NFT Collectibles

Climate Markets

Enterprise

Insurance

CommunityCommunity Overview

Grant Program

Events

Become an Advocate

Code of Conduct

ResourcesWhitepaper

Case Studies

Tech Talks

Blog

Economics 2.0

Staking

FAQs

Education Hub

What Is DeFi?

What Is an Oracle?

What Is a Smart Contract?

What Is an NFT?

What Is Web3?

What is Asset Tokenization?

ChainlinkEcosystem

Data Providers

Press

Team

Circulating Supply

Brand Assets

Chainlink Badging

ContactTalk to an Expert

Security

Support

Custom Chainlinks

Press Inquiries

Social

Twitter

YouTube

Discord

Telegram

WeChat

Reddit

Kakao

Chainlink®

© 2023 Chainlink Foundation

Privacy Policy

Terms of Service

Go to search page

Chainlink 2.0 and the future of Decentralized Oracle Networks | Chainlink

nlink 2.0 and the future of Decentralized Oracle Networks | Chainlink

DevelopersDevelopers

DocsStart building your universally connected smart contracts

Developer HubnewTools, tutorials, and technical support

Developer Experts ProgramChainlink’s most active and supportive technical community membersProductsProductsCross-chainCross-Chain CommunicationnewMove data and value between existing systems and any public or private blockchain.DataData StreamsnewLeverage high-frequency market data to power the next-generation of DeFi markets.Market and Data FeedsIntegrate ultra-secure onchain data to trigger smart contracts in DeFi and beyond.Proof of ReserveVerify cross-chain and offchain reserves backing tokenized and wrapped assets.ComputeFunctionsConnect a smart contract to any API and run custom Web3 computation in minutes.AutomationAutomate smart contracts in a decentralized way with time or event-based triggers.VRFUse verifiably random numbers to ensure fair outcomes in games, NFTs, and more.Use CasesUse Cases

OverviewDecentralized services powering hybrid smart contract use cases across a wide-variety of industriesLearn more

Financial Services

DeFi

Gaming

NFT CollectiblesClimate Markets

Enterprise

InsuranceEcosystemEcosystemChainlink EcosystemProvide oracle computation directly to smart contracts and earn revenue by running critical data infrastructure

Data ProvidersLeverage the Chainlink Network to make your data accessible onchain directly through your own Chainlink nodesCommunityCommunity

Chainlink CommunityGain access to resources and events for Chainlink’s global communityLearn more

Grant ProgramFunding and supporting the creation of new smart contract applications built by the community

EventsUpcoming Chainlink virtual and in-person events, hackathons, meetups, and moreResourcesResources

BlogDiscover the latest product news, deep dives, developer tutorials, and moreLearn more

Whitepaper

Case Studies

Tech TalksFAQs

Education HubEconomicsEconomics

Staking appStake your LINK to help secure the Chainlink Network and earn rewardsView the app

Economics 2.0

StakingBUILD ProgramStart buildingMenuStart buildingNEWEarly Access for Chainlink Staking v0.2 is now live.Stake your LINK today.SmartCon is LIVE right now. Discover 200+ leading DeFi, NFT, and blockchain projects.Sign up todayWin your share of500k+ in prizes.Sign Up NowJoin the biggest names in finance and techWatch live now

Chainlink Labs is hiring. Come join an industry-leading team.See current openingsChainlink 2.0 and the future of Decentralized Oracle NetworksThis whitepaper expands the role of Decentralized Oracle Networks (DONs) in the blockchain ecosystem, laying out the key advancements for the Chainlink Network to power a suite of decentralized services for smart contracts on any blockchain.Download whitepaperTechnical advancementsTo empower a broad range of next-generation smart contract applications and use cases, Chainlink 2.0 focuses on oracle technology advances in seven key areas.Hybrid smart contractsAugment the capabilities of smart contracts by securely composing on-chain and off-chain computing resources into hybrid smart contracts.Read moreScalingEnsure decentralized oracle networks achieve the latencies and throughputs required by high-performance blockchains, layer-2 solutions, and Web2 systems.Read moreAbstracting away complexityPresent developers and users with simple functionality that eliminates the need for familiarity with complex underlying protocols and system boundaries.Read moreConfidentialityCatalyze high integrity systems that combine blockchains’ innate transparency with strong confidentiality protections for sensitive data and computations.Read moreOrder fairnessSupport transaction sequencing in ways that are fair for end-users and prevent front-running and other forms of value extraction by bots and exploitative miners.Read moreTrust-minimizationCreate a reliable layer of support for smart contracts and other oracle-dependent systems by means of decentralization, cryptographic guarantees, and guardrails.Read moreCryptoeconomic securityEnsure nodes in decentralized oracle networks have strong economic incentives to behave reliably and correctly, even in the face of well-resourced adversaries.Read moreRead the announcementChainlink decentralized servicesChainlink’s decentralized metalayer of oracle networks allows smart contracts to seamlessly use and create an array of decentralized services that accelerate dApp development, enable cross-chain functionality, and harmonize disparate technologies.Chainlink 2.0 whitepaperDownload whitepaper

Read the Chainlink 1.0 WhitepaperChainlink 2.0 whitepaper research panelContributing authors Ari Juels, Lorenz Breidenbach, Andrew Miller, and Sergey Nazarov dive into the technical advancements of the whitepaper and discuss Chainlink’s overarching vision for the future of decentralized oracle networks.Join the discussionThe Smart Contract Research Forum is an intellectual commons for academic researchers, software engineers, and industry leaders to collaboratively define, design, and advance smart contract technology.Join the forumChainlink 2.0 in the newsSwiftNew Swift blockchain interoperability experiments aim to remove friction from tokenised asset settlementSwift is collaborating with Chainlink and 12+ leading financial institutions to test how institutions can seamlessly interoperate with the multitude of blockchain networks emerging around the world.Chainlink Releases New Whitepaper in a Shift Toward Smart Contract ComputationsIn its new vision, Chainlink would allow anyone to deploy an arbitrary executable on its network.Chainlink 2.0 Brings Off-Chain Compute to Blockchain Oracles, Promotes Adoption of Hybrid Smart ContractsA new whitepaper just released by leading blockchain oracle service Chainlink lays the foundation for new capabilities for application and smart contract developers.Chainlink Announces Staking Plans, Aiming to Be AWS of Web3 Chainlink Co-founder Sergey Nazarov unveils plans to launch staking in December, plus a new economic model for the Web3 services platform.Read more newsGet the latest Chainlink content straight to your inbox.Email AddressYes, I agree to receive email communications from Chainlink.Thank you for signing up! Please check your inbox to confirm your subscription.Oops! Something went wrong while submitting the form. Please try againDevelopersDocsFaucetsDeveloper HubDeveloper ExpertsAPPLYChainlink HackathonBootcampUse Cross-Chain (CCIP)Use Data FeedsUse Randomness (VRF)Use AutomationUse FunctionsNode OperatorsProductsCross-ChainData StreamsMarket and Data FeedsFunctionsVRFAutomationProof of ReserveUse CasesOverviewFinancial ServicesDeFiGamingNFT CollectiblesClimate MarketsEnterpriseInsuranceCommunityCommunity OverviewGrant ProgramEventsBecome an AdvocateCode of ConductResourcesWhitepaperCase StudiesTech TalksBlogEconomics 2.0StakingFAQsEducation HubWhat Is DeFi?What Is an Oracle?What Is a Smart Contract?What Is an NFT?What Is Web3?What is Asset Tokenization?ChainlinkEcosystemData ProvidersPressTeamCirculating Supply CareersWE ARE HIRING!Brand AssetsChainlink BadgingContactTalk to an ExpertSecuritySupportCustom ChainlinksPress InquiriesSocialTwitterYouTubeDiscordTelegramWeChatRedditKakaoHomeChainlink®© Chainlink FoundationenZH

Privacy PolicyTerms of Service

区块链接入去中心化预言机用例|Chainlink

入去中心化预言机用例|Chainlink

开发者开发者

文档开始打造自己的通用连接型智能合约

Developer Hubnew工具、教程和技术支持

开发者专家计划Chainlink最活跃且互助的技术社区成员产品介绍产品介绍Cross-chain跨链通信newMove data and value between existing systems and any public or private blockchain.DataData StreamsnewLeverage high-frequency market data to power the next-generation of DeFi markets.市场和Data FeedsIntegrate ultra-secure onchain data to trigger smart contracts in DeFi and beyond.储备金证明Verify cross-chain and offchain reserves backing tokenized and wrapped assets.ComputeFunctionsConnect a smart contract to any API and run custom Web3 computation in minutes.AutomationAutomate smart contracts in a decentralized way with time or event-based triggers.VRFUse verifiably random numbers to ensure fair outcomes in games, NFTs, and more.用例用例

概述去中心化服务驱动各个行业的混合型智能合约用例了解更多

Financial Services

DeFi

游戏

NFT Collectibles气候数据市场

企业

保险生态生态Chainlink Ecosystem直接向智能合约提供预言机计算资源,并通过运行关键数据基础设施获得收入

数据提供商Leverage the Chainlink Network to make your data accessible onchain directly through your own Chainlink nodes社区社区

Chainlink社区Chainlink全球社区的资源和活动了解更多

Chainlink奖金计划为社区开发的创新智能合约应用提供资金支持

活动即将举行的Chainlink线上和线下活动、黑客松以及meetup等资源资源

博客发现最新的产品新闻、深入研究、开发人员教程以及更多内容了解更多

白皮书

案例分析

技术演讲常见问题解答

教育平台EconomicsEconomics

Staking appStake your LINK to help secure the Chainlink Network and earn rewardsView the app

2.0经济学

权益质押BUILD Program开始开发菜单开始开发NEWEarly Access for Chainlink Staking v0.2 is now live.Stake your LINK today.SmartCon is LIVE right now. Discover 200+ leading DeFi, NFT, and blockchain projects.立刻报名Win your share of500k+ in prizes.Sign Up NowJoin the biggest names in finance and techWatch live now

Chainlink Labs正在招贤纳士。快来加入行业顶尖的团队吧!查看当前空缺职位去中心化的预言机网络,可以接入任何智能合约Chainlink enables smart contracts on any blockchain to leverage extensive offchain resources, such as tamper-proof price data, verifiable randomness, automation functions, external APIs, and much more.与专家交流将您的智能合约接入链下数据将您的智能合约接入链下数据

智能合约本质上是与世隔绝的Blockchains are highly secure and reliable networks for value exchange but lack the functionality to natively fetch external data or send data to offchain systems in a manner that retains end-to-end tamper-resistance.Chainlink将智能合约与现实世界相连Through the use of secure oracles, Chainlink extends the functionality of blockchains by connecting smart contracts to real-world data, events, payments, and offchain computation in a highly tamper-resistant and reliable manner.案例研究CCIPExperiments show Swift can facilitate transfer of tokenized assets across multiple blockchains with CCIPRead case studyVRFAavegotchi uses Chainlink VRF to pioneer dynamic NFTs on PolygonRead case study市场和Data FeedsAmpleforth使用Chainlink预言机将rebase机制去中心化。Read case study储备金证明CACHE Gold uses Chainlink Proof of Reserve to monitor physical gold reserves backing its tokenized gold productRead case studyAutomationCOTI's Crypto Volatility Index (CVI) uses Chainlink Automation to rebase its volatility tokenRead case studyVRFEther Cards使用Chainlink VRF,为NFT实现新功能Read case study市场和Data FeedsHedge uses Chainlink Price Feeds to help secure interest-free loans on SolanaRead case study市场和Data FeedsLiquity uses Chainlink Price Feeds to help secure $2.7B TVLRead case studyVRFThe NBA uses Chainlink oracle network and VRF to power The Association NFT collectionRead case study市场和Data FeedsOtonomi uses Chainlink Data Feeds to enable blockchain-based parametric insuranceRead case studyVRFPolychain Monsters使用Chainlink VRF公平地分配NFTRead case studyVRFPoolTogether使用Chainlink VRF,以公平的方式打造个人储蓄游戏Read case study储备金证明Poundtoken uses Chainlink PoR to increase collateral transparency and help secure GBPT mintingRead case study市场和Data FeedsQiDao Uses Chainlink Price Feeds to Help Secure Multi-Chain Borrowing ProtocolRead case studyAutomationRoboVault uses Chainlink Automation to power advanced delta neutral earning strategiesRead case study储备金证明Swingby uses Chainlink Proof of Reserve to help secure its cross-chain bridgeRead case study市场和Data FeedsThales uses Chainlink Data Feeds for real-world binary options marketsRead case study市场和Data FeedsTrader Joe使用Chainlink Price Feeds快速在Avalanche上扩张Read case study市场和Data FeedsWePiggy uses Chainlink Price Feeds to rapidly expand across the multi-chain ecosystemRead case studyChainlink的运行机制Secure oracle networks powering offchain data and services for any smart contract从端到端实现去中心化采用去中心化的预言机网络,网络中包含抗女巫攻击的独立节点,保障高度的可用性和防篡改性。可验证的安全节点Provide cryptographic proof of the oracle networks' overall integrity as every piece of data is digitally signed by nodes and stored onchain.优质数据访问所有受密码保护或需要认证的API数据源,多个节点重复验证,避免单点故障。加密经济安全Leverage provably secure nodes that are economically incentivized to deliver accurate results onchain.深度防御机制采用多层安全机制,包括加密签名,可信执行环境以及零知识证明等。开源社区通过节点运营商、开发者、研究者以及安全审计人员的共同努力,提升网络安全性并加速开发。兼容所有区块链通过统一的框架接入所有顶尖的公链和联盟链环境,为跨网络连接提供通用抽象层。Offchain computationCombine onchain infrastructure with cost-efficient and reliable offchain computation to create feature-rich decentralized applications in the form of hybrid smart contracts.The most reliable oracle network in DeFiChainlink Price Feeds为用户提供关键的金融市场数据,为各种DeFi应用进行发行和结算,并保障其安全。Chainlink网络已发布了众多喂价和数据,为各大DeFi应用、CeFi企业以及其他金融机构保障了数百亿美元的资金。了解更多关于DeFi的信息查看Chainlink数据源A leading source of onchain randomnessChainlink VRF可以生成可靠的随机数,用户创建NFT、发放随机奖励并在游戏中增添随机性。Chainlink Verifiable Random Function (VRF) provides numerous blockchain games with a cryptographically secure and provably fair source of onchain randomness (RNG), giving users a strong guarantee of application impartiality.了解更多关于Chainlink VRF的信息开始应用随机数Decentralized and reliable smart contract automationChainlink Automation enable smart contract developers to outsource the triggering of smart contract functions to a decentralized network of nodes.The Chainlink Automation network monitors smart contracts and performs offchain computations to determine when onchain functions need to be called, providing a decentralized transaction automation service.Learn more about Chainlink Automation将您的智能合约接入链下数据和事件Chainlink decentralized oracle networks allow developers to connect their smart contracts to any offchain data resource or computationChainlink’s ability to connect with any API and perform any offchain computation opens up a wide variety of use cases, such as Arbol using Chainlink for weather data to create weather risk products and Theta Network leveraging Chainlink for viewership data to fight ad fraud for online content.了解更多轻松帮企业实现区块链应用Chainlink为企业和政府提供了多种方式应用区块链技术,并无须改变现有基础架构。

保障现有系统的安全实现业务流程后端自动化,消除对手方风险并减少对第三方的依赖。为用户提升透明度使用去中心化数据输入为用户保障关键服务执行。接入任何区块链使用统一的软件将现有系统接入任何现在和未来的区块链环境。将自己的API接口变现将数据和API服务直接卖给智能合约应用,扩大市场规模。将Chainlink集成至企业我们将为您提供帮助与专家交流全套开发者资源无缝集成用最少时间和精力将Chainlink集成至现有技术栈。简单易懂的文档最新的文档和指南,为开发者提供简单无忧的开发体验。专门的支持我们全天候为你提供帮助,解答你的问题。开始开发Get the latest Chainlink content straight to your inbox.电子邮件地址是的,我同意接收来自Chainlink的电子邮件。感谢注册!请查看您的收件箱以确认订阅。糟糕!在提交表格时出了点问题。请再试一次。开发者文档FaucetsDeveloper Hub开发者专家申请职位Chainlink黑客松新手训练营Use Cross-Chain (CCIP)Use Data Feeds使用随机数 (VRF)Use AutomationUse FunctionsNode Operators产品介绍Cross-ChainData StreamsMarket and Data FeedsFunctionsVRFAutomation储备金证明用例概述Financial ServicesDeFi游戏NFT Collectibles气候数据市场企业保险社区社区概况Chainlink奖金计划活动成为倡导者行为准则资源白皮书案例分析技术演讲博客2.0经济学权益质押常见问题解答教育平台什么是DeFi?什么是预言机 ?什么是智能合约?什么是NFT?什么是Web3?What is Asset Tokenization?Chainlink生态数据提供商媒体团队Circulating Supply 招聘我们正在招人!品牌资产Chainlink徽章联系我们Talk to an Expert安全帮助定制Chainlink预言机Press Inquiries社交媒体推特YouTubeDiscordTelegram微信RedditKakao首页Chainlink®© Chainlink Foundation英ZH

Privacy PolicyTerms of Service

跨链互操作性协议(CCIP) | Chainlink

作性协议(CCIP) | Chainlink

开发者开发者

文档开始打造自己的通用连接型智能合约

Developer Hubnew工具、教程和技术支持

开发者专家计划Chainlink最活跃且互助的技术社区成员产品介绍产品介绍Cross-chain跨链通信newMove data and value between existing systems and any public or private blockchain.DataData StreamsnewLeverage high-frequency market data to power the next-generation of DeFi markets.市场和Data FeedsIntegrate ultra-secure onchain data to trigger smart contracts in DeFi and beyond.储备金证明Verify cross-chain and offchain reserves backing tokenized and wrapped assets.ComputeFunctionsConnect a smart contract to any API and run custom Web3 computation in minutes.AutomationAutomate smart contracts in a decentralized way with time or event-based triggers.VRFUse verifiably random numbers to ensure fair outcomes in games, NFTs, and more.用例用例

概述去中心化服务驱动各个行业的混合型智能合约用例了解更多

Financial Services

DeFi

游戏

NFT Collectibles气候数据市场

企业

保险生态生态Chainlink Ecosystem直接向智能合约提供预言机计算资源,并通过运行关键数据基础设施获得收入

数据提供商Leverage the Chainlink Network to make your data accessible onchain directly through your own Chainlink nodes社区社区

Chainlink社区Chainlink全球社区的资源和活动了解更多

Chainlink奖金计划为社区开发的创新智能合约应用提供资金支持

活动即将举行的Chainlink线上和线下活动、黑客松以及meetup等资源资源

博客发现最新的产品新闻、深入研究、开发人员教程以及更多内容了解更多

白皮书

案例分析

技术演讲常见问题解答

教育平台EconomicsEconomics

Staking appStake your LINK to help secure the Chainlink Network and earn rewardsView the app

2.0经济学

权益质押BUILD Program开始开发菜单开始开发Discover how ANZ Bank successfully demonstrated cross-chain tokenized asset settlement with Chainlink CCIP. Read the case study.CCIPCross-chain by ChainlinkThe era of secure blockchain interoperability has arrived.Start building todaySign up for Mainnet Early Access A secure interoperability protocol forenabling token transfers across blockchainssending cross-chain messagesbuilding cross-chain applicationsenabling cross-chain real-world assetsscaling cross-chain ecosystemsconnecting private and public blockchainsenabling token transfers across blockchainsDefense-in-depth security Powered by Chainlink’s industry-standard oracle networks. Cross-Chain Interoperability Protocol (CCIP) also features additional layers of protection via the Risk Management Network and transfer rate limits.Simplified token transfersSeamlessly scale your userbase and benefit from enhanced token composability by securely transferring tokens across chains in a fraction of the time it would take to build a custom solution.Programmable token transfersSend tokens and instructions for their use to a receiving smart contract on a different blockchain—specify to swap or stake assets once they arrive at the destination chain, for example.Reliable transaction executionA transaction price is quoted on the source chain via a gas-locked fee payment mechanism that confirms execution regardless of destination chain gas spikes and network congestion.无缝集成A single, easy-to-integrate interface for a unified cross-chain developer experience. Simply integrate CCIP onchain and start building secure cross-chain applications.可扩展并面向未来CCIP will continue to be updated over time to support new blockchains, enhanced functionalities, and additional defense-in-depth approaches.Start building with Chainlink CCIP Securely send messages, transfer tokens, and initiate actions across blockchains.A single, elegant interface

For all cross-chain use cases.Token transfers

Transfer tokens cross-chain, along with additional instructions about their use.Arbitrary messaging

Send arbitrary data to a receiving smart contract on a different blockchain.Copy

// The message to send cross-chain with CCIP

struct EVM2AnyMessage {

bytes receiver; // Receiver at destination

bytes data; // Arbitrary data payload

EVMTokenAmount[] tokenAmounts; // ERC20 tokens and amounts

address feeToken; // Token to pay fees with

bytes extraArgs; // Optional parameters

}

// Sending a message to any destination chain with CCIP

function ccipSend(

uint64 destinationChainSelector,

EVM2AnyMessage calldata message)

external

payable

returns (bytes32 messageId);

Copy

// Set the tokens and amounts to transfer

Client.EVMTokenAmount[] memory tokenAmounts = new Client.EVMTokenAmount[](1);

Client.EVMTokenAmount memory tokenAmount = Client.EVMTokenAmount({

token: _addressToken,

amount: _amount

});

tokenAmounts[0] = tokenAmount;

// Create an EVM2AnyMessage struct in memory to send via CCIP

Client.EVM2AnyMessage memory message = Client.EVM2AnyMessage({

receiver: abi.encode(_receiver), // Receiver (EOA) at destination

data: "", // No data to send

tokenAmounts: tokenAmounts, // ERC20 tokens and amounts

extraArgs: Client._argsToBytes( // Optional parameters

Client.EVMExtraArgsV1({

gasLimit: 0, // gasLimit = 0 because EOA

strict: false}) // No strict sequencing

),

feeToken: address(_addressLink) // Setting feeToken to LINK

});

// approve the Router to spend tokens on sender contract's behalf.

IERC20(addressToken).approve(address(router), _amount);

// Send the message through the router and store the returned message ID

bytes32 messageId = router.ccipSend(

destinationChainSelector,

message

);

Copy

// Create an EVM2AnyMessage struct in memory to send via CCIP

Client.EVM2AnyMessage memory message = Client.EVM2AnyMessage({

receiver: abi.encode(_receiver), // Receiver contract at destination

data: abi.encode("Hello world!"), // Send "Hello world!"

tokenAmounts: new Client.EVMTokenAmount[](0), // No tokens to be sent

extraArgs: "", // Use default values

feeToken: address(_addressLink) // Setting feeToken to LINK

});

// Send the message through the router and store the returned message ID

bytes32 messageId = router.ccipSend(

destinationChainSelector,

message

);

CCIP is the only interoperability protocol with level-5 securityPurpose-built for token transfersEffortless integration With CCIP token transfers, your protocol can start transferring tokens across chains in a fraction of the time it would take for you to build a solution on your own. CCIP provides audited token pool contracts that handle the complexity of burning/minting or locking/minting of your token across chains. Importantly, token sponsors maintain full control over their token pool contract while using CCIP.Secure token transfersIn addition to providing fully audited token pool smart contracts, CCIP token transfers have additional security features, such as rate limits that allow you to cap the value transferred over a given time interval. CCIP rate limits are configurable per-token-pool and per-lane and are set up in alignment with the token issuer. This feature is part of the heavily-audited CCIP code base and is only available for CCIP token transfers and not arbitrary messaging.Enhanced composabilityCCIP token transfers increase the utility of your token, helping you seamlessly scale your userbase across many chains. Tokens transferred through CCIP are highly composable, allowing your ecosystem partners to transfer and build new capabilities with your token via a single CCIP interface.Introducing the Risk Management NetworkAn independent network of nodes that enhances CCIP security by acting as a secondary validation service and detecting and halting anomalous activity.

Unlock a wide variety of cross-chain use cases用例Transfer tokens游戏Web3 usernamesDeFiLiquidation protectionTransfer tokensCCIP enables users to programmatically transfer tokens from one blockchain to another via lock-and-mint or burn-and-mint mechanisms, along with attaching arbitrary data commands.View example in docsconst tokenAmounts = [   {     token: tokenAddress,     amount: amount,   }, ]; // Encoding the data ‍const functionSelector = ethers.utils.id("CCIP EVMExtraArgsV1").slice(0, 10); // "extraArgs" is a structure that can be represented as [ 'uint256', 'bool' ] // extraArgs are { gasLimit: 0, strict: false } // we set gasLimit specifically to 0 because we are not sending any data so we are not expecting a receiving contract to handle data const extraArgs = ethers.utils.defaultAbiCoder.encode(      ["uint256", "bool"],   [0, false]); const encodedExtraArgs = functionSelector + extraArgs.slice(2); const message = {  receiver: ethers.utils.defaultAbiCoder.encode(     ["address"],     [destinationAccount]   ),   data: "0x", // no data   tokenAmounts: tokenAmounts,   feeToken: feeTokenAddress ? feeTokenAddress : ethers.constants.AddressZero, // If fee token address is provided then fees must be paid in fee token.   extraArgs: encodedExtraArgs, }; ‍游戏CCIP allows interoperability between Web3 games across multiple different blockchains, which enables players on one chain to play a game against players on another chain.View example in docsbytes32 uniqueId = keccak256(abi.encodePacked(block.timestamp, msg.sender));   sessionIds.push(uniqueId);   gameSessions[uniqueId]= GameSession(     uniqueId,     msg.sender,     address(0),     address(0),     msg.sender,     initialCombination,     initialCombination     );   sendMessage(destinationChainSelector, receiver, gameSessions[uniqueId]);Web3 usernamesCCIP brings complete interoperability to Web3 naming protocols by enabling users to register onchain names on one chain and propagate these names across other blockchains.View example in docsinterface ICrossChainNameServiceLookup {   function register(string memory _name, address _address)   external;}function ccipReceive(   Client.Any2EVMMessage calldata message ) external override onlyRouter onlyFromSourceChain(message.sourceChainSelector) {   (string memory _name, address _address) = abi.decode(    message.data,     (string, address)   );   i_lookup.register(_name, _address);}DeFiCCIP enables DeFi applications to use tokens on one chain as collateral for DeFi applications on another chain, unlocking native cross-chain lending markets.View example in docsbytes32 messageId = any2EvmMessage.messageId; // fetch the messageIduint64 sourceChainSelector = any2EvmMessage.sourceChainSelector; // fetch the source chain identifier (aka selector)address sender = abi.decode(any2EvmMessage.sender, (address)); // abi-decoding of the sender address// Collect tokens transferred. This increases this contract's balance for that Token.Client.EVMTokenAmount[] memory tokenAmounts = any2EvmMessage  .destTokenAmounts;address token = tokenAmounts[0].token;uint256 amount = tokenAmounts[0].amount;address depositor = abi.decode(any2EvmMessage.data, (address)); // abi-decoding of the depositor's addressreceivedMessages.push(messageId);MessageIn memory detail = MessageIn(  sourceChainSelector,  sender,  depositor,  token,  amount);messageDetail[messageId] = detail;// Store depositor data.deposits[depositor][token] = amount; ‍DeFi liquidation protectionCCIP can help protect positions held in DeFi protocols across multiple chains by automatically sending assets from one chain to DeFi protocols on another chain to prevent liquidations.View example in docsbytes32 messageId = receivedMessage.messageId;   uint64 sourceChainSelector = receivedMessage.sourceChainSelector;      address sender = abi.decode(receivedMessage.sender, (address));      (address tokenAddress, uint256 amount) = abi.decode(    receivedMessage.data,     (address, uint256)   );   Client.EVMTokenAmount[] memory tokenAmounts;  tokenAmounts[1] = (Client.EVMTokenAmount(tokenAddress, amount));   Client.EVM2AnyMessage memory messageReply = Client.EVM2AnyMessage({     receiver: abi.encode(sender),     data: abi.encode(messageId),     tokenAmounts: tokenAmounts,     extraArgs: s_chains[sourceChainSelector],     feeToken: tokenAddress   });   IRouterClient(i_router).ccipSend(sourceChainSelector, messageReply);  ‍CCIP supported networks

Future-proof your Web3 strategyStart building todayRead docsReview up-to-date documentation and guides.Join the masterclassWatch tutorials and learn how to get started with Chainlink CCIP.询问技术问题Ask experienced developers on the Community Discord.All code examples on this site are illustrative and are provided on an “as is” basis without any representations, warranties, covenants, or conditions of any kind. Use of these code snippets is governed by our Terms of Service found at chain.link/terms.Get the latest Chainlink content straight to your inbox.电子邮件地址是的,我同意接收来自Chainlink的电子邮件。感谢注册!请查看您的收件箱以确认订阅。糟糕!在提交表格时出了点问题。请再试一次。开发者文档FaucetsDeveloper Hub开发者专家申请职位Chainlink黑客松新手训练营Use Cross-Chain (CCIP)Use Data Feeds使用随机数 (VRF)Use AutomationUse FunctionsNode Operators产品介绍Cross-ChainData StreamsMarket and Data FeedsFunctionsVRFAutomation储备金证明用例概述Financial ServicesDeFi游戏NFT Collectibles气候数据市场企业保险社区社区概况Chainlink奖金计划活动成为倡导者行为准则资源白皮书案例分析技术演讲博客2.0经济学权益质押常见问题解答教育平台什么是DeFi?什么是预言机 ?什么是智能合约?什么是NFT?什么是Web3?What is Asset Tokenization?Chainlink生态数据提供商媒体团队Circulating Supply 招聘我们正在招人!品牌资产Chainlink徽章联系我们Talk to an Expert安全帮助定制Chainlink预言机Press Inquiries社交媒体推特YouTubeDiscordTelegram微信RedditKakao首页Chainlink®© Chainlink Foundation英ZH

Privacy PolicyTerms of Service