8000 GitHub - jeremyd/nip17pipe: Command line helper for piping nip17 messages #nostr · GitHub
[go: up one dir, main page]

Skip to content
jeremydPublic

About

Command line helper for piping nip17 messages #nostr

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nip17 Pipe

This command line tool can be used with NAK to test sending and receiving of NIP17 DMs over Nostr.

Requirements for example

Example

Note that the nak command line tool uses the NOSTR_SECRET_KEY environment variable to authenticate with the relay.

Sending

export NOSTR_PUBLIC_KEY=pubkey of RECEIVER
export NOSTR_SECRET_KEY=SECRETkey of SENDER

nip17pipe send -m "Hello Nip17" -r $NOSTR_PUBLIC_KEY |nak event --auth wss://example.relay.com

Receiving


export NOSTR_SECRET_KEY=pubkey of RECEIVER
export NOSTR_PUBLIC_KEY=pubkey of RECEIVER

nak req --stream --auth -k 1059 -p $NOSTR_PUBLIC_KEY --stream wss://example.relay.com | nip17pipe receive

About

Command line helper for piping nip17 messages #nostr

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0