We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 403e422 commit 5cb578dCopy full SHA for 5cb578d
apps/playground-web/src/components/pay/embed.tsx
@@ -2,7 +2,7 @@
2
3
import { THIRDWEB_CLIENT } from "@/lib/client";
4
import { useTheme } from "next-themes";
5
-import { base } from "thirdweb/chains";
+import { base, defineChain } from "thirdweb/chains";
6
import { PayEmbed } from "thirdweb/react";
7
8
export function StyledPayEmbedPreview() {
@@ -18,8 +18,13 @@ export function StyledPayEmbedPreview() {
18
name: "Get funds",
19
},
20
prefillBuy: {
21
- chain: base,
+ chain: defineChain(466),
22
amount: "0.01",
23
+ token: {
24
+ address: "0x675C3ce7F43b00045a4Dab954AF36160fb57cB45",
25
+ name: "USDC",
26
+ symbol: "USDC",
27
+ },
28
29
}}
30
/>
0 commit comments