Why Nostr? What is Njump?
2024-10-05 16:15:11

hzrd149 on Nostr: fiatjaf Biz hodlbod greenart7c3 I integrated NIP-55 into one of the native apps I'm ...

I integrated NIP-55 into one of the native apps I'm working on using capacitorjs plugin and I had some questions about the spec

1. Why are there a mix of "pubkey" and "npub" (bech32) when its been a nostr standard to have all public keys in hex format?

2. The spec says that nip04 and nip44 encrypt and decrypt calls return a "signature" and "id". is that a typeo? I don't see how an encrypt or decrypt call would return a signature

3. What is the use for the "decrypt_zap_event"?

for the capacitorjs plugin is "app.icon" from "getInstalledSignerApps" always a base64 encoded image/png or could it ever be a URL?

Thanks for making a working example, I used a lot of your code for reference 😀

Also thanks for all the work you guys (and everyone I'm forgetting) put in to this to get this working, its a much better native experience than using NIP-46
Author Public Key
npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr