Просмотр исходного кода

feat(dev-hub) Pyth Core landing Page

Aditya Arora 1 неделя назад
Родитель
Сommit
2a42856431
2 измененных файлов с 84 добавлено и 12 удалено
  1. 2 0
      .gitignore
  2. 82 12
      apps/developer-hub/content/docs/price-feeds/core/index.mdx

+ 2 - 0
.gitignore

@@ -27,3 +27,5 @@ __pycache__
 .corepack
 justfile
 dist/
+
+**/.ai/** 

+ 82 - 12
apps/developer-hub/content/docs/price-feeds/core/index.mdx

@@ -1,27 +1,97 @@
 ---
 title: Pyth Core
-description: Pyth core documentation overview
+description: Introduction to Pyth Core Price Feeds
 slug: /price-feeds/core
 ---
 
-# Introduction to Pyth Core
+import { ProductCard } from "../../../../src/components/ProductCard";
+import {
+  RocketLaunch,
+  BracketsCurly,
+  Code,
+  Tag,
+  CloudArrowUp,
+  ClockCountdown,
+  Lightning,
+  Rewind,
+} from "@phosphor-icons/react/dist/ssr";
 
 Pyth Network provides real-time financial market data to smart contract applications on 100+ blockchains.
 Data is sourced from 120+ first-party providers including major exchanges and market makers.
 
-## Key Features
+## Pyth Core Products
 
-- **2000+ price feeds** across all major asset classes
-- **Sub-second latency** with high-frequency updates
-- **Cryptographically signed** and verifiable on-chain
-- **Multi-chain support** including EVM, Cosmos, Solana, Aptos, and more
+Pyth Core provides **two ways** to integrate and consume real-time price data on-chain:
+
+<Cards>
+  <Card
+    icon={<Lightning size={12.5} />}
+    title="Integrate Pull Updates"
+    href="/price-feeds/core/use-real-time-data/"
+  >
+    {" "}
+    Update 2000+ prices on-demand, permissionlessly every 400ms.
+  </Card>
+  <Card
+    icon={<ClockCountdown size={12.5} />}
+    title="Integrate Push Updates"
+    href="/price-feeds/core/use-real-time-data/push-updates"
+  >
+    {" "}
+    Consume Pyth real-time prices without pulling them explicitly.
+  </Card>
+</Cards>
+--- Pyth Core also supports **parsing historical price data on-chain** for
+settlement and backtesting:
+<Cards>
+  <Card
+    icon={<Rewind size={12.5} />}
+    title="Historical Price Data"
+    href="/price-feeds/core/use-historic-price-data"
+  >
+    {" "}
+    Access to historical price data for settlement and backtesting.
+  </Card>
+</Cards>
 
 ## Quick Start
 
 <Cards>
-  <Card title="Getting Started" href="./core/getting-started" />
-  <Card title="Contract Addresses" href="./core/contract-addresses" />
-  <Card title="API Reference" href="./core/api-reference" />
-  <Card title="Price Feed IDs" href="./core/price-feeds" />
-  <Card title="Push Feeds" href="./core/push-feeds" />
+  <Card
+    icon={<RocketLaunch size={12.5} />}
+    title="Getting Started"
+    href="/price-feeds/core/getting-started"
+  >
+    {" "}
+    Get started with Pyth Core.
+  </Card>
+  <Card
+    icon={<BracketsCurly size={12.5} />}
+    title="Contract Addresses"
+    href="/price-feeds/core/contract-addresses"
+  >
+    {" "}
+    Find official Pyth contract addresses per network.
+  </Card>
+  <Card
+    icon={<Code size={12.5} />}
+    title="API Reference"
+    href="/price-feeds/core/api-reference"
+  >
+    {" "}
+    Review Core API endpoints and parameters.
+  </Card>
+  <Card
+    icon={<Tag size={12.5} />}
+    title="Price Feed IDs"
+    href="/price-feeds/core/price-feeds"
+  >
+    {" "}
+    Browse canonical Pyth price feed identifiers.
+  </Card>
+  <Card
+    icon={<CloudArrowUp size={12.5} />}
+    title="Push Feeds"
+    href="/price-feeds/core/pull-updates"
+  />
 </Cards>