Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Streams on Avalanche #1987

Merged
merged 10 commits into from
Jun 27, 2024
3 changes: 2 additions & 1 deletion src/components/QuickLinks/data/productChainLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ export const productChainLinks: ProductChainLinks = {
learnMorelink: "data-streams",
logo: dataStreamsLogo,
chains: {
arbitrum: "/data-streams/stream-ids?network=arbitrum",
arbitrum: "/data-streams/stream-ids",
avalanche: "/data-streams/stream-ids",
},
},
Functions: {
Expand Down
6 changes: 3 additions & 3 deletions src/features/data/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const CHAINS: Chain[] = [
title: "Avalanche Data Feeds",
img: "/assets/chains/avalanche.svg",
networkStatusUrl: "https://status.avax.network/",
tags: ["default", "proofOfReserve", "rates"],
tags: ["default", "proofOfReserve", "rates", "streams"],
supportedFeatures: ["vrfSubscription", "vrfDirectFunding", "feeds"],
networks: [
{
Expand All @@ -142,15 +142,15 @@ export const CHAINS: Chain[] = [
networkType: "mainnet",
rddUrl: "https://reference-data-directory.vercel.app/feeds-avalanche-mainnet.json",
queryString: "avalanche-mainnet",
tags: ["proofOfReserve"],
tags: ["proofOfReserve", "streams"],
},
{
name: "Avalanche Testnet",
explorerUrl: "https://testnet.snowtrace.io/address/%s",
networkType: "testnet",
rddUrl: "https://reference-data-directory.vercel.app/feeds-avalanche-fuji-testnet.json",
queryString: "avalanche-fuji",
tags: ["proofOfReserve", "rates"],
tags: ["proofOfReserve", "rates", "streams"],
},
],
label: "Avalanche",
Expand Down
15 changes: 15 additions & 0 deletions src/features/feeds/components/Tables.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,21 @@ const StreamsNetworksData = [
explorerUrl: "https://sepolia.arbiscan.io/address/%s",
},
},
{
network: "Avalanche",
logoUrl: "/assets/chains/avalanche.svg",
networkStatus: "https://status.avax.network/",
mainnet: {
label: "Avalanche Mainnet",
verifierProxy: "0x79BAa65505C6682F16F9b2C7F8afEBb1821BE3f6",
explorerUrl: "https://snowtrace.io/address/%s",
},
testnet: {
label: "Avalanche Fuji Testnet",
verifierProxy: "0x2bf612C65f5a4d388E687948bb2CF842FFb8aBB3",
explorerUrl: "https://testnet.snowtrace.io/address/%s",
},
},
]

export const StreamsVerifierProxyTable = () => {
Expand Down
5 changes: 4 additions & 1 deletion src/features/landing/data/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ export const evmProducts = [
["Available Schemas", "data-streams/reference/report-schema"],
["Interface Reference", "data-streams/reference/interfaces"],
],
chains: [{ id: "arbitrum", title: "Arbitrum" }],
chains: [
{ id: "arbitrum", title: "Arbitrum" },
{ id: "avalanche", title: "Avalanche" },
],
},
{
title: "Functions",
Expand Down