Replying to Avatar Anjhc

nostr:npub1a6we08n7zsv2na689whc9hykpq4q6sj3kaauk9c2dm8vj0adlajq7w0tyc you are using the relay function, you need to use the pool version, this worked fine for me:

```

import assert from 'node:assert/strict'

import { useWebSocketImplementation } from 'nostr-tools/pool'

import WebSocket from 'ws'

useWebSocketImplementation(WebSocket)

import { SimplePool, nip19, verifiedSymbol } from 'nostr-tools'

```

Ah, wrong import error. Classic :). Thank you very much!

Reply to this note

Please Login to reply.

Discussion

Thank you too 👍