<p>How to find bitcoin address from bitcoin privatekey using bitcoind json rpc or any other way?</p>

CC BY-SA 3.0
2018-04-18T13:55:26.867Z
while not an exact duplicate, the logic of deriving keys is mentioned in this thread: https://bitcoin.stackexchange.com/questions/69315/how-are-compressed-pubkeys-generated/69322?noredirect=1#comment80498_69322. When having a private key, you can load it into bitcoind with "importprivkey", explanations in the API calls list (https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list). I hadn't found a direct way to see, which address belongs to a private key, but a "getaddressesbyaccount" before and afterwards did the trick for me.
pebwindkraft
CC BY-SA 3.0
2018-04-18T14:03:19.103Z
and a second link: https://bitcoin.stackexchange.com/questions/1389/how-are-public-private-keys-in-an-address-created/1715#1715 - if this is not sufficient, maybe you can outline your question a bit more, so we can understand, what tool(s) you would like to use? There is python, Java, shell scripts, ...
pebwindkraft
<bitcoind><private-key><private-key-import>
How to find bitcoin address from bitcoin privatekey
Thomson Ignesious
# How to find bitcoin address from bitcoin privatekey

(Asked by: username_0 on 2018-04-18)

How to find bitcoin address from bitcoin privatekey using bitcoind json rpc or any other way?

**Tags:** bitcoind, private-key, private-key-import

> **Comments:**
> **username_1**: while not an exact duplicate, the logic of deriving keys is mentioned in this thread: https://bitcoin.stackexchange.com/questions/69315/how-are-compressed-pubkeys-generated/69322?noredirect=1#comment80498_69322. When having a private key, you can load it into bitcoind with "importprivkey", explanations in the API calls list (https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list). I hadn't found a direct way to see, which address belongs to a private key, but a "getaddressesbyaccount" before and afterwards did the trick for me.  
> **username_1**: and a second link: https://bitcoin.stackexchange.com/questions/1389/how-are-public-private-keys-in-an-address-created/1715#1715 - if this is not sufficient, maybe you can outline your question a bit more, so we can understand, what tool(s) you would like to use? There is python, Java, shell scripts, ...  

---

## 0 answers

