readme: add a few more examples

Closes #10
This commit is contained in:
cgi-bin/ 2022-08-31 12:39:27 +02:00 committed by William Casarin
parent 13985950fd
commit 0392d6f10b

View File

@ -72,3 +72,10 @@ Send a nip04 DM:
$ ./nostril --envelope --dm <pubkey> --sec <key> --content "this is a secret" | websocat wss://relay.damus.io $ ./nostril --envelope --dm <pubkey> --sec <key> --content "this is a secret" | websocat wss://relay.damus.io
Mine a pubkey:
$ ./nostril --mine-pubkey --pow <difficulty>
Reply to an event. nip10 compliant, includes the `thread_id`:
$ ./nostril --envelope --sec <key> --content "this is reply message" --tag e <thread_id> --tag e <note_id> | websocat wss://relay.damus.io