fromPublicKey

Creates a new Stellar keypair from a 32 byte public key.

Return

KeyPair with only public key (cannot sign)

Parameters

publicKey

The 32 byte public key

Throws

if the provided public key is invalid