getSpub

fun getSpub(secretShare: Ed25519SecretShare): String

Gets an extended public key (Spub) from an Ed25519 secret share.

Returns a base58 encoded extended public key (Spub) derived from the secret share. Note that unlike ECDSA or BIP340, there's no standardization for the extended public key format for Ed25519, so 'S' stands for 'Sodot', and this is a somewhat custom derivation scheme adapted for Ed25519.

Return

The extended public key (Spub) as a base58 encoded string

Parameters

secretShare

The secret share