Skip to content

Commit 1b63b84

Browse files
authored
feat: New home landing page (#819)
1 parent 5a3fa3d commit 1b63b84

File tree

2 files changed

+124
-14
lines changed

2 files changed

+124
-14
lines changed

components/icons/ProductIcons.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
FileText,
99
Clock,
1010
ArrowsOutCardinal,
11+
DiceSixIcon,
1112
} from "@phosphor-icons/react";
1213

1314
export function BarChartIcon() {
@@ -41,3 +42,7 @@ export function ClockIcon() {
4142
export function MultiChainIcon() {
4243
return <ArrowsOutCardinal className="w-5 h-5" weight="regular" />;
4344
}
45+
46+
export function DiceIcon() {
47+
return <DiceSixIcon className="w-5 h-5" weight="regular" />;
48+
}

pages/home/index.mdx

Lines changed: 119 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,125 @@
1-
# Introduction
1+
import { ProductCard } from "../../components/ProductCard";
2+
import {
3+
BarChartIcon,
4+
ClockIcon,
5+
LightningIcon,
6+
MultiChainIcon,
7+
ShieldIcon,
8+
CodeIcon,
9+
GlobeIcon,
10+
DiceIcon,
11+
} from "../../components/icons/ProductIcons";
212

3-
Pyth Network is an oracle protocol that connects the owners of market data to applications on multiple blockchains.
4-
Pyth's market data is contributed by over [120+ first-party publishers](https://insights.pyth.network/publishers?utm_source=docs), including some of the biggest exchanges and market making firms in the world.
5-
[Over 550 protocols](https://defillama.com/oracles/Pyth) trust Pyth to secure their applications.
13+
# Welcome to Pyth Network
614

7-
Pyth Network offers several products for developers:
15+
Pyth Network is the leading oracle protocol that connects the owners of market data to applications on multiple blockchains. Our market data is contributed by over [120+ first-party publishers](https://insights.pyth.network/publishers?utm_source=docs), including some of the biggest exchanges and market making firms in the world. [Over 250 protocols](https://defillama.com/oracles/Pyth) trust Pyth to secure their applications.
816

9-
- [Price Feeds](../price-feeds) provide **real-time and historical prices** for [2000+ assets](https://insights.pyth.network/price-feeds?utm_source=docs) on [100+ blockchain ecosystems](../price-feeds/contract-addresses), including Solana, many EVM chains,
10-
Aptos, Sui, NEAR, and several Cosmos chains.
11-
- [Lazer](../lazer) provides low-latency, highly customizable price feeds on Solana and EVM chains.
12-
- [Express Relay](../express-relay/) enables protocols to eliminate their MEV while gaining access to active searchers and liquidators.
13-
- [Entropy](../entropy) allows developers to generate secure random numbers on the blockchain.
17+
## Our Products
1418

15-
Please follow the links above to learn about each product and how to integrate them into your application.
19+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-8 mb-12">
20+
<ProductCard
21+
badge="Core"
22+
icon={<BarChartIcon />}
23+
title="Price Feeds"
24+
description="Real-time, high-fidelity market data for smart contracts with sub-second latency."
25+
features={[
26+
{ icon: <ClockIcon />, text: "Real-time price feeds" },
27+
{ icon: <BarChartIcon />, text: "2000+ assets" },
28+
{ icon: <MultiChainIcon />, text: "100+ blockchains" }
29+
]}
30+
ctaText="Explore Price Feeds"
31+
href="../price-feeds"
32+
/>
1633

17-
Other useful links may be:
34+
{" "}
1835

19-
- [Pyth Token](home/pyth-token) -- Learn more about the Pyth governance token PYTH.
20-
- [Pyth Metrics](home/metrics) -- See metrics of the network's adoption and growth.
36+
<ProductCard
37+
badge="Lazer"
38+
icon={<LightningIcon />}
39+
title="Lazer"
40+
description="High-performance, low-latency price feeds for institutional applications."
41+
features={[
42+
{ icon: <LightningIcon />, text: "Ultra-low latency" },
43+
{ icon: <ShieldIcon />, text: "Institutional grade" },
44+
{ icon: <BarChartIcon />, text: "High-frequency data" },
45+
]}
46+
ctaText="Learn About Lazer"
47+
href="../lazer"
48+
/>
49+
50+
{" "}
51+
52+
<ProductCard
53+
badge="MEV Protection"
54+
icon={<GlobeIcon />}
55+
title="Express Relay"
56+
description="Eliminate MEV while gaining access to active searchers and liquidators."
57+
features={[
58+
{ icon: <ShieldIcon />, text: "MEV protection" },
59+
{ icon: <CodeIcon />, text: "Active searchers" },
60+
{ icon: <MultiChainIcon />, text: "Multi-chain support" },
61+
]}
62+
ctaText="Explore Express Relay"
63+
href="../express-relay"
64+
/>
65+
66+
<ProductCard
67+
badge="Randomness"
68+
icon={<DiceIcon />}
69+
title="Entropy"
70+
description="Generate secure random numbers on the blockchain for your applications."
71+
features={[
72+
{ icon: <ShieldIcon />, text: "Cryptographically secure" },
73+
{ icon: <ClockIcon />, text: "Real-time generation" },
74+
{ icon: <MultiChainIcon />, text: "Multi-chain support" }
75+
]}
76+
ctaText="Learn About Entropy"
77+
href="../entropy"
78+
/>
79+
</div>
80+
81+
## Quick Start
82+
83+
Get started with Pyth Network by exploring our comprehensive documentation:
84+
85+
- **[Price Feeds Getting Started](../price-feeds/getting-started)** - Integrate real-time price data
86+
- **[Lazer Documentation](../lazer)** - High-performance price feeds
87+
- **[Express Relay Integration](../express-relay)** - Better orderflow mechanism to eliminate MEV
88+
- **[Entropy Implementation](../entropy)** - Secure randomness generation
89+
90+
## Additional Resources
91+
92+
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 mt-8">
93+
<div className="p-6 bg-gray-50 rounded-lg">
94+
<h3 className="text-lg font-semibold mb-2">PYTH Token</h3>
95+
<p className="text-gray-600 mb-4">Learn about the Pyth governance token and its role in the network.</p>
96+
<a href="./pyth-token" className="text-blue-600 hover:text-blue-800 font-medium">Learn More →</a>
97+
</div>
98+
99+
{" "}
100+
101+
<div className="p-6 bg-gray-50 rounded-lg">
102+
<h3 className="text-lg font-semibold mb-2">Oracle Integrity Staking</h3>
103+
<p className="text-gray-600 mb-4">
104+
Understand how staking ensures data quality and network security.
105+
</p>
106+
<a
107+
href="./home/oracle-integrity-staking"
108+
className="text-blue-600 hover:text-blue-800 font-medium"
109+
>
110+
Learn More →
111+
</a>
112+
</div>
113+
114+
<div className="p-6 bg-gray-50 rounded-lg">
115+
<h3 className="text-lg font-semibold mb-2">Network Metrics</h3>
116+
<p className="text-gray-600 mb-4">Track the network's adoption, growth, and performance metrics.</p>
117+
<a href="./home/metrics" className="text-blue-600 hover:text-blue-800 font-medium">Learn More →</a>
118+
</div>
119+
</div>
120+
121+
## Developer Resources
122+
123+
- **[Contract Addresses](../price-feeds/contract-addresses)** - Find deployment addresses across all supported chains
124+
- **[Whitepaper](./whitepaper)** - Deep dive into Pyth Network's technical architecture
125+
- **[Security](./security)** - Learn about Pyth's security model and best practices

0 commit comments

Comments
 (0)