Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 475 Bytes

File metadata and controls

27 lines (18 loc) · 475 Bytes

crusher86

This is a command line tool for managing a nostr relay using nip-86.

build

go build

examples:

export NOSTR_SECRET_KEY=xyz

#listing supported methods
crusher86 -url https://somerelay.xyz -method supportedmethods

# adding a pubkey
crusher86 -url https://somerelay.xyz -method allowpubkey -param1 hexpubkey -param2 "a reason";

# list allowed pubkeys
crusher86 -url https://somerelay.xyz -method listallowedpubkeys

# help
crusher86 -help