STORY
How To Build a Direct Messaging Nostr Client Video Tutorial
AUTHOR
Joined 2022.06.04
DATE
VOTES
sats
COMMENTS
TAGS

How To Build a Direct Messaging Nostr Client Video Tutorial

During the #NostrHack hackathon, I published a crash course about how to build a basic Nostr Client with the basic common functionalities (rendering a feed, publishing, filtering, connecting to extension,...etc).

If you haven't watched it already, you can find it here:

https://www.youtube.com/watch?v=O9bzEvv-oFE

<iframe class="remirror-iframe remirror-iframe-youtube" src="https://www.youtube-nocookie.com/embed/O9bzEvv-oFE?" data-embed-type="youtube" allowfullscreen="true" frameborder="0"></iframe>

After the video, a few people asked me if I could make another tutorial for some other functionalities like DMs as well, so here we are.

I continued building on the same first video application.

In this video, we see:

  • How we can support multiple login methods

  • How we can query DMs and decrypt them

  • How we can send encrypted DMs to some nostr user

  • A few gotchas that you should be aware of

Here is the link to the video:

https://www.youtube.com/watch?v=O9bzEvv-oFE

<iframe class="remirror-iframe remirror-iframe-youtube" src="https://www.youtube-nocookie.com/embed/djUS6GvU9pM?" data-embed-type="youtube" allowfullscreen="true" frameborder="0"></iframe>

And here is the link to the Github repo which contains the final code:

DM Tutorial Repo