Why Nostr? What is Njump?
2024-06-10 04:59:52
in reply to

Layerjack (Onion Knight) on Nostr: It's KindEncryptedDirectMessage. This is the struct. nip4.go has encryption functions ...

It's KindEncryptedDirectMessage. This is the struct. nip4.go has encryption functions

ev := nostr.Event{
PubKey: pub,
CreatedAt: nostr.Now(),
Kind: KindEncryptedDirectMessage,
Tags: nil,
Content: need to encrypt this,
}

Author Public Key
npub19wdg9zgna9zmyv25qefrcrjh3grkht2kag7yafunzwf0wrg63g7qsmlx5z