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";
|
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({
|
export default function MyPrivyProvider({
|
||||||
children,
|
children,
|
||||||
@ -20,11 +23,11 @@ export default function MyPrivyProvider({
|
|||||||
accentColor: "#812f20",
|
accentColor: "#812f20",
|
||||||
theme: "light",
|
theme: "light",
|
||||||
showWalletLoginFirst: false,
|
showWalletLoginFirst: false,
|
||||||
walletChainType: "ethereum-and-solana",
|
walletChainType: "solana-only",
|
||||||
walletList: ["detected_wallets", "phantom"],
|
// walletList: ["phantom"],
|
||||||
logo: "https://supabasekong-mco40gw4sc0gs4ks40w4c4g4.dev3vds1.link/storage/v1/object/public/agent-thumbnails/Beactio%20Banner.png",
|
logo: "https://supabasekong-mco40gw4sc0gs4ks40w4c4g4.dev3vds1.link/storage/v1/object/public/agent-thumbnails/Beactio%20Banner.png",
|
||||||
},
|
},
|
||||||
loginMethods: ["email", "wallet", "discord"],
|
loginMethods: ["email", "wallet"],
|
||||||
fundingMethodConfig: {
|
fundingMethodConfig: {
|
||||||
moonpay: {
|
moonpay: {
|
||||||
useSandbox: true,
|
useSandbox: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user