is it possible to develop a nostr bot where everyone can send a psbt, the bot take all psbts and then broadcast a transaction with n input and n output.

it make sense?

ca be good for btc privacy?

can be called coinjoin?

Reply to this note

Please Login to reply.

Discussion

The signatures wouldn't be valid once you added an extra input or output.

There is a project joinstr that does coinjoins over nostr, last i looked at it it was vulnerable to ddos attacks tho.

right, thank you

It is possible using `joinpsbts` RPC in bitcoin core.

As #[2]mentioned I am already working on a coinjoin implementation, however still a work in progress. It uses `combinepsbt` RPC though because inputs and outputs for a round are known after 2 phases: https://gitlab.com/1440000bytes/joinstr

TIL joinpsbts. I’ve always wanted to build a psbt combiner/joiner widget is damus somehow. Like pasting psbts in DMs automatically combines psbts. Would be more useful in private group chats.

Check out Coinstr: https://youtu.be/FyyMz259AZY