{"repo":"bitcoinjs/bip174","free":true,"listed":false,"github":"https://github.com/bitcoinjs/bip174","clone":"git clone https://github.com/bitcoinjs/bip174.git","description":"A BIP174 compatible partial Transaction encoding library.","language":"JavaScript","stars":37,"topics":["bitcoin","bip174","javascript","node","partially","transaction","format","partial"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"bip174 A BIP174 compatible partial Transaction encoding library. Bitcoin users, use bitcoinjs-lib's Psbt class. This library is separate as an attempt to separate Bitcoin specific logic from the encoding format. I apologize if this library is hard to use. Removing Bitcoin specific logic from \"Partially Signed BITCOIN Transaction\" format was kind of hard. Responsibilities Covered 1. Creator: You can create a new psbt and add inputs and outputs, then add extra info to the inputs using each individual method. (Note: Psbt.fromTransaction can create a PSBT from a serialized transaction, but all scriptSigs and witnessStacks must be empty, and the transaction should not have the segwit marker and flagbyte.) 2. Updater: You can add one of all types of the input and output information. Each function has strict type checking at runtime. 3. Combiner: using Psbt.combine(...Psbt[]), it will do a dumb merge gathering all the new key value pairs from the subsequent PSBTs into itself. The psbt calling combine has highest priority. Responsibilities NOT Covered In order to keep this library as separate from Bitcoin logic as possible, This library will not implement the following responsibilities. But rather, down the road bitcoinjs-lib will adopt this class and extend it internally to allow for the following: 1. Signer: This class has no way to sign. You may add a PartialSig object though. 2. Extractor: This class has minimal knowledge of Bitcoin transactions, so creating a full transaction fr","default_branch":null,"files":null,"tree":[],"storefront":"/r/bitcoinjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bitcoinjs/bip174/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}