20 sats \ 5 replies \ @ek 19 Sep \ parent \ on: Coinos adds Nostr Wallet Connect (NWC) nostr
Cool, thanks for the info!
I assume rate limit errors are communicated by the relay as defined in NIP-01 like this:
and not per wallet as a NWC error as defined in NIP-47 like this:
Communicating it via the relay (if you control the relay) makes more sense imo.
I also found a potential issue on our side that would still explain @grayruby's issue with rate limits + missing error handling on the relay layer on our side. Our code currently only expects NWC errors when dealing with NWC, not relay errors.
reply
Can you try one more time please? I just fixed a bug with our NWC responses
:(
Just signed up on Coinos myself. Attaching for payments works fine but when I attach it for receives, I get this error:
failed to create test invoice: failed to connect to wss://relay.coinos.io: null
which doesn't make sense since I can connect fine to it on the client. So sounds like something is wrong on our side.
To confirm: you get
Cannot read properties of undefined (reading 'includes')
no matter if you try to attach for sending or receiving, right?reply