deriveChildPublicKey

abstract suspend fun deriveChildPublicKey(keyshare: ByteArray, derivationPath: String): Result<ByteArray>

Derives a child public key via BIP32 hierarchical-deterministic derivation, producing many addresses from one keyshare. Runs locally.

Return

the derived child public-key bytes.

Parameters

keyshare

the keyshare bytes, read from your StorageClient by keyId.

derivationPath

the BIP32 path, e.g. "m/44'/60'/0'/0/0" (Ethereum) or "m/44'/0'/0'/0/0" (Bitcoin); "m" is the root key.