We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Am I doing something wrong?
I can connect to relays, but get Error: Timeout on NDKEvent.publish, no matter which relays I use (tried multiple). Version: 2.3.2
My test code:
const test = async () => { console.log("Test started..."); // Test Key const signer = new NDKPrivateKeySigner( "3dc60aa853c59a01d8d07819a871673cf4636a2306b532aae4490e0eaf78f2ce" ); const ndk = new NDK({ signer: signer, explicitRelayUrls: ["wss://relay.damus.io", "wss://nostr.hubmaker.io"], enableOutboxModel: false, }); const ndkEvent = new NDKEvent(ndk); ndkEvent.kind = 1; ndkEvent.content = "Hello, world!"; return ndkEvent.publish(undefined, 10000); };
Thanks.
The text was updated successfully, but these errors were encountered:
I missed the ndk.connect.
Sorry, something went wrong.
No branches or pull requests
Am I doing something wrong?
I can connect to relays, but get Error: Timeout on NDKEvent.publish, no matter which relays I use (tried multiple).
Version: 2.3.2
My test code:
Thanks.
The text was updated successfully, but these errors were encountered: