Skip to content

Add Bitcoin Transaction Course Module #1

@Extheoisah

Description

@Extheoisah

Course Title: Build and broadcast your own Bitcoin transaction
Modules:

  • Introduction to Bitcoin Transactions
  • Understanding Transaction Structure
  • Parsing Transaction Inputs
  • Parsing Transaction Outputs
  • Parsing Bitcoin Scripts
  • Constructing a Simple Transaction
  • Transaction Signing
  • Broadcasting a Transaction
  • Advanced Transaction Types

1. Introduction to Bitcoin Transactions

2. Understanding Transaction Structure

  • Objective: Dive deeper into the structure of a Bitcoin transaction.
  • Topics:
    [x] Detailed breakdown of a transaction: Version, Inputs, Outputs, Locktime.
    [x]The role of scripts: ScriptSig and ScriptPubKey.
    [x] How transaction data is serialized.
  • Resources
    [x] https://learnmeabitcoin.com/technical/transaction/#structure
  • Exercise: Write a parser in your preferred programming language that reads and outputs the basic structure of a raw Bitcoin transaction (Version, Inputs, Outputs, Locktime).

3. Parsing Transaction Inputs

4. Parsing Transaction Outputs

  • Objective: Focus on the details of transaction outputs.
  • Topics:
    [x] Structure of a transaction output.
    [x] Value and scriptPubKey.
    [x] Understanding P2PKH (Pay-to-PubKey-Hash) and other output types.
  • Resources
    [x] https://komodoplatform.com/en/academy/bitcoin-script/
  • Exercise: Extend your parser to extract and display detailed information about each output in a transaction.

5. Understanding Bitcoin Scripts

6. Constructing a Simple Transaction

  • Objective: Guide students through creating a Bitcoin transaction.
  • Topics:
    [x] Selecting UTXOs to spend.
    [x] Creating inputs and outputs.
    [x] Signing the transaction.
    [x] Serializing the transaction.
  • Resources
    [x] https://www.ssldragon.com/blog/sha-256-algorithm/
  • Exercise: Extend your code to construct a simple Bitcoin transaction from scratch using the parsed data from the previous exercises.

7. Transaction Signing

  • Objective: Understand how Bitcoin transactions are signed.
  • Topics:
    [x] Private keys and digital signatures.
    [x] How signatures are used to validate inputs.
    [x] Creating a valid transaction signature.
  • Exercise: Extend your code to implement transaction signing and verify the signature against the input script.

8. Broadcasting a Transaction

  • Objective: Learn how to broadcast a Bitcoin transaction to the network.
  • Topics:
    [x] How transactions propagate through the Bitcoin network.
    [x] Tools and APIs for broadcasting transactions.
    [x] Exercise: Broadcast the transaction created in the previous exercise using a testnet or local Bitcoin node.

9. Advanced Transaction Types

  • Objective: Explore more complex Bitcoin transaction types.
  • Topics:
    [x] Multi-signature transactions.
    [x] P2SH (Pay-to-Script-Hash) transactions.
    [x] Segregated Witness (SegWit) transactions.
  • Exercise: Write code to construct and parse one of these advanced transaction types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    new courseAdd a new course with several modules and resources

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions