getKeysharePublicKey
Extracts the public key from a keyshare, for deriving addresses or verifying signatures. Runs locally.
val keyId = session.keygen().getOrThrow()
val keyshare = (myStorageClient.read(keyId) as ReconcileStoreDao).currentKeyshare!!
val publicKey = SilentShard.ECDSA.getKeysharePublicKey(keyshare).getOrThrow()Content copied to clipboard
Return
the public-key bytes.
Parameters
keyshare
the keyshare bytes, read from your StorageClient by keyId.