Skip to content

useWallets

Get and manage wallets linked to the user, including the embedded wallet.

Use cases:
  • Show wallets linked to the user.
  • Switch active wallet.
  • Export embedded wallet private key.
Returns:
  • wallet: Linked wallets.
import { useWallet } from "@openfort/react";
 
function WalletManager() {
  const wallet = useWallet();
  // ...
}