Skip to content

Function: createHappyWalletClient()

function createHappyWalletClient(): HappyWalletClient;

Defined in: packages/core/lib/viem.ts:49

Returns a Viem WalletClient instance made configured for use with the Happy Wallet.

The client is initialized without an account, and it cannot be used until the user connects. The client object is update in-place with the account as soon as the user connects to the wallet (no need to call this function again).

Returns

HappyWalletClient