Describe the problem/error/question
I’m submitting n8n-nodes-nostr for verification. The pre-check reports “Missing credential test” and links to ExampleCredentialsApi.credentials.ts#L52 (which 404s).
The credential is a Nostr secret key. Unlike an API key it authenticates to relays over WebSocket (NIP-42), not HTTP, and isn’t registered with any server — so there’s no HTTP endpoint that returns 200 for a valid key. Validation is inherently local (derive the pubkey from the key).
My nodes declare a testedBy method that validates the key locally, which @n8n/scan-community-package accepts — but the verification pre-check seems to require a declarative test: ICredentialTestRequest on the credential class. As a workaround I added a test that GETs the first relay’s NIP-11 document to confirm reachability, but that checks a relay is up, not that the key is valid.
I was able to work around the automated checks by checking that the relay url is available, but it doesn’t actually test that the credentials are valid.
What is the error message (if any)?
Missing credential test - Please see our Node Starter Kit for reference:
Please share your workflow
N/A
Share the output returned by the last node
N/A
Information on your n8n setup
- n8n version: N/A
- Database (default: SQLite): N/A
- n8n EXECUTIONS_PROCESS setting (default: own, main): N/A
- Running n8n via (Docker, npm, n8n cloud, desktop app): N/A
- Operating system: MacOS