From 0392d6f10b2abf6c07d188250778b59d116d735a Mon Sep 17 00:00:00 2001 From: cgi-bin/ <6095048+sven-hash@users.noreply.github.com> Date: Wed, 31 Aug 2022 12:39:27 +0200 Subject: [PATCH] readme: add a few more examples Closes #10 --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 057fbbf..8aa9e65 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,9 @@ $ sudo make install ## Usage usage: nostril [OPTIONS] - + OPTIONS - + --content the content of the note --dm make an encrypted dm to said pubkey. sets kind and tags. --envelope wrap in ["EVENT",...] for easy relaying @@ -72,3 +72,10 @@ Send a nip04 DM: $ ./nostril --envelope --dm --sec --content "this is a secret" | websocat wss://relay.damus.io +Mine a pubkey: + + $ ./nostril --mine-pubkey --pow + +Reply to an event. nip10 compliant, includes the `thread_id`: + + $ ./nostril --envelope --sec --content "this is reply message" --tag e --tag e | websocat wss://relay.damus.io