Post
Topic
Board Bitcoin Technical Support
Merits 1 from 1 user
Re: Can't sweep BTC to electrum or any other wallet / bitcoins stuck in address
by
LoyceV
on 23/05/2018, 21:00:11 UTC
⭐ Merited by buwaytress (1)
I had a lot of money in paysafecard, which I turned into bitcoins on virwox.com. From that website I sent 0.0032 btc to a newly generated address on Bitcoin core - 3J2tCijTKQLd6jtf3nk8QTtLa73xkVhgfk. (https://blockchain.info/address/3J2tCijTKQLd6jtf3nk8QTtLa73xkVhgfk).
There's 0.0027BTC in that address (I assume Virwox took 0.0005BTC in fee).

Quote
- dumpprivkey 3J2tCijTKQLd6jtf3nk8QTtLa73xkVhgfk (didn't encrypt the wallet so I could type that command straight)

- got the private key

- tried to sweep it into electrum

- got error "No inputs found. Note that inputs need to be confirmed".
You're using a SegWit address. The private key is still the same, but you'll need another approach.

The easiest is to follow this [GUIDE] Importing Electrum Segwit Private Key Into Bitcoin Core (And Vice Versa):
How To Import Segwit WIF from Bitcoin Core to Electrum
This one is simple to do.
NB: For this to work you need to be on Electrum version 3.1.1 and above

For P2SH-P2WPKH addresses (Addresses starting with "3")
Just add p2wpkh-p2sh: directly in front of your  private key.
For example
Code:
p2wpkh-p2sh:5BitcoinPrivateKey
This should generate the corresponding p2wpkh-p2sh bitcoin address.