TJdelaPlaya on Nostr: #[0]
quoting nevent1q…9tduIs this possible as a #[0] #Tapscript?
Let A be a receiving address
Let inputs(A) be sum of tx inputs to A
Let X be msig keys on A
Let count(X) be # of keys in X
Let outputs(Xn) be sum of tx outputs using key Xn
Fail if outputs(Xn)>inputs(A)/count(X)
Aim is dividend dist