1 thought on “Data Interaction in Web3”

  1. I. Introduction
    The existing blockchain projects, although it can ensure the transparency and cannot be tampered with the information on the chain to a certain extent, and then use the help of smart contracts to achieve many business logic in theory. However, in terms of data, the mapping of data and data on the chain is always a problem that is difficult to solve. Even if the problem of data is solved, there is still a problem of accuracy. If you want to get real external data on the chain It is necessary to use an extremely reliable prophet plan. To solve these pain points, ChainLink came into being.
    Chainlink was launched by San Francisco Financial Technology in June 2017. It is a decentralized prophet project. His creators are Steve Ellis, Ari Juels, and Sergei Nazarov (), which mainly provide a large number of under -chain data sources and various types API and traditional payment services.
    Chainlink is the decentralized trading network of the prophecy machine. It connects the blockchain intelligent contract to the data, activities and payment behaviors to the real world, and helps the smart contract security connecting data, Web API, and traditional bank payment systems. ChainLink has successfully provided safe and reliable prediction machine services for leading smart contract development teams such as Google, Oracle and SWIFT, as well as Polkadot/Substrate, Synthetix, Loopring, AAVE, OpenLaw, and Conflux.
    . Work mechanism
    chainlink is mainly composed of upper and lower chain architectures.
    The upper chain architecture consists of three main contracts, including reputation contracts, order matching contracts and aggregation contracts.
    The working mechanism on the chain is as follows:
    The first step: Requirement: CHAINLINK issued a data request to ChainLink when the user contract has data needs.
    Step 2: Bid, Chainlink's reputation contract bids the user contract.
    3: After the data request, the reputation contract receives the confirmation of the user contract, submits a data request to the Chainlink prophecy machine.
    Step 4: Data query and submission: After the data node of Chainlink receives the request, conduct data query, and then submit the results of the query to the polymerization contract. User contract completed the user's data query request.
    The lower chain architecture consists of many nodes, and nodes are responsible for obtaining various data required by users. In the chainLink node, the core node is responsible for communicating with the blockchain, receiving data requests on the chain, and returning to query structure. The core node divides each data task into small sub -tasks and then assigned to nodes for data query. ChainLink's node can independently collect the section of the chain and return to the user contract.
    It economic models, ChaInLink has established a virtuous cycle ecosystem through economic incentives through economic incentives on the implementation method of the basic prophet principle. Chainlink prophecy needs to be triggered through the Link Token transfer.
    . Application scenario
    ChainLink to connect smart contracts to the data and chain computing resources under the chain, which greatly enhances the function of smart contracts, and at the same time retains the security and security and of the core of the blockchain technology reliability. ChainLink determines who provides the prophet service service according to the needs of smart contracts, and weighted the output of all prediction machines to calculate the final result.
    If digital currency fields, such as USDC or Tether, a stable currency requires price prophecy machine to anchor their target prices (US dollars); some synthetic asset products, such as the projects in Synthetix and Deri Price to pricing.
    The insurance company, insurance companies can provide weather insurance with the help of data provided by ChainLink without all unfavorable factors and efficiency that affect the traditional insurance protocol, including fraud, corruption and delay. You can also provide corresponding insurance services based on the corresponding news events.
    The smart contracts established between suppliers, receivers, and banks can be implemented in accordance with the bank payment information, GPS geographical location information, logistics information, retail information provided by ChainLink.
    The gambling field, for example, the final score of the game needs to be used to determine who won the bonus in the end. There are also some contracts like some betting results, voting results, and even judgment results that need to be determined after the end of the time.
    The random digital application field, such as NFT, chain tour, Yuan universe, etc. In addition to the huge demand for data under the chain, it also requires credible random sources. In particular, the chain tour is not only related to the game experience, but also affects the user's property. It is particularly important to have random attributes. For example, whether the knife and guns you have really have a 50%crit rate, whether the lottery activity is really a certain probability to get a prize, and so on.
    chainlink V2 starts providing verifying random numbers (VRF), which makes the probability in gambling, the chance of crit in the game, the arrangement of the purchase order, and the number of scenes that need to use random parameters have credible parameters. Random numbers can ensure fairness.
    . Development trend
    1. Ecology: Gradually improved, and there is a marginal cost decreased effect
    chainlink has cooperated with more than 60 data providers. The official website can currently provide a variety of types of data Including cryptocurrencies, stabilization currency, deposit certification, foreign exchange prices, commodities, index categories, (weather data), (sports event data), the Associated Press (news data) and so on. Open any of the data, such as crude oil prices, you can intuitively see the data provided by the prophecy machines.
    ChainLink can be compatible with any blockchain, and it is continuously expanding to access more blockchain environments. In 2021, ChainLink received many top L1 blockchain and L2 capacity expansion solutions, including Arbitrum, Avalanche, BNB Chain, Ethereum, Fantom, Harmony, HECO, Moonriver, Optimism, Polygon, Starkware, and XDAI.
    On December 31, 2021, ChainLink released the year -end summary and stated that more than 700 decentralized prophecy machines posted data in the production environment on each chain. Calculating requests under the security chain of more than 2.5 million times.
    At present, it is still with more than 500 DEFI applications and more than 200 NFT markets. And Google, Oracle, Intel, AWS and other large companies have cooperation.
    It's ecosystems and partners of Chainlink can be found that the areas with the largest demand for prophecy machines are still the DEFI field, mainly including providing real -time financial data for smart contracts and other related market information, such as real estate prices, such as real estate prices It affects loan mortgage rates, weather affects related derivatives, insurance, and so on. This part of the data sources include NYSE (NYSE), Bloomberg (Bloomberg), etc.
    The application trends, on the one hand, prove the importance of the prophecy machine to the entire blockchain world; on the other hand, we can also see that ChainLink is building itself as the most consensus chain data supplier, and continuously rising The share of share also proves itself with results.
    The total cost of obtaining a certain data is basically constant due to the characteristics of the data, but as more contract calls this data, the cost of data use on each contract will become lower and lower. This means that ChainLink has a decreasing marginal cost, unlike the increase in the amount of other items, and the cost is also increased.
    2. Technical: The launch of the main network of the main network of chain computing and hybrid smart contracts
    chainlink Keeper's main network represents that Chainlink can not only provide under -linning data, random data, but even complete the linked calculation and help mixed mixed mixed Smart contracts implement a series of rich DevOps services.
    The hybrid smart contract contains the code running on the blockchain and the data and computing resources under the blockchain. The application function that cannot be achieved alone, and combines the unique advantages in these two environments.
    The code on the chain runs in a very secure and limited functional blockchain environment, and the attack surface is small. Therefore, users can obtain extremely high certainty when performing and storing. It is always stored on the chain and cannot be tampered with. Don (decentralized prophecy network) runs under the chain, so it can achieve more functions and access more data.
    The CHAINLINK decentralized services such as hundreds of users are using or actively integrated, Chainlink VRF and reserve certification, including decentralized derivatives trading project DERI, Synthetix, liquidity protocol AAVE, lending agreement borrowing agreement Alchemix and so on.
    In DERI as an example, the index data required for the pricing of Deri V3's DPMM (active as a market business) mechanism comes from chainlink. At the price of the index, the other DERI has achieved second fees (funding rates), and accurate and efficient prophecy machines can also provide it with the most real -time price feeding services.
    Mimly, ChainLink Keepers will bring new features to the ChainLink ecosystem and help all projects develop more advanced hybrid smart contract applications. But from a broader perspective, ChainLink Keepers reduces the threshold of Web2.0 to 3.0. In an foreseeable future, decentralized prophecy machine will provide all services that cannot be implemented in the chain, which is also the future of the DEFI future. Innovation provides infrastructure.
    . Although the scale of cryptocurrency assets has reached trillions of dollars and the DEFI economy is approaching 100 billion US dollars, the blockchain ecology is still in the early stages of development, and there is huge potential that has not been tapped. ChainLink's decentralized prophecy network has huge application space and potential.
    end
    Edit | collar Yuan

Leave a Comment