Docs

xdefiWallet

A wallet configurator for Phantom Wallet which allows integrating the wallet with React.

It returns a WalletConfig object which can be used to connect the wallet to via ConnectWallet component or useConnect hook as mentioned in Connecting Wallets guide

Example

phantomWallet({
  recommended: true,
});

Parameters

Returns