zwh888666@gmail.com (OP)
Newbie
Offline
Activity: 21
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 11, 2017, 01:57:48 AM |
|
I want to sign a message from one of my electrum wallet. But the address is a change address , it did't displayed in my Electrum cold wallet. When i sign the message, it shows"address not in wallet". Is there any method to sign a message use unseen address in Electrum cold wallet?
|
|
|
|
ranochigo
Legendary
Offline
Activity: 3038
Merit: 4418
Crypto Swap Exchange
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 11, 2017, 02:10:48 AM |
|
The private key of the address you are trying to sign has to be in the wallet. If it is not, it is not possible for you to sign a message using that address. Even if the address is a change address, the private key should be stored in the wallet.
Go to Console and type ismine("1YOURADDRESS") while replacing it with your address. If the response is false, you cannot sign a message with that address with your cold wallet.
|
|
|
|
zwh888666@gmail.com (OP)
Newbie
Offline
Activity: 21
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 11, 2017, 02:26:18 AM |
|
The private key of the address you are trying to sign has to be in the wallet. If it is not, it is not possible for you to sign a message using that address. Even if the address is a change address, the private key should be stored in the wallet.
Go to Console and type ismine("1YOURADDRESS") while replacing it with your address. If the response is false, you cannot sign a message with that address with your cold wallet.
I am sure the address is mine in my Electrum cold wallet. It can be displayed in my Electrum watch only wallet by the order listaddresses(). But when i type ismine("MYADDRESS") , the response is false, why?
|
|
|
|
ranochigo
Legendary
Offline
Activity: 3038
Merit: 4418
Crypto Swap Exchange
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 11, 2017, 02:48:39 AM |
|
The private key of the address you are trying to sign has to be in the wallet. If it is not, it is not possible for you to sign a message using that address. Even if the address is a change address, the private key should be stored in the wallet.
Go to Console and type ismine("1YOURADDRESS") while replacing it with your address. If the response is false, you cannot sign a message with that address with your cold wallet.
I am sure the address is mine in my Electrum cold wallet. It can be displayed in my Electrum watch only wallet by the order listaddresses(). But when i type ismine("MYADDRESS") , the response is false, why? The command checks if the wallet has the corresponding private key of the address. This means that you do not have the private key of the address. Without the private key, you will not be able to sign a message with it. You have likely imported the address as a watch only address.
|
|
|
|
cpfreeplz
Legendary
Offline
Activity: 966
Merit: 1042
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 11, 2017, 02:54:24 AM |
|
The private key of the address you are trying to sign has to be in the wallet. If it is not, it is not possible for you to sign a message using that address. Even if the address is a change address, the private key should be stored in the wallet.
Go to Console and type ismine("1YOURADDRESS") while replacing it with your address. If the response is false, you cannot sign a message with that address with your cold wallet.
I am sure the address is mine in my Electrum cold wallet. It can be displayed in my Electrum watch only wallet by the order listaddresses(). But when i type ismine("MYADDRESS") , the response is false, why? The command checks if the wallet has the corresponding private key of the address. This means that you do not have the private key of the address. Without the private key, you will not be able to sign a message with it. You have likely imported the address as a watch only address. There are a few different ways just not on electrum. Try out https://brainwalletx.github.io/#sign but I would download the website first and disconnect from the internet.
|
|
|
|
zwh888666@gmail.com (OP)
Newbie
Offline
Activity: 21
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 11, 2017, 04:49:26 AM Last edit: June 11, 2017, 05:04:12 AM by zwh888666@gmail.com |
|
The private key of the address you are trying to sign has to be in the wallet. If it is not, it is not possible for you to sign a message using that address. Even if the address is a change address, the private key should be stored in the wallet.
Go to Console and type ismine("1YOURADDRESS") while replacing it with your address. If the response is false, you cannot sign a message with that address with your cold wallet.
I am sure the address is mine in my Electrum cold wallet. It can be displayed in my Electrum watch only wallet by the order listaddresses(). But when i type ismine("MYADDRESS") , the response is false, why? The command checks if the wallet has the corresponding private key of the address. This means that you do not have the private key of the address. Without the private key, you will not be able to sign a message with it. You have likely imported the address as a watch only address. It's impossible ! I am sure the address is mine in my Electrum cold wallet . I just send btc from it to participate an ICO not long ago. That's why i must sign message from the address.
|
|
|
|
zwh888666@gmail.com (OP)
Newbie
Offline
Activity: 21
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 11, 2017, 04:57:26 AM |
|
I just want to find a way to let Electrum cold wallet display more change address. A friend teach me a way to display more address by command wallet.storage.put('gap_limit', 50) and wallet.storage.write(). It's worked. There must be some command to display more change address. In lower version Electrum, I knew the commands , but I forgot now. And I did't find them in http://docs.electrum.org/en/latest/.
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4318
<insert witty quote here>
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 11, 2017, 10:48:47 AM |
|
I just want to find a way to let Electrum cold wallet display more change address. A friend teach me a way to display more address by command wallet.storage.put('gap_limit', 50) and wallet.storage.write(). It's worked. There must be some command to display more change address. In lower version Electrum, I knew the commands , but I forgot now. And I did't find them in http://docs.electrum.org/en/latest/. use the Electrum console command: wallet.create_new_address(True)
Passing a parameter of "True" to the create_new_address() function will generate a change addresss past the so-called "gap limit" Note: if you want to generate "receive" addresses... then use "False" as the parameter: wallet.create_new_address(False)
"True" and "False" are case sensitive... you need the uppercase T or F ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) You can even use a little "for" loop to generate a whole bunch in one go: http://docs.electrum.org/en/latest/faq.html#how-can-i-pre-generate-new-addresses
|
|
|
|
Quickseller
Copper Member
Legendary
Offline
Activity: 2968
Merit: 2370
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 12, 2017, 03:29:06 AM |
|
The private key of the address you are trying to sign has to be in the wallet. If it is not, it is not possible for you to sign a message using that address. Even if the address is a change address, the private key should be stored in the wallet.
Go to Console and type ismine("1YOURADDRESS") while replacing it with your address. If the response is false, you cannot sign a message with that address with your cold wallet.
I am sure the address is mine in my Electrum cold wallet. It can be displayed in my Electrum watch only wallet by the order listaddresses(). But when i type ismine("MYADDRESS") , the response is false, why? You are trying to do this from the wrong computer. If you try to sign a message from your computer that has the "watch only" wallet (eg your online computer), then you will be unable to sign a message from any address. You will need to sign the message from the machine that you sign transactions from (eg your 'offline' machine).
|
|
|
|
zwh888666@gmail.com (OP)
Newbie
Offline
Activity: 21
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 12, 2017, 04:45:46 AM |
|
The private key of the address you are trying to sign has to be in the wallet. If it is not, it is not possible for you to sign a message using that address. Even if the address is a change address, the private key should be stored in the wallet.
Go to Console and type ismine("1YOURADDRESS") while replacing it with your address. If the response is false, you cannot sign a message with that address with your cold wallet.
I am sure the address is mine in my Electrum cold wallet. It can be displayed in my Electrum watch only wallet by the order listaddresses(). But when i type ismine("MYADDRESS") , the response is false, why? You are trying to do this from the wrong computer. If you try to sign a message from your computer that has the "watch only" wallet (eg your online computer), then you will be unable to sign a message from any address. You will need to sign the message from the machine that you sign transactions from (eg your 'offline' machine). I just signed the message from the machine that I sign transactions from (my 'offline' machine). But without some command to show the address in the cold wallet, it can't be signed.
|
|
|
|
zwh888666@gmail.com (OP)
Newbie
Offline
Activity: 21
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 12, 2017, 04:47:27 AM |
|
I just want to find a way to let Electrum cold wallet display more change address. A friend teach me a way to display more address by command wallet.storage.put('gap_limit', 50) and wallet.storage.write(). It's worked. There must be some command to display more change address. In lower version Electrum, I knew the commands , but I forgot now. And I did't find them in http://docs.electrum.org/en/latest/. use the Electrum console command: wallet.create_new_address(True)
Passing a parameter of "True" to the create_new_address() function will generate a change addresss past the so-called "gap limit" Note: if you want to generate "receive" addresses... then use "False" as the parameter: wallet.create_new_address(False)
"True" and "False" are case sensitive... you need the uppercase T or F ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) You can even use a little "for" loop to generate a whole bunch in one go: http://docs.electrum.org/en/latest/faq.html#how-can-i-pre-generate-new-addressesThank you very much! It's worked!
|
|
|
|
|