Post
Topic
Board Development & Technical Discussion
Re: Webpage to paste raw tx for broadcast?
by
etotheipi
on 02/11/2011, 00:54:33 UTC
Is quite simple to do in bitcoinj. Do you have a format in mind? If so send me an sample will see what I can do. Please DOUBLE check it is signed correctly! Make it a transaction that sends to my address below and I will have more motivation!
I was thinking that if www.bitaddress.org could also create/sign transactions (not trival as need to link all the inputs), then if you had this web site you could then create transaction totally offline.

I just created a tx, transferring 1.0 BTC to the address in your signature.  I plugged this tx and the previous one into my ECDSA unit-test (which works on other Blockchain tx-pairs) and it passed.  So I'm fairly confident that this is signed correctly.  Here's the raw hex:

Code:
0100000001f658dbc28e703d86ee17c9a2d3b167a8508b082fa0745f55be5144a4369873aa010000008c49304602210041e1186ca9a41fdfe1569d5d807ca7ff6c5ffd19d2ad1be42f7f2a20cdc8f1cc0221003366b5d64fe81e53910e156914091d12646bc0d1d662b7a65ead3ebe4ab8f6c40141048d103d81ac9691cf13f3fc94e44968ef67b27f58b27372c13108552d24a6ee04785838f34624b294afee83749b64478bb8480c20b242c376e77eea2b3dc48b4bffffffff0200e1f505000000001976a9141b00a2f6899335366f04b277e19d777559c35bc888ac40aeeb02000000001976a9140e0aec36fe2545fb31a41164fb6954adcd96b34288ac00000000

And a pretty version of it:
Code:
0x0000:  01000000 01f658db c28e703d 86ee17c9 a2d3b167 a8508b08 2fa0745f 55be5144
0x0020:  a4369873 aa010000 008c4930 46022100 41e1186c a9a41fdf e1569d5d 807ca7ff
0x0040:  6c5ffd19 d2ad1be4 2f7f2a20 cdc8f1cc 02210033 66b5d64f e81e5391 0e156914
0x0060:  091d1264 6bc0d1d6 62b7a65e ad3ebe4a b8f6c401 41048d10 3d81ac96 91cf13f3
0x0080:  fc94e449 68ef67b2 7f58b273 72c13108 552d24a6 ee047858 38f34624 b294afee
0x00a0:  83749b64 478bb848 0c20b242 c376e77e ea2b3dc4 8b4bffff ffff0200 e1f50500
0x00c0:  00000019 76a9141b 00a2f689 9335366f 04b277e1 9d777559 c35bc888 ac40aeeb
0x00e0:  02000000 001976a9 140e0aec 36fe2545 fb31a411 64fb6954 adcd96b3 4288ac00
0x0100:  000000

@btc_novice:  I'll happily toss you a BTC too, to test your solution, if you get something running.