alepop / ed25519-hd-key

🔐 Key Derivation for ed25519
https://www.npmjs.com/package/ed25519-hd-key
MIT License
60 stars 28 forks source link

Derive path using extended public key #237

Closed ppoliani closed 3 years ago

ppoliani commented 3 years ago

I just looked into the code and noticed that there is function that allows to derive private keys. I wonder if it's possible to derive plublic keys by providing an xpub.

Something like this, for example:

const derivePath = (path, xpub) => {}

getlarge commented 3 years ago

I was asking myself the same question, it seems unsupported for ed25519. Read this SLIP-10 section.

alepop commented 3 years ago

@ppoliani thanks for opening the issue. As @getlarge wrote this feature is not supported.