Fix a broken Bitcoin transaction builder implementation. Bitcoin transactions are the fundamental building blocks of the network, requiring careful construction and validation. In this challenge, you'll examine and improve a Bitcoin transaction builder implementation, learning about UTXOs, scripts, and transaction validation.
- Understand Bitcoin transaction structure and components
- Master UTXO selection and management
- Implement proper fee calculation and estimation
- Create secure transaction signing mechanisms
- Handle different address types and script formats