derivePubkeyFromSpub

Derives a public key from an extended public key (Spub).

Derives a public key from an Spub string according to Sodot's non-hardened derivation scheme.

Return

The derived public key as a ByteArray

Parameters

spub

A valid Ed25519 Spub string retrieved from getSpub

derivationPath

The derivation path to use for computing the public key