Skip to content

Commit

Permalink
Move oracles under data and closes #1134 (#1164)
Browse files Browse the repository at this point in the history
  • Loading branch information
janewang authored Jan 7, 2025
1 parent d48c698 commit 1f5f9bb
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 3 deletions.
14 changes: 14 additions & 0 deletions config/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const sidebars: SidebarsConfig = {
{ type: 'ref', id: 'data/horizon/README', label: 'Horizon'},
{ type: 'ref', id: 'data/galexie/README', label: 'Galexie'},
{ type: 'ref', id: 'data/data-indexers/README', label: 'Data Indexers'},
{ type: 'ref', id: 'data/oracles/README', label: 'Oracles'},
],
tools: [
{
Expand Down Expand Up @@ -115,6 +116,19 @@ const sidebars: SidebarsConfig = {
collapsible: false,
},
],
oracles: [
{
type: 'category',
label: 'Oracles',
items: [
{
type: "autogenerated",
dirName: "data/oracles",
},
],
collapsible: false,
},
],
};

export default sidebars;
3 changes: 3 additions & 0 deletions docs/data/galexie/admin_guide/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"collapsed": false
}
10 changes: 10 additions & 0 deletions docs/data/oracles/README.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Oracle Introduction
description: Learn about oracles and off-chain data sources
sidebar_label: Oracle Introduction
sidebar_position: 10
---

# Oracles

Oracles are services that connect blockchain systems to external, off-chain data sources, enabling smart contracts to interact with real-world information. They act as intermediaries, fetching and verifying data such as market prices, weather conditions, or event outcomes, and then delivering it to the blockchain in a secure and reliable manner. This allows decentralized applications (dApps) to execute based on real-world events, expanding their functionality beyond on-chain data.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Oracles
title: Ecosystem Oracles
description: Explore on-chain data and prices feeds using oracles.
sidebar_label: Oracles
sidebar_position: 62
sidebar_label: Ecosystem Oracles
sidebar_position: 20
---

Oracles exist on the Stellar network to bring off-chain data onto the blockchain. For example, a popular use-case of oracles is the inclusion of token pricing into smart contract logic. Since a smart contract can't access data from outside the Stellar network, oracles provide a means by which the data can be accessed on-chain.
Expand Down
5 changes: 5 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ const config: Config = {
docId: "data/data-indexers/README",
label: "Data Indexers",
},
{
type: 'doc',
docId: "data/oracles/README",
label: "Oracles",
}
]
},
{
Expand Down

0 comments on commit 1f5f9bb

Please sign in to comment.