<p>Electrum provides <code>signmessage</code> and <code>verifymessage</code> commands that you can use to sign and verify messages.</p>

<p>For signing messages with a different private key, you will need to import it into the wallet.</p>

<p>Verifying a message does not require any additional work.</p>

CC BY-SA 3.0
2018-02-03T01:27:37.963Z
2018-02-03T01:27:37.963Z
Ava Chow
<p>First <a href="https://bitcoin.stackexchange.com/a/70118/5273">convert and import the key</a> then go to view menu > show addresses, switch to addressess tab, right click on the address and choose sign/verify.</p>

<p>However note that the format Electrum uses for signatures from bech32 address private keys may be different from what other apps/hardware wallets use so your generated signature may not verify in other wallets.</p>

CC BY-SA 3.0
2018-02-03T01:33:35.350Z
2018-02-03T01:33:35.350Z
Abdussamad
<p>I want to sign and verify a message using a segwit private key that i generated with another application. How can I sign and verify a message using electrum 3 cli?</p>

<electrum><segregated-witness><message-signing><message-verification>
What is the command to sign a message using a segwit private key using electrum 3?
Patoshi パトシ
# What is the command to sign a message using a segwit private key using electrum 3?

(Asked by: username_0 on 2018-02-02)

I want to sign and verify a message using a segwit private key that i generated with another application. How can I sign and verify a message using electrum 3 cli?

**Tags:** electrum, segregated-witness, message-signing, message-verification


---

## 2 answers

### Answer by username_1 on 2018-02-03. Score: 1

Electrum provides `signmessage` and `verifymessage` commands that you can use to sign and verify messages.

For signing messages with a different private key, you will need to import it into the wallet.

Verifying a message does not require any additional work.


---

### Answer by username_2 on 2018-02-03. Score: 0

First [convert and import the key](https://bitcoin.stackexchange.com/a/70118/5273) then go to view menu > show addresses, switch to addressess tab, right click on the address and choose sign/verify.

However note that the format Electrum uses for signatures from bech32 address private keys may be different from what other apps/hardware wallets use so your generated signature may not verify in other wallets.


---

