import { PublicKey } from "@solana/web3.js";

export const isPublicKey = (address: string) => {
	try {
		const publicKey = new PublicKey(address);
		return !!publicKey;
	} catch (error) {
		return false;
	}
};
