This page walks through a client-side funding integration for Solana wallets. If you are looking
to integrate server-side for funding via bank transfer, see the Funding via bank
transfer page.
Prompting users to fund wallets
With funding methods enabled for your app, Privy will prompt users to fund their wallets at two points in their experience:- Manually, when you call Privy’s
fundWalletmethod documented below - Automatically, when the user attempts to send a transaction but has insufficient funds
Manually invoking funding
Once you’ve enabled a set of funding methods for your app, to invoke the funding flow, use theuseFundWallet hook from the Privy SDK as follows:

