<p>Note that an individual address is not a wallet. A wallet is a collection of addresses.</p>

<blockquote>
  <p>Does any wallet address has it's own passphrase in bitcoin daemon? Or it's only 1 passphrase for all wallets in 1 daemon?</p>
</blockquote>

<p>A wallet has its own passphrase; passphrases are not per-address (that would be impractical).</p>

<p>You can have multiple wallets in a daemon each with different passphrases (the most recent versions of Bitcoin Core support multiwallet).</p>

<blockquote>
  <p>And how can i get the passphrase of the address</p>
</blockquote>

<p>Passphrases are not automatically generated. You as the user must have set it. If you do not know the passphrase, then there is nothing that you can do.</p>

CC BY-SA 3.0
2018-04-10T16:03:27.870Z
Okay so there's a big diffrent between wallet and address . I generate new address using the function 'getnewaddress' . but this does not allow you in the parameters to generate your passphrase .
How can i generate it? and how to create new wallet instead of address?
Ys3
CC BY-SA 3.0
2018-04-10T16:05:07.420Z
Passphrases are not automatically generated. You have to set it yourself on the entire wallet using the `encryptwallet` or `changewalletpassphrase` commands. You cannot create a new wallet from the command line; you have to start Bitcoin Core with the `-wallet` option in order to specify a new wallet that will be created if it does not exist.
Ava Chow
CC BY-SA 3.0
2018-04-10T16:16:30.587Z
So does it mean in when you start a bitcoind . you only have one wallet? . you can only create one wallet?
Or is it possible that i can create another one?
Ys3
CC BY-SA 3.0
2018-04-10T16:19:39.367Z
Means all the rpc command are happening in one wallet . you cannot run two wallets in same time in daemon?
Ys3
CC BY-SA 3.0
2018-04-10T16:27:54.460Z
You can run two wallets if your software supports multiwallet (which the latest version of Bitcoin Core does). By default, you will only be using one wallet.
Ava Chow
CC BY-SA 3.0
2018-04-10T16:31:41.550Z
Yes as i checked am having the last version.
One more last question.
As am trying to create a board of trade where everyone can sign up and have a bitcoin address.
Which best way is to use only one wallet and give everyone an address from that wallet . or to use multi wallet and give the addresses from different wallet.
And what's the exactly different between using 1 wallet or multi? the benefit?
Ys3
CC BY-SA 3.0
2018-04-10T16:32:52.763Z
If you have further questions, please use the Ask Question button. Your question is off topic for this answer that we are commenting on.
Ava Chow
CC BY-SA 3.0
2018-04-10T15:38:10.913Z
2018-04-10T15:38:10.913Z
Ava Chow
<p>I set up the bitcoin daemon and galaxycash daemon on my server. And i was using this library </p>

<blockquote>
  <p>easybitcoin.php</p>
</blockquote>

<p>to contact the daemon via rpc . Somehow i remeber that i used this function <code>encryptwallet("test")</code>
but whenever i try to use this function now <code>sendfrom("walletaddress","towalletaddress",1);</code></p>

<p>i get this message </p>

<blockquote>
  <p>Error: Please enter the wallet passphrase with walletpassphrase first.</p>
</blockquote>

<p>so i used this function <code>walletpassphrase("test",60);</code></p>

<p>but am getting this error </p>

<blockquote>
  <p>Error: The wallet passphrase entered was incorrect.</p>
</blockquote>

<p>Does any wallet address has it's own passphrase in bitcoin daemon?
Or it's only 1 passphrase for all wallets in 1 daemon?
And how can i get the passphrase of the address because i need to use it with this function <code>sendfrom</code>
Am using rpc for PHP.</p>

<json-rpc><php><passphrase>
How to get lost passphrase?
Ys3
# How to get lost passphrase?

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

I set up the bitcoin daemon and galaxycash daemon on my server. And i was using this library

> easybitcoin.php

to contact the daemon via rpc . Somehow i remeber that i used this function `encryptwallet("test")`
but whenever i try to use this function now `sendfrom("walletaddress","towalletaddress",1);`

i get this message

> Error: Please enter the wallet passphrase with walletpassphrase first.

so i used this function `walletpassphrase("test",60);`

but am getting this error

> Error: The wallet passphrase entered was incorrect.

Does any wallet address has it's own passphrase in bitcoin daemon?
Or it's only 1 passphrase for all wallets in 1 daemon?
And how can i get the passphrase of the address because i need to use it with this function `sendfrom`
Am using rpc for PHP.

**Tags:** json-rpc, php, passphrase


---

## 1 answers

### Answer by username_1 on 2018-04-10. Score: 0 | Accepted answer

Note that an individual address is not a wallet. A wallet is a collection of addresses.

> Does any wallet address has it's own passphrase in bitcoin daemon? Or it's only 1 passphrase for all wallets in 1 daemon?

A wallet has its own passphrase; passphrases are not per-address (that would be impractical).

You can have multiple wallets in a daemon each with different passphrases (the most recent versions of Bitcoin Core support multiwallet).

> And how can i get the passphrase of the address

Passphrases are not automatically generated. You as the user must have set it. If you do not know the passphrase, then there is nothing that you can do.

> **Comments:**
> **username_0**: Okay so there's a big diffrent between wallet and address . I generate new address using the function 'getnewaddress' . but this does not allow you in the parameters to generate your passphrase . How can i generate it? and how to create new wallet instead of address?  
> **username_1**: Passphrases are not automatically generated. You have to set it yourself on the entire wallet using the `encryptwallet` or `changewalletpassphrase` commands. You cannot create a new wallet from the command line; you have to start Bitcoin Core with the `-wallet` option in order to specify a new wallet that will be created if it does not exist.  
> **username_0**: So does it mean in when you start a bitcoind . you only have one wallet? . you can only create one wallet? Or is it possible that i can create another one?  
> **username_0**: Means all the rpc command are happening in one wallet . you cannot run two wallets in same time in daemon?  
> **username_1**: You can run two wallets if your software supports multiwallet (which the latest version of Bitcoin Core does). By default, you will only be using one wallet.  
> **username_0**: Yes as i checked am having the last version. One more last question. As am trying to create a board of trade where everyone can sign up and have a bitcoin address. Which best way is to use only one wallet and give everyone an address from that wallet . or to use multi wallet and give the addresses from different wallet. And what's the exactly different between using 1 wallet or multi? the benefit?  
> **username_1**: If you have further questions, please use the Ask Question button. Your question is off topic for this answer that we are commenting on.  

---

