schancel / cashaddr-converter

Go service for converting between address formats
MIT License
54 stars 34 forks source link

Refund Bitcoin Cash #19

Closed jmcgrath207 closed 6 years ago

jmcgrath207 commented 6 years ago

Hi Schancel,

It appears that I send you bitcoin cash to your address qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a accidentally while using your app. For some reason when you add your address you have to click convert again once your switch tabs to legacy.

https://explorer.bitcoin.com/bch/tx/c461ec6cad0688bc79ba1e88baaff40373dfd13d210166fd2d0864bd95f4f91f

Could you send it to address qza9vj66gvrnc4hehu8kpqqhgg0pzj8qnc8q5029sr . You can keep 10% of the value for doing this favor.

schancel commented 6 years ago

I'm sorry you've had this happen. However, I'm not sure precisely how to help you. I don't know where that address is from, or why you think I control it?

For some reason when you add your address you have to click convert again once your switch tabs to legacy.

Not sure what you mean here. I use it all the time and haven't ran into this.

jmcgrath207 commented 6 years ago

the address qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a is mentioned in your repo twice.

https://github.com/schancel/cashaddr-converter/search?q=qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a&unscoped_q=qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a

I think it's pretty remarkable that you generated a 42 length string randomly twice that happens to be the same and also a valid bitcoin cash address wallet, don't you think?

Look, I am assuming that is an error in your program and that this was an honest mistake. But claiming no knowledge of that address is just plain wrong.

schancel commented 6 years ago

These were part of the tests for the cashaddr code in Bitcoin-ABC. They were generated by @dagurval as far as I know. I copied and pasted them into this codebase when writing it. They're only used in tests, so how did you find these to accidentally send funds to?

schancel commented 6 years ago

I spoke with @dagurval. He generated those addresses from random data. Your coins are lost. I'm sorry.

jmcgrath207 commented 6 years ago

Thanks for looking into this.

Here are the steps I have taken.

I went to https://cashaddr.bitcoincash.org/ I added my address and clicked the legacy tab. It is here it gave me the legacy address for qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a

After I realized the mistake, I clicked top right where it sent me to this repo page which is where I found the address in the source code.

I've tried recreating the test Scenario but it doesn't work.

Reviewing the WHOis record for this site, there is no information. https://whois.icann.org/en/lookup?name=cashaddr.bitcoincash.org

Knowing what I know now, I should have used the https://explorer.bitcoin.com/bch site since it converts the addresses as soon as you input them.

jmcgrath207 commented 6 years ago

np, I figured it was lost since day one. If you happen to know the owner of this site, I suggest that they just decommission it since https://explorer.bitcoin.com/bch doesn't have these potential conversation issues.