Skip to content

nodetec/nostr-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ostrich Logo Nostr Tutorial

Learn Nostr using TypeScript & nostr-tools.


Running the Tutorial

To follow along with this tutorial you can install bun to run the files. You can learn more about Bun at here.

Installing Bun

curl -fsSL https://bun.sh/install | bash

Installing Dependencies

Clone the project:

git clone https://github.com/nodetec/nostr-tutorial

cd nostr-tutorial

Install the necessary packages with:

bun install

Running the Tutorial

Once you have installed the packages, you can run the keypair.ts file with:

bun keypair.ts

This will execute the TypeScript file using Bun. You can use this same command to run the other TypeScript files as well.


Learn More

For more information on Nostr and the nostr-tools library, check out the following resources: