Keypairs
getPublicKeyFromAddress()

Returns an account public key from an address string.

import { getPublicKeyFromAddres } from '@lndgalante/solutils';
 
const address = 'G9KwiPLZyC52zrSsHnbf9FPnuHu77CDAeGoVkSa1wS8R';
const { publicKey } = getPublicKeyFromAddres(address);