vishalxl / nostr_console

Nostr console is an open-source twitter-like social network, direct chat app and group chat all bundled into one program. Built on the decentralized Nostr protocol.
GNU Affero General Public License v3.0
439 stars 33 forks source link

Wrapping a dart/flutter nostr library #50

Open ethicnology opened 1 year ago

ethicnology commented 1 year ago

Are you going to wrap functions into a dart/flutter library, so we can use it in Flutter ?

vishalxl commented 1 year ago

The most or only useful functions are the crypto related functions. Rest of almost all code is application specific, and its not that great design either (I'm not very familiar with Dart).

The crypto functions are about 140 lines of code here , generate pvt key, encrypt and decrypt.

I am not sure if they should be in their own lib. Not very familiar with library creation too in Dart.

ethicnology commented 1 year ago

Thank you for the hint.

Today, I've started to implement a nostr library in dart with the NIP01

If you want to collaborate or give feedbacks it would be really cool, or even if you want to talk (vocal?) about nostr to share your knowledge which is far deeper than mine.

vishalxl commented 1 year ago

I will write some notes etc for developers, in a bit.

saentari commented 1 year ago

Good initiative ethicnology. I'll see if I can help.