Skip to main content
deleted 1022 characters in body
Source Link
Wizard Of Ozzie
  • 5.3k
  • 4
  • 32
  • 66

I'm going to say up front, I've referred to several sources but as of this stage have yet to send a raw transaction myself. So I think OP's question is quite relevant in that there is no concrete example available on Bitcoin SE outlining the transaction process (which is convoluted, especially for newcomers).

First, read How to redeem a basic Tx. It's quite detailed but falls short in that the transactions used do not seem to be valid Start with (ie the txid is not on blockexplorer).

If you're interested in using Python to simplify the steps, there's several great resources:

  1. Fantastic Python 2.x scripts
  2. Richard Kiss (guy from #1) running Youtube tutorial
  3. Ken Sheriff's blog which covers txns and mining "the hard way"
  4. SX/libbitcoin

Alsothis blog then check out:

  1. Bitcoin.org Developer Section (the nitty gritty)
  2. BTC Wiki technical section (more nitty gritty)

Start with those.

I've been getting where the double SHA256 is done of the combined inputs data (unsure if correct), and then DER signing the SHA256 hash has be confused too. But That's something I'll likely need to cover separately, but heads up that it is complex so follow the advice of another answer here on SE and use pencil and paper to write the raw txn down - no copy/paste, use utilities only for changes in Endianess / hex conversion etc.http://www.royalforkblog.com/2014/09/04/ecc/

I'm going to say up front, I've referred to several sources but as of this stage have yet to send a raw transaction myself. So I think OP's question is quite relevant in that there is no concrete example available on Bitcoin SE outlining the transaction process (which is convoluted, especially for newcomers).

First, read How to redeem a basic Tx. It's quite detailed but falls short in that the transactions used do not seem to be valid (ie the txid is not on blockexplorer).

If you're interested in using Python to simplify the steps, there's several great resources:

  1. Fantastic Python 2.x scripts
  2. Richard Kiss (guy from #1) running Youtube tutorial
  3. Ken Sheriff's blog which covers txns and mining "the hard way"
  4. SX/libbitcoin

Also:

  1. Bitcoin.org Developer Section (the nitty gritty)
  2. BTC Wiki technical section (more nitty gritty)

Start with those.

I've been getting where the double SHA256 is done of the combined inputs data (unsure if correct), and then DER signing the SHA256 hash has be confused too. But That's something I'll likely need to cover separately, but heads up that it is complex so follow the advice of another answer here on SE and use pencil and paper to write the raw txn down - no copy/paste, use utilities only for changes in Endianess / hex conversion etc.

I'm going to say up front, I've referred to several sources but as of this stage have yet to send a raw transaction myself. So I think OP's question is quite relevant in that there is no concrete example available on Bitcoin SE outlining the transaction process (which is convoluted, especially for newcomers). Start with this blog then check out:

  1. Bitcoin.org Developer Section (the nitty gritty)
  2. BTC Wiki technical section (more nitty gritty)

http://www.royalforkblog.com/2014/09/04/ecc/

Source Link
Wizard Of Ozzie
  • 5.3k
  • 4
  • 32
  • 66

I'm going to say up front, I've referred to several sources but as of this stage have yet to send a raw transaction myself. So I think OP's question is quite relevant in that there is no concrete example available on Bitcoin SE outlining the transaction process (which is convoluted, especially for newcomers).

First, read How to redeem a basic Tx. It's quite detailed but falls short in that the transactions used do not seem to be valid (ie the txid is not on blockexplorer).

If you're interested in using Python to simplify the steps, there's several great resources:

  1. Fantastic Python 2.x scripts
  2. Richard Kiss (guy from #1) running Youtube tutorial
  3. Ken Sheriff's blog which covers txns and mining "the hard way"
  4. SX/libbitcoin

Also:

  1. Bitcoin.org Developer Section (the nitty gritty)
  2. BTC Wiki technical section (more nitty gritty)

Start with those.

I've been getting where the double SHA256 is done of the combined inputs data (unsure if correct), and then DER signing the SHA256 hash has be confused too. But That's something I'll likely need to cover separately, but heads up that it is complex so follow the advice of another answer here on SE and use pencil and paper to write the raw txn down - no copy/paste, use utilities only for changes in Endianess / hex conversion etc.