remove wallet to solana only
This commit is contained in:
parent
4724909fa6
commit
25f84f773e
@ -4,7 +4,10 @@ import { PrivyProvider } from "@privy-io/react-auth";
|
||||
|
||||
import { toSolanaWalletConnectors } from "@privy-io/react-auth/solana";
|
||||
|
||||
const solanaConnectors = toSolanaWalletConnectors();
|
||||
const solanaConnectors = toSolanaWalletConnectors({
|
||||
// By default, shouldAutoConnect is enabled
|
||||
shouldAutoConnect: false,
|
||||
});
|
||||
|
||||
export default function MyPrivyProvider({
|
||||
children,
|
||||
@ -20,11 +23,11 @@ export default function MyPrivyProvider({
|
||||
accentColor: "#812f20",
|
||||
theme: "light",
|
||||
showWalletLoginFirst: false,
|
||||
walletChainType: "ethereum-and-solana",
|
||||
walletList: ["detected_wallets", "phantom"],
|
||||
walletChainType: "solana-only",
|
||||
// walletList: ["phantom"],
|
||||
logo: "https://supabasekong-mco40gw4sc0gs4ks40w4c4g4.dev3vds1.link/storage/v1/object/public/agent-thumbnails/Beactio%20Banner.png",
|
||||
},
|
||||
loginMethods: ["email", "wallet", "discord"],
|
||||
loginMethods: ["email", "wallet"],
|
||||
fundingMethodConfig: {
|
||||
moonpay: {
|
||||
useSandbox: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user