import type { PublicClient } from 'viem';

let currentPublicClient: PublicClient | null = null;

export function setWalletPublicClient(client: PublicClient | null): void {
  currentPublicClient = client;
}

export function getWalletPublicClient(): PublicClient | null {
  return currentPublicClient;
}
