From 548918578b809c26681ec4dd0506060a134f7c5b Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Thu, 22 Jan 2026 20:58:22 -0300 Subject: [PATCH] add new capabilities to README. --- README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8f01bd7..528d56f 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ publishing to wss://relay.damus.io... success. "Activando modo zen…\n\n#GM #Nostr #Hispano" ``` -### decode a nip19 note1 code, add a relay hint, encode it back to nevent1 +### decode a NIP-19 note1 code, add a relay hint, encode it back to nevent1 ```shell ~> nak decode note1ttnnrw78wy0hs5fa59yj03yvcu2r4y0xetg9vh7uf4em39n604vsyp37f2 | jq -r .id | nak encode nevent -r nostr.zbd.gg nevent1qqs94ee3h0rhz8mc2y76zjf8cjxvw9p6j8nv45zktlwy6uacjea86kgpzfmhxue69uhkummnw3ezu7nzvshxwec8zw8h7 @@ -206,6 +206,18 @@ or give it a named profile: ~> nak bunker --profile myself ... ``` +### send a `nostrconnect://` client URI to a running bunker + +```shell +~> nak bunker connect 'nostrconnect://...' +``` + +or, if you're using a persisted profile + +```shell +~> nak bunker connect --profile default 'nostrconnect://...' +``` + ### generate a NIP-70 protected event with a date set to two weeks ago and some multi-value tags ```shell ~> nak event --ts 'two weeks ago' -t '-' -t 'e=f59911b561c37c90b01e9e5c2557307380835c83399756f4d62d8167227e420a;wss://relay.whatever.com;root;a9e0f110f636f3191644110c19a33448daf09d7cda9708a769e91b7e91340208' -t 'p=a9e0f110f636f3191644110c19a33448daf09d7cda9708a769e91b7e91340208;wss://p-relay.com' -c 'I know the future' @@ -233,7 +245,7 @@ or give it a named profile: • events stored: 4, subscriptions opened: 1 ``` -### enable negentropy (nip77) support in your development relay +### enable negentropy (NIP-77) support in your development relay ```shell ~> nak serve --negentropy ``` @@ -448,3 +460,11 @@ gitnostr.com... ok. 1a851afaa70a26faa82c5b4422ce967c07e278efc56a1413b9719b662f86551a 8031621a54b2502f5bd4dbb87c971c0a69675d252a64d69e22224f3aee6dd2b2 ``` + +### interact with a NIP-29 group +```shell +~> nak group info "'" +~> nak group admin "'" +~> nak group chat "'" +~> nak group chat send "'" "" +```