I have been trying to build a coinjoin implementation using nostr since last year alone and got some help from BOB recently.

- cli ✅

- web (localhost with bitcoin node)✅

- electrum plugin (almost done)

It was previously maintained on GitHub.

https://gitlab.com/1440000bytes/joinstr

Reply to this note

Please Login to reply.

Discussion

It's my birthday this month, if you want to buy me a beer:

BIP 47 payment code:

PM8TJSnzfDqhCVLs9WiE6ziwkExySQbg2XnW23Ze3eUrojYEMikhUCVjCJN43RgUUzYu4knps1LFE5cnseZqqDTDz8M6GanEGnW8hTv6SDU8BAwbEgGC

What is the point of nostr for a coinjoin?

Interesting! Couple of questions:

- No fees for coordinator, right?

- No fixed pool sizes? theoretically one could CJ any utxo as long as I find takers (which will be highly unlikely for non-standard amounts.. but thats a diff topic)?

- Can you configure how many peers you want in your mix, or is it fixed to 5?

- Where would ppl discover CJ peers? I guess ppl would register their utxo to a well known Nostr relay, and the client would periodically poll if there are others?

- No fees/No fidelity bonds -> easy to sybil attack?

- No fees for coordination apart from transaction fees which goes to miners

- Yes

- Not possible right now but I can make it configurable

- Yes users can also use multiple relays. Once the process is initiated, joinstr client keeps looking for events regularly and moves to next step when enough participants register UTXO

- Paid relays and encrypted channels will reduce lot of attacks. There are a few other ways which can be experimented once it's ready for mainnet.