Bitcoin Forum
June 22, 2024, 03:34:50 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Electrum / Address compatability between Bitcoin core and Electrum on: January 07, 2021, 10:42:34 AM
HI,

Im experimenting with importing addresses from Electrum to bitcoin core and vica versa. When I create a new wallet in Electrum and import a private key that starts with "p2wpkh:" the receiving address(pub key) will start with "bc1". If I import the same private key, but skip the "p2wpkh:" beginning, the receiving address is different.

When I import the same private key to bitcoin core (must skip the "p2wpkh:" begining to be compatible) and use the command "dumpprivkey" for the respective public keys above, it shows the same privkey for both the addresses.

As I understand the "bc1" abbreviation is about segwit compatabiltiy. My question is if both the public addresses are compatible with segwit, or if u have to use the "bc1" address to be? And Is there any reason for concern about functionality of the wallets in this case, i.e. funds sent to either one of the public addresses will show up in both bitcoin core and Electrum wallet?

Thanks.

(updated title)
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!