Skip to content

Commit 5cb578d

Browse files
committed
fix(sdk): opt out of 1559 on lumia mainnet
1 parent 403e422 commit 5cb578d

File tree

1 file changed

+7
-2
lines changed
  • apps/playground-web/src/components/pay

1 file changed

+7
-2
lines changed

apps/playground-web/src/components/pay/embed.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { THIRDWEB_CLIENT } from "@/lib/client";
44
import { useTheme } from "next-themes";
5-
import { base } from "thirdweb/chains";
5+
import { base, defineChain } from "thirdweb/chains";
66
import { PayEmbed } from "thirdweb/react";
77

88
export function StyledPayEmbedPreview() {
@@ -18,8 +18,13 @@ export function StyledPayEmbedPreview() {
1818
name: "Get funds",
1919
},
2020
prefillBuy: {
21-
chain: base,
21+
chain: defineChain(466),
2222
amount: "0.01",
23+
token: {
24+
address: "0x675C3ce7F43b00045a4Dab954AF36160fb57cB45",
25+
name: "USDC",
26+
symbol: "USDC",
27+
},
2328
},
2429
}}
2530
/>

0 commit comments

Comments
 (0)