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.
npm install @nostr-dev-kit/ndk-react
To watch for changes in the library and open a web demo, do the following steps.
- from root folder, run bootstrap:
yarn bootstrap
- on first Terminal, start module:
yarn start:module
- on second Terminal, start docs example:
yarn start:docs
- start coding!