Bitcoin Forum
November 19, 2024, 04:24:05 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: can i spend btc from compressed wallet address by using uncompressed WIF key ?  (Read 295 times)
btctousd81 (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 270


View Profile WWW
August 27, 2017, 09:19:05 AM
 #1

hi, all , i have read may topics on this and i still dont understant.

what i understand is there are 2 pair of addresses for each private key aka sha256 hex i.e. compressed pair and uncompressed pair.

e.g.

ref: https://brainwalletx.github.io/

passphrase : hello

gives 2 pairs

compressed WIF : Kxj5ejwPg2s2ejZHW7N1zAydD4fkmFi9j19QRmgeVK9mXL3wFMmp
compressed Address : 1MmqjDhakEfJd9r5BoDhPApCpA75Em17GA

and

Uncompressed WIF : 5JA5gN4G78DhFSW4jr28vjb8JEX5UhVMZB16Jr6MjDGaeguJEvm
Uncompressed Address : 1HoSFymoqteYrmmr7s3jDDqmggoxacbk37

so i have few questions.

1) are these 2 different wallets ?
2) if someone sends funds to compressed Address, will it show up in Uncompressed Address ?
3) do i have import both of these WIF keys in by bitcoind to receive funds in them , i guess they act like 2 differnt wallets.

4) can i spend funds from Uncompressed Address by using compressed WIF


5)can i spend btc from compressed wallet address by using uncompressed WIF key ?

this is quite confusing.

thanks for your time.
sorry if i posted this in wrong section, idk if this is technical or not.

BitcoinHodler
Hero Member
*****
Offline Offline

Activity: 1456
Merit: 579


HODLing is an art, not just a word...


View Profile
August 27, 2017, 10:37:06 AM
 #2

the private key is not conpressed/uncompressed. the public key is. both Kxj5... and 5JA5g... are the same thing, just represented differently. they are both a (big) number. and here is the number:
Code:
2CF24DBA5FB0A30E26E83B2AC5B9E29E1B161E5C1FA7425E73043362938B9824
but since the public key is different the bitcoin address is also going to be different.

1) these belong to two different public keys so two different addresses.
2) these are two different addresses and if someone sends funds to 1 address it will be sent to that address not something else!
3) no, you just import the key that contains the funds
4,5) no. but you can simply convert between the two. you just convert back to that number (hex above) and then get the private key that you want. you can use bitaddress.org for this.

https://en.bitcoin.it/wiki/Wallet_import_format

Holding Bitcoin More Every Day
btctousd81 (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 270


View Profile WWW
August 27, 2017, 10:57:04 AM
 #3

thank you, this cleared my confusion.


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!