Bitcoin Forum
June 24, 2024, 05:12:12 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Urgent] Need help about Sending Transaction (Stucked) D:  (Read 683 times)
kshyzer (OP)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile
July 22, 2015, 09:53:19 PM
 #1

Hello, i'm trying to develop a website, and i'm stuck on sending transactions...

Can anyone help me please? ^^

Well... i can send normal transactions, all go fine... (i'm using JSON in this case)...

but there is some address i can't send. One exemple of it is...

https://blockchain.info/address/3MUJYpyYTcsQAwSjjkA9tT5ByuwBuCZWXH - 3MUJYpyYTcsQAwSjjkA9tT5ByuwBuCZWXH
https://blockchain.info/address/1LnHdHV6uiZ25mkJceVZTpiFqPeUQvRiNY - 1LnHdHV6uiZ25mkJceVZTpiFqPeUQvRiNY

i have noticed that hash160 of both address are the same on blockchain (if anyone can explain me why): d8fafc8c4d94a2f46298fea7e8709e6f317a34da

3MUJYpyYTcsQAwSjjkA9tT5ByuwBuCZWXH - hash160 = 62a3ffb763b79b97352887bbba63c3f3de49f76f
1LnHdHV6uiZ25mkJceVZTpiFqPeUQvRiNY - hash160 = d8fafc8c4d94a2f46298fea7e8709e6f317a34da

https://blockchain.info/address/d8fafc8c4d94a2f46298fea7e8709e6f317a34da - This link redirect to 1LnHdHV6uiZ25mkJceVZTpiFqPeUQvRiNY


Quote
When my output is...

    "out": [
        {
            "value": "0.00180000",
            "scriptPubKey": "OP_DUP OP_HASH160 d8fafc8c4d94a2f46298fea7e8709e6f317a34da OP_EQUALVERIFY OP_CHECKSIG"
        }
    ]

it send to 1LnHdHV6uiZ25mkJceVZTpiFqPeUQvRiNY

Quote
but, When my output is...

    "out": [
        {
            "value": "0.00180000",
            "scriptPubKey": "OP_DUP OP_HASH160 62a3ffb763b79b97352887bbba63c3f3de49f76f OP_EQUALVERIFY OP_CHECKSIG"
        }
    ]

it send to 1LnHdHV6uiZ25mkJceVZTpiFqPeUQvRiNY too

Actually i want to send to 3MUJYpyYTcsQAwSjjkA9tT5ByuwBuCZWXH address... anyone know how can i do it?

Quote
something like

    "out": [
        {
            "value": "0.00180000",
            "scriptPubKey": "OP_DUP Huh 3MUJYpyYTcsQAwSjjkA9tT5ByuwBuCZWXH OP_EQUALVERIFY OP_CHECKSIG"
        }
    ]

Actually i have tried to send to another address like this one directly from blockchain.info, and it went fine...

D:
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3430
Merit: 6720


Just writing some code


View Profile WWW
July 23, 2015, 02:05:37 AM
 #2

i have noticed that hash160 of both address are the same on blockchain (if anyone can explain me why): d8fafc8c4d94a2f46298fea7e8709e6f317a34da
I believe that is the case because the address is most likely a p2sh address with only one public key used and required.

3MUJYpyYTcsQAwSjjkA9tT5ByuwBuCZWXH - hash160 = 62a3ffb763b79b97352887bbba63c3f3de49f76f
1LnHdHV6uiZ25mkJceVZTpiFqPeUQvRiNY - hash160 = d8fafc8c4d94a2f46298fea7e8709e6f317a34da
Where did you get the 62a... hash 160? It doesn't match.

When my output is...

    "out": [
        {
            "value": "0.00180000",
            "scriptPubKey": "OP_DUP OP_HASH160 d8fafc8c4d94a2f46298fea7e8709e6f317a34da OP_EQUALVERIFY OP_CHECKSIG"
        }
    ]

it send to 1LnHdHV6uiZ25mkJceVZTpiFqPeUQvRiNY

...

Actually i want to send to 3MUJYpyYTcsQAwSjjkA9tT5ByuwBuCZWXH address... anyone know how can i do it?

Quote
something like

    "out": [
        {
            "value": "0.00180000",
            "scriptPubKey": "OP_DUP Huh 3MUJYpyYTcsQAwSjjkA9tT5ByuwBuCZWXH OP_EQUALVERIFY OP_CHECKSIG"
        }
    ]

Actually i have tried to send to another address like this one directly from blockchain.info, and it went fine...

D:
Do the same thing as the first transaction but instead of OP_DUP OP_HASH160 d8fafc8c4d94a2f46298fea7e8709e6f317a34da OP_EQUALVERIFY OP_CHECKSIG, do OP_HASH160 d8fafc8c4d94a2f46298fea7e8709e6f317a34da OP_EQUAL. That should work.

kshyzer (OP)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile
July 23, 2015, 03:13:39 AM
 #3

wow, it worked, thanks =D

lol i used RIPEMD-160 Hash converter...
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!