Author

Topic: Are compressed and uncompressed addresses exchangeable ? (Read 395 times)

hero member
Activity: 792
Merit: 501
Ok .. until now I thought a compressed address is the same Address just converted and therefore exchangeable ...

Regards


copper member
Activity: 1498
Merit: 1499
No I dont escrow anymore.
Hi all,

playing around with BTC Addresses I came to a point which I didn't understand.

I created a vanity address starting for example with 1BTC. The result was

Address: 1BTCC58kqhDSVGKRjEG38UM6u4vyhFZq6L
Privkey: 5JGp9bJDdLKy3MYmi8eaD4umJx22tBwSihPB6RyHycDvR5byT76

No Problem with that - I can import the private key in multibit and the 1BTC address appears. I can send and receiver btc to and from this address.

Now on an online wallet they only accept compressed private key. I used the wallet detail function on www.bitaddress.org and calculate the compressed private key :

Compressed priv. Key: KyEo6vNzjNJiMPhELYkqaGFtaDqZJwHJX3EsYyDTvrU2ktZRc7KT

I could import this key into the webwallet and it shows the compressed public key / address : 1FZW7bu2tkP5J1DGtPo5m1PJzmcVz8Tohk

Until now - since they both share the same private key I thought sending btc to 1BTCC58kqhDSVGKRjEG38UM6u4vyhFZq6L is the same as sending it to 1FZW7bu2tkP5J1DGtPo5m1PJzmcVz8Tohk but it looks like this is not the case (judging from blockchain.info)

Am I wrong here  ?

Thanks
Regars

You have one privat key, but two coresponding public keys. The compressed and the uncompressed one. Thus different data is hashed when calculating the address from the public key and the resulting address is different.

You should be able to spend inputs received on both addresses, but I would suggest to test that first on testnet or wait for a reply from someone that tested this.
hero member
Activity: 792
Merit: 501
Hi all,

playing around with BTC Addresses I came to a point which I didn't understand.

I created a vanity address starting for example with 1BTC. The result was

Address: 1BTCC58kqhDSVGKRjEG38UM6u4vyhFZq6L
Privkey: 5JGp9bJDdLKy3MYmi8eaD4umJx22tBwSihPB6RyHycDvR5byT76

No Problem with that - I can import the private key in multibit and the 1BTC address appears. I can send and receiver btc to and from this address.

Now on an online wallet they only accept compressed private key. I used the wallet detail function on www.bitaddress.org and calculate the compressed private key :

Compressed priv. Key: KyEo6vNzjNJiMPhELYkqaGFtaDqZJwHJX3EsYyDTvrU2ktZRc7KT

I could import this key into the webwallet and it shows the compressed public key / address : 1FZW7bu2tkP5J1DGtPo5m1PJzmcVz8Tohk

Until now - since they both share the same private key I thought sending btc to 1BTCC58kqhDSVGKRjEG38UM6u4vyhFZq6L is the same as sending it to 1FZW7bu2tkP5J1DGtPo5m1PJzmcVz8Tohk but it looks like this is not the case (judging from blockchain.info)

Am I wrong here  ?

Thanks
Regars



Jump to: