that JS library is a client library...

Reply to this note

Please Login to reply.

Discussion

the js-sdk one? no, it has client and server

https://github.com/getAlby/js-sdk/tree/master/src/nwc

i actually didn't notice the client part of it and refactored only the types and wallet service parts first, still gotta finish the client. i need both for completeness, i think the client side would only be needed to make payments outbound, the server would be for receiving them. or maybe i do need both, idk, but i expect to need the client later when i build a UI

btw, why is the encryption functions for the client only doing nip-04?