What is WINkLink?

BeginnerApr 10, 2024
This article introduces the WINkLink Predictor technology and the importance and potential of decentralized predictor networks. It will also introduce the WINkLink system architecture, model and down-chain reporting, which enables smart contracts to reliably access external data sources reliably, expanding their application scope and providing more possibilities for developing decentralized financial ecosystems.
What is WINkLink?

Introduction

WINkLink is a decentralized network of prophecy machines dedicated to ensuring that smart contracts can be executed securely, including obtaining data from outside the chain and creating games through decentralized applications (DApps). The WINkLink platform is built entirely on TRON technology, providing developers of decentralized games with a valuable tool to make all information transparent to the user.

What is Oracle?

For a long time, using smart contracts on the blockchain has suffered several limitations. Running smart contracts could not directly interact with the outside of the blockchain, limiting the development of their application scenarios.

To solve this problem, developers introduced Oracle, which provides a conduit for smart contracts to connect with the outside world. However, most of the current Oracle services are centralized, which brings the risk of a single point of failure for smart contracts using Oracle services, making the decentralized nature of smart contracts partially irrelevant.

WINkLink has developed a decentralized prophecy machine project to provide external data for smart contracts, which can be linked to events in the real world to ensure security and certainty. With the emergence of various DeFi applications, a stable and accurate decentralized predictor service is one of the indispensable applications.

WINkLink Founder

Lucia Wong, a Chinese national and CEO of the WINkLink ecosystem, has used it since the WINk team completed the full acquisition of the justlink.io website.

What is WINkLink

Source: winklink.org

WINkLink is a decentralized prophecy machine project running on the TRON network. It provides smart contracts with secure and reliable data from the outside world, thus expanding the scope of their applications.WINkLink aims to provide high-quality, stable, and accurate data services, contribute to the development of the blockchain ecosystem, and promote smart contract applications.

WIN is the official token of the WINkLink ecosystem. It is a TRC-20 token that is used as a base asset for the entire WINkLink crypto ecosystem, where Oracle node operators receive payments in WIN to retrieve off-chain data and convert it into blockchain-readable formats, off-chain calculations, and uptime guarantees.

The WINkLink workflow starts with a chain request from a user (called USER-SC), WINkLink-SC logs events to a predicator, and the core selects the logged events and routes the distribution to an adapter.

How does WINkLink work?

Source: winklink.org

WINkLink is a solution for obtaining legitimate price data and information for DeFi platforms. As decentralized financial systems require token trading and loan collateralization to access prices, WINkLink incorporates a price oracle system, providing stable and reliable price information for DeFi developers.

WINkLink offers reliable off-chain data for various purposes, including:

  • Allowing developers to utilize real-world data, such as sports and weather information. Developers can create custom oracles in minutes and connect smart contracts to the real world.
  • They are generating random numbers. WINkLink provides secure and verifiable randomness for developers to meet various DApp requirements for random numbers. The tamper-resistant nature of VRF (Verifiable Random Function) enhances the fairness of random number outcomes.

Asset management platforms can rebalance their asset ratios by obtaining the latest token prices provided by WINkLink, enabling DEXes to adjust their liquidity pools easily. Blockchain derivative commodity platforms can access WINkLink’s latest prices to provide reliable on-chain valuations, facilitating the creation of synthetic assets, futures contracts, or options contracts.

System Architecture Design

WINkLink node model

Source: winklink docs

As shown above, we can see three main modules:

  1. External Data Source
  2. WINkLink nodes
  3. TRON blockchain

These are the main components of the WINkLink Prophecy Machine Node Architecture, and we will describe each of them below:

External Data Sources

External data sources represent data outside the native blockchain, such as centralized exchanges, centralized predictors, API interfaces to stock exchanges, etc.

WINkLink nodes

The WINkLink node runs task processing, listens to on-chain contract requests (in the form of an Event), obtains data from external data sources, and submits the data results to the blockchain.

TRON Blockchain

Blockchain nodes mainly refer to the API services TRON blockchain provides, including Fullnode API and Event API services. Through these APIs, WINkLink nodes can listen to contract-specific events to initiate tasks, and can also sign broadcast transactions through the API services to return data to consumer contracts.

The connectivity represented by the arrows is bi-directional, with WINkLink nodes subscribing to blockchain events while simultaneously publishing transactions and submitting data results via the API.

WINkLink Request Model

Creating Requests

Source: winklink docs

Processing Requests

Source: winklink docs

Off-Chain Reporting (OCR)

WINkLink introduces Off-Chain Reporting (OCR) as an innovative data aggregation method, enhancing the network’s scalability, stability, and decentralization. The OCR model is still in the testing phase, with the project team rigorously testing and debugging to ensure its reliability and accuracy. The OCR functionality is closely monitored, and efforts are actively made to stabilize its performance.

In OCR, nodes in the network interact through peer-to-peer (P2P) communication, with one node serving as the leader and others as followers. The P2P network utilizes lightweight consensus algorithms for communication, where each node observes its signed data reports to the leader, who generates merged reports. If transmission conditions are met, the reports are broadcasted to the blockchain as a single aggregated transaction, significantly reducing Gas Fee consumption.

The aggregated transaction contains a set of Oracle-signed reports, including all their observation results. To maintain the untrustworthiness of the WINkLink oracle network, the report is verified on-chain, validating the oracle group’s signatures.

The development team also stated that once the OCR functionality is successfully stabilized, detailed information on deploying OCR nodes will be updated in the developer’s documentation. Users can utilize the updated documentation to guide them through the deployment process.

Roadmap


Source: winklink.org

Conclusion

In the introduction of WINkLink, we see the importance and potential of decentralized oracle networks. Through WINkLink, smart contracts can reliably access external data sources, expanding their application areas and providing more possibilities for developing decentralized finance ecosystems.

WINkLink’s innovation improves the usability and security of smart contracts and gives developers and users more flexibility and choices. With the continuous development and popularization of the DeFi field, WINkLink will play an increasingly important role, being widely used in various use cases such as DeFi protocols, security, Internet of Things (IoT), and Non-Fungible Token (NFT) gaming projects, becoming one of the bridges connecting the blockchain world with the real world.

Author: Allen
Translator: Paine
Reviewer(s): KOWEI、Edward、Elisa、Ashley、Joyce
* The information is not intended to be and does not constitute financial advice or any other recommendation of any sort offered or endorsed by Gate.io.
* This article may not be reproduced, transmitted or copied without referencing Gate.io. Contravention is an infringement of Copyright Act and may be subject to legal action.
Start Now
Sign up and get a
$100
Voucher!
Create Account