// import { MoonSDKContext } from "@/context"; // import { useCallback, useContext } from "react"; // export const useMoonWallet = () => { // const context = useContext(MoonSDKContext); // if (context === undefined) { // throw new Error("useMoonWallet must be used within a MoonSDKProvider"); // } // const { wallets, createWallet, listWallets, setWallet, wallet } = context; // const getBalance = useCallback(async (address: string) => { // // Implement balance fetching logic here // console.log("Fetching balance for address", address); // }, []); // return { // wallets, // createWallet, // listWallets, // setWallet, // currentWallet: wallet, // getBalance, // }; // };