/ndk-react

React library that makes it easy to build Nostr-related applications.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

NDK-react

drawing

NDK is a nostr development kit that makes the experience of building Nostr-related applications, whether they are relays, clients, or anything in between, better, more reliable and overall nicer to work with than existing solutions. [Learn more about NDK]

NDK React is a React library that makes it easy to build Nostr-related applications using React (and NextJS). It provides a set of components that wrap the NDK library and make it easy to use in React.

Installation

npm install @nostr-dev-kit/ndk-react

Development

To watch for changes in the library and open a web demo, do the following steps.

  1. from root folder, run bootstrap:
yarn bootstrap
  1. on first Terminal, start module:
yarn start:module
  1. on second Terminal, start starter example:
yarn start:starter
  1. start coding!