Skip to content

Nostr Client Tutorial

TL;DR What Is Nostr?

Nostr is a decentralized P2P social media protocol that used uses cryptography as a primitive rather than DNS.

Getting Started with Nostr

Before developing on Nostr try out one of their clients from my Nostr Client Reviews document.

Once you have tried out raw Nostr check out a my Notable Nostr Apps to see what can be built with Nostr.

Help I don't know how to Code

Goals of This Tutorial

  • Generate a new Nostr Account
  • Import an Existing Nostr Account
  • Publish a note on Nostr
  • Search a Nostr relay for notes from a specific nip
  • Send a encrypted message via Nostr

Results of This Tutorial

  • Scripts and a CLI that can speak basic Nostr

Requirements

Setup


npm init -y