Bitcoin Forum
May 22, 2024, 12:38:48 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to sign a message use unseen address in Electrum cold wallet?  (Read 537 times)
zwh888666@gmail.com (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
June 11, 2017, 01:57:48 AM
 #1

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 Offline

Activity: 2982
Merit: 4193



View Profile
June 11, 2017, 02:10:48 AM
 #2

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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
zwh888666@gmail.com (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
June 11, 2017, 02:26:18 AM
 #3

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 Offline

Activity: 2982
Merit: 4193



View Profile
June 11, 2017, 02:48:39 AM
 #4

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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
cpfreeplz
Legendary
*
Offline Offline

Activity: 966
Merit: 1042


View Profile
June 11, 2017, 02:54:24 AM
 #5

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 Offline

Activity: 21
Merit: 0


View Profile
June 11, 2017, 04:49:26 AM
Last edit: June 11, 2017, 05:04:12 AM by zwh888666@gmail.com
 #6

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 Offline

Activity: 21
Merit: 0


View Profile
June 11, 2017, 04:57:26 AM
 #7

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 Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
June 11, 2017, 10:48:47 AM
 #8

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:

Code:
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:
Code:
wallet.create_new_address(False)

"True" and "False" are case sensitive... you need the uppercase T or F Wink

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

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Quickseller
Copper Member
Legendary
*
Offline Offline

Activity: 2884
Merit: 2327


View Profile
June 12, 2017, 03:29:06 AM
 #9

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 Offline

Activity: 21
Merit: 0


View Profile
June 12, 2017, 04:45:46 AM
 #10

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 Offline

Activity: 21
Merit: 0


View Profile
June 12, 2017, 04:47:27 AM
 #11

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:

Code:
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:
Code:
wallet.create_new_address(False)

"True" and "False" are case sensitive... you need the uppercase T or F Wink

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

Thank you very much! It's worked!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!