Skip to main content

latest
Works with
JSR Score
82%
Published
a month ago (0.9.8)

Nostrify ❤️ NDK

This package connects NDK with Nostrify, allowing you to use NDK as a regular Nostrify relay.

import NDK from '@nostr-dev-kit/ndk';
import { NDKStore } from '@nostrify/ndk';

const ndk = new NDK(/* set up NDK */);
await ndk.connect();

const relay = new NDKStore(ndk); // `NStore` compatible

Add Package

deno add @nostrify/ndk

Import symbol

import * as mod from "@nostrify/ndk";

Add Package

npx jsr add @nostrify/ndk

Import symbol

import * as mod from "@nostrify/ndk";

Add Package

yarn dlx jsr add @nostrify/ndk

Import symbol

import * as mod from "@nostrify/ndk";

Add Package

pnpm dlx jsr add @nostrify/ndk

Import symbol

import * as mod from "@nostrify/ndk";

Add Package

bunx jsr add @nostrify/ndk

Import symbol

import * as mod from "@nostrify/ndk";