{"version":"1.0","type":"card","id":"1e2a1d18-0276-4c95-a1cc-3f3f30c16788","url":"https://stacklist.com/card/1e2a1d18-0276-4c95-a1cc-3f3f30c16788","title":"Programming Bitcoin - Transaction Creation and Validation","source_url":"https://github.com/jimmysong/programmingbitcoin/blob/master/ch07.asciidoc","note":"One of the trickiest things to code in Bitcoin is validating transactions. Another one is creating transactions. In this chapter, we’ll cover the exact steps to do both. Toward the end of the chapter, we’ll be creating a testnet transaction and broadcasting it.","image":{"url":"https://ucarecdn.com/06421372-aae3-46a3-abc9-cff4ac947e09/-/preview/-/resize/1200x/-/quality/best/-/format/webp/","alt":"Programming Bitcoin - Transaction Creation and Validation","width":1200,"height":600},"stack":{"id":"b6dfa18a-2df4-4630-8141-dde74c631c97","title":"Kernel Module 0","url":"https://stacklist.com/stack/b6dfa18a-2df4-4630-8141-dde74c631c97"},"created_at":"2025-02-24T23:29:45.890Z","updated_at":null,"aco":{"summary":"This website chapter from the book \"Programming Bitcoin\" provides a detailed explanation of transaction creation and validation in the Bitcoin network. It covers the core concepts of transaction validation, including checking for double-spending, verifying the sum of inputs and outputs, and ensuring the validity of signatures. The chapter then guides readers through the process of creating their own transactions on the testnet, demonstrating how to construct transactions, sign them using private keys, and broadcast them to the network. It concludes with a discussion of the next chapter, which will delve into more advanced smart contracts. \n","tags":["Kernel","Bitcoin"],"key_entities":[],"classification":null,"language":null,"confidence":null,"provenance":null,"token_counts":{"approximate":178},"content_hash":null,"acp_version":"0.2","body_available":false,"body_tokens":0,"visibility":"public","agent_accessible":true,"status":"final"},"_links":{"self":"/api/public/card/1e2a1d18-0276-4c95-a1cc-3f3f30c16788.json","html":"https://stacklist.com/card/1e2a1d18-0276-4c95-a1cc-3f3f30c16788","md":"/api/public/card/1e2a1d18-0276-4c95-a1cc-3f3f30c16788.md","stack_json":"/api/public/stack/b6dfa18a-2df4-4630-8141-dde74c631c97.json"}}