0xtrr / nostr-tool

A simple CLI to send nostr events
MIT License
60 stars 18 forks source link

feature: Print bech32 encoded "nchannel" for kind 40 events #24

Closed 0xtrr closed 1 year ago

0xtrr commented 1 year ago

There is a PR for adding nchannel to NIP-19. We should implement this here.

We probably want to print the following values: Bech32 encoded note id Bech32 encoded nchannel id Hex encoded event id

0xtrr commented 1 year ago

nchannel PR: https://github.com/nostr-protocol/nips/pull/211

yukibtc commented 1 year ago

https://github.com/rust-nostr/nostr/blob/master/crates/nostr/src/types/channel_id.rs