mirror of
https://github.com/jb55/nostril.git
synced 2024-11-24 17:09:07 -05:00
update readme
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
7cd4e8c188
commit
8b18703334
12
README.md
12
README.md
|
@ -9,6 +9,18 @@ A cli util for creating nostr events
|
||||||
|
|
||||||
`libsecp256k1` is the only dependency
|
`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
|
## Examples
|
||||||
|
|
||||||
Generate an event:
|
Generate an event:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user