nostr-tool icon indicating copy to clipboard operation
nostr-tool copied to clipboard

feat: Add flag to fetch user relays

Open 0xtrr opened this issue 1 year ago • 0 comments

I think it would make it easier to e.g. delete events if we just fetched all user relays. Should probably be exposed as it's own flag at the root level of the command. So instead of doing nostr-tool -r wss://nostr.oxtr.dev -p {PRIVATE_KEY} delete-event -e {EVENT_ID} -r "The reason for deleting the event" we could do: nostr-tool -ur -p {PRIVATE_KEY} delete-event -e {EVENT_ID} -r "The reason for deleting the event" where the -ur flag is short for "user relays" or something similar.

0xtrr avatar Dec 29 '22 21:12 0xtrr