<p>Checking the <a href="https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/postWallet" rel="nofollow noreferrer">official documentation from cardano-wallet</a> I can see that there are options to get wallets from mnemonics and extended public keys, but not private keys.</p>
<p>Even <a href="https://github.com/vacuumlabs/cardano-crypto.js/blob/develop/test/index.js" rel="nofollow noreferrer">public libs</a> don't have that option. And as far as I know it's not possible to restore a wallet from a private key in Daedalus or Yoroi.</p>
<p>It's a somewhat simple functionality that I can't find any info about!</p>

<wallet><cardano-cli><address><private-key>
How can I derive an address from a private key?
# How can I derive an address from a private key?

(Asked by: username_0 on 2021-10-04)

Checking the [official documentation from cardano-wallet](https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/postWallet) I can see that there are options to get wallets from mnemonics and extended public keys, but not private keys.

Even [public libs](https://github.com/vacuumlabs/cardano-crypto.js/blob/develop/test/index.js) don't have that option. And as far as I know it's not possible to restore a wallet from a private key in Daedalus or Yoroi.

It's a somewhat simple functionality that I can't find any info about!

**Tags:** wallet, cardano-cli, address, private-key

---

## 0 answers

