Bitcoin Forum
July 02, 2024, 09:44:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Sign unsigned transaction that resides in wallet from 3rd party service  (Read 684 times)
Chris_Stewart_5 (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile WWW
April 29, 2015, 07:26:22 PM
 #1

I'm trying to use Armory's sign a offline transaction feature to sign a transaction provided to me by a 3rd party service, however when I try to paste the raw hex I get an 'unrecognized format error. Here is the raw hex:

0100000001d153bc846b339f23f946a96c19286996d44af7180f96845b59674e5beee42a3d01000 00000ffffffff015ac3f005000000001976a914d5e06dde835a7428d80cd39e91f06350ca3291ad 88ac39edaf55

Here is the hex deserialized by blockr.io

Quote
{
  "txid": "6ccded1224d400be2d57c852758eadf7226555e60dd1a39f341b198f87b73345",
  "version": 1,
  "locktime": 1437592889,
  "vin": [
    {
      "txid": "3d2ae4ee5b4e67595b84960f18f74ad4966928196ca946f9239f336b84bc53d1",
      "vout": 1,
      "scriptSig": {
        "asm": "",
        "hex": ""
      },
      "sequence": 4294967295
    }
  ],
  "vout": [
    {
      "value": 0.9966473,
      "n": 0,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 d5e06dde835a7428d80cd39e91f06350ca3291ad OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a914d5e06dde835a7428d80cd39e91f06350ca3291ad88ac",
        "reqSigs": 1,
        "type": "pubkeyhash",
        "addresses": [
          "1LVsnUQHYHoNjfCLY1mjmmFPQSrV1NJTX2"
        ]
      }
    }
  ]
}

What am I doing incorrectly?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3682
Merit: 1347

Armory Developer


View Profile
April 30, 2015, 07:18:23 PM
 #2

Armory requires the supporting txouts in raw binary and bundles that with a header and a terminator. You can't just pass plain unsigned tx to Armory like you do with Bitcoin Core.

zombieslayer9099
Full Member
***
Offline Offline

Activity: 120
Merit: 100

Java Coder


View Profile
April 30, 2015, 08:26:21 PM
 #3

Do you mean the TXSIGCOLLECT header (or whatever header) or something that needs to be added to the hex?

Did you know there are 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976 possible bitcoin addresses? To put that into perspective, that's greater than the width of the universe in zeptometers (10^-21 meter).
  ▁ ▂ ▄ ▅ ▆ Cloudmining 101: how to avoid scams  ▆ ▅ ▄ ▂ ▁
Muhammed Zakir
Hero Member
*****
Offline Offline

Activity: 560
Merit: 506


I prefer Zakir over Muhammed when mentioning me!


View Profile WWW
May 02, 2015, 07:02:20 AM
 #4

See https://bitcointalk.org/index.php?topic=448284.0. I can't tell about it as I haven't used it.

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!