<p>By "bitcore" I assume you mean Bitcoin Core as the commands you are using are Bitcoin Core commands. There are other things which are called "bitcore" which is confusing.</p>

<blockquote>
  <p>I want to explicitly send a seed to generate a new address. Could anyone tell me how to do that?</p>
</blockquote>

<p>You cannot. Bitcoin Core does not allow you to seed the random number generators with custom values as that is a security vulnerability.</p>

<p>You can import a private key (which some may call a seed) which will then add that private key and its associated address to the wallet. That may be what you want to do.</p>

<p>In Bitcoin Core 0.17, there will be an option to set the HD wallet seed. Bitcoin Core generates private keys deterministically using BIP 32 which has its own seed value. In Bitcoin Core 0.17, a new feature has been added which will allow you to set the seed used by the wallet for key generation.</p>

CC BY-SA 4.0
2018-06-14T06:21:37.603Z
sorry for the confusion. It is bitcoin core. Thanks a lot.
merklexy
CC BY-SA 4.0
2018-06-14T06:18:41.393Z
2018-06-14T06:18:41.393Z
Ava Chow
<p>I am using bitcore to generate the public and private keys. I am using '<strong>getnewaddress</strong>' method to generate a public address and <strong>dumpprivkey</strong> to generate a private key. When I am calling the <strong>getnewaddress</strong> method it automatically generating a new public address. I want to explicitly send a <strong>seed</strong> to generate a new address. Could anyone tell me how to do that?</p>

CC BY-SA 4.0
2018-06-14T05:31:29.017Z
Small technical clarification: When you `getnewaddress`, the wallet generates a privkey, and then derives the pubkey and bitcoin address from it (and then displays the bitcoin address to you). When using the `dumpprivkey` command, the private key is simply displayed, not generated.
chytrik
<bitcoin-core><wallet><bitcoind><address><public-key>
How to get public and private keys by giving seed explicitly?
merklexy
# How to get public and private keys by giving seed explicitly?

(Asked by: username_0 on 2018-06-14)

I am using bitcore to generate the public and private keys. I am using '**getnewaddress**' method to generate a public address and **dumpprivkey** to generate a private key. When I am calling the **getnewaddress** method it automatically generating a new public address. I want to explicitly send a **seed** to generate a new address. Could anyone tell me how to do that?

**Tags:** bitcoin-core, wallet, bitcoind, address, public-key

> **Comments:**
> **username_1**: Small technical clarification: When you `getnewaddress`, the wallet generates a privkey, and then derives the pubkey and bitcoin address from it (and then displays the bitcoin address to you). When using the `dumpprivkey` command, the private key is simply displayed, not generated.  

---

## 1 answers

### Answer by username_2 on 2018-06-14. Score: 0 | Accepted answer

By "bitcore" I assume you mean Bitcoin Core as the commands you are using are Bitcoin Core commands. There are other things which are called "bitcore" which is confusing.

> I want to explicitly send a seed to generate a new address. Could anyone tell me how to do that?

You cannot. Bitcoin Core does not allow you to seed the random number generators with custom values as that is a security vulnerability.

You can import a private key (which some may call a seed) which will then add that private key and its associated address to the wallet. That may be what you want to do.

In Bitcoin Core 0.17, there will be an option to set the HD wallet seed. Bitcoin Core generates private keys deterministically using BIP 32 which has its own seed value. In Bitcoin Core 0.17, a new feature has been added which will allow you to set the seed used by the wallet for key generation.

> **Comments:**
> **username_0**: sorry for the confusion. It is bitcoin core. Thanks a lot.  

---

