-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65f12f2
commit 509e5bc
Showing
17 changed files
with
147 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Welcome to Tic Ton Docs | ||
|
||
Ton Dynasty offers Tic Ton Oracle - a purely decentralized oracle on Ton. In this document, we will first introduce what an Oracle is. Then, we will discuss how Tic Ton utilizes Ton's features and the Game Theory mechanism to implement a unique Oracle on Ton. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"label": "What is Oracle?", | ||
"position": 1, | ||
"link": { | ||
"type": "generated-index" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
sidebar_position: 4 | ||
--- | ||
# What are the applications of Oracles? | ||
Oracles serve as a bridge connecting the real world off-chain with DeFi projects, supply chain management, gaming, insurance, and more on the market. Here are some examples of data instances where oracles might interact with DApps: | ||
|
||
- Data from capital markets, such as tokenized assets or stock prices. | ||
|
||
- Geographical data for tracking progress in supply chains. | ||
|
||
- Verification needed for insurance contracts. | ||
|
||
- Sports outcomes for betting markets. | ||
|
||
Additionally, oracles can be used in various other scenarios: | ||
|
||
- Weather data for agricultural contracts or derivatives. | ||
|
||
- Real estate prices for property-related financial instruments. | ||
|
||
- Flight or shipping delays information for travel and logistics insurance. | ||
|
||
- Political events or election results for prediction markets. | ||
|
||
- Consumer price indices for adjusting the value of stablecoins or other financial instruments. | ||
|
||
- Crowdsourced information for decentralized decision-making or governance systems. | ||
|
||
- Personal identity verification for accessing restricted services or areas. | ||
|
||
![Alt text](../../image/application.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
# What can Oracle do ? | ||
One of the primary functions of oracles is to aid in cryptocurrency investment. They track the prices of cryptocurrencies and can buy or sell them based on these fluctuations, making it easier to keep an investment portfolio up to date. | ||
|
||
Another significant function is that oracles can integrate cryptocurrencies with the real world. For instance, suppose you and a friend are betting on an NBA basketball game through a smart contract: | ||
``` | ||
First, both parties agree to the terms and lock the funds in the contract; | ||
After the game, the blockchain oracle notifies the smart contract of the outcome; | ||
Finally, the smart contract sends the funds to the winner of the bet. | ||
``` | ||
Additionally, oracles help manage derivatives, insurance, and other risk management techniques. For example, farmers can use oracles to manage agricultural derivatives to guard against bad weather destroying their crops and ensure they receive insurance payouts during extreme climatic conditions. | ||
|
||
![Alt text](../../image/function_oracle.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# What is Oracle ? | ||
We recognize that the blockchain realm operates as a self-contained native network. However, if we aim to make it functional in everyday scenarios and need to import external data onto the blockchain, such as the current stock market trends, the price of a gallon of milk, or the latest sports scores, what approach should we take? | ||
|
||
At this juncture, the blockchain domain requires a trustworthy information conduit, which is where oracles come into play. Through these oracles, a variety of DApps and smart contracts can access data outside the blockchain network, acting as a conduit between the on-chain universe and real-world dynamics. | ||
|
||
![Alt text](../../image/oracle_intro.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Current Challenges with Oracles | ||
Current Challenges with Oracles | ||
Oracles face certain issues as they are the primary source of external data for blockchains, which lack direct access to real-world information. The reliance on oracles becomes problematic if they are centralized, drawing data from a single source, and if that data is tainted, it can lead to irreversible damages. Additionally, oracles are susceptible to cyber-attacks. Summarizing, oracles must adhere to crucial criteria: | ||
|
||
1. **Accuracy**: The data provided by the oracle must be a true reflection of the real-world scenario. This is a basic but vital requirement, not just for oracles but for any system supplying data to the blockchain, aiming to provide faultless information. | ||
|
||
2. **Sensitivity**: Complementing accuracy, oracles must promptly react to real-world data changes. For instance, if the exchange rate of two tokens fluctuates within minutes, the oracle should promptly update its data to maintain accuracy. Essentially, the essence of accuracy is embedded in its responsiveness. | ||
|
||
3. **Resistance to Attacks**: Given that blockchain transactions are irreversible and often involve significant assets, it's imperative that oracles are fortified against cyber threats. If compromised, the results can be catastrophic, especially on DeFi platforms that manage substantial user assets. | ||
|
||
4. **Independent Verification**: A unique feature of decentralized oracles is their ability to allow direct data verification by any participant, contrasting with centralized systems that rely on a select group of verifiers. This direct verification feature fosters a trustless environment in decentralized oracles. | ||
|
||
5. **Open Quotation System**: This system allows for unrestricted participation, where individuals can join or exit anytime, adding a layer of complexity due to the lack of fixed constraints. | ||
|
||
In essence, while oracles are crucial for smart contract execution and the wider blockchain ecosystem, ensuring their security, accuracy, and robustness against manipulation and attacks is paramount. This demands a careful balance of decentralization, direct verification, and continuous monitoring to maintain the integrity and trustworthiness of the data they provide. | ||
|
||
![Alt text](../../image/risks.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
# What are types of Oracles? | ||
Oracles, designed to facilitate interaction between blockchains and external data, come in various forms, including but not limited to the following types: | ||
|
||
## Hardware and Software Oracles: | ||
Hardware oracles typically provide data occurring in the real world. For example, in supply chain management, if an object with an RFID tag arrives at a specific warehouse, that data can be sent to a smart contract for logistics tracking. | ||
|
||
Conversely, software oracles usually offer data from digital resources like websites, servers, or databases and are currently the most potent type of oracle. | ||
|
||
## Input and Output Oracles: | ||
Oracles establish a bidirectional communication channel with blockchains, enabling data input and output. While output oracles can pass blockchain data to the external world, input oracles are more likely to convey off-chain or real-world data to the blockchain. | ||
|
||
For input oracles, a common scenario might be placing a buy order if a certain asset reaches a specific price. On the other hand, output oracles are used to alert the external world about events happening on the chain. | ||
|
||
## Centralized and Decentralized Oracles: | ||
Centralized oracles are managed by a single entity and act as the sole data source for smart contracts. While convenient, relying on a single information source can be risky, as the contract's validity wholly depends on the entity responsible for the oracle. They are also more susceptible to malicious attacks or security vulnerabilities. | ||
|
||
Decentralized oracles aim to resemble blockchains in that they do not rely on a single information source, making the information passed to smart contracts more reliable. Chainlink is a well-known example of a decentralized oracle project. | ||
|
||
## Human Oracles: | ||
Individuals with expertise in specific areas can sometimes act as oracles. They may gather information from various sources, check its legitimacy, and input it into smart contracts. | ||
|
||
As people can use cryptography to verify their identity, the likelihood of fraudsters impersonating them and providing tampered data is low. However, this approach still carries the risks associated with centralization. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"label": "Tic Ton Oracle", | ||
"position": 1, | ||
"link": { | ||
"type": "generated-index" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters