Skip to content

Commit

Permalink
added several new features: --npub-to-hex, --hex-to-npub, --get-pubke…
Browse files Browse the repository at this point in the history
…y-entity

       --npub-to-hex [<KEY>...]
           Convert one or multiple public keys in Bech32 format ('npub1...')
           into the corresponding 'hex' format. Details:: See also --hex-to-npub
       --hex-to-npub [<KEY>...]
           Convert one or multiple public keys in 'hex' format into the
           corresponding Bech32 ('npub1...') format. Details:: See also
           --npub-to-hex
       --get-pubkey-entity [<KEY>...]
           Get the entity of one or multiple public keys. Details:: This will
           show you for every public key given if the key represents a Nostr
           account (usually an individual) or a public Nostr channel. It might
           also return "Unknown" if the entity of the key cannot be determined.
           E.g. this can be helpful to determine if you want to use
           --subscribe-author or --subscribe-channel
  • Loading branch information
8go committed Dec 18, 2022
1 parent 0627924 commit 04add1e
Show file tree
Hide file tree
Showing 7 changed files with 1,147 additions and 166 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ README.md.*

tmp/*

local
local/*


Loading

0 comments on commit 04add1e

Please sign in to comment.