p2pktFromPubkey

fun p2pktFromPubkey(chainSelector: ChainSelector, pubkey: ByteArray): PayAddress

This function create a pay-to-pubkey-template address from a pubkey. This is very uncommon since it cannot be used to sign anything and typically if the address isn't yours, you would have been given the address, not the pubkey. It is used when recovering pubkeys from signed messages or from inside scripts.