Cooperating with nostr:npub1w9llyw8c3qnn7h27u3msjlet8xyjz5phdycr5rz335r2j5hj5a0qvs3tur from camelus app to create a common dart_ndk lib similar to nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft's great NDK.

It will be used in both clients and have the best and most efficient gossip/outbox logic for relay discovery.

MIT license so anybody will be able to quickly write dart/flutter apps and contribute to making it better.

Reply to this note

Please Login to reply.

Discussion

Super excited about this! Where can we find the git repo?

https://github.com/relaystr/dart_ndk

But we're just getting started, it's still not useable.

Have you seen this?

https://github.com/anasfik/nostr

How will yours be different?

Yes, we took a close look to that lib's code and decided to start from scratch since it would require a total ground refactoring.

Will be different in that:

- test coverage as close as possible to 100%

- much more advanced relay management to allow flexible outbox/gossip model implementation

- persistency interfaces to allow for caching (mem or some sort of DB)

- native channels optimization for verifying signatures since dart's bip340 lib is 10x slower than acinq lib on android and other JS libs on web.

- distribution of donations to contributors according to amount of work done

- long term maintenance and adding support to new NIPs

nice