I’m trying to achieve a more complex task as a use case where I have a very popular Bitcoin address with hundreds of inputs (UTXOs) associated with the shares issued by the company.
The goal now is to build a deal that all stock owners can make public if they decide to do so. However, they should not be able to spend more than their fair share of money. can do SIGHASH_SINGLE
Is it used in this case?
Example: Input 0, Input 1, Input 2, Input 3, Input 4 Total = 5.001 btc Output 0 = 4 btc, Output 1 = 1 btc, Fee = 0.001 btc
where output 0 The entire amount will be returned to the same address.
fee It’s a fee and output 1 This is the address of the holder who can withdraw less than 1BTC.
The goal is to have a transaction that someone can use to withdraw a certain amount or more and that is valid for every input from a given address. Also, will there be a conflict if different people are doing the same transaction, but the Output1 and Output1 amounts are different?