Replying to Avatar sebas

I wrote some glue code (https://pub.dev/packages/amberflutter) to be able to easily use https://github.com/greenart7c3/Amber from Flutter. I hope someone can try it out and give any input!

Here is a demo of getting my pubkey from Amber, and I also took the opportunity to use nostr:npub1r0rs5q2gk0e3dk3nlc7gnu378ec6cnlenqp8a3cjhyzu6f8k5sgs4sq9ac design for the profile page to revive my flutter "skills" 🤣

https://video.nostr.build/65ac0db4ec0b535a1d3b96e30e63509acc6fb8fe96baf3d3c17cfad4ad3d317c.mp4

Nice work! Amber looks great.

Question: If a web application doesn't sign events or decrypt anything is it possible to request only the read pubkey permission?

If so I'll definitely try to integrate with noswot.org so the app doesn't appear to request sign/decrypt permissions when they're not needed.

Reply to this note

Please Login to reply.

Discussion

Yes, you can call the login without any permissions.

You can read more on how to implement for web apps in the usage for web applications section.

https://github.com/greenart7c3/Amber#usage-for-web-applications

Are there plans for nip46 in amber?

No, amber is a offline signer.

For nip 46 there's nostrum, but I haven't tried it

https://github.com/nostr-connect/nostrum

Thanks! and yes, in the example I just asked for all permissions but will update it so the user of Amber decides when to ask for permissions.