Skip to content

Commit

Permalink
Merge pull request smartcontractkit#10 from hackbg/main
Browse files Browse the repository at this point in the history
Switch to Arbitrum Sepolia feeds
  • Loading branch information
danielgruesso authored Jan 31, 2024
2 parents 21be1ed + e424e73 commit 2e8644f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/src/_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export const binancePairs = {

export const chainlinkPairToFeedId = {
[Pair.ETH_USD]:
"0x00029584363bcf642315133c335b3646513c20f049602fc7d933be0d3f6360d3",
"0x00027bbaff688c906a3e20a34fe951715d1018d262a5b66e38eda027a674cd1b",
[Pair.AVAX_USD]:
"0x0002c407f448ffe50a15fd5f1ffe4791830c5f8fa39cd971a3d6ae337aef51a0",
"0x00021c125c52db1459181038e065de71e67ec57f45f5da7d3197758a57b6ed20",
};

export type PriceResponse = {
Expand Down
6 changes: 3 additions & 3 deletions app/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function Home() {
Chainlink Data Streams Demo dApp
</h2>
<p className="hidden font-[450] text-muted-foreground md:block">
Low-latency, high frequency, gas efficient data feeds on Arbitrum Goerli
Low-latency, high frequency, gas efficient data feeds on Arbitrum Sepolia
Testnet.
</p>
<div className="rounded-md border bg-[rgb(24,29,41)]/60 p-6">
Expand Down Expand Up @@ -70,7 +70,7 @@ export default function Home() {
width={16}
height={16}
/>
<span>Arbitrum Goerli</span>
<span>Arbitrum Sepolia</span>
</div>
</TableCell>
<TableCell>
Expand Down Expand Up @@ -133,7 +133,7 @@ export default function Home() {
width={16}
height={16}
/>
<span>Arbitrum Goerli</span>
<span>Arbitrum Sepolia</span>
</div>
</TableCell>
<TableCell>
Expand Down
4 changes: 2 additions & 2 deletions app/src/wagmi.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { getDefaultWallets } from "@rainbow-me/rainbowkit";
import { configureChains, createConfig } from "wagmi";
import { arbitrumGoerli } from "wagmi/chains";
import { arbitrumSepolia } from "viem/chains";
import { alchemyProvider } from "wagmi/providers/alchemy";
import { publicProvider } from "wagmi/providers/public";

const { chains, publicClient, webSocketPublicClient } = configureChains(
[arbitrumGoerli],
[arbitrumSepolia],
[
alchemyProvider({ apiKey: process.env.NEXT_PUBLIC_ALCHEMY_API_KEY! }),
publicProvider(),
Expand Down

0 comments on commit 2e8644f

Please sign in to comment.