Hm, I would have create a fresh identity for every tx I publish as to not allow clustering - but yeah doable.

But why would I not simply publish my tx directly to a trusted API (mempool, blockstream, etc)?? That's exactly what your code does..

Reply to this note

Please Login to reply.

Discussion

Your wallet would just generate a key and publish, super simple, wouldn't require any extra work from the user.

You wouldn't publish to the api because you shouldn't trust mempool or blockstream, they could be selling the data.

Yeah but that (publishing to a third party Bitcoin node) is what your code does - which is why I was a bit dumbfounded. Because i could do that myself, without jumping through all these hoops in generating ephemeral no ups, publishing it to Nostr, some other third party running a watcher (which would de facto be another queue aka mempool) and in the end just do an API call.

` .post(&format!("https://mempool.space/api/tx"))`