Skip to content

Getting Started ​

Nostrify is a flexible library for building Nostr apps in TypeScript. It provides Relays, Signers, Storages, and more to help you build your app.

Classes in Nostrify conform to a set of standard interfaces, so if one implementation doesn't work for you, you can switch it out, or build your own!

Installation ​

Nostrify is available on jsr, a modern alternative to npm.

sh
npx jsr add @nostrify/nostrify
sh
deno add @nostrify/nostrify
sh
yarn dlx jsr add @nostrify/nostrify
sh
pnpm dlx jsr add @nostrify/nostrify
sh
bunx jsr add @nostrify/nostrify

Usage ​

ts
import { Nostrify } from '@nostrify/nostrify';

What Next? ​

You may want to connect to relay, add a storage or sign events!

Want to use Nostrify with other libraries? Check integrations.

Soapbox