Now, my problem is that the private key generates another address, not my original one. Maybe it is compressed, if it is, how do I change that? How do I get a working private code out of bitcoin core?
How does your address look like? Does it start with
1,
3 or
bc1? It is very important because:
- if your address starts with
3 then you have to type "p2wpkh-p2sh:" in the "Import Bitcoin addresses or private keys",
- if your address starts with
bc1 then you have to type "p2wpkh:" in the "Import Bitcoin addresses or private keys".
Since you need only one specific address, you can type "dumpprivkey
" in the Bitcoin Core's console.