nostril

A C cli tool for creating nostr events
git clone git://jb55.com/nostril
Log | Files | Refs | README

commit 8b18703334879fe553bfd7af4cf426691771e280
parent 7cd4e8c188973c47af031477bc9292b645e330cb
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 14 Apr 2022 19:46:40 -0700

update readme

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
MREADME.md | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -9,6 +9,18 @@ A cli util for creating nostr events `libsecp256k1` is the only dependency +## Usage + + usage: nostril [OPTIONS] <content> + + OPTIONS + + --dm <hex pubkey> make an encrypted dm to said pubkey. sets kind and tags. + --envelope wrap in ["EVENT",...] for easy relaying + --kind <number> set kind + --created-at <unix timestamp> set a specific created-at time + --sec <hex seckey> set the secret key for signing, otherwise one will be randomly generated + ## Examples Generate an event: