File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
apps/dashboard/src/app/pay/components/client Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { useEffect } from "react";
55import { createThirdwebClient , NATIVE_TOKEN_ADDRESS , toTokens } from "thirdweb" ;
66import { AutoConnect , CheckoutWidget } from "thirdweb/react" ;
77import { checksumAddress } from "thirdweb/utils" ;
8+ import { createWallet } from "thirdweb/wallets" ;
89import {
910 reportPaymentLinkBuyFailed ,
1011 reportPaymentLinkBuySuccessful ,
@@ -54,6 +55,15 @@ export function PayPageWidget({
5455 }
5556 />
5657 < CheckoutWidget
58+ connectOptions = { {
59+ wallets : [
60+ createWallet ( "io.metamask" ) ,
61+ createWallet ( "io.rabby" ) ,
62+ createWallet ( "com.okex.wallet" ) ,
63+ createWallet ( "walletConnect" ) ,
64+ ] ,
65+ showAllWallets : true ,
66+ } }
5767 amount = { amount ? toTokens ( amount , token . decimals ) : "0" }
5868 chain = { chain }
5969 client = {
You can’t perform that action at this time.
0 commit comments