Decoder should dm not note, bots too fast for ecash redeme

Reply to this note

Please Login to reply.

Discussion

That’s a better idea, I’ll update it tonight to DM

Good call 🫡

I pushed an update to publish a DM instead of a Kind 1 note, but it’s still not working quite right

I see the DM response in Damus, but it doesn’t show in Primal

Not sure of the issue so I’ll have to keep working on it

nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet, direct messages are no longer possible on the Nostr-sdk, right?

Only NIP17 private messages?

I prefer NIP17, but a lot of users still use Damus and Primal and they are behind in that regard unfortunately

You have to build manually the event:

```python

encrypted_content = nip04_encrypt(sk, pk, msg)

builder = EventBuilder(4, encrypted_content).tag(Tag.public_key(pk))

client.send_event_builder(builder)

```